@vuebro/runtime 1.1.14 → 1.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-BybG-Vri.js","./sucrase-Cw4LZf8f.js","./compiler-sfc-CHbDt8t7.js","./RootView-CykTR4ys.js","./NotFoundView-DoFzS0UT.js"])))=>i.map(i=>d[i]);
2
- import{toValue as ye,isRef as Ft,hasInjectionContext as Vl,inject as Ul,ref as Ke,watchEffect as Hl,getCurrentInstance as No,onBeforeUnmount as Wl,onDeactivated as Bl,onActivated as Kl,reactive as Je,unref as tc,getCurrentScope as Gl,onScopeDispose as Jl,onMounted as Mo,nextTick as Io,watch as Fe,computed as pe,shallowRef as Ge,readonly as Xl,isReactive as Yl,defineComponent as rc,onUnmounted as Ql,h as ii,resolveComponent as Zl,createBlock as si,openBlock as ai,withCtx as eu,resolveDynamicComponent as tu,defineAsyncComponent as ru,createApp as nu}from"vue";import{g as pn,e as ou,t as ci}from"./sucrase-Cw4LZf8f.js";import{useRoute as iu,createRouter as su,createWebHistory as au}from"vue-router";import{p as cu,c as lu,a as uu,b as fu}from"./compiler-sfc-CHbDt8t7.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const du="modulepreload",pu=function(e,t){return new URL(e,t).href},li={},nt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=u(r.map(l=>{if(l=pu(l,n),l in li)return;li[l]=!0;const d=l.endsWith(".css"),y=d?'[rel="stylesheet"]':"";if(!!n)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":du,d||(v.as="script"),v.crossOrigin="",v.href=l,c&&v.setAttribute("nonce",c),document.head.appendChild(v),d)return new Promise((h,p)=>{v.addEventListener("load",h),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function lo(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?lo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const hu={run:e=>e()},mu=()=>hu,nc=typeof console.createTask<"u"?console.createTask:mu;function gu(e,t){const r=t.shift(),n=nc(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function yu(e,t){const r=t.shift(),n=nc(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Rn(e,t){for(const r of[...e])r(t)}class bu{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=lo(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=lo(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(gu,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(yu,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Rn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Rn(this._after,o)}):(this._after&&o&&Rn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function vu(){return new bu}const $u=new Set(["link","style","script","noscript"]),wu=new Set(["title","titleTemplate","script","style","noscript"]),ui=new Set(["base","meta","link","style","script","noscript"]),ku=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_u=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),xu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Su=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Fo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Eu=["name","property","http-equiv"],Cu=new Set(["viewport","description","keywords","robots"]);function oc(e){const t=e.split(":");return t.length?Fo.has(t[1]):!1}function uo(e){const{props:t,tag:r}=e;if(_u.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Eu)if(t[n]!==void 0){const o=t[n],i=o.includes(":"),s=Cu.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(wu.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function fi(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Jr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Jr(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Jr(o[s],t,s);return i}return o}function ju(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function ic(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=ju(r,n);return}if(xu.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function Pu(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=ic({tag:e,props:{}},r);return n.key&&$u.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Ou(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Jr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(Pu(o,s))}),n.flat()}const di=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,pi={base:-10,title:10},Ru={critical:-8,high:-1,low:2},hi={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}},Au=/@import/,_t=e=>e===""||e===!0;function Tu(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Ru[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:hi;if(t.tag in pi)r=pi[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=hi.meta[i])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?_t(t.props.async)?r=o.script.async:t.props.src&&!_t(t.props.defer)&&!_t(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?r=o.script.sync:_t(t.props.defer)&&t.props.src&&!_t(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Au.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function mi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Nu(e={}){const t=vu();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>mi(s,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??s._entryCount++,d={_i:l,input:a,options:u},y={_poll(m=!1){s.dirty=!0,!m&&i.add(l),t.callHook("entries:updated",s)},dispose(){n.delete(l)&&s.invalidate()},patch(m){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(d.input=m,n.set(l,d),y._poll())}};return y.patch(a),y},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const y=i.values().next().value;i.delete(y);const m=n.get(y);if(m){const v={tags:Ou(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((h,p)=>(h._w=Tu(s,h),h._p=(m._i<<10)+p,h._d=uo(h),h))}}let c=!1;a.entries.flatMap(y=>(y._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(di).reduce((y,m)=>{const v=String(m._d||m._p);if(!y.has(v))return y.set(v,m);const h=y.get(v);if((m?.tagDuplicateStrategy||(Su.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(m.props).forEach(([f,g])=>b[f]=f==="style"?new Map([...h.props.style||new Map,...g]):f==="class"?new Set([...h.props.class||new Set,...g]):g),y.set(v,{...m,props:b})}else m._p>>10===h._p>>10&&m.tag==="meta"&&oc(v)?(y.set(v,Object.assign([...Array.isArray(h)?h:[h],m],m)),c=!0):(m._w===h._w?m._p>h._p:m?._w<h?._w)&&y.set(v,m);return y},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,l){const y=l?.textContent;if(s._titleTemplate=y,y){let m=typeof y=="function"?y(u?.textContent):y;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",u?.textContent||"")),u?m===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:m}):(l.tag="title",l.textContent=m)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(di)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const y of a.tags){const{innerHTML:m,tag:v,props:h}=y;if(ku.has(v)&&!(Object.keys(h).length===0&&!y.innerHTML&&!y.textContent)&&!(v==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(v==="script"&&m){if(h.type?.endsWith("json")){const p=typeof m=="string"?m:JSON.stringify(m);y.innerHTML=p.replace(/</g,"\\u003C")}else typeof m=="string"&&(y.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));y._d=uo(y)}d.push(y)}}return d},invalidate(){for(const a of n.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>mi(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function sc(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(m=>{e.resolveTags().then(v=>{m(v.map(h=>{const p=i.get(h._d)||0,b={tag:h,id:(p?`${h._d}:${p}`:h._d)||fi(h),shouldRender:!0};return h._d&&oc(h._d)&&i.set(h._d,p+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const v=r[m]?.children;for(const h of v){const p=h.tagName.toLowerCase();if(!ui.has(p))continue;const b=ic({tag:p,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((f,g)=>(f[g]=h.getAttribute(g),f),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=uo(b)||fi(b),a.elMap.has(b._d)){let f=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${f++}`;a.elMap.set(g,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(m,v,h){const p=`${m}:${v}`;a.sideEffects[p]=h,delete a.pendingSideEffects[p]}function u({id:m,$el:v,tag:h}){const p=h.tag.endsWith("Attrs");a.elMap.set(m,v),p||(h.textContent&&h.textContent!==v.textContent&&(v.textContent=h.textContent),h.innerHTML&&h.innerHTML!==v.innerHTML&&(v.innerHTML=h.innerHTML),c(m,"el",()=>{v?.remove(),a.elMap.delete(m)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const f=h.props[b];if(b.startsWith("on")&&typeof f=="function"){const $=v?.dataset;if($&&$[`${b}fired`]){const w=b.slice(0,-5);f.call(v,new Event(w.substring(2)))}v.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:v).addEventListener(b.substring(2),f.bind(v)),v.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!f)continue;for(const $ of f)p&&c(m,`${g}:${$}`,()=>v.classList.remove($)),!v.classList.contains($)&&v.classList.add($)}else if(b==="style"){if(!f)continue;for(const[$,w]of f)c(m,`${g}:${$}`,()=>{v.style.removeProperty($)}),v.style.setProperty($,w)}else f!==!1&&f!==null&&(v.getAttribute(b)!==f&&v.setAttribute(b,f===!0?"":String(f)),p&&c(m,g,()=>v.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},y=await s;for(const m of y){const{tag:v,shouldRender:h,id:p}=m;if(h){if(v.tag==="title"){r.title=v.textContent,c("title","",()=>r.title=a.title);continue}m.$el=m.$el||a.elMap.get(p),m.$el?u(m):ui.has(v.tag)&&l.push(m)}}for(const m of l){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),u(m),d[v]=d[v]||r.createDocumentFragment(),d[v].appendChild(m.$el)}for(const m of y)await e.hooks.callHook("dom:renderTag",m,r,c);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:y}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Mu(e={}){const t=e.domOptions?.render||sc;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Nu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Iu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const Lt={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"])},Fu={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"},ac={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ve(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"?Ve(e):`${Ve(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ve(e)} ${t}`}},charset:{}};function Ve(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:Lt.META.has(t.slice(0,r))||Lt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function cc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function fo(e){return Array.isArray(e)?e.map(fo):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),fo(r)]))}function lc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?lc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function gi(e,t){const r=cc(t),n=Ve(e),o=uc(n);if(!Fo.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Xr(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function uc(e){if(ac[e]?.metaKey==="http-equiv"||Lt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":Lt.OG.has(t.slice(0,r))?"property":"name"}function zu(e){return Fu[e]||Ve(e)}function Lu(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:lc(fo(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...ac[t]?.unpack})}function Xr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const d=`${o}${u==="url"?"":`:${u}`}`,y=Xr({[d]:l});(u==="url"?a:c).push(...y)}t.push(...a,...c)}else t.push(...typeof s=="string"?Xr({[o]:s}):gi(o,s));continue}if(typeof i=="object"&&i)if(Lt.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else Fo.has(Ve(o))?t.push(...gi(o,i)):r[o]=cc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=uc(o),a=zu(o),c=i===null?"_null":typeof i=="object"?Lu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Du={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Xr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},qu=(e,t)=>Ft(t)?ye(t):t,fc="usehead";function Vu(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(fc,e)}}.install}function dc(){if(Vl()){const e=Ul(fc);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 pc(e,t={}){const r=t.head||dc();return r.ssr?r.push(e||{},t):Uu(r,e,t)}function Uu(e,t,r={}){const n=Ke(!1);let o;return Hl(()=>{const s=n.value?{}:Jr(t,qu);o?o.patch(s):o=e.push(s,r)}),No()&&(Wl(()=>{o.dispose()}),Bl(()=>{n.value=!0}),Kl(()=>{n.value=!1})),o}function Hu(e={},t={}){(t.head||dc()).use(Du);const{title:n,titleTemplate:o,...i}=e;return pc({title:n,titleTemplate:o,_flatMeta:i},t)}function Wu(e={}){const t=Mu({domOptions:{render:Iu(()=>sc(t),r=>setTimeout(r,0))},...e});return t.install=Vu(t),t}const qr="default",po="preflights",Bu="shortcuts",hc="imports",Ku={[hc]:-200,[po]:-100,[Bu]:-10,[qr]:0},mc=/[\\:]?[\s'"`;{}]+/g;function Gu(e){return e.split(mc)}const Ju={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Gu(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Ie(e){return Array.from(new Set(e))}function yi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function le(e){return typeof e=="string"}class gc extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function An(e){return e instanceof gc}function Dt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ht(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const Tn=ht;function Xu(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const Yu=/^\[(.+?)~?="(.*)"\]$/,Qu=/[\w\u00A0-\uFFFF%-?]/;function Zu(e){return e.match(Yu)}function ho(e=""){return Qu.test(e)}function ef(e){return typeof e=="function"?{match:e}:e}function bi(e){return e.length===3}function Vr(e){return e!=null}function tf(){}class rf{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class nf extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Yr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function of(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Yr(t)):[e]:[Yr(e)]}function sf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Nn(e){return e==null?"":sf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Jt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function hn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Jt(n)&&Jt(o)&&Object.keys(o).forEach(s=>{Jt(n[s])&&Jt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=hn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Ur(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ur(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}return e}function af(e){return le(e[0])}function cf(e){return le(e[0])}const Xt={};function lf(e=["-",":"]){const t=e.join("|");return Xt[t]||(Xt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Xt[t].lastIndex=0,Xt[t]}function uf(e,t=["-",":"],r=5){const n=lf(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,d,y,m)=>{if(!t.includes(d))return u;o=!0,s.add(l+d);const v=m+l.length+d.length+1,h={length:u.length,items:[]};a.set(m,h);for(const p of[...y.matchAll(/\S+/g)]){const b=v+p.index;let f=a.get(b)?.items;f?a.delete(b):f=[{offset:b,length:p[0].length,className:p[0]}];for(const g of f)g.className=g.className==="~"?l:g.className.replace(/^(!?)(.*)/,`$1${l}${d}$2`),h.items.push(g)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,d]of a)c+=e.slice(u,l),c+=d.items.map(y=>y.className).join(" "),u=l+d.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function ff(e,t=["-",":"],r=5){const n=uf(e,t,r);return typeof e=="string"?n.expanded:e}const vi=new Set;function yc(e){vi.has(e)||(console.warn("[unocss]",e),vi.add(e))}function bc(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const $i="_uno_resolved";async function df(e){let t=typeof e=="function"?await e():await e;if($i in t)return t;t={...t},Object.defineProperty(t,$i,{value:!0,enumerable:!1});const r=t.shortcuts?bc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=ae(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function vc(e){const t=await df(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap(vc))).flat();return[t,...r]}function pf(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[];for(const a of e){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&t.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}const s={pipeline:n?!1:{include:Ie(ki(...t)),exclude:Ie(ki(...r))}};return o.length&&(s.filesystem=Ie(o.flat())),i.length&&(s.inline=Ie(i.flat())),s}async function wi(e={},t={}){const r=Object.assign({},t,e),n=yi((await Promise.all((r.presets||[]).flatMap(ae).flatMap(vc))).flat(),(w,k)=>w.name===k.name),o=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Ku,...i.map(w=>w.layers));function c(w){return Ie(i.flatMap(k=>ae(k[w]||[])))}const u=c("extractors");let l=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;l===void 0&&(l=Ju),l&&!u.includes(l)&&u.unshift(l),u.sort((w,k)=>(w.order||0)-(k.order||0));const d=c("rules"),y={},m=d.length,v=d.filter(w=>af(w)?(ae(w[2]?.prefix||"").forEach(_=>{y[_+w[0]]=w}),!1):!0).reverse(),h={templates:Ie(i.flatMap(w=>ae(w.autocomplete?.templates))),extractors:i.flatMap(w=>ae(w.autocomplete?.extractors)).sort((w,k)=>(w.order||0)-(k.order||0)),shorthands:mf(i.map(w=>w.autocomplete?.shorthands||{}))};let p=c("separators");p.length||(p=[":","-"]);const b=c("content"),f=pf(b),g={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:hf(i.map(w=>w.theme)),rules:d,rulesSize:m,rulesDynamic:v,rulesStaticMap:y,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(ef).sort((w,k)=>(w.order||0)-(k.order||0)),shortcuts:bc(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:yi(c("transformers"),(w,k)=>w.name===k.name)},$=c("extendTheme");for(const w of $)g.theme=w(g.theme,g)||g.theme;for(const w of i)w?.configResolved?.(g);return g}function hf(e){return e.map(t=>t?Ur(t):{}).reduce((t,r)=>hn(t,r),{})}function mf(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ki(...e){return e.flatMap(gf)}function gf(e){return Array.isArray(e)?e:e?[e]:[]}const yf="66.3.3",be={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class zo{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=yf;events=Xu();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new zo(t,r);return n.config=await wi(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await wi(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(An(s)&&An(n))for(const a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(const a of s)n.add(a)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:be,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const o=this.config.preprocess.reduce((c,u)=>u(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(await this.parseUtil(u.variantMatch,u))?.map(y=>this.stringifyUtil(y,u)).filter(Vr)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=le(t)?await this.applyExtractors(t,n,c?new gc:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(_):E).forEach(E=>{const P=E.trim();P&&!u.has(P)&&u.add(P)})}const l=a?"":`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-Drw8ud6t.js","./sucrase-Cw4LZf8f.js","./compiler-sfc-4yqCFQUb.js","./RootView-DATYZo2X.js","./NotFoundView-iOoHSPOL.js"])))=>i.map(i=>d[i]);
2
+ import{toValue as ye,isRef as Ft,hasInjectionContext as Vl,inject as Ul,ref as Ke,watchEffect as Hl,getCurrentInstance as No,onBeforeUnmount as Wl,onDeactivated as Bl,onActivated as Kl,reactive as Je,unref as tc,getCurrentScope as Gl,onScopeDispose as Jl,onMounted as Mo,nextTick as Io,watch as Fe,computed as pe,shallowRef as Ge,readonly as Xl,isReactive as Yl,defineComponent as rc,onUnmounted as Ql,h as ii,resolveComponent as Zl,createBlock as si,openBlock as ai,withCtx as eu,resolveDynamicComponent as tu,defineAsyncComponent as ru,createApp as nu}from"vue";import{g as pn,e as ou,t as ci}from"./sucrase-Cw4LZf8f.js";import{useRoute as iu,createRouter as su,createWebHistory as au}from"vue-router";import{p as cu,c as lu,a as uu,b as fu}from"./compiler-sfc-4yqCFQUb.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const du="modulepreload",pu=function(e,t){return new URL(e,t).href},li={},nt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=u(r.map(l=>{if(l=pu(l,n),l in li)return;li[l]=!0;const d=l.endsWith(".css"),y=d?'[rel="stylesheet"]':"";if(!!n)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":du,d||(v.as="script"),v.crossOrigin="",v.href=l,c&&v.setAttribute("nonce",c),document.head.appendChild(v),d)return new Promise((h,p)=>{v.addEventListener("load",h),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function lo(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?lo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const hu={run:e=>e()},mu=()=>hu,nc=typeof console.createTask<"u"?console.createTask:mu;function gu(e,t){const r=t.shift(),n=nc(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function yu(e,t){const r=t.shift(),n=nc(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Rn(e,t){for(const r of[...e])r(t)}class bu{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=lo(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=lo(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(gu,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(yu,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Rn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Rn(this._after,o)}):(this._after&&o&&Rn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function vu(){return new bu}const $u=new Set(["link","style","script","noscript"]),wu=new Set(["title","titleTemplate","script","style","noscript"]),ui=new Set(["base","meta","link","style","script","noscript"]),ku=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_u=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),xu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Su=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Fo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Eu=["name","property","http-equiv"],Cu=new Set(["viewport","description","keywords","robots"]);function oc(e){const t=e.split(":");return t.length?Fo.has(t[1]):!1}function uo(e){const{props:t,tag:r}=e;if(_u.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Eu)if(t[n]!==void 0){const o=t[n],i=o.includes(":"),s=Cu.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(wu.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function fi(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Jr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Jr(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Jr(o[s],t,s);return i}return o}function ju(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function ic(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=ju(r,n);return}if(xu.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function Pu(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=ic({tag:e,props:{}},r);return n.key&&$u.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),n.tag==="script"&&typeof n.innerHTML=="object"&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Ou(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Jr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(Pu(o,s))}),n.flat()}const di=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,pi={base:-10,title:10},Ru={critical:-8,high:-1,low:2},hi={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}},Au=/@import/,_t=e=>e===""||e===!0;function Tu(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Ru[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:hi;if(t.tag in pi)r=pi[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=hi.meta[i])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?_t(t.props.async)?r=o.script.async:t.props.src&&!_t(t.props.defer)&&!_t(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?r=o.script.sync:_t(t.props.defer)&&t.props.src&&!_t(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Au.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function mi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Nu(e={}){const t=vu();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>mi(s,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??s._entryCount++,d={_i:l,input:a,options:u},y={_poll(m=!1){s.dirty=!0,!m&&i.add(l),t.callHook("entries:updated",s)},dispose(){n.delete(l)&&s.invalidate()},patch(m){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(d.input=m,n.set(l,d),y._poll())}};return y.patch(a),y},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const y=i.values().next().value;i.delete(y);const m=n.get(y);if(m){const v={tags:Ou(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((h,p)=>(h._w=Tu(s,h),h._p=(m._i<<10)+p,h._d=uo(h),h))}}let c=!1;a.entries.flatMap(y=>(y._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(di).reduce((y,m)=>{const v=String(m._d||m._p);if(!y.has(v))return y.set(v,m);const h=y.get(v);if((m?.tagDuplicateStrategy||(Su.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(m.props).forEach(([f,g])=>b[f]=f==="style"?new Map([...h.props.style||new Map,...g]):f==="class"?new Set([...h.props.class||new Set,...g]):g),y.set(v,{...m,props:b})}else m._p>>10===h._p>>10&&m.tag==="meta"&&oc(v)?(y.set(v,Object.assign([...Array.isArray(h)?h:[h],m],m)),c=!0):(m._w===h._w?m._p>h._p:m?._w<h?._w)&&y.set(v,m);return y},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,l){const y=l?.textContent;if(s._titleTemplate=y,y){let m=typeof y=="function"?y(u?.textContent):y;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",u?.textContent||"")),u?m===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:m}):(l.tag="title",l.textContent=m)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(di)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const y of a.tags){const{innerHTML:m,tag:v,props:h}=y;if(ku.has(v)&&!(Object.keys(h).length===0&&!y.innerHTML&&!y.textContent)&&!(v==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(v==="script"&&m){if(h.type?.endsWith("json")){const p=typeof m=="string"?m:JSON.stringify(m);y.innerHTML=p.replace(/</g,"\\u003C")}else typeof m=="string"&&(y.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));y._d=uo(y)}d.push(y)}}return d},invalidate(){for(const a of n.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>mi(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function sc(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(m=>{e.resolveTags().then(v=>{m(v.map(h=>{const p=i.get(h._d)||0,b={tag:h,id:(p?`${h._d}:${p}`:h._d)||fi(h),shouldRender:!0};return h._d&&oc(h._d)&&i.set(h._d,p+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const v=r[m]?.children;for(const h of v){const p=h.tagName.toLowerCase();if(!ui.has(p))continue;const b=ic({tag:p,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((f,g)=>(f[g]=h.getAttribute(g),f),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=uo(b)||fi(b),a.elMap.has(b._d)){let f=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${f++}`;a.elMap.set(g,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(m,v,h){const p=`${m}:${v}`;a.sideEffects[p]=h,delete a.pendingSideEffects[p]}function u({id:m,$el:v,tag:h}){const p=h.tag.endsWith("Attrs");a.elMap.set(m,v),p||(h.textContent&&h.textContent!==v.textContent&&(v.textContent=h.textContent),h.innerHTML&&h.innerHTML!==v.innerHTML&&(v.innerHTML=h.innerHTML),c(m,"el",()=>{v?.remove(),a.elMap.delete(m)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const f=h.props[b];if(b.startsWith("on")&&typeof f=="function"){const $=v?.dataset;if($&&$[`${b}fired`]){const w=b.slice(0,-5);f.call(v,new Event(w.substring(2)))}v.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:v).addEventListener(b.substring(2),f.bind(v)),v.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!f)continue;for(const $ of f)p&&c(m,`${g}:${$}`,()=>v.classList.remove($)),!v.classList.contains($)&&v.classList.add($)}else if(b==="style"){if(!f)continue;for(const[$,w]of f)c(m,`${g}:${$}`,()=>{v.style.removeProperty($)}),v.style.setProperty($,w)}else f!==!1&&f!==null&&(v.getAttribute(b)!==f&&v.setAttribute(b,f===!0?"":String(f)),p&&c(m,g,()=>v.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},y=await s;for(const m of y){const{tag:v,shouldRender:h,id:p}=m;if(h){if(v.tag==="title"){r.title=v.textContent,c("title","",()=>r.title=a.title);continue}m.$el=m.$el||a.elMap.get(p),m.$el?u(m):ui.has(v.tag)&&l.push(m)}}for(const m of l){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),u(m),d[v]=d[v]||r.createDocumentFragment(),d[v].appendChild(m.$el)}for(const m of y)await e.hooks.callHook("dom:renderTag",m,r,c);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:y}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Mu(e={}){const t=e.domOptions?.render||sc;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Nu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Iu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const Lt={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"])},Fu={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"},ac={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ve(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"?Ve(e):`${Ve(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ve(e)} ${t}`}},charset:{}};function Ve(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:Lt.META.has(t.slice(0,r))||Lt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function cc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function fo(e){return Array.isArray(e)?e.map(fo):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),fo(r)]))}function lc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?lc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function gi(e,t){const r=cc(t),n=Ve(e),o=uc(n);if(!Fo.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Xr(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function uc(e){if(ac[e]?.metaKey==="http-equiv"||Lt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":Lt.OG.has(t.slice(0,r))?"property":"name"}function zu(e){return Fu[e]||Ve(e)}function Lu(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:lc(fo(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...ac[t]?.unpack})}function Xr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const d=`${o}${u==="url"?"":`:${u}`}`,y=Xr({[d]:l});(u==="url"?a:c).push(...y)}t.push(...a,...c)}else t.push(...typeof s=="string"?Xr({[o]:s}):gi(o,s));continue}if(typeof i=="object"&&i)if(Lt.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else Fo.has(Ve(o))?t.push(...gi(o,i)):r[o]=cc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=uc(o),a=zu(o),c=i===null?"_null":typeof i=="object"?Lu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Du={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Xr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},qu=(e,t)=>Ft(t)?ye(t):t,fc="usehead";function Vu(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(fc,e)}}.install}function dc(){if(Vl()){const e=Ul(fc);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 pc(e,t={}){const r=t.head||dc();return r.ssr?r.push(e||{},t):Uu(r,e,t)}function Uu(e,t,r={}){const n=Ke(!1);let o;return Hl(()=>{const s=n.value?{}:Jr(t,qu);o?o.patch(s):o=e.push(s,r)}),No()&&(Wl(()=>{o.dispose()}),Bl(()=>{n.value=!0}),Kl(()=>{n.value=!1})),o}function Hu(e={},t={}){(t.head||dc()).use(Du);const{title:n,titleTemplate:o,...i}=e;return pc({title:n,titleTemplate:o,_flatMeta:i},t)}function Wu(e={}){const t=Mu({domOptions:{render:Iu(()=>sc(t),r=>setTimeout(r,0))},...e});return t.install=Vu(t),t}const qr="default",po="preflights",Bu="shortcuts",hc="imports",Ku={[hc]:-200,[po]:-100,[Bu]:-10,[qr]:0},mc=/[\\:]?[\s'"`;{}]+/g;function Gu(e){return e.split(mc)}const Ju={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Gu(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Ie(e){return Array.from(new Set(e))}function yi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function le(e){return typeof e=="string"}class gc extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function An(e){return e instanceof gc}function Dt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ht(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const Tn=ht;function Xu(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const Yu=/^\[(.+?)~?="(.*)"\]$/,Qu=/[\w\u00A0-\uFFFF%-?]/;function Zu(e){return e.match(Yu)}function ho(e=""){return Qu.test(e)}function ef(e){return typeof e=="function"?{match:e}:e}function bi(e){return e.length===3}function Vr(e){return e!=null}function tf(){}class rf{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class nf extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Yr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function of(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Yr(t)):[e]:[Yr(e)]}function sf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Nn(e){return e==null?"":sf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Jt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function hn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Jt(n)&&Jt(o)&&Object.keys(o).forEach(s=>{Jt(n[s])&&Jt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=hn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Ur(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ur(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ur(n):n;return r}return e}function af(e){return le(e[0])}function cf(e){return le(e[0])}const Xt={};function lf(e=["-",":"]){const t=e.join("|");return Xt[t]||(Xt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Xt[t].lastIndex=0,Xt[t]}function uf(e,t=["-",":"],r=5){const n=lf(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,d,y,m)=>{if(!t.includes(d))return u;o=!0,s.add(l+d);const v=m+l.length+d.length+1,h={length:u.length,items:[]};a.set(m,h);for(const p of[...y.matchAll(/\S+/g)]){const b=v+p.index;let f=a.get(b)?.items;f?a.delete(b):f=[{offset:b,length:p[0].length,className:p[0]}];for(const g of f)g.className=g.className==="~"?l:g.className.replace(/^(!?)(.*)/,`$1${l}${d}$2`),h.items.push(g)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,d]of a)c+=e.slice(u,l),c+=d.items.map(y=>y.className).join(" "),u=l+d.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function ff(e,t=["-",":"],r=5){const n=uf(e,t,r);return typeof e=="string"?n.expanded:e}const vi=new Set;function yc(e){vi.has(e)||(console.warn("[unocss]",e),vi.add(e))}function bc(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const $i="_uno_resolved";async function df(e){let t=typeof e=="function"?await e():await e;if($i in t)return t;t={...t},Object.defineProperty(t,$i,{value:!0,enumerable:!1});const r=t.shortcuts?bc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=ae(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function vc(e){const t=await df(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap(vc))).flat();return[t,...r]}function pf(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[];for(const a of e){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&t.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}const s={pipeline:n?!1:{include:Ie(ki(...t)),exclude:Ie(ki(...r))}};return o.length&&(s.filesystem=Ie(o.flat())),i.length&&(s.inline=Ie(i.flat())),s}async function wi(e={},t={}){const r=Object.assign({},t,e),n=yi((await Promise.all((r.presets||[]).flatMap(ae).flatMap(vc))).flat(),(w,k)=>w.name===k.name),o=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Ku,...i.map(w=>w.layers));function c(w){return Ie(i.flatMap(k=>ae(k[w]||[])))}const u=c("extractors");let l=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;l===void 0&&(l=Ju),l&&!u.includes(l)&&u.unshift(l),u.sort((w,k)=>(w.order||0)-(k.order||0));const d=c("rules"),y={},m=d.length,v=d.filter(w=>af(w)?(ae(w[2]?.prefix||"").forEach(_=>{y[_+w[0]]=w}),!1):!0).reverse(),h={templates:Ie(i.flatMap(w=>ae(w.autocomplete?.templates))),extractors:i.flatMap(w=>ae(w.autocomplete?.extractors)).sort((w,k)=>(w.order||0)-(k.order||0)),shorthands:mf(i.map(w=>w.autocomplete?.shorthands||{}))};let p=c("separators");p.length||(p=[":","-"]);const b=c("content"),f=pf(b),g={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:hf(i.map(w=>w.theme)),rules:d,rulesSize:m,rulesDynamic:v,rulesStaticMap:y,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(ef).sort((w,k)=>(w.order||0)-(k.order||0)),shortcuts:bc(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:yi(c("transformers"),(w,k)=>w.name===k.name)},$=c("extendTheme");for(const w of $)g.theme=w(g.theme,g)||g.theme;for(const w of i)w?.configResolved?.(g);return g}function hf(e){return e.map(t=>t?Ur(t):{}).reduce((t,r)=>hn(t,r),{})}function mf(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ki(...e){return e.flatMap(gf)}function gf(e){return Array.isArray(e)?e:e?[e]:[]}const yf="66.3.3",be={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class zo{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=yf;events=Xu();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new zo(t,r);return n.config=await wi(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await wi(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(An(s)&&An(n))for(const a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(const a of s)n.add(a)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:be,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const o=this.config.preprocess.reduce((c,u)=>u(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(await this.parseUtil(u.variantMatch,u))?.map(y=>this.stringifyUtil(y,u)).filter(Vr)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=le(t)?await this.applyExtractors(t,n,c?new gc:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(_):E).forEach(E=>{const P=E.trim();P&&!u.has(P)&&u.add(P)})}const l=a?"":`
3
3
  `,d=new Set([qr]),y=c?new Map:new Set,m=new Map;let v={};const h=Array.from(u).map(async _=>{if(y.has(_))return;const E=await this.parseToken(_);if(E!=null){y instanceof Map?y.set(_,{data:E,count:An(u)?u.getCount(_):-1}):y.add(_);for(const P of E){const I=P[3]||"",L=P[4]?.layer;m.has(I)||m.set(I,[]),m.get(I).push(P),L&&d.add(L)}}});await Promise.all(h),await(async()=>{if(!i)return;const _={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:P=po})=>{d.add(P),E.add(P)}),v=Object.fromEntries(await Promise.all(Array.from(E).map(async P=>{const L=(await Promise.all(this.config.preflights.filter(V=>(V.layer||po)===P).map(async V=>await V.getCSS(_)))).filter(Boolean).join(l);return[P,L]})))})();const p=this.config.sortLayers(Array.from(d).sort((_,E)=>(this.config.layers[_]??0)-(this.config.layers[E]??0)||_.localeCompare(E))),b={},f=this.config.outputToCssLayers,g=_=>{let E=_;return typeof f=="object"&&(E=f.cssLayerName?.(_)),E===null?null:E??_},$=(_=qr)=>{if(b[_])return b[_];let E=Array.from(m).sort((L,V)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(V[0])??0)||L[0]?.localeCompare(V[0]||"")||0).map(([L,V])=>{const F=V.length,q=V.filter(G=>(G[4]?.layer||qr)===_).sort((G,se)=>G[0]-se[0]||(G[4]?.sort||0)-(se[4]?.sort||0)||G[5]?.currentSelector?.localeCompare(se[5]?.currentSelector??"")||G[1]?.localeCompare(se[1]||"")||G[2]?.localeCompare(se[2]||"")||0).map(([,G,se,,z,,O])=>[[[(G&&$f(G,o))??"",z?.sort??0]],se,!!(O??z?.noMerge)]);if(!q.length)return;const K=q.reverse().map(([G,se,z],O)=>{if(!z&&this.config.mergeSelectors)for(let R=O+1;R<F;R++){const x=q[R];if(x&&!x[2]&&(G&&x[0]||G==null&&x[0]==null)&&x[1]===se)return G&&x[0]&&x[0].push(...G),null}const M=G?Ie(G.sort((R,x)=>R[1]-x[1]||R[0]?.localeCompare(x[0]||"")||0).map(R=>R[0]).filter(Boolean)):[];return M.length?`${M.join(`,${l}`)}{${se}}`:se}).filter(Boolean),J=Array.from(new Set(K)).reverse().join(l);if(!L)return J;const ie=L.split(" $$ ");return`${ie.join("{")}{${l}${J}${l}${"}".repeat(ie.length)}`}).filter(Boolean).join(l);i&&(E=[v[_],E].filter(Boolean).join(l));let P;f&&E&&(P=g(_),P!==null&&(E=`@layer ${P}{${l}${E}${l}}`));const I=a?"":`/* layer: ${_}${P&&P!==_?`, alias: ${P}`:""} */${l}`;return b[_]=E?I+E:""},w=(_=p,E)=>{const P=_.filter(I=>!E?.includes(I));return[f&&P.length>0?`@layer ${P.map(g).filter(Vr).join(", ")};`:void 0,...P.map(I=>$(I)||"")].filter(Boolean).join(l)};return{get css(){return w()},layers:p,matched:y,getLayers:w,getLayer:$,setLayer:async(_,E)=>{const P=await E($(_));return b[_]=P,P}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,c]=i;for(;s;){s=!1;const u=i[1];for(const l of this.config.variants){if(!l.multiPass&&c.has(l))continue;let d=await l.match(u,n);if(d){if(le(d)){if(d===u)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(l.multiPass)throw new Error("multiPass can not be used together with array return variants");const y=d.map(m=>{const v=m.matcher??u,h=[m,...a],p=new Set(c);return p.add(l),[i[0],v,h,p]});return(await Promise.all(y.map(m=>o(m)))).flat()}}i[1]=d.matcher??u,a.unshift(d),c.add(l),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,l)=>(u.order||0)-(l.order||0)).reduceRight((u,l)=>d=>{const y=l.body?.(d.entries)||d.entries,m=Array.isArray(l.parent)?l.parent:[l.parent,void 0],v=l.selector?.(d.selector,y);return(l.handle??wf)({...d,entries:y,selector:v||d.selector,parent:m[0]||d.parent,parentOrder:m[1]||d.parentOrder,layer:l.layer||d.layer,sort:l.sort||d.sort},u)},u=>u)({prefix:"",selector:wc(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const o=Yr(r);if(le(o))return o;const{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${Nn(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){const i=le(t)?await this.matchVariants(t):[t],s=async([c,u,l])=>{this.config.details&&(r.rules=r.rules??[]);const d={...r,variantHandlers:l},y=this.config.rulesStaticMap[u];if(y&&y[1]&&(n||!y[2]?.internal))return this.resolveCSSResult(c,y[1],y,d);for(const m of this.config.rulesDynamic){const[v,h,p]=m;if(p?.internal&&!n)continue;let b=u;if(p?.prefix){const w=ae(p.prefix);if(o){const k=ae(o);if(!w.some(_=>k.includes(_)))continue}else{const k=w.find(_=>u.startsWith(_));if(k==null)continue;b=u.slice(k.length)}}const f=b.match(v);if(!f)continue;let g=await h(f,d);if(!g)continue;if(typeof g!="string")if(Symbol.asyncIterator in g){const w=[];for await(const k of g)k&&w.push(k);g=w}else Symbol.iterator in g&&!Array.isArray(g)&&(g=Array.from(g).filter(Vr));const $=this.resolveCSSResult(c,g,m,d);if($)return $}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{const i=of(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);const s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(le(c))return[s,c,a];let u=o.variantHandlers,l=a;for(const d of c)d[0]===be.variants?typeof d[1]=="function"?u=d[1](u)||u:u=[...ae(d[1]),...u]:d[0]===be.parent?u=[{parent:d[1]},...u]:d[0]===be.selector?u=[{selector:d[1]},...u]:d[0]===be.layer?u=[{layer:d[1]},...u]:d[0]===be.sort?l={...l,sort:d[1]}:d[0]===be.noMerge&&(l={...l,noMerge:d[1]});return[s,t,c,l,u]})}};stringifyUtil(t,r){if(!t)return;if(bi(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),u=Nn(o);if(!u)return;const{layer:l,sort:d,...y}=t[3]??{},m={...y,layer:s??l,sort:a??d};return[t[0],n,u,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const o=this.config.details?u=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(u)}:tf;let i,s,a,c;for(const u of this.config.shortcuts){let l=t;if(u[2]?.prefix){const y=ae(u[2].prefix).find(m=>t.startsWith(m));if(y==null)continue;l=t.slice(y.length)}if(cf(u)){if(u[0]===l){i=i||u[2],s=u[1],o(u);break}}else{const d=l.match(u[0]);if(d&&(s=u[1](d,r)),s){i=i||u[2],o(u);break}}}if(s&&(a=Ie(ae(s).filter(le).map(u=>ff(u.trim()).split(/\s+/g)).flat()),c=ae(s).filter(u=>!le(u)).map(u=>({handles:[],value:u}))),!s){const u=le(t)?await this.matchVariants(t):[t];for(const l of u){const[d,y,m]=l;if(d!==y){const v=await this.expandShortcut(y,r,n-1);v&&(a=v[0].filter(le).map(h=>d.replace(y,h)),c=v[0].filter(h=>!le(h)).map(h=>({handles:[...h.handles,...m],value:h.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(ae(a).map(async u=>(await this.expandShortcut(u,r,n-1))?.[0]||[u])),c].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){const i=new nf,s=(await Promise.all(Ie(n).map(async l=>{const d=le(l)?await this.parseUtil(l,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Yr(l.value),void 0,l.handles]];return!d&&this.config.warn&&yc(`unmatched utility "${l}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((l,d)=>l[0]-d[0]),[a,,c]=t,u=[];for(const l of s){if(bi(l)){u.push([l[0],void 0,l[1],void 0,l[2],r,void 0]);continue}const{selector:d,entries:y,parent:m,sort:v,noMerge:h,layer:p}=this.applyVariants(l,[...l[4],...c],a);i.getFallback(p??o.layer,new rf).getFallback(d,m,[[],l[0]])[0].push([y,!!(h??l[3]?.noMerge),v??0])}return u.concat(i.flatMap((l,d)=>l.map(([y,m],v,h)=>{const p=(f,g,$)=>{const w=Math.max(...$.map(_=>_[1])),k=$.map(_=>_[0]);return(f?[k.flat(1)]:k).map(_=>{const E=Nn(_);if(E)return[m,v,E,h,{...o,noMerge:g,sort:w,layer:d},r,void 0]})};return[[y.filter(([,f])=>f).map(([f,,g])=>[f,g]),!0],[y.filter(([,f])=>!f).map(([f,,g])=>[f,g]),!1]].map(([f,g])=>[...p(!1,g,f.filter(([$])=>$.some(w=>w[0]===be.shortcutsNoMerge))),...p(!0,g,f.filter(([$])=>$.every(w=>w[0]!==be.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):le(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):le(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function bf(e,t){return await zo.create(e,t)}const $c=/\s\$\$\s+/g;function vf(e){return $c.test(e)}function $f(e,t){return vf(e)?e.replace($c,t?` ${t} `:" "):t?`${t} ${e}`:e}const _i=/^\[(.+?)(~?=)"(.*)"\]$/;function wc(e){return _i.test(e)?e.replace(_i,(t,r,n,o)=>`[${Tn(r)}${n}"${Tn(o)}"]`):`.${Tn(e)}`}function wf(e,t){return t(e)}var kf={};function _f(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:s,italic:a}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!s?.length)return`${c}${a?":i":""}`;let u=s.map(d=>d.toString());return!u.some(d=>d.endsWith("i"))&&a&&(u=u.map(d=>d+="i")),`${c}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const xf=_f("bunny","https://fonts.bunny.net");function Sf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Ef=Sf("coollabs","https://api.fonts.coollabs.io"),Cf=jf("fontshare","https://api.fontshare.com");function jf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(s=>o.italic?Number(s)+1:s).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function Pf(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o){return(await Promise.all(o.map(async s=>{const a=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(c);if(!u){const p=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await(await nt(async()=>{const{$fetch:b}=await Promise.resolve().then(()=>yo);return{$fetch:b}},void 0,import.meta.url)).$fetch(p),r.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:l,unicodeRange:d,variants:y,family:m}=u,v=u.subsets.filter(p=>s.subsets?s.subsets.includes(p):!0),h=s.italic?"italic":"normal";if(u.variable&&!s.preferStatic){let p=n.get(c);const b=`https://api.fontsource.org/v1/variable/${c}`;try{p=await(await nt(async()=>{const{$fetch:g}=await Promise.resolve().then(()=>yo);return{$fetch:g}},void 0,import.meta.url)).$fetch(b),n.set(c,p)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const f=hn(p.axes,s.variable??{});for(const g of v)if(d[g]){const $=`${t}/fontsource/fonts/${u.id}:vf@latest/${g}-wght-${h}.woff2`,w={family:m,display:"swap",style:h,weight:400,src:[{url:$,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:d[g],comment:`${u.id}-${g}-wght-normal`};a.push(Mn(w))}else Object.entries(d).filter(([$])=>!u.subsets.includes($)).forEach(([$,w])=>{const k=`${t}/fontsource/fonts/${u.id}:vf@latest/${$.slice(1,-1)}-wght-${h}.woff2`,_={family:m,display:"swap",style:h,weight:400,src:[{url:k,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:w,comment:`${u.id}-${$}-wght-normal`};a.push(Mn(_))})}else{const p=s.weights&&s.weights.length>0?s.weights:l;for(const b of v)for(const f of p){const g=y[f][h][b].url,$={family:m,display:"swap",style:h,weight:Number(f),src:[{url:g.woff2,format:"woff2"}],unicodeRange:d[b],comment:`${u.id}-${b}-${f}-${h}`};a.push(Mn($))}}return a}))).flat().join(`
4
4
 
5
5
  `)}}}const Of=Pf("fontsource","https://cdn.jsdelivr.net");function Mn(e){const{family:t,style:r,display:n,weight:o,variable:i,src:s,unicodeRange:a,comment:c,spacer:u=`
@@ -412,4 +412,4 @@ input:where([type='button'], [type='reset'], [type='submit']),
412
412
  `);return hl(`
413
413
  :root, :host {
414
414
  ${d}
415
- }`,n.config.envMode==="dev")};if(i==="on-demand"){if(gt.size===0)return;a=Array.from(gt).map(u=>{const[l,d]=u.split(":"),y=an(r,l,d.split("-"));if(typeof y=="string")return[`--${l}${`${l==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,y]}).filter(Boolean)}else{const u=Object.keys(r).filter(l=>!lv.includes(l));a=Array.from(uv(r,u))}return c(a)}}}const dv=e=>[cv(e),fv(e),sv()].filter(Boolean),pv={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},hv=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:s0,rules:iv,shortcuts:ty,theme:Xg,layers:{properties:-200,theme:-150,base:-100},preflights:dv(e),variants:Eg(e),prefix:e.prefix,postprocess:I0(e),extractorDefault:e.arbitraryVariants===!1?void 0:i0(),autocomplete:{shorthands:pv},options:e,configResolved(){gt.clear(),yt.clear()},meta:{themeDeps:gt,propertyDeps:yt}}},Fa={presets:[hv({preflights:{reset:!0}}),Jm(),lm({cdn:"https://cdn.jsdelivr.net/npm/"}),pm(),Bp()]},Pl=/^[a-z0-9]+(-[a-z0-9]+)*$/,Gt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Wr(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Wr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Wr(a,r)?null:a}return null},Wr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Ol=Object.freeze({left:0,top:0,width:16,height:16}),un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wt=Object.freeze({...Ol,...un}),jo=Object.freeze({...wt,body:"",hidden:!1});function mv(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function za(e,t){const r=mv(e,t);for(const n in jo)n in un?n in e&&!(n in r)&&(r[n]=un[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function gv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function yv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=za(n[a]||o[a],i)}return s(t),r.forEach(s),za(e,i)}function Rl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=gv(e);for(const o in n){const i=n[o];i&&(t(o,yv(e,o,i)),r.push(o))}return r}const bv={provider:"",aliases:{},not_found:{},...Ol};function so(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Al(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!so(e,bv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!so(i,jo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!so(i,jo))return null}return t}const La=Object.create(null);function vv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function bt(e,t){const r=La[e]||(La[e]=Object.create(null));return r[t]||(r[t]=vv(e,t))}function Tl(e,t){return Al(t)?Rl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function $v(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Ht=!1;function Nl(e){return typeof e=="boolean"&&(Ht=e),Ht}function Cn(e){const t=typeof e=="string"?Gt(e,!0,Ht):e;if(t){const r=bt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function wv(e,t){const r=Gt(e,!0,Ht);if(!r)return!1;const n=bt(r.provider,r.prefix);return t?$v(n,r.name,t):(n.missing.add(r.name),!0)}function kv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ht&&!t&&!e.prefix){let o=!1;return Al(e)&&(e.prefix="",Rl(e,(i,s)=>{wv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Wr({prefix:r,name:"a"}))return!1;const n=bt(t,r);return!!Tl(n,e)}function _v(e){return!!Cn(e)}function xv(e){const t=Cn(e);return t&&{...wt,...t}}const Ml=Object.freeze({width:null,height:null}),Il=Object.freeze({...Ml,...un}),Sv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ev=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Da(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Sv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=Ev.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function Cv(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function jv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Pv(e,t,r){const n=Cv(e);return jv(n.defs,t+n.content+r)}const Ov=e=>e==="unset"||e==="undefined"||e==="none";function Rv(e,t){const r={...wt,...e},n={...Il,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=Pv(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=Da(d,c/u)):(l=s==="auto"?c:s,d=a===null?Da(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Ov(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}const Av=/\sid="(\S+)"/g,Tv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Nv=0;function Mv(e,t=Tv){const r=[];let n;for(;n=Av.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(Nv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Po=Object.create(null);function Iv(e,t){Po[e]=t}function Oo(e){return Po[e]||Po[""]}function ei(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 ti=Object.create(null),Nt=["https://api.simplesvg.com","https://api.unisvg.com"],Br=[];for(;Nt.length>0;)Nt.length===1||Math.random()>.5?Br.push(Nt.shift()):Br.push(Nt.pop());ti[""]=ei({resources:["https://api.iconify.design"].concat(Br)});function Fv(e,t){const r=ei(t);return r===null?!1:(ti[e]=r,!0)}function ri(e){return ti[e]}const zv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let qa=zv();function Lv(e,t){const r=ri(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Dv(e){return e===404}const qv=(e,t,r)=>{const n=[],o=Lv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Vv(e){if(typeof e=="string"){const t=ri(e);if(t)return t.path}return"/"}const Uv=(e,t,r)=>{if(!qa){r("abort",424);return}let n=Vv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;qa(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Dv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Hv={prepare:qv,send:Uv};function Wv(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=bt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const d={provider:i,prefix:s,name:a};l.push(d)}),t}function Fl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Bv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Fl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Kv=0;function Gv(e,t,r){const n=Kv++,o=Fl.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Jv(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Gt(o,t,r):o;i&&n.push(i)}),n}var Xv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Yv(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let k=e.resources.slice(0);for(s=[];k.length>1;){const _=Math.floor(Math.random()*k.length);s.push(k[_]),k=k.slice(0,_).concat(k.slice(_+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,d=null,y=[],m=[];typeof n=="function"&&m.push(n);function v(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),v(),y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function p(k,_){_&&(m=[]),typeof k=="function"&&m.push(k)}function b(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:y.length,subscribe:p,abort:h}}function f(){c="failed",m.forEach(k=>{k(void 0,l)})}function g(){y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function $(k,_,E){const P=_!=="success";switch(y=y.filter(I=>I!==k),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=E,f();return}if(P){l=E,y.length||(s.length?w():f());return}if(v(),g(),!e.random){const I=e.resources.indexOf(k.resource);I!==-1&&I!==e.index&&(e.index=I)}c="completed",m.forEach(I=>{I(E)})}function w(){if(c!=="pending")return;v();const k=s.shift();if(k===void 0){if(y.length){d=setTimeout(()=>{v(),c==="pending"&&(g(),f())},e.timeout);return}f();return}const _={status:"pending",resource:k,callback:(E,P)=>{$(_,E,P)}};y.push(_),u++,d=setTimeout(w,e.rotate),r(k,t,_.callback)}return setTimeout(w),b}function zl(e){const t={...Xv,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=Yv(t,a,c,(d,y)=>{n(),u&&u(d,y)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Va(){}const ao=Object.create(null);function Qv(e){if(!ao[e]){const t=ri(e);if(!t)return;const r=zl(t),n={config:t,redundancy:r};ao[e]=n}return ao[e]}function Zv(e,t,r){let n,o;if(typeof e=="string"){const i=Oo(e);if(!i)return r(void 0,424),Va;o=i.send;const s=Qv(e);s&&(n=s.redundancy)}else{const i=ei(e);if(i){n=zl(i);const s=e.resources?e.resources[0]:"",a=Oo(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Va):n.query(t,o,r)().abort}function Ua(){}function e$(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Bv(e)}))}function t$(e){const t=[],r=[];return e.forEach(n=>{(n.match(Pl)?t:r).push(n)}),{valid:t,invalid:r}}function Mt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Tl(e,r).length){n();return}}catch(o){console.error(o)}n(),e$(e)}function Ha(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function r$(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:r,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Ha(e.loadIcons(o,n,r),l=>{Mt(e,o,l)});return}if(i){o.forEach(l=>{const d=i(l,n,r);Ha(d,y=>{const m=y?{prefix:n,icons:{[l]:y}}:null;Mt(e,[l],m)})});return}const{valid:s,invalid:a}=t$(o);if(a.length&&Mt(e,a,null),!s.length)return;const c=n.match(Pl)?Oo(r):null;if(!c){Mt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{Zv(r,l,d=>{Mt(e,l.icons,d)})})}))}const Ll=(e,t)=>{const r=Jv(e,!0,Nl()),n=Wv(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ua)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(bt(u,l));const d=o[u]||(o[u]=Object.create(null));d[l]||(d[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:d}=c,y=bt(u,l),m=y.pendingIcons||(y.pendingIcons=new Set);m.has(d)||(m.add(d),o[u][l].push(d))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&r$(c,u)}),t?Gv(t,n,i):Ua},n$=e=>new Promise((t,r)=>{const n=typeof e=="string"?Gt(e,!0):e;if(!n){r(e);return}Ll([n||e],o=>{if(o.length&&n){const i=Cn(n);if(i){t({...wt,...i});return}}r(e)})});function o$(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Ml?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const i$=/[\s,]+/;function s$(e,t){t.split(i$).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function a$(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function c$(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function l$(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function u$(e){return"data:image/svg+xml,"+l$(e)}function f$(e){return'url("'+u$(e)+'")'}const Wa={...Il,inline:!1},d$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},p$={display:"inline-block"},Ro={backgroundColor:"currentColor"},Dl={backgroundColor:"transparent"},Ba={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ka={webkitMask:Ro,mask:Ro,background:Dl};for(const e in Ka){const t=Ka[e];for(const r in Ba)t[e+r]=Ba[r]}const Kr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Kr[e+"-flip"]=t,Kr[e.slice(0,1)+"-flip"]=t,Kr[e+"Flip"]=t});function Ga(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ja=(e,t)=>{const r=o$(Wa,t),n={...d$},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&s$(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=a$(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Kr[h];b?(p===!0||p==="true"||p===1)&&(r[b]=!0):Wa[h]===void 0&&(n[h]=p)}}}const c=Rv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Mv(c.body,p?()=>p+"ID"+h++:"iconifyVue"),ii("svg",n)}const{body:l,width:d,height:y}=e,m=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),v=c$(l,{...u,width:d+"",height:y+""});return n.style={...i,"--svg":f$(v),width:Ga(u.width),height:Ga(u.height),...p$,...m?Ro:Dl,...a},ii("span",n)};Nl(!0);Iv("",Hv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!kv(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Fv(r,o)||console.error(n)}catch{console.error(n)}}}}const h$={...wt,body:""};rc((e,{emit:t})=>{const r=Ke(null);function n(){r.value&&(r.value.abort?.(),r.value=null)}const o=Ke(!!e.ssr),i=Ke(""),s=Ge(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Gt(u,!1,!0))===null)return null;let d=Cn(l);if(!d){const v=r.value;return(!v||v.name!==u)&&(d===null?r.value={name:u}:r.value={name:u,abort:Ll([l],c)}),null}n(),i.value!==u&&(i.value=u,Io(()=>{t("load",u)}));const y=e.customise;if(y){d=Object.assign({},d);const v=y(d.body,l.name,l.prefix,l.provider);typeof v=="string"&&(d.body=v)}const m=["iconify"];return l.prefix!==""&&m.push("iconify--"+l.prefix),l.provider!==""&&m.push("iconify--"+l.provider),{data:d,classes:m}}function c(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?c():Mo(()=>{o.value=!0,c()}),Fe(()=>e.icon,c),Ql(n),()=>{const u=s.value;if(!u)return Ja(h$,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Ja({...wt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const m$=rc({__name:"App",setup(e,{expose:t}){t();const r=iu(),n=pe(()=>tn.value.find(({id:c})=>c===r.name)),o=Ke(""),i=Ke(""),s=pe(()=>n.value?.to&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`);Fe(n,async c=>{let u="/favicon.ico";if(c?.icon){const l=_v(c.icon)?xv(c.icon):await n$(c.icon);if(l){const{body:d,height:y,left:m,top:v,width:h}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${m.toString()} ${v.toString()} ${h.toString()} ${y.toString()}">${d}</svg>`}}o.value=u}),pc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Hu({description:pe(()=>n.value?.description),keywords:pe(()=>n.value?.keywords.join()),ogDescription:pe(()=>n.value?.description),ogImage:pe(()=>n.value?.images.filter(({url:c})=>c).map(({alt:c="",url:u})=>({alt:c,url:`${window.location.origin}/${u}`}))??[]),ogTitle:pe(()=>n.value?.title),ogType:pe(()=>n.value?.type),ogUrl:s,title:pe(()=>n.value?.title)}),Fe(()=>n.value?.jsonld,async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return tn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),g$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function y$(e,t,r,n,o,i){const s=Zl("router-view");return ai(),si(s,null,{default:eu(({Component:a})=>[(ai(),si(tu(a),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}const b$=g$(m$,[["render",y$],["__file","App.vue"]]);var co,Xa;function v$(){if(Xa)return co;Xa=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,d){return n(l,a[d],d,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var d=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(y){return t(d,"[valueOf exception]"+(y.stack||y.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return co=i,co}var $$=v$();const w$=pn($$),Ao="<template></template>",Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response(Ao)}catch{return new Response(Ao)}},It=e=>{e.forEach(t=>{console.log(t)})},k$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await fu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});It(a),od(s,o?{id:e}:void 0)},Ya=e=>nt(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),_$=async e=>{const{descriptor:t,errors:r}=cu(await(await Gr(e)).text()||Ao,{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{const{lang:y="js",src:m}=t[d]??{};return/[jt]sx$/.test(y)&&n.expressionPlugins?.push("jsx"),/tsx?$/.test(y)&&n.expressionPlugins?.push("typescript"),m&&await(await Gr(m)).text()})),s=`data-v-${w$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:d})=>d),{expressionPlugins:l}=n;if(It(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((v,h)=>{const p=t[v];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:y,warnings:m=[]}=lu(t,{id:s});It(m),d&&(n.bindingMetadata=d),Object.assign(c,(await Ya(l.length?ci(y,{jsxRuntime:a,transforms:l}).code:y)).default)}if(t.template){const{code:d,errors:y,tips:m}=uu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});It(y),It(m),Object.assign(c,await Ya(l.length?ci(d,{jsxRuntime:a,transforms:l}).code:d))}return t.styles.forEach(d=>{k$(s,t,d)}),c};let To;const{pathname:x$}=new URL(document.baseURI),Qa=Ke(!0),fn=new Map,S$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},ot=su({history:au(x$),routes:[],scrollBehavior:(e,t,r)=>To&&To(e,t,r)}),Za=Ke(!0),ec=pe(()=>ot.currentRoute.value.path==="/"?mo[ot.currentRoute.value.name]?.$children[0]:mo[ot.currentRoute.value.name]),M$=({id:e=Nc()})=>(fn.set(e,S$()),ru(async()=>_$(`./pages/${e}.vue`))),I$=({id:e}={})=>{e&&fn.get(e)?.resolve(void 0)},E$=({extractAll:e,toggleObserver:t})=>{To=async({hash:r,name:n})=>{if(n){Qa.value=!0,t(!1);const[{promise:o}={}]=fn.values();await o,await Promise.all([...fn.values()].map(({promise:s})=>s)),await e(),t(!0);const i=Za.value&&{behavior:"smooth",...r||ec.value?.parent?.flat&&ec.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return Qa.value=!1,Za.value=!0,i}else return!1}};ot.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const dn=nu(b$),C$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};dn.use(Wu());const j$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();en.push(t),await Io(),tn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:C$}),o!==void 0){const a=n?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");ot.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>nt(()=>import("./PageView-BybG-Vri.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>nt(()=>import("./RootView-CykTR4ys.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),dn.provide("pages",mo),ot.addRoute({component:()=>nt(()=>import("./NotFoundView-DoFzS0UT.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=Op(await(e.ok?e:new Response("[]")).json());Fa.presets.push(Df({customFetch:jp,fonts:t})),await Hf({defaults:Fa,ready:async r=>{const{toggleObserver:n}=r;return E$(r),await j$,dn.use(ot),dn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Cp);console.info("👊 VueBro","/","runtime ver.:","1.1.14","/","https://github.com/vuebro");export{g$ as _,T$ as a,N$ as b,Qa as c,tn as d,Cp as e,pc as f,M$ as m,fn as p,I$ as r,Za as s,ec as t,Nc as u};
415
+ }`,n.config.envMode==="dev")};if(i==="on-demand"){if(gt.size===0)return;a=Array.from(gt).map(u=>{const[l,d]=u.split(":"),y=an(r,l,d.split("-"));if(typeof y=="string")return[`--${l}${`${l==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,y]}).filter(Boolean)}else{const u=Object.keys(r).filter(l=>!lv.includes(l));a=Array.from(uv(r,u))}return c(a)}}}const dv=e=>[cv(e),fv(e),sv()].filter(Boolean),pv={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},hv=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:s0,rules:iv,shortcuts:ty,theme:Xg,layers:{properties:-200,theme:-150,base:-100},preflights:dv(e),variants:Eg(e),prefix:e.prefix,postprocess:I0(e),extractorDefault:e.arbitraryVariants===!1?void 0:i0(),autocomplete:{shorthands:pv},options:e,configResolved(){gt.clear(),yt.clear()},meta:{themeDeps:gt,propertyDeps:yt}}},Fa={presets:[hv({preflights:{reset:!0}}),Jm(),lm({cdn:"https://cdn.jsdelivr.net/npm/"}),pm(),Bp()]},Pl=/^[a-z0-9]+(-[a-z0-9]+)*$/,Gt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Wr(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Wr(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Wr(a,r)?null:a}return null},Wr=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Ol=Object.freeze({left:0,top:0,width:16,height:16}),un=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),wt=Object.freeze({...Ol,...un}),jo=Object.freeze({...wt,body:"",hidden:!1});function mv(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function za(e,t){const r=mv(e,t);for(const n in jo)n in un?n in e&&!(n in r)&&(r[n]=un[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function gv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function yv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=za(n[a]||o[a],i)}return s(t),r.forEach(s),za(e,i)}function Rl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=gv(e);for(const o in n){const i=n[o];i&&(t(o,yv(e,o,i)),r.push(o))}return r}const bv={provider:"",aliases:{},not_found:{},...Ol};function so(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Al(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!so(e,bv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!so(i,jo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!so(i,jo))return null}return t}const La=Object.create(null);function vv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function bt(e,t){const r=La[e]||(La[e]=Object.create(null));return r[t]||(r[t]=vv(e,t))}function Tl(e,t){return Al(t)?Rl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function $v(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Ht=!1;function Nl(e){return typeof e=="boolean"&&(Ht=e),Ht}function Cn(e){const t=typeof e=="string"?Gt(e,!0,Ht):e;if(t){const r=bt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function wv(e,t){const r=Gt(e,!0,Ht);if(!r)return!1;const n=bt(r.provider,r.prefix);return t?$v(n,r.name,t):(n.missing.add(r.name),!0)}function kv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ht&&!t&&!e.prefix){let o=!1;return Al(e)&&(e.prefix="",Rl(e,(i,s)=>{wv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Wr({prefix:r,name:"a"}))return!1;const n=bt(t,r);return!!Tl(n,e)}function _v(e){return!!Cn(e)}function xv(e){const t=Cn(e);return t&&{...wt,...t}}const Ml=Object.freeze({width:null,height:null}),Il=Object.freeze({...Ml,...un}),Sv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ev=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Da(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Sv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=Ev.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function Cv(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function jv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Pv(e,t,r){const n=Cv(e);return jv(n.defs,t+n.content+r)}const Ov=e=>e==="unset"||e==="undefined"||e==="none";function Rv(e,t){const r={...wt,...e},n={...Il,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=Pv(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=Da(d,c/u)):(l=s==="auto"?c:s,d=a===null?Da(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Ov(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}const Av=/\sid="(\S+)"/g,Tv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Nv=0;function Mv(e,t=Tv){const r=[];let n;for(;n=Av.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(Nv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Po=Object.create(null);function Iv(e,t){Po[e]=t}function Oo(e){return Po[e]||Po[""]}function ei(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 ti=Object.create(null),Nt=["https://api.simplesvg.com","https://api.unisvg.com"],Br=[];for(;Nt.length>0;)Nt.length===1||Math.random()>.5?Br.push(Nt.shift()):Br.push(Nt.pop());ti[""]=ei({resources:["https://api.iconify.design"].concat(Br)});function Fv(e,t){const r=ei(t);return r===null?!1:(ti[e]=r,!0)}function ri(e){return ti[e]}const zv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let qa=zv();function Lv(e,t){const r=ri(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Dv(e){return e===404}const qv=(e,t,r)=>{const n=[],o=Lv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Vv(e){if(typeof e=="string"){const t=ri(e);if(t)return t.path}return"/"}const Uv=(e,t,r)=>{if(!qa){r("abort",424);return}let n=Vv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;qa(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Dv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Hv={prepare:qv,send:Uv};function Wv(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=bt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const d={provider:i,prefix:s,name:a};l.push(d)}),t}function Fl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Bv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Fl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Kv=0;function Gv(e,t,r){const n=Kv++,o=Fl.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function Jv(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Gt(o,t,r):o;i&&n.push(i)}),n}var Xv={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Yv(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let k=e.resources.slice(0);for(s=[];k.length>1;){const _=Math.floor(Math.random()*k.length);s.push(k[_]),k=k.slice(0,_).concat(k.slice(_+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,d=null,y=[],m=[];typeof n=="function"&&m.push(n);function v(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),v(),y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function p(k,_){_&&(m=[]),typeof k=="function"&&m.push(k)}function b(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:y.length,subscribe:p,abort:h}}function f(){c="failed",m.forEach(k=>{k(void 0,l)})}function g(){y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function $(k,_,E){const P=_!=="success";switch(y=y.filter(I=>I!==k),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=E,f();return}if(P){l=E,y.length||(s.length?w():f());return}if(v(),g(),!e.random){const I=e.resources.indexOf(k.resource);I!==-1&&I!==e.index&&(e.index=I)}c="completed",m.forEach(I=>{I(E)})}function w(){if(c!=="pending")return;v();const k=s.shift();if(k===void 0){if(y.length){d=setTimeout(()=>{v(),c==="pending"&&(g(),f())},e.timeout);return}f();return}const _={status:"pending",resource:k,callback:(E,P)=>{$(_,E,P)}};y.push(_),u++,d=setTimeout(w,e.rotate),r(k,t,_.callback)}return setTimeout(w),b}function zl(e){const t={...Xv,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=Yv(t,a,c,(d,y)=>{n(),u&&u(d,y)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Va(){}const ao=Object.create(null);function Qv(e){if(!ao[e]){const t=ri(e);if(!t)return;const r=zl(t),n={config:t,redundancy:r};ao[e]=n}return ao[e]}function Zv(e,t,r){let n,o;if(typeof e=="string"){const i=Oo(e);if(!i)return r(void 0,424),Va;o=i.send;const s=Qv(e);s&&(n=s.redundancy)}else{const i=ei(e);if(i){n=zl(i);const s=e.resources?e.resources[0]:"",a=Oo(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Va):n.query(t,o,r)().abort}function Ua(){}function e$(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Bv(e)}))}function t$(e){const t=[],r=[];return e.forEach(n=>{(n.match(Pl)?t:r).push(n)}),{valid:t,invalid:r}}function Mt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Tl(e,r).length){n();return}}catch(o){console.error(o)}n(),e$(e)}function Ha(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function r$(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:r,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Ha(e.loadIcons(o,n,r),l=>{Mt(e,o,l)});return}if(i){o.forEach(l=>{const d=i(l,n,r);Ha(d,y=>{const m=y?{prefix:n,icons:{[l]:y}}:null;Mt(e,[l],m)})});return}const{valid:s,invalid:a}=t$(o);if(a.length&&Mt(e,a,null),!s.length)return;const c=n.match(Pl)?Oo(r):null;if(!c){Mt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{Zv(r,l,d=>{Mt(e,l.icons,d)})})}))}const Ll=(e,t)=>{const r=Jv(e,!0,Nl()),n=Wv(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ua)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(bt(u,l));const d=o[u]||(o[u]=Object.create(null));d[l]||(d[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:d}=c,y=bt(u,l),m=y.pendingIcons||(y.pendingIcons=new Set);m.has(d)||(m.add(d),o[u][l].push(d))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&r$(c,u)}),t?Gv(t,n,i):Ua},n$=e=>new Promise((t,r)=>{const n=typeof e=="string"?Gt(e,!0):e;if(!n){r(e);return}Ll([n||e],o=>{if(o.length&&n){const i=Cn(n);if(i){t({...wt,...i});return}}r(e)})});function o$(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Ml?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const i$=/[\s,]+/;function s$(e,t){t.split(i$).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function a$(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function c$(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function l$(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function u$(e){return"data:image/svg+xml,"+l$(e)}function f$(e){return'url("'+u$(e)+'")'}const Wa={...Il,inline:!1},d$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},p$={display:"inline-block"},Ro={backgroundColor:"currentColor"},Dl={backgroundColor:"transparent"},Ba={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ka={webkitMask:Ro,mask:Ro,background:Dl};for(const e in Ka){const t=Ka[e];for(const r in Ba)t[e+r]=Ba[r]}const Kr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Kr[e+"-flip"]=t,Kr[e.slice(0,1)+"-flip"]=t,Kr[e+"Flip"]=t});function Ga(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ja=(e,t)=>{const r=o$(Wa,t),n={...d$},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&s$(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=a$(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Kr[h];b?(p===!0||p==="true"||p===1)&&(r[b]=!0):Wa[h]===void 0&&(n[h]=p)}}}const c=Rv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Mv(c.body,p?()=>p+"ID"+h++:"iconifyVue"),ii("svg",n)}const{body:l,width:d,height:y}=e,m=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),v=c$(l,{...u,width:d+"",height:y+""});return n.style={...i,"--svg":f$(v),width:Ga(u.width),height:Ga(u.height),...p$,...m?Ro:Dl,...a},ii("span",n)};Nl(!0);Iv("",Hv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!kv(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Fv(r,o)||console.error(n)}catch{console.error(n)}}}}const h$={...wt,body:""};rc((e,{emit:t})=>{const r=Ke(null);function n(){r.value&&(r.value.abort?.(),r.value=null)}const o=Ke(!!e.ssr),i=Ke(""),s=Ge(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Gt(u,!1,!0))===null)return null;let d=Cn(l);if(!d){const v=r.value;return(!v||v.name!==u)&&(d===null?r.value={name:u}:r.value={name:u,abort:Ll([l],c)}),null}n(),i.value!==u&&(i.value=u,Io(()=>{t("load",u)}));const y=e.customise;if(y){d=Object.assign({},d);const v=y(d.body,l.name,l.prefix,l.provider);typeof v=="string"&&(d.body=v)}const m=["iconify"];return l.prefix!==""&&m.push("iconify--"+l.prefix),l.provider!==""&&m.push("iconify--"+l.provider),{data:d,classes:m}}function c(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?c():Mo(()=>{o.value=!0,c()}),Fe(()=>e.icon,c),Ql(n),()=>{const u=s.value;if(!u)return Ja(h$,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Ja({...wt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const m$=rc({__name:"App",setup(e,{expose:t}){t();const r=iu(),n=pe(()=>tn.value.find(({id:c})=>c===r.name)),o=Ke(""),i=Ke(""),s=pe(()=>n.value?.to&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`);Fe(n,async c=>{let u="/favicon.ico";if(c?.icon){const l=_v(c.icon)?xv(c.icon):await n$(c.icon);if(l){const{body:d,height:y,left:m,top:v,width:h}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${m.toString()} ${v.toString()} ${h.toString()} ${y.toString()}">${d}</svg>`}}o.value=u}),pc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Hu({description:pe(()=>n.value?.description),keywords:pe(()=>n.value?.keywords.join()),ogDescription:pe(()=>n.value?.description),ogImage:pe(()=>n.value?.images.filter(({url:c})=>c).map(({alt:c="",url:u})=>({alt:c,url:`${window.location.origin}/${u}`}))??[]),ogTitle:pe(()=>n.value?.title),ogType:pe(()=>n.value?.type),ogUrl:s,title:pe(()=>n.value?.title)}),Fe(()=>n.value?.jsonld,async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return tn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),g$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function y$(e,t,r,n,o,i){const s=Zl("router-view");return ai(),si(s,null,{default:eu(({Component:a})=>[(ai(),si(tu(a),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}const b$=g$(m$,[["render",y$],["__file","App.vue"]]);var co,Xa;function v$(){if(Xa)return co;Xa=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,d){return n(l,a[d],d,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var d=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(y){return t(d,"[valueOf exception]"+(y.stack||y.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return co=i,co}var $$=v$();const w$=pn($$),Ao="<template></template>",Gr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response(Ao)}catch{return new Response(Ao)}},It=e=>{e.forEach(t=>{console.log(t)})},k$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await fu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Gr(i)).text():r});It(a),od(s,o?{id:e}:void 0)},Ya=e=>nt(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),_$=async e=>{const{descriptor:t,errors:r}=cu(await(await Gr(e)).text()||Ao,{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{const{lang:y="js",src:m}=t[d]??{};return/[jt]sx$/.test(y)&&n.expressionPlugins?.push("jsx"),/tsx?$/.test(y)&&n.expressionPlugins?.push("typescript"),m&&await(await Gr(m)).text()})),s=`data-v-${w$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:d})=>d),{expressionPlugins:l}=n;if(It(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((v,h)=>{const p=t[v];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:y,warnings:m=[]}=lu(t,{id:s});It(m),d&&(n.bindingMetadata=d),Object.assign(c,(await Ya(l.length?ci(y,{jsxRuntime:a,transforms:l}).code:y)).default)}if(t.template){const{code:d,errors:y,tips:m}=uu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Gr(t.template.src)).text():t.template.content,vapor:t.vapor});It(y),It(m),Object.assign(c,await Ya(l.length?ci(d,{jsxRuntime:a,transforms:l}).code:d))}return t.styles.forEach(d=>{k$(s,t,d)}),c};let To;const{pathname:x$}=new URL(document.baseURI),Qa=Ke(!0),fn=new Map,S$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},ot=su({history:au(x$),routes:[],scrollBehavior:(e,t,r)=>To&&To(e,t,r)}),Za=Ke(!0),ec=pe(()=>ot.currentRoute.value.path==="/"?mo[ot.currentRoute.value.name]?.$children[0]:mo[ot.currentRoute.value.name]),M$=({id:e=Nc()})=>(fn.set(e,S$()),ru(async()=>_$(`./pages/${e}.vue`))),I$=({id:e}={})=>{e&&fn.get(e)?.resolve(void 0)},E$=({extractAll:e,toggleObserver:t})=>{To=async({hash:r,name:n})=>{if(n){Qa.value=!0,t(!1);const[{promise:o}={}]=fn.values();await o,await Promise.all([...fn.values()].map(({promise:s})=>s)),await e(),t(!0);const i=Za.value&&{behavior:"smooth",...r||ec.value?.parent?.flat&&ec.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return Qa.value=!1,Za.value=!0,i}else return!1}};ot.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const dn=nu(b$),C$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};dn.use(Wu());const j$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();en.push(t),await Io(),tn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:C$}),o!==void 0){const a=n?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");ot.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>nt(()=>import("./PageView-Drw8ud6t.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>nt(()=>import("./RootView-DATYZo2X.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),dn.provide("pages",mo),ot.addRoute({component:()=>nt(()=>import("./NotFoundView-iOoHSPOL.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=Op(await(e.ok?e:new Response("[]")).json());Fa.presets.push(Df({customFetch:jp,fonts:t})),await Hf({defaults:Fa,ready:async r=>{const{toggleObserver:n}=r;return E$(r),await j$,dn.use(ot),dn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Cp);console.info("👊 VueBro","/","runtime ver.:","1.1.16","/","https://github.com/vuebro");export{g$ as _,T$ as a,N$ as b,Qa as c,tn as d,Cp as e,pc as f,M$ as m,fn as p,I$ as r,Za as s,ec as t,Nc as u};