@vuebro/runtime 1.2.9 → 1.2.11
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/index-COONrYLs.js +1 -0
- package/dist/assets/{loader-sfc.esm-browser.prod-2.3.25.js → loader-sfc.esm-browser.prod-2.3.26.js} +2923 -2926
- package/dist/assets/shared-nNwI4Bp9.js +17 -0
- package/dist/assets/unocss-pEOBR4Nb.js +415 -0
- package/dist/assets/{vue.esm-browser.prod-3.5.23.js → vue.esm-browser.prod-3.5.24.js} +5 -5
- package/dist/index.html +3 -3
- package/package.json +19 -11
- package/dist/assets/index-DUfRPm5w.js +0 -1
- package/dist/assets/shared-BdzfWMvc.js +0 -17
- package/dist/assets/unocss-BeBBpyPU.js +0 -415
package/dist/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_shared-
|
|
1
|
+
{"_shared-nNwI4Bp9.js":{"file":"assets/shared-nNwI4Bp9.js","name":"shared","imports":["_unocss-pEOBR4Nb.js"]},"_unocss-pEOBR4Nb.js":{"file":"assets/unocss-pEOBR4Nb.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-COONrYLs.js","name":"index","src":"index.html","isEntry":true,"imports":["_shared-nNwI4Bp9.js","_unocss-pEOBR4Nb.js"],"dynamicImports":["_unocss-pEOBR4Nb.js"],"css":["assets/index-vGiKZPT9.css"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.24.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-4.6.3.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.3.26.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as xn,g as Sn,u as oe,f as $t,d as kn,s as Ot,a as Tn,b as Et}from"./shared-nNwI4Bp9.js";import{toValue as k,isRef as Z,hasInjectionContext as In,inject as Fn,ref as M,watchEffect as Mt,getCurrentInstance as je,onBeforeUnmount as At,onDeactivated as _n,onActivated as $n,reactive as ae,unref as O,computed as F,onMounted as Pe,nextTick as jt,getCurrentScope as On,onScopeDispose as En,watch as H,toRef as Mn,readonly as An,customRef as jn,shallowRef as D,defineComponent as q,onUnmounted as Pt,h as Je,resolveComponent as Pn,createBlock as ee,openBlock as P,withCtx as Le,resolveDynamicComponent as De,defineAsyncComponent as Ln,createElementBlock as ue,Fragment as Lt,createVNode as Dn,createElementVNode as K,renderList as Hn,withDirectives as Rn,normalizeClass as Dt,Suspense as Nn,createCommentVNode as Vn,createApp as zn}from"vue";import{d as Un,w as Wn,_ as qn,p as Bn,a as Gn,b as Kn,c as Qn,e as Jn,i as Xn,o as Zn}from"./unocss-pEOBR4Nb.js";import{useRoute as Yn,createRouter as eo,createWebHistory as to}from"vue-router";import no from"@vuebro/loader-sfc";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();const oo=new Set(["link","style","script","noscript"]),ro=new Set(["title","titleTemplate","script","style","noscript"]),Xe=new Set(["base","meta","link","style","script","noscript"]),so=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),io=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),co=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),lo=new Set(["templateParams","htmlAttrs","bodyAttrs"]),He=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ao=["name","property","http-equiv"],uo=new Set(["viewport","description","keywords","robots"]);function Ht(e){const t=e.split(":");return t.length?He.has(t[1]):!1}function Fe(e){const{props:t,tag:n}=e;if(io.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const o of ao)if(t[o]!==void 0){const r=t[o],s=r.includes(":"),i=uo.has(r),u=!(s||i)&&e.key?`:key:${e.key}`:"";return`${n}:${r}${u}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(ro.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function Ze(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(([o,r])=>`${o}:${String(r)}`).join(",")}`}function fe(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let r;if(t&&(r=t(n,e)),Array.isArray(r))return r.map(s=>fe(s,t));if(r?.constructor===Object){const s={};for(const i of Object.keys(r))s[i]=fe(r[i],t,i);return s}return r}function fo(e,t){const n=e==="style"?new Map:new Set;function o(r){const s=r.trim();if(s)if(e==="style"){const[i,...c]=s.split(":").map(u=>u.trim());i&&c.length&&n.set(i,c.join(":"))}else s.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(r=>o(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,s])=>{s&&s!=="false"&&(e==="style"?n.set(r.trim(),s):o(r))}),n}function Rt(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(o===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=fo(n,o);return}if(co.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof o=="object"){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(o)}else e[n]=o;return}const r=String(o),s=n.startsWith("data-");r==="true"||r===""?e.props[n]=s?r:!0:!o&&s&&r==="false"?e.props[n]="false":o!==void 0&&(e.props[n]=o)}),e):e}function po(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Rt({tag:e,props:{}},n);return o.key&&oo.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(r=>({...o,props:{...o.props,content:r}})):o}function ho(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(r,s)=>{for(let i=0;i<t.length;i++)s=t[i](r,s);return s};e=n(void 0,e);const o=[];return e=fe(e,n),Object.entries(e||{}).forEach(([r,s])=>{if(s!==void 0)for(const i of Array.isArray(s)?s:[s])o.push(po(r,i))}),o.flat()}const Ye=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,et={base:-10,title:10},mo={critical:-8,high:-1,low:2},tt={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}},go=/@import/,Q=e=>e===""||e===!0;function yo(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=mo[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:tt;if(t.tag in et)n=et[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=tt.meta[s])}else t.tag==="link"&&t.props.rel?n=r.link[t.props.rel]:t.tag==="script"?Q(t.props.async)?n=r.script.async:t.props.src&&!Q(t.props.defer)&&!Q(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=r.script.sync:Q(t.props.defer)&&t.props.src&&!Q(t.props.async)&&(n=r.script.defer):t.tag==="style"&&(n=t.innerHTML&&go.test(t.innerHTML)?r.style.imported:r.style.sync);return(n||100)+o}function nt(e,t){const n=typeof t=="function"?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 vo(e={}){const t=xn();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,r=new Map,s=new Set,i={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:c=>nt(i,c),push(c,u){const l={...u||{}};delete l.head;const a=l._index??i._entryCount++,p={_i:a,input:c,options:l},d={_poll(f=!1){i.dirty=!0,!f&&s.add(a),t.callHook("entries:updated",i)},dispose(){o.delete(a)&&i.invalidate()},patch(f){(!l.mode||l.mode==="server"&&n||l.mode==="client"&&!n)&&(p.input=f,o.set(a,p),d._poll())}};return d.patch(c),d},async resolveTags(){const c={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",c);s.size;){const d=s.values().next().value;s.delete(d);const f=o.get(d);if(f){const m={tags:ho(f.input,e.propResolvers||[]).map(h=>Object.assign(h,f.options)),entry:f};await t.callHook("entries:normalize",m),f._tags=m.tags.map((h,g)=>(h._w=yo(i,h),h._p=(f._i<<10)+g,h._d=Fe(h),h))}}let u=!1;c.entries.flatMap(d=>(d._tags||[]).map(f=>({...f,props:{...f.props}}))).sort(Ye).reduce((d,f)=>{const m=String(f._d||f._p);if(!d.has(m))return d.set(m,f);const h=d.get(m);if((f?.tagDuplicateStrategy||(lo.has(f.tag)?"merge":null)||(f.key&&f.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(f.props).forEach(([w,b])=>y[w]=w==="style"?new Map([...h.props.style||new Map,...b]):w==="class"?new Set([...h.props.class||new Set,...b]):b),d.set(m,{...f,props:y})}else f._p>>10===h._p>>10&&f.tag==="meta"&&Ht(m)?(d.set(m,Object.assign([...Array.isArray(h)?h:[h],f],f)),u=!0):(f._w===h._w?f._p>h._p:f?._w<h?._w)&&d.set(m,f);return d},c.tagMap);const l=c.tagMap.get("title"),a=c.tagMap.get("titleTemplate");if(i._title=l?.textContent,a){const d=a?.textContent;if(i._titleTemplate=d,d){let f=typeof d=="function"?d(l?.textContent):d;typeof f=="string"&&!i.plugins.has("template-params")&&(f=f.replace("%s",l?.textContent||"")),l?f===null?c.tagMap.delete("title"):c.tagMap.set("title",{...l,textContent:f}):(a.tag="title",a.textContent=f)}}c.tags=Array.from(c.tagMap.values()),u&&(c.tags=c.tags.flat().sort(Ye)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const p=[];for(const d of c.tags){const{innerHTML:f,tag:m,props:h}=d;if(so.has(m)&&!(Object.keys(h).length===0&&!d.innerHTML&&!d.textContent)&&!(m==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(m==="script"&&f){if(h.type?.endsWith("json")){const g=typeof f=="string"?f:JSON.stringify(f);d.innerHTML=g.replace(/</g,"\\u003C")}else typeof f=="string"&&(d.innerHTML=f.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=Fe(d)}p.push(d)}}return p},invalidate(){for(const c of o.values())s.add(c._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(c=>nt(i,c)),i.hooks.callHook("init",i),e.init?.forEach(c=>c&&i.push(c)),i}async function Nt(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const s=new Map,i=new Promise(f=>{e.resolveTags().then(m=>{f(m.map(h=>{const g=s.get(h._d)||0,y={tag:h,id:(g?`${h._d}:${g}`:h._d)||Ze(h),shouldRender:!0};return h._d&&Ht(h._d)&&s.set(h._d,g+1),y}))})});let c=e._dom;if(!c){c={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const f of["body","head"]){const m=n[f]?.children;for(const h of m){const g=h.tagName.toLowerCase();if(!Xe.has(g))continue;const y=Rt({tag:g,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((w,b)=>(w[b]=h.getAttribute(b),w),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=Fe(y)||Ze(y),c.elMap.has(y._d)){let w=1,b=y._d;for(;c.elMap.has(b);)b=`${y._d}:${w++}`;c.elMap.set(b,h)}else c.elMap.set(y._d,h)}}}c.pendingSideEffects={...c.sideEffects},c.sideEffects={};function u(f,m,h){const g=`${f}:${m}`;c.sideEffects[g]=h,delete c.pendingSideEffects[g]}function l({id:f,$el:m,tag:h}){const g=h.tag.endsWith("Attrs");c.elMap.set(f,m),g||(h.textContent&&h.textContent!==m.textContent&&(m.textContent=h.textContent),h.innerHTML&&h.innerHTML!==m.innerHTML&&(m.innerHTML=h.innerHTML),u(f,"el",()=>{m?.remove(),c.elMap.delete(f)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const w=h.props[y];if(y.startsWith("on")&&typeof w=="function"){const v=m?.dataset;if(v&&v[`${y}fired`]){const T=y.slice(0,-5);w.call(m,new Event(T.substring(2)))}m.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:m).addEventListener(y.substring(2),w.bind(m)),m.setAttribute(`data-${y}`,""));continue}const b=`attr:${y}`;if(y==="class"){if(!w)continue;for(const v of w)g&&u(f,`${b}:${v}`,()=>m.classList.remove(v)),!m.classList.contains(v)&&m.classList.add(v)}else if(y==="style"){if(!w)continue;for(const[v,T]of w)u(f,`${b}:${v}`,()=>{m.style.removeProperty(v)}),m.style.setProperty(v,T)}else w!==!1&&w!==null&&(m.getAttribute(y)!==w&&m.setAttribute(y,w===!0?"":String(w)),g&&u(f,b,()=>m.removeAttribute(y)))}}const a=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const f of d){const{tag:m,shouldRender:h,id:g}=f;if(h){if(m.tag==="title"){n.title=m.textContent,u("title","",()=>n.title=c.title);continue}f.$el=f.$el||c.elMap.get(g),f.$el?l(f):Xe.has(m.tag)&&a.push(f)}}for(const f of a){const m=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),p[m]=p[m]||n.createDocumentFragment(),p[m].appendChild(f.$el)}for(const f of d)await e.hooks.callHook("dom:renderTag",f,n,u);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(const f in c.pendingSideEffects)c.pendingSideEffects[f]();e._dom=c,await e.hooks.callHook("dom:rendered",{renders:d}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function wo(e={}){const t=e.domOptions?.render||Nt;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return vo({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function bo(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}const te={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"])},Co={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"},Vt={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${j(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?j(e):`${j(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${j(e)} ${t}`}},charset:{}};function j(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:te.META.has(t.slice(0,n))||te.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function zt(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function _e(e){return Array.isArray(e)?e.map(_e):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[j(t),_e(n)]))}function Ut(e,t={}){const{entrySeparator:n="",keyValueSeparator:o="",wrapValue:r,resolve:s}=t;return Object.entries(e).map(([i,c])=>{if(s){const l=s({key:i,value:c});if(l!==void 0)return l}const u=typeof c=="object"?Ut(c,t):typeof c=="number"?c.toString():typeof c=="string"&&r?`${r}${c.replace(new RegExp(r,"g"),`\\${r}`)}${r}`:c;return`${i}${o}${u}`}).join(n)}function ot(e,t){const n=zt(t),o=j(e),r=Wt(o);if(!He.has(o))return[{[r]:o,...n}];const s=Object.fromEntries(Object.entries(n).map(([i,c])=>[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`,c]));return de(s||{}).sort((i,c)=>(i[r]?.length||0)-(c[r]?.length||0))}function Wt(e){if(Vt[e]?.metaKey==="http-equiv"||te.HTTP_EQUIV.has(e))return"http-equiv";const t=j(e),n=t.indexOf(":");return n===-1?"name":te.OG.has(t.slice(0,n))?"property":"name"}function xo(e){return Co[e]||j(e)}function So(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:Ut(_e(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:o})=>n===null?"":typeof n=="boolean"?o:void 0,...Vt[t]?.unpack})}function de(e){const t=[],n={};for(const[r,s]of Object.entries(e)){if(Array.isArray(s)){if(r==="themeColor"){s.forEach(i=>{typeof i=="object"&&i!==null&&t.push({name:"theme-color",...i})});continue}for(const i of s)if(typeof i=="object"&&i!==null){const c=[],u=[];for(const[l,a]of Object.entries(i)){const p=`${r}${l==="url"?"":`:${l}`}`,d=de({[p]:a});(l==="url"?c:u).push(...d)}t.push(...c,...u)}else t.push(...typeof i=="string"?de({[r]:i}):ot(r,i));continue}if(typeof s=="object"&&s)if(te.MEDIA.has(r)){const i=r.startsWith("twitter")?"twitter":"og",c=r.replace(/^(og|twitter)/,"").toLowerCase(),u=i==="twitter"?"name":"property";s.url&&t.push({[u]:`${i}:${c}`,content:s.url}),s.secureUrl&&t.push({[u]:`${i}:${c}:secure_url`,content:s.secureUrl});for(const[l,a]of Object.entries(s))l!=="url"&&l!=="secureUrl"&&t.push({[u]:`${i}:${c}:${l}`,content:a})}else He.has(j(r))?t.push(...ot(r,s)):n[r]=zt(s);else n[r]=s}const o=Object.entries(n).map(([r,s])=>{if(r==="charset")return{charset:s===null?"_null":s};const i=Wt(r),c=xo(r),u=s===null?"_null":typeof s=="object"?So(s,r):typeof s=="number"?s.toString():s;return i==="http-equiv"?{"http-equiv":c,content:u}:{[i]:c,content:u}});return[...t,...o].map(r=>"content"in r&&r.content==="_null"?{...r,content:null}:r)}const ko={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(de(n.props).map(o=>({...n,tag:"meta",props:o}))),!1)).filter(Boolean).concat(...t)}}},To=(e,t)=>Z(t)?k(t):t,qt="usehead";function Io(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(qt,e)}}.install}function Bt(){if(In()){const e=Fn(qt);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 Re(e,t={}){const n=t.head||Bt();return n.ssr?n.push(e||{},t):Fo(n,e,t)}function Fo(e,t,n={}){const o=M(!1);let r;return Mt(()=>{const i=o.value?{}:fe(t,To);r?r.patch(i):r=e.push(i,n)}),je()&&(At(()=>{r.dispose()}),_n(()=>{o.value=!0}),$n(()=>{o.value=!1})),r}function _o(e={},t={}){(t.head||Bt()).use(ko);const{title:o,titleTemplate:r,...s}=e;return Re({title:o,titleTemplate:r,_flatMeta:s},t)}function $o(e={}){const t=wo({domOptions:{render:bo(()=>Nt(t),n=>setTimeout(n,0))},...e});return t.install=Io(t),t}const Oo=Object.freeze({left:0,top:0,width:16,height:16}),pe=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Gt=Object.freeze({...Oo,...pe}),Eo=Object.freeze({...Gt,body:"",hidden:!1}),Mo=Object.freeze({width:null,height:null}),Kt=Object.freeze({...Mo,...pe});function Ao(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}function rt(e,t){const n=Ao(e,t);for(const o in Eo)o in pe?o in e&&!(o in n)&&(n[o]=pe[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function jo(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function s(i){if(n[i])return r[i]=[];if(!(i in r)){r[i]=null;const c=o[i]&&o[i].parent,u=c&&s(c);u&&(r[i]=[c].concat(u))}return r[i]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(s),r}function st(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let s={};function i(c){s=rt(o[c]||r[c],s)}return i(t),n.forEach(i),rt(e,s)}function Po(e,t){if(e.icons[t])return st(e,t,[]);const n=jo(e,[t])[t];return n?st(e,t,n):null}const Lo=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Do=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function he(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(Lo);if(o===null||!o.length)return e;const r=[];let s=o.shift(),i=Do.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?r.push(s):r.push(Math.ceil(c*t*n)/n)}else r.push(s);if(s=o.shift(),s===void 0)return r.join("");i=!i}}function Ho(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(r+1,s).trim(),e=e.slice(0,o).trim()+e.slice(i+1)}return{defs:n,content:e}}function Ro(e,t){return e?"<defs>"+e+"</defs>"+t:t}function No(e,t,n){const o=Ho(e);return Ro(o.defs,t+o.content+n)}const Ne=e=>e==="unset"||e==="undefined"||e==="none";function Qt(e,t){const n={...Gt,...e},o={...Kt,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(h=>{const g=[],y=h.hFlip,w=h.vFlip;let b=h.rotate;y?w?b+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):w&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let v;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:v=r.height/2+r.top,g.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:v=r.width/2+r.left,g.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}b%2===1&&(r.left!==r.top&&(v=r.left,r.left=r.top,r.top=v),r.width!==r.height&&(v=r.width,r.width=r.height,r.height=v)),g.length&&(s=No(s,'<g transform="'+g.join(" ")+'">',"</g>"))});const i=o.width,c=o.height,u=r.width,l=r.height;let a,p;i===null?(p=c===null?"1em":c==="auto"?l:c,a=he(p,u/l)):(a=i==="auto"?u:i,p=c===null?he(a,l/u):c==="auto"?l:c);const d={},f=(h,g)=>{Ne(g)||(d[h]=g.toString())};f("width",a),f("height",p);const m=[r.left,r.top,u,l];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const Vo=/\sid="(\S+)"/g,zo="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uo=0;function Wo(e,t=zo){const n=[];let o;for(;o=Vo.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(Uo++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}function qo(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function it(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" ')),qo(t)}function Bo(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}function Go(e,t){let n=e.indexOf("xlink:")===-1?"":' 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>"}const Ko=/\swidth\s*=\s*["']([\w.]+)["']/,Qo=/\sheight\s*=\s*["']([\w.]+)["']/,be=/<svg\s+/;function Jo(e,t,n){const o=e.slice(0,e.indexOf(">")),r=(s,i)=>{const c=i.exec(o),u=c!=null,l=t[s];return!l&&!Ne(l)&&(typeof n=="number"?n>0&&(t[s]=he(c?.[1]??"1em",n)):c&&(t[s]=c[1])),u};return[r("width",Ko),r("height",Qo)]}async function Jt(e,t,n,o,r,s){const{scale:i,addXmlNs:c=!1}=o??{},{additionalProps:u={},iconCustomizer:l}=o?.customizations??{},a=await r?.()??{};await l?.(t,n,a),Object.keys(u).forEach(h=>{const g=u[h];g!=null&&(a[h]=g)}),s?.(a);const[p,d]=Jo(e,a,i);c&&(!e.includes("xmlns=")&&!a.xmlns&&(a.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!a["xmlns:xlink"]&&(a["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const f=Object.keys(a).map(h=>h==="width"&&p||h==="height"&&d?null:`${h}="${a[h]}"`).filter(h=>h!=null);if(f.length&&(e=e.replace(be,`<svg ${f.join(" ")} `)),o){const{defaultStyle:h,defaultClass:g}=o;g&&!e.includes("class=")&&(e=e.replace(be,`<svg class="${g}" `)),h&&!e.includes("style=")&&(e=e.replace(be,`<svg style="${h}" `))}const m=o?.usedProps;return m&&(Object.keys(u).forEach(h=>{const g=a[h];g!=null&&(m[h]=g)}),typeof a.width<"u"&&a.width!==null&&(m.width=a.width),typeof a.height<"u"&&a.height!==null&&(m.height=a.height)),e}var se={exports:{}},Ce,ct;function Xo(){if(ct)return Ce;ct=1;var e=1e3,t=e*60,n=t*60,o=n*24,r=o*7,s=o*365.25;Ce=function(a,p){p=p||{};var d=typeof a;if(d==="string"&&a.length>0)return i(a);if(d==="number"&&isFinite(a))return p.long?u(a):c(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function i(a){if(a=String(a),!(a.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(p){var d=parseFloat(p[1]),f=(p[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*r;case"days":case"day":case"d":return d*o;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function c(a){var p=Math.abs(a);return p>=o?Math.round(a/o)+"d":p>=n?Math.round(a/n)+"h":p>=t?Math.round(a/t)+"m":p>=e?Math.round(a/e)+"s":a+"ms"}function u(a){var p=Math.abs(a);return p>=o?l(a,p,o,"day"):p>=n?l(a,p,n,"hour"):p>=t?l(a,p,t,"minute"):p>=e?l(a,p,e,"second"):a+" ms"}function l(a,p,d,f){var m=p>=d*1.5;return Math.round(a/d)+" "+f+(m?"s":"")}return Ce}var xe,lt;function Zo(){if(lt)return xe;lt=1;function e(t){o.debug=o,o.default=o,o.coerce=l,o.disable=c,o.enable=s,o.enabled=u,o.humanize=Xo(),o.destroy=a,Object.keys(t).forEach(p=>{o[p]=t[p]}),o.names=[],o.skips=[],o.formatters={};function n(p){let d=0;for(let f=0;f<p.length;f++)d=(d<<5)-d+p.charCodeAt(f),d|=0;return o.colors[Math.abs(d)%o.colors.length]}o.selectColor=n;function o(p){let d,f=null,m,h;function g(...y){if(!g.enabled)return;const w=g,b=Number(new Date),v=b-(d||b);w.diff=v,w.prev=d,w.curr=b,d=b,y[0]=o.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let T=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(S,_)=>{if(S==="%%")return"%";T++;const C=o.formatters[_];if(typeof C=="function"){const I=y[T];S=C.call(w,I),y.splice(T,1),T--}return S}),o.formatArgs.call(w,y),(w.log||o.log).apply(w,y)}return g.namespace=p,g.useColors=o.useColors(),g.color=o.selectColor(p),g.extend=r,g.destroy=o.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==o.namespaces&&(m=o.namespaces,h=o.enabled(p)),h),set:y=>{f=y}}),typeof o.init=="function"&&o.init(g),g}function r(p,d){const f=o(this.namespace+(typeof d>"u"?":":d)+p);return f.log=this.log,f}function s(p){o.save(p),o.namespaces=p,o.names=[],o.skips=[];const d=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const f of d)f[0]==="-"?o.skips.push(f.slice(1)):o.names.push(f)}function i(p,d){let f=0,m=0,h=-1,g=0;for(;f<p.length;)if(m<d.length&&(d[m]===p[f]||d[m]==="*"))d[m]==="*"?(h=m,g=f,m++):(f++,m++);else if(h!==-1)m=h+1,g++,f=g;else return!1;for(;m<d.length&&d[m]==="*";)m++;return m===d.length}function c(){const p=[...o.names,...o.skips.map(d=>"-"+d)].join(",");return o.enable(""),p}function u(p){for(const d of o.skips)if(i(p,d))return!1;for(const d of o.names)if(i(p,d))return!0;return!1}function l(p){return p instanceof Error?p.stack||p.message:p}function a(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}return xe=e,xe}var at;function Yo(){return at||(at=1,(function(e,t){var n={};t.formatArgs=r,t.save=s,t.load=i,t.useColors=o,t.storage=c(),t.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function o(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let l;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(l=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(l[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;l.splice(1,0,a,"color: inherit");let p=0,d=0;l[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(p++,f==="%c"&&(d=p))}),l.splice(d,0,a)}t.log=console.debug||console.log||(()=>{});function s(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function i(){let l;try{l=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=n.DEBUG),l}function c(){try{return localStorage}catch{}}e.exports=Zo()(t);const{formatters:u}=e.exports;u.j=function(l){try{return JSON.stringify(l)}catch(a){return"[UnexpectedJSONParseError]: "+a.message}}})(se,se.exports)),se.exports}var er=Yo();const Xt=Sn(er),tr=Xt("@iconify-loader:custom");async function ut(e,t,n,o){let r;tr(`${t}:${n}`);try{if(typeof e=="function")r=await e(n);else{const s=e[n];r=typeof s=="function"?await s():s}}catch(s){console.warn(`Failed to load custom icon "${n}" in "${t}":`,s);return}if(r){const s=r.indexOf("<svg");s>0&&(r=r.slice(s));const{transform:i}=o?.customizations??{};return r=typeof i=="function"?await i(r,t,n):r,r.startsWith("<svg")?await Jt(o?.customizations?.trimCustomSvg===!0?Bo(r):r,t,n,o,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),r)}}const nr=Xt("@iconify-loader:icon");async function Zt(e,t,n,o){let r;const{customize:s}=o?.customizations??{};for(const i of n)if(r=Po(e,i),r){nr(`${t}:${i}`);let c={...Kt};typeof s=="function"&&(r=Object.assign({},r),c=s(c,r,`${t}:${i}`)??c);const{attributes:{width:u,height:l,...a},body:p}=Qt(r,c),d=o?.scale;return await Jt(`<svg >${p}</svg>`,t,i,o,()=>({...a}),f=>{const m=(h,g)=>{const y=f[h];let w;if(!Ne(y)){if(y)return;typeof d=="number"?d&&(w=he(g??"1em",d)):w=g}w?f[h]=w:delete f[h]};m("width",u),m("height",l)})}}const Yt=async(e,t,n)=>{const o=n?.customCollections?.[e];if(o)if(typeof o=="function"){let r;try{r=await o(t)}catch(s){console.warn(`Failed to load custom icon "${t}" in "${e}":`,s);return}if(r){if(typeof r=="string")return await ut(()=>r,e,t,n);if("icons"in r){const s=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Zt(r,e,s,n)}}}else return await ut(o,e,t,n)};var ft={};function or(){const e=typeof process<"u"&&process.stdout,t=e&&!!ft.VSCODE_CWD,n=e&&!!ft.ESLINT;return{isNode:e,isVSCode:t,isESLint:n}}const en=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],rr=3;function sr(e){return Un((t={})=>{const{scale:n=1,mode:o="auto",prefix:r="i-",warn:s=!1,iconifyCollectionsNames:i,collections:c,extraProperties:u={},customizations:l={},autoInstall:a=!1,collectionsNodeResolvePath:p,layer:d="icons",unit:f,processor:m}=t,h=or(),g={addXmlNs:!0,scale:n,customCollections:c,autoInstall:a,cwd:p,warn:void 0,customizations:{...l,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(w,b,v){await l.iconCustomizer?.(w,b,v),f&&(v.width||(v.width=`${n}${f}`),v.height||(v.height=`${n}${f}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:it,parseIconWithLoader:dt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async w=>{let[b,v,T=o]=w;y=y||await e(t);const x={},S=await dt(v,y,{...g,usedProps:x},i);if(!S){s&&!h.isESLint&&Wn(`failed to load icon "${b}"`);return}let _;const C=`url("data:image/svg+xml;utf8,${it(S.svg)}")`;return T==="auto"&&(T=S.svg.includes("currentColor")?"mask":"bg"),T==="mask"?_={"--un-icon":C,"-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",...x}:_={background:`${C} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...x},m?.(_,{...S,icon:S.name,mode:T}),_},{layer:d,prefix:r}]]}})}function tn(e,t,n=new Map){function o(r){if(en.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(r,s,i)=>{let c=await Yt(r,s,i);if(c)return c;const u=await o(r);if(u){const l=[s,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s.replace(/([a-z])(\d+)/g,"$1-$2")];c=await Zt(u,r,l,i)}return c}}async function dt(e,t,n={},o=[]){let r="",s="",i;const c=new Set([...en,...o,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([r,s]=e.split(":"),!c.has(r))return;i=await t(r,s,n)}else{const u=e.split(/-/g);for(let l=rr;l>=1&&(r=u.slice(0,l).join("-"),!(!!c.has(r)&&(s=u.slice(l).join("-"),i=await t(r,s,n),i)));l--);}if(i)return{collection:r,name:s,svg:i}}async function ir(e){const{$fetch:t}=await qn(async()=>{const{$fetch:n}=await import("./unocss-pEOBR4Nb.js").then(o=>o.f);return{$fetch:n}},[]);return tn(t,e)}const cr=sr(async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?tn(t,n):n?await ir(n):Yt}),lr=({attributifyOptions:e,iconsOptions:t={cdn:"https://cdn.jsdelivr.net/npm/"},tagifyOptions:n,typographyOptions:o,webFontsOptions:r,wind4Options:s={preflights:{reset:!0}}}={})=>[Bn(e),cr(t),Gn(n),Kn(o),Qn(r),Jn(s)];function ye(e,t){return On()?(En(e,t),!0):!1}const nn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const on=e=>e!=null,ar=Object.prototype.toString,ur=e=>ar.call(e)==="[object Object]",A=()=>{},pt=fr();function fr(){var e,t,n;return nn&&((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function dr(...e){if(e.length!==1)return Mn(...e);const t=e[0];return typeof t=="function"?An(jn(()=>({get:t,set:A}))):M(t)}function rn(e,t){function n(...o){return new Promise((r,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(s)})}return n}function pr(e,t={}){let n,o,r=A;const s=u=>{clearTimeout(u),r(),r=A};let i;return u=>{const l=k(e),a=k(t.maxWait);return n&&s(n),l<=0||a!==void 0&&a<=0?(o&&(s(o),o=void 0),Promise.resolve(u())):new Promise((p,d)=>{r=t.rejectOnCancel?d:p,i=u,a&&!o&&(o=setTimeout(()=>{n&&s(n),o=void 0,p(i())},a)),n=setTimeout(()=>{o&&s(o),o=void 0,p(u())},l)})}}function hr(...e){let t=0,n,o=!0,r=A,s,i,c,u,l;!Z(e[0])&&typeof e[0]=="object"?{delay:i,trailing:c=!0,leading:u=!0,rejectOnCancel:l=!1}=e[0]:[i,c=!0,u=!0,l=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=A)};return d=>{const f=k(i),m=Date.now()-t,h=()=>s=d();return a(),f<=0?(t=Date.now(),h()):(m>f?(t=Date.now(),(u||!o)&&h()):c&&(s=new Promise((g,y)=>{r=l?y:g,n=setTimeout(()=>{t=Date.now(),o=!0,g(h()),a()},Math.max(0,f-m))})),!u&&!n&&(n=setTimeout(()=>o=!0,f)),o=!1,s)}}function Y(e){return Array.isArray(e)?e:[e]}function mr(e){return je()}function gr(e){return Z(e)?ae(new Proxy({},{get(t,n,o){return O(Reflect.get(e.value,n,o))},set(t,n,o){return Z(e.value[n])&&!Z(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):ae(e)}function yr(e,t=200,n={}){return rn(pr(t,n),e)}function vr(e,t=200,n=!1,o=!0,r=!1){return rn(hr(t,n,o,r),e)}function wr(e,t=!0,n){mr()?Pe(e,n):t?e():jt(e)}function br(e,t){return F(()=>k(e).map(n=>k(n)).filter(t))}function Cr(e,t,n){return H(e,t,{...n,immediate:!0})}const ve=nn?window:void 0;function U(e){var t;const n=k(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function $e(...e){const t=[],n=()=>{t.forEach(c=>c()),t.length=0},o=(c,u,l,a)=>(c.addEventListener(u,l,a),()=>c.removeEventListener(u,l,a)),r=F(()=>{const c=Y(k(e[0])).filter(u=>u!=null);return c.every(u=>typeof u!="string")?c:void 0}),s=Cr(()=>{var c,u;return[(c=(u=r.value)===null||u===void 0?void 0:u.map(l=>U(l)))!==null&&c!==void 0?c:[ve].filter(l=>l!=null),Y(k(r.value?e[1]:e[0])),Y(O(r.value?e[2]:e[1])),k(r.value?e[3]:e[2])]},([c,u,l,a])=>{if(n(),!c?.length||!u?.length||!l?.length)return;const p=ur(a)?{...a}:a;t.push(...c.flatMap(d=>u.flatMap(f=>l.map(m=>o(d,f,m,p)))))},{flush:"post"}),i=()=>{s(),n()};return ye(n),i}function xr(){const e=D(!1),t=je();return t&&Pe(()=>{e.value=!0},t),e}function sn(e){const t=xr();return F(()=>(t.value,!!e()))}function Sr(e,t,n={}){const{window:o=ve,...r}=n;let s;const i=sn(()=>o&&"MutationObserver"in o),c=()=>{s&&(s.disconnect(),s=void 0)},u=H(F(()=>{const p=Y(k(e)).map(U).filter(on);return new Set(p)}),p=>{c(),i.value&&p.size&&(s=new MutationObserver(t),p.forEach(d=>s.observe(d,r)))},{immediate:!0,flush:"post"}),l=()=>s?.takeRecords(),a=()=>{u(),c()};return ye(a),{isSupported:i,stop:a,takeRecords:l}}function ht(e,t,n={}){const{root:o,rootMargin:r="0px",threshold:s=0,window:i=ve,immediate:c=!0}=n,u=sn(()=>i&&"IntersectionObserver"in i),l=F(()=>Y(k(e)).map(U).filter(on));let a=A;const p=D(c),d=u.value?H(()=>[l.value,U(o),p.value],([m,h])=>{if(a(),!p.value||!m.length)return;const g=new IntersectionObserver(t,{root:U(h),rootMargin:r,threshold:s});m.forEach(y=>y&&g.observe(y)),a=()=>{g.disconnect(),a=A}},{immediate:c,flush:"post"}):A,f=()=>{a(),d(),p.value=!1};return ye(f),{isSupported:u,isActive:p,pause(){a(),p.value=!1},resume(){p.value=!0},stop:f}}function Se(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const mt=1;function kr(e,t={}){const{throttle:n=0,idle:o=200,onStop:r=A,onScroll:s=A,offset:i={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:u={capture:!1,passive:!0},behavior:l="auto",window:a=ve,onError:p=C=>{console.error(C)}}=t,d=typeof c=="boolean"?{mutation:c}:c,f=D(0),m=D(0),h=F({get(){return f.value},set(C){y(C,void 0)}}),g=F({get(){return m.value},set(C){y(void 0,C)}});function y(C,I){var E,V,z,G;if(!a)return;const $=k(e);if(!$)return;(E=$ instanceof Document?a.document.body:$)===null||E===void 0||E.scrollTo({top:(V=k(I))!==null&&V!==void 0?V:g.value,left:(z=k(C))!==null&&z!==void 0?z:h.value,behavior:k(l)});const L=($==null||(G=$.document)===null||G===void 0?void 0:G.documentElement)||$?.documentElement||$;h!=null&&(f.value=L.scrollLeft),g!=null&&(m.value=L.scrollTop)}const w=D(!1),b=ae({left:!0,right:!1,top:!0,bottom:!1}),v=ae({left:!1,right:!1,top:!1,bottom:!1}),T=C=>{w.value&&(w.value=!1,v.left=!1,v.right=!1,v.top=!1,v.bottom=!1,r(C))},x=yr(T,n+o),S=C=>{var I;if(!a)return;const E=(C==null||(I=C.document)===null||I===void 0?void 0:I.documentElement)||C?.documentElement||U(C),{display:V,flexDirection:z,direction:G}=getComputedStyle(E),$=G==="rtl"?-1:1,L=E.scrollLeft;v.left=L<f.value,v.right=L>f.value;const Be=Math.abs(L*$)<=(i.left||0),Ge=Math.abs(L*$)+E.clientWidth>=E.scrollWidth-(i.right||0)-mt;V==="flex"&&z==="row-reverse"?(b.left=Ge,b.right=Be):(b.left=Be,b.right=Ge),f.value=L;let R=E.scrollTop;C===a.document&&!R&&(R=a.document.body.scrollTop),v.top=R<m.value,v.bottom=R>m.value;const Ke=Math.abs(R)<=(i.top||0),Qe=Math.abs(R)+E.clientHeight>=E.scrollHeight-(i.bottom||0)-mt;V==="flex"&&z==="column-reverse"?(b.top=Qe,b.bottom=Ke):(b.top=Ke,b.bottom=Qe),m.value=R},_=C=>{var I;a&&(S((I=C.target.documentElement)!==null&&I!==void 0?I:C.target),w.value=!0,x(C),s(C))};return $e(e,"scroll",n?vr(_,n,!0,!1):_,u),wr(()=>{try{const C=k(e);if(!C)return;S(C)}catch(C){p(C)}}),d?.mutation&&e!=null&&e!==a&&e!==document&&Sr(e,()=>{const C=k(e);C&&S(C)},{attributes:!0,childList:!0,subtree:!0}),$e(e,"scrollend",T,u),{x:h,y:g,isScrolling:w,arrivedState:b,directions:v,measure(){const C=k(e);a&&C&&S(C)}}}function cn(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:cn(n)}}function Tr(e){const t=e||window.event,n=t.target;return cn(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ke=new WeakMap;function Ir(e,t=!1){const n=D(t);let o=null,r="";H(dr(e),c=>{const u=Se(k(c));if(u){const l=u;if(ke.get(l)||ke.set(l,l.style.overflow),l.style.overflow!=="hidden"&&(r=l.style.overflow),l.style.overflow==="hidden")return n.value=!0;if(n.value)return l.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=Se(k(e));!c||n.value||(pt&&(o=$e(c,"touchmove",u=>{Tr(u)},{passive:!1})),c.style.overflow="hidden",n.value=!0)},i=()=>{const c=Se(k(e));!c||!n.value||(pt&&o?.(),c.style.overflow=r,ke.delete(c),n.value=!1)};return ye(i),F({get(){return n.value},set(c){c?s():i()}})}const ln=/^[a-z0-9]+(-[a-z0-9]+)*$/,re=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const c=r.pop(),u=r.pop(),l={provider:r.length>0?r[0]:o,prefix:u,name:c};return t&&!ie(l)?null:l}const s=r[0],i=s.split("-");if(i.length>1){const c={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!ie(c)?null:c}if(n&&o===""){const c={provider:o,prefix:"",name:s};return t&&!ie(c,n)?null:c}return null},ie=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,an=Object.freeze({left:0,top:0,width:16,height:16}),me=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),B=Object.freeze({...an,...me}),Oe=Object.freeze({...B,body:"",hidden:!1});function Fr(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}function gt(e,t){const n=Fr(e,t);for(const o in Oe)o in me?o in e&&!(o in n)&&(n[o]=me[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _r(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function s(i){if(n[i])return r[i]=[];if(!(i in r)){r[i]=null;const c=o[i]&&o[i].parent,u=c&&s(c);u&&(r[i]=[c].concat(u))}return r[i]}return Object.keys(n).concat(Object.keys(o)).forEach(s),r}function $r(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let s={};function i(c){s=gt(o[c]||r[c],s)}return i(t),n.forEach(i),gt(e,s)}function un(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=_r(e);for(const r in o){const s=o[r];s&&(t(r,$r(e,r,s)),n.push(r))}return n}const Or={provider:"",aliases:{},not_found:{},...an};function Te(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function fn(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Te(e,Or))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r||typeof s.body!="string"||!Te(s,Oe))return null}const o=t.aliases||Object.create(null);for(const r in o){const s=o[r],i=s.parent;if(!r||typeof i!="string"||!n[i]&&!o[i]||!Te(s,Oe))return null}return t}const yt=Object.create(null);function Er(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function W(e,t){const n=yt[e]||(yt[e]=Object.create(null));return n[t]||(n[t]=Er(e,t))}function dn(e,t){return fn(t)?un(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function Mr(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ne=!1;function pn(e){return typeof e=="boolean"&&(ne=e),ne}function we(e){const t=typeof e=="string"?re(e,!0,ne):e;if(t){const n=W(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function Ar(e,t){const n=re(e,!0,ne);if(!n)return!1;const o=W(n.provider,n.prefix);return t?Mr(o,n.name,t):(o.missing.add(n.name),!0)}function jr(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ne&&!t&&!e.prefix){let r=!1;return fn(e)&&(e.prefix="",un(e,(s,i)=>{Ar(s,i)&&(r=!0)})),r}const n=e.prefix;if(!ie({prefix:n,name:"a"}))return!1;const o=W(t,n);return!!dn(o,e)}function Pr(e){return!!we(e)}function Lr(e){const t=we(e);return t&&{...B,...t}}const hn=Object.freeze({width:null,height:null}),mn=Object.freeze({...hn,...me}),Dr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Hr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function vt(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(Dr);if(o===null||!o.length)return e;const r=[];let s=o.shift(),i=Hr.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?r.push(s):r.push(Math.ceil(c*t*n)/n)}else r.push(s);if(s=o.shift(),s===void 0)return r.join("");i=!i}}function Rr(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),s=e.indexOf("</"+t);if(r===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(r+1,s).trim(),e=e.slice(0,o).trim()+e.slice(i+1)}return{defs:n,content:e}}function Nr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Vr(e,t,n){const o=Rr(e);return Nr(o.defs,t+o.content+n)}const zr=e=>e==="unset"||e==="undefined"||e==="none";function Ur(e,t){const n={...B,...e},o={...mn,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(h=>{const g=[],y=h.hFlip,w=h.vFlip;let b=h.rotate;y?w?b+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):w&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let v;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:v=r.height/2+r.top,g.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:v=r.width/2+r.left,g.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}b%2===1&&(r.left!==r.top&&(v=r.left,r.left=r.top,r.top=v),r.width!==r.height&&(v=r.width,r.width=r.height,r.height=v)),g.length&&(s=Vr(s,'<g transform="'+g.join(" ")+'">',"</g>"))});const i=o.width,c=o.height,u=r.width,l=r.height;let a,p;i===null?(p=c===null?"1em":c==="auto"?l:c,a=vt(p,u/l)):(a=i==="auto"?u:i,p=c===null?vt(a,l/u):c==="auto"?l:c);const d={},f=(h,g)=>{zr(g)||(d[h]=g.toString())};f("width",a),f("height",p);const m=[r.left,r.top,u,l];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:s}}const Wr=/\sid="(\S+)"/g,qr="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Br=0;function Gr(e,t=qr){const n=[];let o;for(;o=Wr.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(Br++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Ee=Object.create(null);function Kr(e,t){Ee[e]=t}function Me(e){return Ee[e]||Ee[""]}function Ve(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ze=Object.create(null),J=["https://api.simplesvg.com","https://api.unisvg.com"],ce=[];for(;J.length>0;)J.length===1||Math.random()>.5?ce.push(J.shift()):ce.push(J.pop());ze[""]=Ve({resources:["https://api.iconify.design"].concat(ce)});function Qr(e,t){const n=Ve(t);return n===null?!1:(ze[e]=n,!0)}function Ue(e){return ze[e]}const Jr=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let wt=Jr();function Xr(e,t){const n=Ue(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(i=>{r=Math.max(r,i.length)});const s=t+".json?icons=";o=n.maxURL-r-n.path.length-s.length}return o}function Zr(e){return e===404}const Yr=(e,t,n)=>{const o=[],r=Xr(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((u,l)=>{c+=u.length+1,c>=r&&l>0&&(o.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=u.length),i.icons.push(u)}),o.push(i),o};function es(e){if(typeof e=="string"){const t=Ue(e);if(t)return t.path}return"/"}const ts=(e,t,n)=>{if(!wt){n("abort",424);return}let o=es(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),u=new URLSearchParams({icons:c});o+=s+".json?"+u.toString();break}case"custom":{const s=t.uri;o+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;wt(e+o).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Zr(i)?"abort":"next",i)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})},ns={prepare:Yr,send:ts};function os(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const s=r.provider,i=r.prefix,c=r.name,u=n[s]||(n[s]=Object.create(null)),l=u[i]||(u[i]=W(s,i));let a;c in l.icons?a=t.loaded:i===""||l.missing.has(c)?a=t.missing:a=t.pending;const p={provider:s,prefix:i,name:c};a.push(p)}),t}function gn(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function rs(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,r=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(u=>{if(u.prefix!==r)return!0;const l=u.name;if(e.icons[l])i.loaded.push({provider:o,prefix:r,name:l});else if(e.missing.has(l))i.missing.push({provider:o,prefix:r,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||gn([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let ss=0;function is(e,t,n){const o=ss++,r=gn.bind(null,n,o);if(!t.pending.length)return r;const s={id:o,icons:t,callback:e,abort:r};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),r}function cs(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const s=typeof r=="string"?re(r,t,n):r;s&&o.push(s)}),o}var ls={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function as(e,t,n,o){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let i;if(e.random){let x=e.resources.slice(0);for(i=[];x.length>1;){const S=Math.floor(Math.random()*x.length);i.push(x[S]),x=x.slice(0,S).concat(x.slice(S+1))}i=i.concat(x)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let u="pending",l=0,a,p=null,d=[],f=[];typeof o=="function"&&f.push(o);function m(){p&&(clearTimeout(p),p=null)}function h(){u==="pending"&&(u="aborted"),m(),d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function g(x,S){S&&(f=[]),typeof x=="function"&&f.push(x)}function y(){return{startTime:c,payload:t,status:u,queriesSent:l,queriesPending:d.length,subscribe:g,abort:h}}function w(){u="failed",f.forEach(x=>{x(void 0,a)})}function b(){d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function v(x,S,_){const C=S!=="success";switch(d=d.filter(I=>I!==x),u){case"pending":break;case"failed":if(C||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){a=_,w();return}if(C){a=_,d.length||(i.length?T():w());return}if(m(),b(),!e.random){const I=e.resources.indexOf(x.resource);I!==-1&&I!==e.index&&(e.index=I)}u="completed",f.forEach(I=>{I(_)})}function T(){if(u!=="pending")return;m();const x=i.shift();if(x===void 0){if(d.length){p=setTimeout(()=>{m(),u==="pending"&&(b(),w())},e.timeout);return}w();return}const S={status:"pending",resource:x,callback:(_,C)=>{v(S,_,C)}};d.push(S),l++,p=setTimeout(T,e.rotate),n(x,t,S.callback)}return setTimeout(T),y}function yn(e){const t={...ls,...e};let n=[];function o(){n=n.filter(c=>c().status==="pending")}function r(c,u,l){const a=as(t,c,u,(p,d)=>{o(),l&&l(p,d)});return n.push(a),a}function s(c){return n.find(u=>c(u))||null}return{query:r,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:o}}function bt(){}const Ie=Object.create(null);function us(e){if(!Ie[e]){const t=Ue(e);if(!t)return;const n=yn(t),o={config:t,redundancy:n};Ie[e]=o}return Ie[e]}function fs(e,t,n){let o,r;if(typeof e=="string"){const s=Me(e);if(!s)return n(void 0,424),bt;r=s.send;const i=us(e);i&&(o=i.redundancy)}else{const s=Ve(e);if(s){o=yn(s);const i=e.resources?e.resources[0]:"",c=Me(i);c&&(r=c.send)}}return!o||!r?(n(void 0,424),bt):o.query(t,r,n)().abort}function Ct(){}function ds(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,rs(e)}))}function ps(e){const t=[],n=[];return e.forEach(o=>{(o.match(ln)?t:n).push(o)}),{valid:t,invalid:n}}function X(e,t,n){function o(){const r=e.pendingIcons;t.forEach(s=>{r&&r.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!dn(e,n).length){o();return}}catch(r){console.error(r)}o(),ds(e)}function xt(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function hs(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const s=e.loadIcon;if(e.loadIcons&&(r.length>1||!s)){xt(e.loadIcons(r,o,n),a=>{X(e,r,a)});return}if(s){r.forEach(a=>{const p=s(a,o,n);xt(p,d=>{const f=d?{prefix:o,icons:{[a]:d}}:null;X(e,[a],f)})});return}const{valid:i,invalid:c}=ps(r);if(c.length&&X(e,c,null),!i.length)return;const u=o.match(ln)?Me(n):null;if(!u){X(e,i,null);return}u.prepare(n,o,i).forEach(a=>{fs(n,a,p=>{X(e,a.icons,p)})})}))}const vn=(e,t)=>{const n=cs(e,!0,pn()),o=os(n);if(!o.pending.length){let u=!0;return t&&setTimeout(()=>{u&&t(o.loaded,o.missing,o.pending,Ct)}),()=>{u=!1}}const r=Object.create(null),s=[];let i,c;return o.pending.forEach(u=>{const{provider:l,prefix:a}=u;if(a===c&&l===i)return;i=l,c=a,s.push(W(l,a));const p=r[l]||(r[l]=Object.create(null));p[a]||(p[a]=[])}),o.pending.forEach(u=>{const{provider:l,prefix:a,name:p}=u,d=W(l,a),f=d.pendingIcons||(d.pendingIcons=new Set);f.has(p)||(f.add(p),r[l][a].push(p))}),s.forEach(u=>{const l=r[u.provider][u.prefix];l.length&&hs(u,l)}),t?is(t,o,s):Ct},ms=e=>new Promise((t,n)=>{const o=typeof e=="string"?re(e,!0):e;if(!o){n(e);return}vn([o||e],r=>{if(r.length&&o){const s=we(o);if(s){t({...B,...s});return}}n(e)})});function gs(e,t){const n={...e};for(const o in t){const r=t[o],s=typeof r;o in hn?(r===null||r&&(s==="string"||s==="number"))&&(n[o]=r):s===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const ys=/[\s,]+/;function vs(e,t){t.split(ys).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function ws(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?o(s):0)}}return t}function bs(e,t){let n=e.indexOf("xlink:")===-1?"":' 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>"}function Cs(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function xs(e){return"data:image/svg+xml,"+Cs(e)}function Ss(e){return'url("'+xs(e)+'")'}const St={...mn,inline:!1},ks={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ts={display:"inline-block"},Ae={backgroundColor:"currentColor"},wn={backgroundColor:"transparent"},kt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Tt={webkitMask:Ae,mask:Ae,background:wn};for(const e in Tt){const t=Tt[e];for(const n in kt)t[e+n]=kt[n]}const le={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";le[e+"-flip"]=t,le[e.slice(0,1)+"-flip"]=t,le[e+"Flip"]=t});function It(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ft=(e,t)=>{const n=gs(St,t),o={...ks},r=t.mode||"svg",s={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const g=t[h];if(g!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[h]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&vs(n,g);break;case"color":s.color=g;break;case"rotate":typeof g=="string"?n[h]=ws(g):typeof g=="number"&&(n[h]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete o["aria-hidden"];break;default:{const y=le[h];y?(g===!0||g==="true"||g===1)&&(n[y]=!0):St[h]===void 0&&(o[h]=g)}}}const u=Ur(e,n),l=u.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),r==="svg"){o.style={...s,...c},Object.assign(o,l);let h=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),o.innerHTML=Gr(u.body,g?()=>g+"ID"+h++:"iconifyVue"),Je("svg",o)}const{body:a,width:p,height:d}=e,f=r==="mask"||(r==="bg"?!1:a.indexOf("currentColor")!==-1),m=bs(a,{...l,width:p+"",height:d+""});return o.style={...s,"--svg":Ss(m),width:It(l.width),height:It(l.height),...Ts,...f?Ae:wn,...c},Je("span",o)};pn(!0);Kr("",ns);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!jr(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;Qr(n,r)||console.error(o)}catch{console.error(o)}}}}const Is={...B,body:""};q((e,{emit:t})=>{const n=M(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const r=M(!!e.ssr),s=M(""),i=D(null);function c(){const l=e.icon;if(typeof l=="object"&&l!==null&&typeof l.body=="string")return s.value="",{data:l};let a;if(typeof l!="string"||(a=re(l,!1,!0))===null)return null;let p=we(a);if(!p){const m=n.value;return(!m||m.name!==l)&&(p===null?n.value={name:l}:n.value={name:l,abort:vn([a],u)}),null}o(),s.value!==l&&(s.value=l,jt(()=>{t("load",l)}));const d=e.customise;if(d){p=Object.assign({},p);const m=d(p.body,a.name,a.prefix,a.provider);typeof m=="string"&&(p.body=m)}const f=["iconify"];return a.prefix!==""&&f.push("iconify--"+a.prefix),a.provider!==""&&f.push("iconify--"+a.provider),{data:p,classes:f}}function u(){const l=c();l?l.data!==i.value?.data&&(i.value=l):i.value=null}return r.value?u():Pe(()=>{r.value=!0,u()}),H(()=>e.icon,u),Pt(o),()=>{const l=i.value;if(!l)return Ft(Is,e);let a=e;return l.classes&&(a={...e,class:l.classes.join(" ")}),Ft({...B,...l.data},a)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const Fs=q({__name:"App",setup(e){const t=Yn(),n=oe(),o=F(()=>n.atlas[t.name]),r=F(()=>o.value?.description),s=M(""),i=M(""),c=F(()=>o.value?.keywords.join()),u=F(()=>o.value?.images.filter(({url:d})=>d).map(({alt:d="",url:f})=>({alt:d,url:`${window.location.origin}/${f}`}))??[]),l=F(()=>o.value?.type),a=F(()=>o.value?.to&&`${window.location.origin}${o.value.to==="/"?"":o.value.to}`),p=F(()=>o.value?.title);return H(o,async d=>{if(d){let f="/favicon.ico";if(d.icon){const m=Pr(d.icon)?Lr(d.icon):await ms(d.icon);if(m){const{attributes:h,body:g}=Qt(m,{height:16,width:16});f=`data:image/svg+xml,${encodeURIComponent(Go(Wo(g),h))}`}}s.value=f,i.value=JSON.stringify(await $t(`./pages/${d.id}.jsonld`)??{"@context":"https://schema.org"})}}),Re({link:[[s,"icon","icon"],[a,"canonical"]].map(([d,f,m])=>({href:d,key:m,rel:f})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),_o({description:r,keywords:c,ogDescription:r,ogImage:u,ogTitle:p,ogType:l,ogUrl:a,title:p}),(d,f)=>{const m=Pn("router-view");return P(),ee(m,null,{default:Le(({Component:h})=>[(P(),ee(De(h),{id:O(n).pages[0]?.id},null,8,["id"]))]),_:1})}}}),bn=e=>Ln(async()=>no(`./pages/${e}.vue`,{scriptOptions:{inlineTemplate:!0}})),Cn=()=>{let e,t;return{promise:new Promise((o,r)=>{e=o,t=r}),reject:t,resolve:e}},We=kn("main",()=>{const e=M(),t=oe(),n=F(()=>e.value===t.pages[0]?.id?t.pages[0]?.$children[0]:t.atlas[e.value]),o=F(()=>n.value===void 0||n.value.parent?.flat?n.value?.siblings??[]:[n.value]);return{$these:br(o,({enabled:r})=>r),intersecting:new Map,promises:new Map,root:Cn(),routeName:e,scrollLock:M(!1),that:n}});function _t(e,t){const n=e.type,o=n==="html"?"htmlAttrs":n==="body"?"bodyAttrs":n;if(typeof o!="string"||!(o in t))return;const r=e.props||{};if(e.children){const s="children";r.children=Array.isArray(e.children)?e.children[0][s]:e[s]}Array.isArray(t[o])?t[o].push(r):o==="title"?t.title=r.children:t[o]=r}function _s(e){const t={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const n of e)if(typeof n.type=="symbol"&&Array.isArray(n.children))for(const o of n.children)_t(o,t);else _t(n,t);return t}const $s=q({name:"Head",setup(e,{slots:t}){const n=M({}),o=Re(n);return At(()=>{o.dispose()}),()=>(Mt(()=>{t.default&&o.patch(_s(t.default()))}),null)}}),Os=q({__name:"NotFoundView",setup(e){return(t,n)=>(P(),ue(Lt,null,[Dn(O($s),null,{default:Le(()=>[...n[0]||(n[0]=[K("title",null,"Page Not Found",-1)])]),_:1}),n[1]||(n[1]=K("div",{class:"absolute inset-0 grid place-items-center"},[K("div",{class:"text-center"},[K("div",{class:"text-9xl"},"404"),K("p",null,"Oops. Nothing here...")])],-1))],64))}}),Es={mounted(e,t){typeof t.value=="function"?ht(e,t.value):ht(e,...t.value)}};function Ms(){let e=!1;const t=D(!1);return(n,o)=>{if(t.value=o.value,e)return;e=!0;const r=Ir(n,o.value);H(t,s=>r.value=s)}}Ms();const As=["id"],js=q({__name:"PageView",setup(e){const t=We(),n=oe(),{$these:o}=Ot(t),r=()=>{[t.intersecting,t.promises].forEach(i=>{i.clear()})},s=F(()=>new Map(o.value.map(({id:i})=>[i,bn(i)])));return H(o,i=>{r(),i.forEach(({id:c})=>{t.intersecting.set(c,!1),t.promises.set(c,Cn())})},{immediate:!0}),Pt(()=>{r()}),(i,c)=>(P(!0),ue(Lt,null,Hn(s.value,([u,l])=>Rn((P(),ue("div",{id:u,key:u,"un-cloak":"",class:Dt(O(n).atlas[u]?.class)},[(P(),ee(De(l),{id:u,onVnodeMounted:a=>O(t).promises.get(u)?.resolve(void 0)},null,8,["id","onVnodeMounted"]))],10,As)),[[O(Es),[([{isIntersecting:a}={}])=>{O(t).intersecting.set(u,a)},{threshold:.1}]]])),128))}}),Ps=["id"],Ls=q({__name:"RootView",setup(e){const t=oe(),[n]=t.pages,o=F(()=>n&&bn(n.id)),r=We();return(s,i)=>(P(),ee(Nn,null,{default:Le(()=>[O(n)?.enabled?(P(),ue("div",{key:0,id:O(n).id,class:Dt(O(n).class),"un-cloak":""},[(P(),ee(De(o.value),{id:O(n).id,onVnodeMounted:i[0]||(i[0]=c=>O(r).root.resolve(void 0))},null,8,["id"]))],10,Ps)):Vn("",!0)]),_:1}))}}),[[Ds={}],Hs]=(await Promise.all(["index","fonts"].map(e=>$t(`${e}.json`)))).map(e=>e??[]),qe=zn(Fs),{pathname:Rs}=new URL(document.baseURI);qe.use(Tn());const N=We(),ge=oe(),{atlas:Ns}=Ot(ge);ge.nodes.push(Ds);await Xn({defaults:{presets:lr({webFontsOptions:{customFetch:Zn,fonts:Object.fromEntries(Hs.map(e=>[e.toLowerCase().replace(/ /g,"_"),e]))}})},ready:({extractAll:e,toggleObserver:t})=>{let n=!1;const o=eo({history:to(Rs),routes:[...ge.pages.filter(({path:i})=>i!==void 0).map(i=>{const{id:c,loc:u,path:l}=i,a=u?.replace(/ /g,"_").replace(/^\/?/,"/").replace(/\/?$/,"/");return{...a&&{alias:a},children:[{component:js,name:c,path:""}],component:Ls,path:l.replace(/^\/?/,"/").replace(/\/?$/,"/")}}),{component:Os,name:"404",path:"/:pathMatch(.*)*"}],scrollBehavior:async({hash:i,name:c})=>{if(c)if(N.routeName=c,n)n=!1;else{const{index:u,parent:{flat:l}={}}=N.that??{};return t(!0),await N.root.promise,await Promise.all([...N.promises.values()].map(({promise:a})=>a)),await e(),t(!1),"requestIdleCallback"in window?await new Promise(a=>requestIdleCallback(a)):(await new Promise(a=>requestAnimationFrame(a)),await new Promise(a=>setTimeout(a))),{behavior:"smooth",...i||l&&u?{el:i||`#${String(c)}`}:{left:0,top:0}}}return!1}}),{x:r,y:s}=kr(window,{onStop:()=>{const[i]=N.$these,[c]=ge.pages;if(c&&i){const{$children:[{id:u}={}]=[]}=c,l=!Math.floor(r.value)&&!Math.floor(s.value)&&i.id===u?c.id:[...N.intersecting.entries()].find(([,a])=>a)?.[0]??i.id;l!==N.routeName&&(n=!0,o.push({name:l}).catch(Et.error))}}});return o.beforeEach(({path:i})=>i!==decodeURI(i)?decodeURI(i):void 0),qe.use(o),!1},rootElement:()=>document.getElementById("app")??void 0});qe.use($o()).provide("pages",gr(Ns)).mount("#app");Et.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.2.11");
|