@vuebro/runtime 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +1 -1
- package/dist/assets/index-CmmpuJB7.js +421 -0
- package/dist/assets/katex-B59jf8CD.js +261 -0
- package/dist/assets/markdown-9kbgniO_.js +198 -0
- package/dist/assets/{mermaid-DJVpeobB.js → mermaid-BQWZaxT1.js} +47 -47
- package/dist/assets/{shared-DYMeITve.js → shared-L1pI3rwf.js} +2 -2
- package/dist/index.html +5 -4
- package/package.json +18 -20
- package/dist/assets/index-25FGs_Dd.js +0 -421
- package/dist/assets/markdown-CcsMulzT.js +0 -63
- /package/dist/assets/{loader-sfc.esm-browser.prod-2.4.2.js → loader-sfc.esm-browser.prod-2.4.3.js} +0 -0
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./shared-L1pI3rwf.js","./markdown-9kbgniO_.js","./mermaid-BQWZaxT1.js","./katex-B59jf8CD.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{toValue as U,isRef as se,hasInjectionContext as ds,inject as ps,ref as wt,watchEffect as We,getCurrentInstance as Fn,onBeforeUnmount as Po,onDeactivated as hs,onActivated as ms,reactive as ce,unref as _t,onMounted as In,nextTick as To,watch as bt,getCurrentScope as gs,onScopeDispose as bs,toRef as Q,readonly as ys,customRef as vs,shallowRef as mt,computed as G,defineComponent as Wt,onUnmounted as Lo,h as ir,toRefs as De,resolveComponent as ks,createBlock as ue,openBlock as gt,withCtx as Nn,resolveDynamicComponent as Vn,defineAsyncComponent as ws,createElementBlock as Oe,Fragment as Ro,createVNode as $s,createElementVNode as qt,renderList as xs,withDirectives as Ss,normalizeClass as Fo,Suspense as Cs,createCommentVNode as Es,createApp as js}from"vue";import{s as Dt,f as Wn,c as Io,o as _s}from"./shared-L1pI3rwf.js";import{useRoute as zs,createRouter as As,createWebHistory as Os}from"vue-router";import{M as Ms,$ as Ps,a as Ts,j as Ls,w as Rs,b as Fs,L as Is,d as Ns,m as Vs,f as Ws,e as Ds,y as Us,h as Hs,i as Bs,t as qs,k as Ks,s as Gs}from"./markdown-9kbgniO_.js";import Ys from"@vuebro/loader-sfc";import"./mermaid-BQWZaxT1.js";import"./katex-B59jf8CD.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(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 r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function bn(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?bn(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const Xs={run:t=>t()},Zs=()=>Xs,No=typeof console.createTask<"u"?console.createTask:Zs;function Qs(t,e){const n=e.shift(),r=No(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function Js(t,e){const n=e.shift(),r=No(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function Ze(t,e){for(const n of[...t])n(e)}class ta{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,r={}){if(!e||typeof n!="function")return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!r.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(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(e,o),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const o of r)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=bn(e),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(e){const n=bn(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(Qs,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(Js,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ze(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Ze(this._after,o)}):(this._after&&o&&Ze(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function ea(){return new ta}const na=new Set(["link","style","script","noscript"]),ra=new Set(["title","titleTemplate","script","style","noscript"]),sr=new Set(["base","meta","link","style","script","noscript"]),oa=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ia=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),sa=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),aa=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Dn=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),la=["name","property","http-equiv"],ca=new Set(["viewport","description","keywords","robots"]);function Vo(t){const e=t.split(":");return e.length?Dn.has(e[1]):!1}function yn(t){const{props:e,tag:n}=t;if(ia.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(e.charset)return"charset";if(t.tag==="meta"){for(const r of la)if(e[r]!==void 0){const o=e[r],i=o.includes(":"),s=ca.has(o),l=!(i||s)&&t.key?`:key:${t.key}`:"";return`${n}:${o}${l}`}}if(t.key)return`${n}:key:${t.key}`;if(e.id)return`${n}:id:${e.id}`;if(ra.has(n)){const r=t.textContent||t.innerHTML;if(r)return`${n}:content:${r}`}}function ar(t){const e=t._h||t._d;if(e)return e;const n=t.textContent||t.innerHTML;return n||`${t.tag}:${Object.entries(t.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Me(t,e,n){typeof t==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(t=t());let o;if(e&&(o=e(n,t)),Array.isArray(o))return o.map(i=>Me(i,e));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Me(o[s],e,s);return i}return o}function ua(t,e){const n=t==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(t==="style"){const[s,...a]=i.split(":").map(l=>l.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof e=="string"?t==="style"?e.split(";").forEach(r):r(e):Array.isArray(e)?e.forEach(o=>r(o)):e&&typeof e=="object"&&Object.entries(e).forEach(([o,i])=>{i&&i!=="false"&&(t==="style"?n.set(o.trim(),i):r(o))}),n}function Wo(t,e){return t.props=t.props||{},e?t.tag==="templateParams"?(t.props=e,t):(Object.entries(e).forEach(([n,r])=>{if(r===null){t.props[n]=null;return}if(n==="class"||n==="style"){t.props[n]=ua(n,r);return}if(sa.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=e.type;if(e.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;e.type=s,t.props.type=s,t[n]=JSON.stringify(r)}else t[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?t.props[n]=i?o:!0:!r&&i&&o==="false"?t.props[n]="false":r!==void 0&&(t.props[n]=r)}),t):t}function fa(t,e){const n=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},r=Wo({tag:t,props:{}},n);return r.key&&na.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function da(t,e){if(!t)return[];typeof t=="function"&&(t=t());const n=(o,i)=>{for(let s=0;s<e.length;s++)i=e[s](o,i);return i};t=n(void 0,t);const r=[];return t=Me(t,n),Object.entries(t||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(fa(o,s))}),r.flat()}const lr=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,cr={base:-10,title:10},pa={critical:-8,high:-1,low:2},ur={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}},ha=/@import/,Kt=t=>t===""||t===!0;function ma(t,e){if(typeof e.tagPriority=="number")return e.tagPriority;let n=100;const r=pa[e.tagPriority]||0,o=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:ur;if(e.tag in cr)n=cr[e.tag];else if(e.tag==="meta"){const i=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;i&&(n=ur.meta[i])}else e.tag==="link"&&e.props.rel?n=o.link[e.props.rel]:e.tag==="script"?Kt(e.props.async)?n=o.script.async:e.props.src&&!Kt(e.props.defer)&&!Kt(e.props.async)&&e.props.type!=="module"&&!e.props.type?.endsWith("json")?n=o.script.sync:Kt(e.props.defer)&&e.props.src&&!Kt(e.props.async)&&(n=o.script.defer):e.tag==="style"&&(n=e.innerHTML&&ha.test(e.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function fr(t,e){const n=typeof e=="function"?e(t):e,r=n.key||String(t.plugins.size+1);t.plugins.get(r)||(t.plugins.set(r,n),t.hooks.addHooks(n.hooks||{}))}function ga(t={}){const e=ea();e.addHooks(t.hooks||{});const n=!t.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:t,hooks:e,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>fr(s,a),push(a,l){const c={...l||{}};delete c.head;const f=c._index??s._entryCount++,d={_i:f,input:a,options:c},h={_poll(p=!1){s.dirty=!0,!p&&i.add(f),e.callHook("entries:updated",s)},dispose(){r.delete(f)&&s.invalidate()},patch(p){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=p,r.set(f,d),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await e.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const p=r.get(h);if(p){const m={tags:da(p.input,t.propResolvers||[]).map(g=>Object.assign(g,p.options)),entry:p};await e.callHook("entries:normalize",m),p._tags=m.tags.map((g,y)=>(g._w=ma(s,g),g._p=(p._i<<10)+y,g._d=yn(g),g))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(lr).reduce((h,p)=>{const m=String(p._d||p._p);if(!h.has(m))return h.set(m,p);const g=h.get(m);if((p?.tagDuplicateStrategy||(aa.has(p.tag)?"merge":null)||(p.key&&p.key===g.key?"merge":null))==="merge"){const x={...g.props};Object.entries(p.props).forEach(([v,k])=>x[v]=v==="style"?new Map([...g.props.style||new Map,...k]):v==="class"?new Set([...g.props.class||new Set,...k]):k),h.set(m,{...p,props:x})}else p._p>>10===g._p>>10&&p.tag==="meta"&&Vo(m)?(h.set(m,Object.assign([...Array.isArray(g)?g:[g],p],p)),l=!0):(p._w===g._w?p._p>g._p:p?._w<g?._w)&&h.set(m,p);return h},a.tagMap);const c=a.tagMap.get("title"),f=a.tagMap.get("titleTemplate");if(s._title=c?.textContent,f){const h=f?.textContent;if(s._titleTemplate=h,h){let p=typeof h=="function"?h(c?.textContent):h;typeof p=="string"&&!s.plugins.has("template-params")&&(p=p.replace("%s",c?.textContent||"")),c?p===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:p}):(f.tag="title",f.textContent=p)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(lr)),await e.callHook("tags:beforeResolve",a),await e.callHook("tags:resolve",a),await e.callHook("tags:afterResolve",a);const d=[];for(const h of a.tags){const{innerHTML:p,tag:m,props:g}=h;if(oa.has(m)&&!(Object.keys(g).length===0&&!h.innerHTML&&!h.textContent)&&!(m==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(m==="script"&&p){if(g.type?.endsWith("json")){const y=typeof p=="string"?p:JSON.stringify(p);h.innerHTML=y.replace(/</g,"\\u003C")}else typeof p=="string"&&(h.innerHTML=p.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));h._d=yn(h)}d.push(h)}}return d},invalidate(){for(const a of r.values())i.add(a._i);s.dirty=!0,e.callHook("entries:updated",s)}};return(t?.plugins||[]).forEach(a=>fr(s,a)),s.hooks.callHook("init",s),t.init?.forEach(a=>a&&s.push(a)),s}async function Do(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const r={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(p=>{t.resolveTags().then(m=>{p(m.map(g=>{const y=i.get(g._d)||0,x={tag:g,id:(y?`${g._d}:${y}`:g._d)||ar(g),shouldRender:!0};return g._d&&Vo(g._d)&&i.set(g._d,y+1),x}))})});let a=t._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=n[p]?.children;for(const g of m){const y=g.tagName.toLowerCase();if(!sr.has(y))continue;const x=Wo({tag:y,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((v,k)=>(v[k]=g.getAttribute(k),v),{})||{}});if(x.key=g.getAttribute("data-hid")||void 0,x._d=yn(x)||ar(x),a.elMap.has(x._d)){let v=1,k=x._d;for(;a.elMap.has(k);)k=`${x._d}:${v++}`;a.elMap.set(k,g)}else a.elMap.set(x._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,m,g){const y=`${p}:${m}`;a.sideEffects[y]=g,delete a.pendingSideEffects[y]}function c({id:p,$el:m,tag:g}){const y=g.tag.endsWith("Attrs");a.elMap.set(p,m),y||(g.textContent&&g.textContent!==m.textContent&&(m.textContent=g.textContent),g.innerHTML&&g.innerHTML!==m.innerHTML&&(m.innerHTML=g.innerHTML),l(p,"el",()=>{m?.remove(),a.elMap.delete(p)}));for(const x in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,x))continue;const v=g.props[x];if(x.startsWith("on")&&typeof v=="function"){const w=m?.dataset;if(w&&w[`${x}fired`]){const $=x.slice(0,-5);v.call(m,new Event($.substring(2)))}m.getAttribute(`data-${x}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:m).addEventListener(x.substring(2),v.bind(m)),m.setAttribute(`data-${x}`,""));continue}const k=`attr:${x}`;if(x==="class"){if(!v)continue;for(const w of v)y&&l(p,`${k}:${w}`,()=>m.classList.remove(w)),!m.classList.contains(w)&&m.classList.add(w)}else if(x==="style"){if(!v)continue;for(const[w,$]of v)l(p,`${k}:${w}`,()=>{m.style.removeProperty(w)}),m.style.setProperty(w,$)}else v!==!1&&v!==null&&(m.getAttribute(x)!==v&&m.setAttribute(x,v===!0?"":String(v)),y&&l(p,k,()=>m.removeAttribute(x)))}}const f=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await s;for(const p of h){const{tag:m,shouldRender:g,id:y}=p;if(g){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(y),p.$el?c(p):sr.has(m.tag)&&f.push(p)}}for(const p of f){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),c(p),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(p.$el)}for(const p of h)await t.hooks.callHook("dom:renderTag",p,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();t._dom=a,await t.hooks.callHook("dom:rendered",{renders:h}),o()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function ba(t={}){const e=t.domOptions?.render||Do;t.document=t.document||(typeof window<"u"?document:void 0);const n=t.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return ga({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[n?JSON.parse(n):!1,...t.init||[]]})}function ya(t,e){let n=0;return()=>{const r=++n;e(()=>{n===r&&t()})}}const fe={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},va={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"},Uo={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>`${ht(t)}=${e}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:t,value:e})=>t==="seconds"?`${e}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>typeof e=="boolean"?ht(t):`${ht(t)}:${e}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:t,value:e})=>`${ht(t)} ${e}`}},charset:{}};function ht(t){const e=t.replace(/([A-Z])/g,"-$1").toLowerCase(),n=e.indexOf("-");return n===-1?e:fe.META.has(e.slice(0,n))||fe.OG.has(e.slice(0,n))?t.replace(/([A-Z])/g,":$1").toLowerCase():e}function Ho(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>String(n)!=="false"&&e))}function vn(t){return Array.isArray(t)?t.map(vn):!t||typeof t!="object"?t:Object.fromEntries(Object.entries(t).map(([e,n])=>[ht(e),vn(n)]))}function Bo(t,e={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:o,resolve:i}=e;return Object.entries(t).map(([s,a])=>{if(i){const c=i({key:s,value:a});if(c!==void 0)return c}const l=typeof a=="object"?Bo(a,e):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${r}${l}`}).join(n)}function dr(t,e){const n=Ho(e),r=ht(t),o=qo(r);if(!Dn.has(r))return[{[o]:r,...n}];const i=Object.fromEntries(Object.entries(n).map(([s,a])=>[`${t}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Pe(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function qo(t){if(Uo[t]?.metaKey==="http-equiv"||fe.HTTP_EQUIV.has(t))return"http-equiv";const e=ht(t),n=e.indexOf(":");return n===-1?"name":fe.OG.has(e.slice(0,n))?"property":"name"}function ka(t){return va[t]||ht(t)}function wa(t,e){return e==="refresh"?`${t.seconds};url=${t.url}`:Bo(vn(t),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:r})=>n===null?"":typeof n=="boolean"?r:void 0,...Uo[e]?.unpack})}function Pe(t){const e=[],n={};for(const[o,i]of Object.entries(t)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&e.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],l=[];for(const[c,f]of Object.entries(s)){const d=`${o}${c==="url"?"":`:${c}`}`,h=Pe({[d]:f});(c==="url"?a:l).push(...h)}e.push(...a,...l)}else e.push(...typeof s=="string"?Pe({[o]:s}):dr(o,s));continue}if(typeof i=="object"&&i)if(fe.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),l=s==="twitter"?"name":"property";i.url&&e.push({[l]:`${s}:${a}`,content:i.url}),i.secureUrl&&e.push({[l]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[c,f]of Object.entries(i))c!=="url"&&c!=="secureUrl"&&e.push({[l]:`${s}:${a}:${c}`,content:f})}else Dn.has(ht(o))?e.push(...dr(o,i)):n[o]=Ho(i);else n[o]=i}const r=Object.entries(n).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=qo(o),a=ka(o),l=i===null?"_null":typeof i=="object"?wa(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:l}:{[s]:a,content:l}});return[...e,...r].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const $a={key:"flatMeta",hooks:{"entries:normalize":t=>{const e=[];t.tags=t.tags.map(n=>n.tag!=="_flatMeta"?n:(e.push(Pe(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...e)}}},xa=(t,e)=>se(e)?U(e):e,Ko="usehead";function Sa(t){return{install(n){n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(Ko,t)}}.install}function Go(){if(ds()){const t=ps(Ko);if(!t)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return t}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Un(t,e={}){const n=e.head||Go();return n.ssr?n.push(t||{},e):Ca(n,t,e)}function Ca(t,e,n={}){const r=wt(!1);let o;return We(()=>{const s=r.value?{}:Me(e,xa);o?o.patch(s):o=t.push(s,n)}),Fn()&&(Po(()=>{o.dispose()}),hs(()=>{r.value=!0}),ms(()=>{r.value=!1})),o}function Ea(t={},e={}){(e.head||Go()).use($a);const{title:r,titleTemplate:o,...i}=t;return Un({title:r,titleTemplate:o,_flatMeta:i},e)}function ja(t={}){const e=ba({domOptions:{render:ya(()=>Do(e),n=>setTimeout(n,0))},...t});return e.install=Sa(e),e}const Ee="default",kn="preflights",_a="shortcuts",Yo="imports",za={[Yo]:-200,[kn]:-100,[_a]:-10,[Ee]:0},Xo=/[\\:]?[\s'"`;{}]+/g;function Aa(t){return t.split(Xo)}const Oa={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Aa(t)}};function N(t=[]){return Array.isArray(t)?t:[t]}function ft(t){return Array.from(new Set(t))}function pr(t,e){return t.reduce((n,r)=>(n.findIndex(i=>e(r,i))===-1&&n.push(r),n),[])}function D(t){return typeof t=="string"}class Zo extends Set{_map=new Map;constructor(e){if(super(),e)for(const n of e)this.add(n)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,n){return this._map.set(e,n),super.add(e)}}function Qe(t){return t instanceof Zo}function de(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function nt(t){const e=t.length;let n=-1,r,o="";const i=t.charCodeAt(0);for(;++n<e;){if(r=t.charCodeAt(n),r===0){o+="�";continue}if(r===37){o+="\\%";continue}if(r===44){o+="\\,";continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&i===45){o+=`\\${r.toString(16)} `;continue}if(n===0&&e===1&&r===45){o+=`\\${t.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){o+=t.charAt(n);continue}o+=`\\${t.charAt(n)}`}return o}const Je=nt;function Ma(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(n=>n(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(n=>n!==e)}}}const Pa=/^\[(.+?)~?="(.*)"\]$/,Ta=/[\w\u00A0-\uFFFF%-?]/;function La(t){return t.match(Pa)}function wn(t=""){return Ta.test(t)}function Ra(t){return typeof t=="function"?{match:t}:t}function hr(t){return t.length===3}function oe(t){return t!=null}function Fa(){}class Ia{_map=new Map;get(e,n){const r=this._map.get(e);if(r)return r.get(n)}getFallback(e,n,r){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(n)||o.set(n,r),o.get(n)}set(e,n,r){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(n,r),this}has(e,n){return this._map.get(e)?.has(n)}delete(e,n){return this._map.get(e)?.delete(n)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([n,r])=>Array.from(r.entries()).map(([o,i])=>e(i,n,o)))}}class Na extends Map{getFallback(e,n){const r=this.get(e);return r===void 0?(this.set(e,n),n):r}map(e){const n=[];return this.forEach((r,o)=>{n.push(e(r,o))}),n}flatMap(e){const n=[];return this.forEach((r,o)=>{n.push(...e(r,o))}),n}}function Te(t){return D(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Va(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Te(e)):[t]:[Te(t)]}function Wa(t){return t.filter(([e,n],r)=>{if(e.startsWith("$$"))return!1;for(let o=r-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===n)return!1;return!0})}const Qo="__virtual_key__";function tn(t){return t==null?"":Wa(t).map(([e,n])=>n!=null&&typeof n!="function"?e!==Qo?`${e}:${n};`:n:void 0).filter(Boolean).join("")}function we(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Ft(t,e,n=!1){const r=t,o=e;if(Array.isArray(o))return n&&Array.isArray(o)?[...r,...o]:[...o];const i={...r};return we(r)&&we(o)&&Object.keys(o).forEach(s=>{we(r[s])&&we(o[s])||Array.isArray(r[s])&&Array.isArray(o[s])?i[s]=Ft(r[s],o[s],n):Object.assign(i,{[s]:o[s]})}),i}function ae(t){let e,n,r;if(Array.isArray(t)){for(n=Array.from({length:e=t.length});e--;)n[e]=(r=t[e])&&typeof r=="object"?ae(r):r;return n}if(Object.prototype.toString.call(t)==="[object Object]"){n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:ae(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=(r=t[e])&&typeof r=="object"?ae(r):r;return n}return t}function Da(t){return D(t[0])}function Ua(t){return D(t[0])}const $e={};function Ha(t=["-",":"]){const e=t.join("|");return $e[e]||($e[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),$e[e].lastIndex=0,$e[e]}function Ba(t,e=["-",":"],n=5){const r=Ha(e);let o,i=t.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(r,(c,f,d,h,p)=>{if(!e.includes(d))return c;o=!0,s.add(f+d);const m=p+f.length+d.length+1,g={length:c.length,items:[]};a.set(p,g);for(const y of[...h.matchAll(/\S+/g)]){const x=m+y.index;let v=a.get(x)?.items;v?a.delete(x):v=[{offset:x,length:y[0].length,className:y[0]}];for(const k of v)k.className=k.className==="~"?f:k.className.replace(/^(!?)(.*)/,`$1${f}${d}$2`),g.items.push(k)}return"$".repeat(c.length)}),n-=1;while(o&&n);let l;if(typeof t=="string"){l="";let c=0;for(const[f,d]of a)l+=t.slice(c,f),l+=d.items.map(h=>h.className).join(" "),c=f+d.length;l+=t.slice(c)}else{l=t;for(const[c,f]of a)l.overwrite(c,c+f.length,f.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return l.toString()}}}function qa(t,e=["-",":"],n=5){const r=Ba(t,e,n);return typeof t=="string"?r.expanded:t}const mr=new Set;function Jo(t){mr.has(t)||(console.warn("[unocss]",t),mr.add(t))}function ti(t){return N(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const gr="_uno_resolved";async function Ka(t){let e=typeof t=="function"?await t():await t;if(gr in e)return e;e={...e},Object.defineProperty(e,gr,{value:!0,enumerable:!1});const n=e.shortcuts?ti(e.shortcuts):void 0;if(e.shortcuts=n,e.prefix||e.layer){const r=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&e.prefix&&(i.prefix=N(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};n?.forEach(r),e.rules?.forEach(r)}return e}async function ei(t){const e=await Ka(t);if(!e.presets)return[e];const n=(await Promise.all((e.presets||[]).flatMap(N).flatMap(ei))).flat();return[e,...n]}function Ga(t){if(t.length===0)return{};const e=[],n=[];let r=!1;const o=[],i=[];for(const a of t){if(a.pipeline===!1){r=!0;break}else a.pipeline?.include&&e.push(a.pipeline.include),a.pipeline?.exclude&&n.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}const s={pipeline:r?!1:{include:ft(yr(...e)),exclude:ft(yr(...n))}};return o.length&&(s.filesystem=ft(o.flat())),i.length&&(s.inline=ft(i.flat())),s}async function br(t={},e={}){const n=Object.assign({},e,t),r=pr((await Promise.all((n.presets||[]).flatMap(N).flatMap(ei))).flat(),($,C)=>$.name===C.name),o=[...r.filter($=>$.enforce==="pre"),...r.filter($=>!$.enforce),...r.filter($=>$.enforce==="post")],i=[...o,n],s=[...i].reverse(),a=Object.assign({},za,...i.map($=>$.layers));function l($){return ft(i.flatMap(C=>N(C[$]||[])))}const c=l("extractors");let f=s.find($=>$.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Oa),f&&!c.includes(f)&&c.unshift(f),c.sort(($,C)=>($.order||0)-(C.order||0));const d=l("rules"),h=d.length,p={},m=[];for(const[$,C]of d.entries()){const S=C[2]??(C[2]={});S.__index=$,Da(C)?N(S.prefix??"").forEach(E=>{p[E+C[0]]=C}):m.unshift(C)}const g={templates:ft(i.flatMap($=>N($.autocomplete?.templates))),extractors:i.flatMap($=>N($.autocomplete?.extractors)).sort(($,C)=>($.order||0)-(C.order||0)),shorthands:Xa(i.map($=>$.autocomplete?.shorthands||{}))};let y=l("separators");y.length||(y=[":","-"]);const x=l("content"),v=Ga(x),k={mergeSelectors:!0,warn:!0,sortLayers:$=>$,...n,blocklist:l("blocklist"),presets:o,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:a,theme:Ya(i.map($=>$.theme)),rules:d,rulesSize:h,rulesDynamic:m,rulesStaticMap:p,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:g,variants:l("variants").map(Ra).sort(($,C)=>($.order||0)-(C.order||0)),shortcuts:ti(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:y,details:n.details??n.envMode==="dev",content:v,transformers:pr(l("transformers"),($,C)=>$.name===C.name)},w=l("extendTheme");for(const $ of w)k.theme=$(k.theme,k)||k.theme;for(const $ of i)$?.configResolved?.(k);return k}function Ya(t){return t.map(e=>e?ae(e):{}).reduce((e,n)=>Ft(e,n),{})}function Xa(t){return t.reduce((e,n)=>{const r={};for(const o in n){const i=n[o];Array.isArray(i)?r[o]=`(${i.join("|")})`:r[o]=i}return{...e,...r}},{})}function yr(...t){return t.flatMap(Za)}function Za(t){return Array.isArray(t)?t:t?[t]:[]}const Qa="66.5.10",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"};class Hn{constructor(e={},n={}){this.userConfig=e,this.defaults=n}version=Qa;events=Ma();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},n={}){const r=new Hn(e,n);return r.config=await br(r.userConfig,r.defaults),r.events.emit("config",r.config),r}async setConfig(e,n){e&&(n&&(this.defaults=n),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await br(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,n,r=new Set){const o={original:e,code:e,id:n,extracted:r,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(Qe(s)&&Qe(r))for(const a of s)r.setCount(a,r.getCount(a)+s.getCount(a));else for(const a of s)r.add(a)}return r}makeContext(e,n){const r={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:X,variantHandlers:n[2],constructCSS:(...o)=>this.constructCustomCSS(r,...o),variantMatch:n};return r}async parseToken(e,n){if(this.blocked.has(e))return;const r=`${e}${n?` ${n}`:""}`;if(this.cache.has(r))return this.cache.get(r);const o=this.config.preprocess.reduce((l,c)=>c(l)??l,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(r,null);return}const i=await this.matchVariants(e,o);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(e),this.cache.set(r,null);return}const s=async l=>{const c=this.makeContext(e,[n||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);const f=await this.expandShortcut(c.currentSelector,c);return f?await this.stringifyShortcuts(c.variantMatch,c,f[0],f[1]):(await this.parseUtil(c.variantMatch,c))?.flatMap(h=>this.stringifyUtil(h,c)).filter(oe)},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(r,a),a;this.cache.set(r,null)}async generate(e,n={}){const{id:r,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=n,c=D(e)?await this.applyExtractors(e,r,l?new Zo:new Set):Array.isArray(e)?new Set(e):e;if(s){const S={generator:this,theme:this.config.theme};this.config.safelist.flatMap(j=>typeof j=="function"?j(S):j).forEach(j=>{const E=j.trim();E&&!c.has(E)&&c.add(E)})}const f=a?"":`
|
|
3
|
+
`,d=new Set([Ee]),h=l?new Map:new Set,p=new Map;let m={};const g=Array.from(c).map(async S=>{if(h.has(S))return;const j=await this.parseToken(S);if(j!=null){h instanceof Map?h.set(S,{data:j,count:Qe(c)?c.getCount(S):-1}):h.add(S);for(const E of j){const M=E[3]||"",F=E[4]?.layer;p.has(M)||p.set(M,[]),p.get(M).push(E),F&&d.add(F)}}});await Promise.all(g),await(async()=>{if(!i)return;const S={generator:this,theme:this.config.theme},j=new Set([]);this.config.preflights.forEach(({layer:E=kn})=>{d.add(E),j.add(E)}),m=Object.fromEntries(await Promise.all(Array.from(j).map(async E=>{const F=(await Promise.all(this.config.preflights.filter(q=>(q.layer||kn)===E).map(async q=>await q.getCSS(S)))).filter(Boolean).join(f);return[E,F]})))})();const y=this.config.sortLayers(Array.from(d).sort((S,j)=>(this.config.layers[S]??0)-(this.config.layers[j]??0)||S.localeCompare(j))),x={},v=this.config.outputToCssLayers,k=S=>{let j=S;return typeof v=="object"&&(j=v.cssLayerName?.(S)),j===null?null:j??S},w=(S=Ee)=>{if(x[S])return x[S];let j=Array.from(p).sort((F,q)=>(this.parentOrders.get(F[0])??0)-(this.parentOrders.get(q[0])??0)||F[0]?.localeCompare(q[0]||"")||0).map(([F,q])=>{const A=q.length,L=q.filter(I=>(I[4]?.layer||Ee)===S).sort((I,K)=>I[0]-K[0]||(I[4]?.sort||0)-(K[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(K[5]?.currentSelector??"")||I[1]?.localeCompare(K[1]||"")||I[2]?.localeCompare(K[2]||"")||0).map(([,I,K,,St,,At])=>[[[(I&&el(I,o))??"",St?.sort??0]],K,!!(At??St?.noMerge)]);if(!L.length)return;const P=L.reverse().map(([I,K,St],At)=>{if(!St&&this.config.mergeSelectors)for(let yt=At+1;yt<A;yt++){const ct=L[yt];if(ct&&!ct[2]&&(I&&ct[0]||I==null&&ct[0]==null)&&ct[1]===K)return I&&ct[0]&&ct[0].push(...I),null}const Xe=I?ft(I.sort((yt,ct)=>yt[1]-ct[1]||yt[0]?.localeCompare(ct[0]||"")||0).map(yt=>yt[0]).filter(Boolean)):[];return Xe.length?`${Xe.join(`,${f}`)}{${K}}`:K}).filter(Boolean),R=Array.from(new Set(P)).reverse().join(f);if(!F)return R;const Y=F.split(" $$ ");return`${Y.join("{")}{${f}${R}${f}${"}".repeat(Y.length)}`}).filter(Boolean).join(f);i&&(j=[m[S],j].filter(Boolean).join(f));let E;v&&j&&(E=k(S),E!==null&&(j=`@layer ${E}{${f}${j}${f}}`));const M=a?"":`/* layer: ${S}${E&&E!==S?`, alias: ${E}`:""} */${f}`;return x[S]=j?M+j:""},$=(S=y,j)=>{const E=S.filter(M=>!j?.includes(M));return[v&&E.length>0?`@layer ${E.map(k).filter(oe).join(", ")};`:void 0,...E.map(M=>w(M)||"")].filter(Boolean).join(f)};return{get css(){return $()},layers:y,matched:h,getLayers:$,getLayer:w,setLayer:async(S,j)=>{const E=await j(w(S));return x[S]=E,E}}}async matchVariants(e,n){const r={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,l]=i;for(;s;){s=!1;const c=i[1];for(const f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let d=await f.match(c,r);if(d){if(D(d)){if(d===c)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");const h=d.map(p=>{const m=p.matcher??c,g=[p,...a],y=new Set(l);return y.add(f),[i[0],m,g,y]});return(await Promise.all(h.map(p=>o(p)))).flat()}}i[1]=d.matcher??c,a.unshift(d),l.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,n||e,[],new Set])}applyVariants(e,n=e[4],r=e[1]){const i=n.slice().sort((c,f)=>(c.order||0)-(f.order||0)).reduceRight((c,f)=>d=>{const h=f.body?.(d.entries)||d.entries,p=Array.isArray(f.parent)?f.parent:[f.parent,void 0],m=f.selector?.(d.selector,h);return(f.handle??rl)({...d,entries:h,selector:m||d.selector,parent:p[0]||d.parent,parentOrder:p[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},c)},c=>c)({prefix:"",selector:nl(r),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((c,f)=>{const d=[];for(const h of c){const p=f(h);Array.isArray(p)?d.push(...p.filter(oe)):d.push(p||h)}return d},[l])}constructCustomCSS(e,n,r){const o=Te(n);return D(o)?o:this.applyVariants([0,r||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:s,parent:a})=>{const l=`${i}{${tn(s)}}`;return a?`${a}{${l}}`:l}).join("")}async parseUtil(e,n,r=!1,o){const i=D(e)?await this.matchVariants(e):[e],s=async([l,c,f])=>{this.config.details&&(n.rules=n.rules??[]);const d={...n,variantHandlers:f},h=this.config.rulesStaticMap[c];if(h&&h[1]&&(r||!h[2]?.internal))return this.resolveCSSResult(l,h[1],h,d);for(const p of this.config.rulesDynamic){const[m,g,y]=p;if(y?.internal&&!r)continue;let x=c;if(y?.prefix){const $=N(y.prefix);if(o){const C=N(o);if(!$.some(S=>C.includes(S)))continue}else{const C=$.find(S=>c.startsWith(S));if(C==null)continue;x=c.slice(C.length)}}const v=x.match(m);if(!v)continue;let k=await g(v,d);if(!k)continue;if(typeof k!="string")if(Symbol.asyncIterator in k){const $=[];for await(const C of k)C&&$.push(C);k=$}else Symbol.iterator in k&&!Array.isArray(k)&&(k=Array.from(k).filter(oe));const w=this.resolveCSSResult(l,k,p,d);if(w)return w}},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}resolveCSSResult=(e,n,r,o)=>{const i=Va(n).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(r),o.generator.activatedRules.add(r);const s=r[2];return i.map(a=>{if(D(a))return[s.__index,a,s];let l=o.variantHandlers,c=s;for(const f of a)f[0]===X.variants?typeof f[1]=="function"?l=f[1](l)||l:l=[...N(f[1]),...l]:f[0]===X.parent?l=[{parent:f[1]},...l]:f[0]===X.selector?l=[{selector:f[1]},...l]:f[0]===X.layer?l=[{layer:f[1]},...l]:f[0]===X.sort?c={...c,sort:f[1]}:f[0]===X.noMerge?c={...c,noMerge:f[1]}:f[0]===X.body&&(f[0]=Qo);return[s.__index,e,a,c,l]})}};stringifyUtil(e,n){if(!e)return;if(hr(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?n:void 0,void 0]];const r=this.applyVariants(e),o=[];for(const i of r){const{selector:s,entries:a,parent:l,layer:c,sort:f,noMerge:d}=i,h=tn(a);if(!h)continue;const{layer:p,sort:m,...g}=e[3]??{},y={...g,layer:c??p,sort:f??m};o.push([e[0],s,h,l,y,this.config.details?n:void 0,d])}return o}async expandShortcut(e,n,r=5){if(r===0)return;const o=this.config.details?c=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(c)}:Fa;let i,s,a,l;for(const c of this.config.shortcuts){let f=e;if(c[2]?.prefix){const h=N(c[2].prefix).find(p=>e.startsWith(p));if(h==null)continue;f=e.slice(h.length)}if(Ua(c)){if(c[0]===f){i=i||c[2],s=c[1],o(c);break}}else{const d=f.match(c[0]);if(d&&(s=c[1](d,n)),s){i=i||c[2],o(c);break}}}if(s&&(a=ft(N(s).filter(D).map(c=>qa(c.trim()).split(/\s+/g)).flat()),l=N(s).filter(c=>!D(c)).map(c=>({handles:[],value:c}))),!s){const c=D(e)?await this.matchVariants(e):[e];for(const f of c){const[d,h,p]=f;if(d!==h){const m=await this.expandShortcut(h,n,r-1);m&&(a=m[0].filter(D).map(g=>d.replace(h,g)),l=m[0].filter(g=>!D(g)).map(g=>({handles:[...g.handles,...p],value:g.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(N(a).map(async c=>(await this.expandShortcut(c,n,r-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(e,n,r,o={layer:this.config.shortcutsLayer}){const i=new Na,s=(await Promise.all(ft(r).map(async f=>{const d=D(f)?await this.parseUtil(f,n,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Te(f.value),void 0,f.handles]];return!d&&this.config.warn&&Jo(`unmatched utility "${f}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=e,c=[];for(const f of s){if(hr(f)){c.push([f[0],void 0,f[1],void 0,f[2],n,void 0]);continue}const d=Object.fromEntries(f[2])[X.shortcutsNoMerge],h=[...f[4],...d?[]:l];for(const{selector:p,entries:m,parent:g,sort:y,noMerge:x,layer:v}of this.applyVariants(f,h,a))i.getFallback(v??o.layer,new Ia).getFallback(p,g,[[],f[0]])[0].push([m,!!(x??f[3]?.noMerge),y??0])}return c.concat(i.flatMap((f,d)=>f.map(([h,p],m,g)=>{const y=(v,k,w)=>{const $=Math.max(...w.map(S=>S[1])),C=w.map(S=>S[0]);return(v?[C.flat(1)]:C).map(S=>{const j=tn(S);if(j)return[p,m,j,g,{...o,noMerge:k,sort:$,layer:d},n,void 0]})};return[[h.filter(([,v])=>v).map(([v,,k])=>[v,k]),!0],[h.filter(([,v])=>!v).map(([v,,k])=>[v,k]),!1]].map(([v,k])=>[...y(!1,k,v.filter(([w])=>w.some($=>$[0]===X.shortcutsNoMerge))),...y(!0,k,v.filter(([w])=>w.every($=>$[0]!==X.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(n=>Array.isArray(n)?n[0]:n).some(n=>typeof n=="function"?n(e):D(n)?n===e:n.test(e))}getBlocked(e){const n=this.config.blocklist.find(r=>{const o=Array.isArray(r)?r[0]:r;return typeof o=="function"?o(e):D(o)?o===e:o.test(e)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function Ja(t,e){return await Hn.create(t,e)}const ni=/\s\$\$\s+/g;function tl(t){return ni.test(t)}function el(t,e){return tl(t)?t.replace(ni,e?` ${e} `:" "):e?`${e} ${t}`:t}const vr=/^\[(.+?)(~?=)"(.*)"\]$/;function nl(t){return vr.test(t)?t.replace(vr,(e,n,r,o)=>`[${Je(n)}${r}"${Je(o)}"]`):`.${Je(t)}`}function rl(t,e){return e(t)}function ol(t){return t.replace(/-(\w)/g,(e,n)=>n?n.toUpperCase():"")}function kr(t){return t.charAt(0).toUpperCase()+t.slice(1)}function wr(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var $r=["Webkit","Moz","ms"];function il(t){const e={};function n(r){const o=e[r];if(o)return o;let i=ol(r);if(i!=="filter"&&i in t)return e[r]=wr(i);i=kr(i);for(let s=0;s<$r.length;s++){const a=`${$r[s]}${i}`;if(a in t)return e[r]=wr(kr(a))}return r}return({entries:r})=>r.forEach(o=>{o[0].startsWith("--")||(o[0]=n(o[0]))})}function sl(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function al(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,n=window.document,r=()=>n.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=N(s.postprocess)).unshift(il(n.createElement("div").style)),i.configResolved?.(o,s);const l=await Ja(o,s),c=A=>i.inject?i.inject(A):r().prepend(A),f=()=>i.rootElement?i.rootElement():n.body,d=new Map;let h=!0;const p=new Set;let m,g,y=[];const x=()=>new Promise(A=>{y.push(A),g!=null&&clearTimeout(g),g=setTimeout(()=>w().then(()=>{const L=y;y=[],L.forEach(P=>P())}),0)});function v(A,L=!1){if(A.nodeType!==1)return;const P=A;P.hasAttribute(a)&&P.removeAttribute(a),L&&P.querySelectorAll(`[${a}]`).forEach(R=>{R.removeAttribute(a)})}function k(A,L){let P=d.get(A);if(!P)if(P=n.createElement("style"),P.setAttribute("data-unocss-runtime-layer",A),d.set(A,P),L==null)c(P);else{const R=k(L),Y=R.parentNode;Y?Y.insertBefore(P,R.nextSibling):c(P)}return P}async function w(){const A=[...p],L=await l.generate(A);return L.layers.reduce((R,Y)=>(k(Y,R).innerHTML=L.getLayer(Y)??"",Y),void 0),A.filter(R=>!L.matched.has(R)).forEach(R=>p.delete(R)),{...L,getStyleElement:R=>d.get(R),getStyleElements:()=>d}}async function $(A){const L=p.size;await l.applyExtractors(A,void 0,p),L!==p.size&&await x()}async function C(A=f()){const L=A&&A.outerHTML;L&&(await $(`${L} ${sl(L)}`),v(r()),v(A,!0))}const S=new MutationObserver(A=>{h||A.forEach(async L=>{if(L.target.nodeType!==1)return;const P=L.target;for(const R of d)if(P===R[1])return;if(L.type==="childList")L.addedNodes.forEach(async R=>{if(R.nodeType!==1)return;const Y=R;m&&!m(Y)||(await $(Y.outerHTML),v(Y))});else{if(m&&!m(P))return;if(L.attributeName!==a){const R=Array.from(P.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),Y=`<${P.tagName.toLowerCase()} ${R}>`;await $(Y)}v(P)}})});let j=!1;function E(){if(j)return;const A=i.observer?.target?i.observer.target():f();A&&(S.observe(A,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),j=!0)}function M(){i.bypassDefined&&ll(l.blocked),C(),E()}function F(){n.readyState==="loading"?e.addEventListener("DOMContentLoaded",M):M()}const q=e.__unocss_runtime=e.__unocss_runtime={version:l.version,uno:l,async extract(A){D(A)||(A.forEach(L=>p.add(L)),A=""),await $(A)},extractAll:C,inspect(A){m=A},toggleObserver(A){A===void 0?h=!h:h=!!A,!j&&!h&&F()},update:w,presets:e.__unocss_runtime?.presets??{}};i.ready?.(q)!==!1&&(h=!1,F())}function ll(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const n=document.styleSheets[e];let r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}const ri=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function cl(t={}){const e=t.prefix??"un-",n=t.prefixedOnly??!1,r=t.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:s}){const a=La(i);if(!a)return;let l=a[1];if(l.startsWith(e))l=l.slice(e.length);else if(n)return;const c=a[2],[,f="",d=c]=c.match(ri)||[];if(d==="~"||r&&d==="true"||!d)return`${f}${l}`;if(o==null){const h=s?.config?.separators?.join("|");h?o=new RegExp(`^(.*\\](?:${h}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,h,p]=c.match(o)||[];if(p)return`${h}${f}${l}-${p}`}if(f&&d.match(/^[\d.]+$/)){const h=f.split(/([^:]*:)/g).filter(Boolean),p=h.pop()+d,m=h.join("");return[{matcher:`${f}${l}-${d}`},{matcher:`${m}${l}-${p}`}]}return`${f}${l}-${d}`}}}const ul=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,fl=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,xr=/[\s'"`;>]+/;function dl(t){return{name:"attributify",extract:({content:e,cursor:n})=>{const r=e.matchAll(ul);let o,i=0;for(const v of r){const[,k,w]=v,$=v.index+k.length;if(n>$&&n<=$+w.length){i=$,o=w;break}}if(!o)return null;const s=o.matchAll(fl);let a=0,l,c;for(const v of s){const[k,w,$]=v,C=i+v.index;if(n>C&&n<=C+k.length){a=C,l=w,c=$?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;const f=!!t?.prefix&&l.startsWith(t.prefix);if(t?.prefixedOnly&&!f)return null;const d=f?l.slice(t.prefix.length):l;if(c===void 0)return{extracted:d,resolveReplacement(v){const k=f?t.prefix.length:0;return{start:a+k,end:a+l.length,replacement:v}}};const h=a+l.length+2;let p=xr.exec(c),m=0,g;for(;p;){const[v]=p;if(n>h+m&&n<=h+m+p.index){g=c.slice(m,m+p.index);break}m+=p.index+v.length,p=xr.exec(c.slice(m))}g===void 0&&(g=c.slice(m));const[,y="",x]=g.match(ri)||[];return{extracted:`${y}${d}-${x}`,transformSuggestions(v){return v.filter(k=>k.startsWith(`${y}${d}-`)).map(k=>y+k.slice(y.length+d.length+1))},resolveReplacement(v){return{start:m+h,end:m+h+g.length,replacement:y+v.slice(y.length+d.length+1)}}}}}}const pl=["v-bind:",":"],Sr=/[\s'"`;]+/g,en=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,hl=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,oi=["placeholder","fill","opacity","stroke-opacity"];function ml(t){const e=t?.ignoreAttributes??oi,n=t?.nonValuedAttribute??!0,r=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(en)).flatMap(i=>Array.from((i[1]||"").matchAll(hl))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(e.includes(i))return[];for(const l of pl)if(i.startsWith(l)){i=i.slice(l.length);break}if(!a){if(wn(i)&&n!==!1){const l=[`[${i}=""]`];return r&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?a.split(Sr).filter(wn):en.test(a)?(en.lastIndex=0,this.extract({code:a})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:a.split(Sr).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}const gl=(t={})=>{t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??oi;const e=[cl(t)],n=[ml(t)],r=[dl(t)];return{name:"@unocss/preset-attributify",enforce:"post",variants:e,extractors:n,options:t,autocomplete:{extractors:r},extractorDefault:t.strict?!1:void 0}},bl=Object.freeze({left:0,top:0,width:16,height:16}),Le=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ii=Object.freeze({...bl,...Le}),yl=Object.freeze({...ii,body:"",hidden:!1}),vl=Object.freeze({width:null,height:null}),si=Object.freeze({...vl,...Le});function kl(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(e.rotate||0))%4;return r&&(n.rotate=r),n}function Cr(t,e){const n=kl(t,e);for(const r in yl)r in Le?r in t&&!(r in n)&&(n[r]=Le[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function wl(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,l=a&&i(a);l&&(o[s]=[a].concat(l))}return o[s]}return(e||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function Er(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function s(a){i=Cr(r[a]||o[a],i)}return s(e),n.forEach(s),Cr(t,i)}function $l(t,e){if(t.icons[e])return Er(t,e,[]);const n=wl(t,[e])[e];return n?Er(t,e,n):null}const xl=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Sl=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Re(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const r=t.split(xl);if(r===null||!r.length)return t;const o=[];let i=r.shift(),s=Sl.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function Cl(t,e="defs"){let n="";const r=t.indexOf("<"+e);for(;r>=0;){const o=t.indexOf(">",r),i=t.indexOf("</"+e);if(o===-1||i===-1)break;const s=t.indexOf(">",i);if(s===-1)break;n+=t.slice(o+1,i).trim(),t=t.slice(0,r).trim()+t.slice(s+1)}return{defs:n,content:t}}function El(t,e){return t?"<defs>"+t+"</defs>"+e:e}function jl(t,e,n){const r=Cl(t);return El(r.defs,e+r.content+n)}const Bn=t=>t==="unset"||t==="undefined"||t==="none";function ai(t,e){const n={...ii,...t},r={...si,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(g=>{const y=[],x=g.hFlip,v=g.vFlip;let k=g.rotate;x?v?k+=2:(y.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),y.push("scale(-1 1)"),o.top=o.left=0):v&&(y.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),y.push("scale(1 -1)"),o.top=o.left=0);let w;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:w=o.height/2+o.top,y.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:y.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,y.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}k%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),y.length&&(i=jl(i,'<g transform="'+y.join(" ")+'">',"</g>"))});const s=r.width,a=r.height,l=o.width,c=o.height;let f,d;s===null?(d=a===null?"1em":a==="auto"?c:a,f=Re(d,l/c)):(f=s==="auto"?l:s,d=a===null?Re(f,c/l):a==="auto"?c:a);const h={},p=(g,y)=>{Bn(y)||(h[g]=y.toString())};p("width",f),p("height",d);const m=[o.left,o.top,l,c];return h.viewBox=m.join(" "),{attributes:h,viewBox:m,body:i}}const _l=/\sid="(\S+)"/g,jr=new Map;function zl(t){t=t.replace(/[0-9]+$/,"")||"a";const e=jr.get(t)||0;return jr.set(t,e+1),e?`${t}${e}`:t}function Al(t){const e=[];let n;for(;n=_l.exec(t);)e.push(n[1]);if(!e.length)return t;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(o=>{const i=zl(o),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),t=t.replace(new RegExp(r,"g"),""),t}function Ol(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function _r(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Ol(e)}function Ml(t){return t.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}function Pl(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in e)n+=" "+r+'="'+e[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}const Tl=/\swidth\s*=\s*["']([\w.]+)["']/,Ll=/\sheight\s*=\s*["']([\w.]+)["']/,nn=/<svg\s+/;function Rl(t,e,n){const r=t.slice(0,t.indexOf(">")),o=(i,s)=>{const a=s.exec(r),l=a!=null,c=e[i];return!c&&!Bn(c)&&(typeof n=="number"?n>0&&(e[i]=Re(a?.[1]??"1em",n)):a&&(e[i]=a[1])),l};return[o("width",Tl),o("height",Ll)]}async function li(t,e,n,r,o,i){const{scale:s,addXmlNs:a=!1}=r??{},{additionalProps:l={},iconCustomizer:c}=r?.customizations??{},f=await o?.()??{};await c?.(e,n,f),Object.keys(l).forEach(g=>{const y=l[g];y!=null&&(f[g]=y)}),i?.(f);const[d,h]=Rl(t,f,s);a&&(!t.includes("xmlns=")&&!f.xmlns&&(f.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!f["xmlns:xlink"]&&(f["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const p=Object.keys(f).map(g=>g==="width"&&d||g==="height"&&h?null:`${g}="${f[g]}"`).filter(g=>g!=null);if(p.length&&(t=t.replace(nn,`<svg ${p.join(" ")} `)),r){const{defaultStyle:g,defaultClass:y}=r;y&&!t.includes("class=")&&(t=t.replace(nn,`<svg class="${y}" `)),g&&!t.includes("style=")&&(t=t.replace(nn,`<svg style="${g}" `))}const m=r?.usedProps;return m&&(Object.keys(l).forEach(g=>{const y=f[g];y!=null&&(m[g]=y)}),typeof f.width<"u"&&f.width!==null&&(m.width=f.width),typeof f.height<"u"&&f.height!==null&&(m.height=f.height)),t}async function zr(t,e,n,r){let o;try{if(typeof t=="function")o=await t(n);else{const i=t[n];o=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${n}" in "${e}":`,i);return}if(o){const i=o.indexOf("<svg");i>0&&(o=o.slice(i));const{transform:s}=r?.customizations??{};return o=typeof s=="function"?await s(o,e,n):o,o.startsWith("<svg")?await li(r?.customizations?.trimCustomSvg===!0?Ml(o):o,e,n,r,void 0):(console.warn(`Custom icon "${n}" in "${e}" is not a valid SVG`),o)}}async function ci(t,e,n,r){let o;const{customize:i}=r?.customizations??{};for(const s of n)if(o=$l(t,s),o){let a={...si};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${e}:${s}`)??a);const{attributes:{width:l,height:c,...f},body:d}=ai(o,a),h=r?.scale;return await li(`<svg >${d}</svg>`,e,s,r,()=>({...f}),p=>{const m=(g,y)=>{const x=p[g];let v;if(!Bn(x)){if(x)return;typeof h=="number"?h&&(v=Re(y??"1em",h)):v=y}v?p[g]=v:delete p[g]};m("width",l),m("height",c)})}}const ui=async(t,e,n)=>{const r=n?.customCollections?.[t];if(r)if(typeof r=="function"){let o;try{o=await r(e)}catch(i){console.warn(`Failed to load custom icon "${e}" in "${t}":`,i);return}if(o){if(typeof o=="string")return await zr(()=>o,t,e,n);if("icons"in o){const i=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await ci(o,t,i,n)}}}else return await zr(r,t,e,n)},Fl="modulepreload",Il=function(t,e){return new URL(t,e).href},Ar={},fi=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(f){return Promise.all(f.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(f=>{if(f=Il(f,r),f in Ar)return;Ar[f]=!0;const d=f.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(r)for(let m=s.length-1;m>=0;m--){const g=s[m];if(g.href===f&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${h}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Fl,d||(p.as="script"),p.crossOrigin="",p.href=f,l&&p.setAttribute("nonce",l),document.head.appendChild(p),d)return new Promise((m,g)=>{p.addEventListener("load",m),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${f}`)))})}))}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 e().catch(i)})};var Or={};function Nl(){const t=typeof process<"u"&&process.stdout,e=t&&!!Or.VSCODE_CWD,n=t&&!!Or.ESLINT;return{isNode:t,isVSCode:e,isESLint:n}}const di=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],Vl=3;function Wl(t){return(e={})=>{const{scale:n=1,mode:r="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:l={},customizations:c={},autoInstall:f=!1,collectionsNodeResolvePath:d,layer:h="icons",unit:p,processor:m}=e,g=Nl(),y={addXmlNs:!0,scale:n,customCollections:a,autoInstall:f,cwd:d,warn:void 0,customizations:{...c,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(v,k,w){await c.iconCustomizer?.(v,k,w),p&&(w.width||(w.width=`${n}${p}`),w.height||(w.height=`${n}${p}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:_r,parseIconWithLoader:Mr},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async v=>{let[k,w,$=r]=v;x=x||await t(e);const C={},S=await Mr(w,x,{...y,usedProps:C},s);if(!S){i&&!g.isESLint&&Jo(`failed to load icon "${k}"`);return}let j;const E=`url("data:image/svg+xml;utf8,${_r(S.svg)}")`;return $==="auto"&&($=S.svg.includes("currentColor")?"mask":"bg"),$==="mask"?j={"--un-icon":E,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...C}:j={background:`${E} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},m?.(j,{...S,icon:S.name,mode:$}),j},{layer:h,prefix:o}]]}}}function pi(t,e,n=new Map){function r(o){if(di.includes(o))return n.has(o)||n.set(o,t(`${e}@iconify-json/${o}/icons.json`)),n.get(o)}return async(o,i,s)=>{let a=await ui(o,i,s);if(a)return a;const l=await r(o);if(l){const c=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await ci(l,o,c,s)}return a}}async function Mr(t,e,n={},r=[]){let o="",i="",s;const a=new Set([...di,...r,...Object.keys(n.customCollections||{})]);if(t.includes(":")){if([o,i]=t.split(":"),!a.has(o))return;s=await e(o,i,n)}else{const l=t.split(/-/g);for(let c=Vl;c>=1&&(o=l.slice(0,c).join("-"),!(!!a.has(o)&&(i=l.slice(c).join("-"),s=await e(o,i,n),s)));c--);}if(s)return{collection:o,name:i,svg:s}}async function Dl(t){const{$fetch:e}=await fi(async()=>{const{$fetch:n}=await import("./shared-L1pI3rwf.js").then(r=>r.i);return{$fetch:n}},__vite__mapDeps([0,1,2,3]),import.meta.url);return pi(e,t)}const Ul=Wl(async t=>{const e=t?.customFetch,n=t?.cdn;return e&&n?pi(e,n):n?await Dl(n):ui}),$n="__TAGIFY__",Hl=/<([\w:-]+)/g;function Bl(t){const{prefix:e="",excludedTags:n=["b",/^h\d+$/,"table"]}=t;return{name:"tagify",extract({code:r}){return Array.from(r.matchAll(Hl)).filter(({1:o})=>{for(const i of n)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(e)}).map(([,o])=>`${$n}${o}`)}}}function ql(t){const{extraProperties:e}=t,n=`${$n}${t.prefix??""}`;return{name:"tagify",match(r){if(!r.startsWith(n))return;const o=r.slice(n.length),i={matcher:o,selector:s=>s.slice($n.length+1)};return e&&(typeof e=="function"?i.body=s=>[...s,...Object.entries(e(o)??{})]:i.body=s=>[...s,...Object.entries(e)]),i}}}const Kl=(t={})=>{const{defaultExtractor:e=!0}=t,n=[ql(t)],r=[Bl(t)];return{name:"@unocss/preset-tagify",variants:n,extractors:r,extractorDefault:e?void 0:!1}};var Gl=44,Yl=59,Pr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hi=new Uint8Array(64),Xl=new Uint8Array(128);for(let t=0;t<Pr.length;t++){const e=Pr.charCodeAt(t);hi[t]=e,Xl[e]=t}function Gt(t,e,n){let r=e-n;r=r<0?-r<<1|1:r<<1;do{let o=r&31;r>>>=5,r>0&&(o|=32),t.write(hi[o])}while(r>0);return e}var Tr=1024*16,Lr=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}},Zl=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Tr)}write(t){const{buffer:e}=this;e[this.pos++]=t,this.pos===Tr&&(this.out+=Lr.decode(e),this.pos=0)}flush(){const{buffer:t,out:e,pos:n}=this;return n>0?e+Lr.decode(t.subarray(0,n)):e}};function Ql(t){const e=new Zl;let n=0,r=0,o=0,i=0;for(let s=0;s<t.length;s++){const a=t[s];if(s>0&&e.write(Yl),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){const f=a[c];c>0&&e.write(Gl),l=Gt(e,f[0],l),f.length!==1&&(n=Gt(e,f[1],n),r=Gt(e,f[2],r),o=Gt(e,f[3],o),f.length!==4&&(i=Gt(e,f[4],i)))}}return e.flush()}class Fe{constructor(e){this.bits=e instanceof Fe?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class pe{constructor(e,n,r){this.start=e,this.end=n,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new pe(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let n=this;for(;n;)e(n),n=n.next}eachPrevious(e){let n=this;for(;n;)e(n),n=n.previous}edit(e,n,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const n=e-this.start,r=this.original.slice(0,n),o=this.original.slice(n);this.original=r;const i=new pe(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const n=this.content.replace(e,"");if(n.length)return n!==this.content&&(this.split(this.start+n.length).edit("",void 0,!0),this.edited&&this.edit(n,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const n=this.content.replace(e,"");if(n.length){if(n!==this.content){const r=this.split(this.end-n.length);this.edited&&r.edit(n,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function Jl(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const tc=Jl();class ec{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Ql(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+tc(this.toString())}}function nc(t){const e=t.split(`
|
|
4
|
+
`),n=e.filter(i=>/^\t+/.test(i)),r=e.filter(i=>/^ {2,}/.test(i));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return" ";const o=r.reduce((i,s)=>{const a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function rc(t,e){const n=t.split(/[/\\]/),r=e.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let o=n.length;for(;o--;)n[o]=".."}return n.concat(r).join("/")}const oc=Object.prototype.toString;function ic(t){return oc.call(t)==="[object Object]"}function Rr(t){const e=t.split(`
|
|
5
|
+
`),n=[];for(let r=0,o=0;r<e.length;r++)n.push(o),o+=e[r].length+1;return function(o){let i=0,s=n.length;for(;i<s;){const c=i+s>>1;o<n[c]?s=c:i=c+1}const a=i-1,l=o-n[a];return{line:a,column:l}}}const sc=/\w/;class ac{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,n,r,o){if(n.length){const i=n.length-1;let s=n.indexOf(`
|
|
6
|
+
`,0),a=-1;for(;s>=0&&i>s;){const c=[this.generatedCodeColumn,e,r.line,r.column];o>=0&&c.push(o),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=n.indexOf(`
|
|
7
|
+
`,s+1)}const l=[this.generatedCodeColumn,e,r.line,r.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(n.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(e,n,r,o,i){let s=n.start,a=!0,l=!1;for(;s<n.end;){if(r[s]===`
|
|
8
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,l=!1;else{if(this.hires||a||i.has(s)){const c=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?sc.test(r[s])?l||(this.rawSegments.push(c),l=!0):(this.rawSegments.push(c),l=!1):this.rawSegments.push(c)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(e){if(!e)return;const n=e.split(`
|
|
9
|
+
`);if(n.length>1){for(let r=0;r<n.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const Yt=`
|
|
10
|
+
`,Ot={insertLeft:!1,insertRight:!1,storeName:!1};class qn{constructor(e,n={}){const r=new pe(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Fe},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(n):this.intro+=n,this}appendRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(n):this.outro+=n,this}clone(){const e=new qn(this.original,{filename:this.filename,offset:this.offset});let n=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=n.clone();for(;n;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const o=n.next,i=o&&o.clone();i&&(r.next=i,i.previous=r,r=i),n=o}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Fe(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const n=0,r=Object.keys(this.storedNames),o=new ac(e.hires),i=Rr(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{const a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(n,s.content,a,s.storeName?r.indexOf(s.original):-1):o.addUneditedChunk(n,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),this.outro&&o.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?rc(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:r,mappings:o.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(e){return new ec(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=nc(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,n){const r=/^[^\r\n]/gm;if(ic(e)&&(n=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;n=n||{};const o={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(f=>{for(let d=f[0];d<f[1];d+=1)o[d]=!0});let i=n.indentStart!==!1;const s=c=>i?`${e}${c}`:(i=!0,c);this.intro=this.intro.replace(r,s);let a=0,l=this.firstChunk;for(;l;){const c=l.end;if(l.edited)o[a]||(l.content=l.content.replace(r,s),l.content.length&&(i=l.content[l.content.length-1]===`
|
|
11
|
+
`));else for(a=l.start;a<c;){if(!o[a]){const f=this.original[a];f===`
|
|
12
|
+
`?i=!0:f!=="\r"&&i&&(i=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(e))}a+=1}a=l.end,l=l.next}return this.outro=this.outro.replace(r,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,n){return Ot.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ot.insertLeft=!0),this.appendLeft(e,n)}insertRight(e,n){return Ot.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ot.insertRight=!0),this.prependRight(e,n)}move(e,n,r){if(e=e+this.offset,n=n+this.offset,r=r+this.offset,r>=e&&r<=n)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(n),this._split(r);const o=this.byStart[e],i=this.byEnd[n],s=o.previous,a=i.next,l=this.byStart[r];if(!l&&i===this.lastChunk)return this;const c=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=c,i.next=l||null,c||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(e,n,r,o){return o=o||{},this.update(e,n,r,{...o,overwrite:!o.contentOnly})}update(e,n,r,o){if(e=e+this.offset,n=n+this.offset,typeof r!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(n>this.original.length)throw new Error("end is out of bounds");if(e===n)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(n),o===!0&&(Ot.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ot.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const c=this.original.slice(e,n);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[e],l=this.byEnd[n];if(a){let c=a;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}a.edit(r,i,!s)}else{const c=new pe(e,n,"").edit(r,i);l.next=c,c.previous=l}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(n):this.intro=n+this.intro,this}prependRight(e,n){if(e=e+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(n):this.outro=n+this.outro,this}remove(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=n>r.end?this.byStart[r.end]:null;return this}reset(e,n){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}if(e===n)return this;if(e<0||n>this.original.length)throw new Error("Character is out of bounds");if(e>n)throw new Error("end must be greater than start");this._split(e),this._split(n);let r=this.byStart[e];for(;r;)r.reset(),r=n>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Yt);if(e!==-1)return this.outro.substr(e+1);let n=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(Yt),e!==-1)return r.outro.substr(e+1)+n;n=r.outro+n}if(r.content.length>0){if(e=r.content.lastIndexOf(Yt),e!==-1)return r.content.substr(e+1)+n;n=r.content+n}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Yt),e!==-1)return r.intro.substr(e+1)+n;n=r.intro+n}}while(r=r.previous);return e=this.intro.lastIndexOf(Yt),e!==-1?this.intro.substr(e+1)+n:this.intro+n}slice(e=0,n=this.original.length-this.offset){if(e=e+this.offset,n=n+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;n<0;)n+=this.original.length}let r="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<n&&o.end>=n)return r;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(r+=o.intro);const s=o.start<n&&o.end>=n;if(s&&o.edited&&o.end!==n)throw new Error(`Cannot use replaced character ${n} as slice end anchor.`);const a=i===o?e-o.start:0,l=s?o.content.length+n-o.end:o.content.length;if(r+=o.content.slice(a,l),o.outro&&(!s||o.end===n)&&(r+=o.outro),s)break;o=o.next}return r}snip(e,n){const r=this.clone();return r.remove(0,e),r.remove(n,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let n=this.lastSearchedChunk,r=n;const o=e>n.end;for(;n;){if(n.contains(e))return this._splitChunk(n,e);if(n=o?this.byStart[n.end]:this.byEnd[n.start],n===r)return;r=n}}_splitChunk(e,n){if(e.edited&&e.content.length){const o=Rr(this.original)(n);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${e.original}")`)}const r=e.split(n);return this.byEnd[n]=e,this.byStart[n]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,n=this.firstChunk;for(;n;)e+=n.toString(),n=n.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,n=0;do n+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return n}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const n=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(n,""),this.outro.length)return!0;let r=this.lastChunk;do{const o=r.end,i=r.trimEnd(n);if(r.end!==o&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const n=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(n,""),this.intro.length)return!0;let r=this.firstChunk;do{const o=r.end,i=r.trimStart(n);if(r.end!==o&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,n){function r(i,s){return typeof n=="string"?n.replace(/\$(\$|&|\d+)/g,(a,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):n(...i,i.index,s,i.groups)}function o(i,s){let a;const l=[];for(;a=i.exec(s);)l.push(a);return l}if(e.global)o(e,this.original).forEach(s=>{if(s.index!=null){const a=r(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{const i=this.original.match(e);if(i&&i.index!=null){const s=r(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(e,n){const{original:r}=this,o=r.indexOf(e);return o!==-1&&(typeof n=="function"&&(n=n(e,o,r)),e!==n&&this.overwrite(o,o+e.length,n)),this}replace(e,n){return typeof e=="string"?this._replaceString(e,n):this._replaceRegexp(e,n)}_replaceAllString(e,n){const{original:r}=this,o=e.length;for(let i=r.indexOf(e);i!==-1;i=r.indexOf(e,i+o)){const s=r.slice(i,i+o);let a=n;typeof n=="function"&&(a=n(s,i,r)),s!==a&&this.overwrite(i,i+o,a)}return this}replaceAll(e,n){if(typeof e=="string")return this._replaceAllString(e,n);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,n)}}function Kn(t,e,n){if(t==="")return;const r=t.length;let o=0,i=!1,s=0;for(let a=0;a<r;a++)switch(t[a]){case e:i||(i=!0,s=a),o++;break;case n:if(--o,o<0)return;if(o===0)return[t.slice(s,a+1),t.slice(a+1),t.slice(0,s)];break}}function Ue(t,e,n,r){if(t===""||(D(r)&&(r=[r]),r.length===0))return;const o=t.length;let i=0;for(let s=0;s<o;s++)switch(t[s]){case e:i++;break;case n:if(--i<0)return;break;default:for(const a of r){const l=a.length;if(l&&a===t.slice(s,s+l)&&i===0)return s===0||s===o-l?void 0:[t.slice(0,s),t.slice(s+l)]}}return[t,""]}function $t(t,e,n,r="(",o=")"){n=n??10;const i=[];let s=0;for(;t!=="";){if(++s>n)return;const a=Ue(t,r,o,e);if(!a)return;const[l,c]=a;i.push(l),t=c}if(i.length>0)return i}const Gn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],lc=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],cc=["hsl","hwb","lch","oklch"],uc=["shorter","longer","increasing","decreasing"],mi=["%alpha","<alpha-value>"],gi=new RegExp(mi.map(t=>de(t)).join("|"),"g");function Fr(t){return t?lc.some(e=>t.includes(e))||cc.some(e=>t.includes(e))||uc.some(e=>t.includes(e)):!1}function Lt(t=""){const e=fc(t);if(e==null||e===!1)return;const{type:n,components:r,alpha:o}=e,i=n.toLowerCase();if(r.length!==0&&!(Gn.includes(i)&&![1,3].includes(r.length)))return{type:i,components:r.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function he(t,e){if(typeof t=="string")return t.replace(gi,`${e??1}`);const{components:n}=t;let{alpha:r,type:o}=t;return r=e??r,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${n.join(", ")}${r==null?"":`, ${r}`})`:(r=r==null?"":` / ${r}`,Gn.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}function fc(t){if(!t)return;let e=dc(t);if(e!=null||(e=pc(t),e!=null)||(e=hc(t),e!=null)||(e=gc(t),e!=null)||(e=bc(t),e!=null))return e}function dc(t){const[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{const n=Array.from(e,r=>Number.parseInt(r,16)).map(r=>r<<4|r);return{type:"rgb",components:n.slice(0,3),alpha:e.length===3?void 0:Math.round(n[3]/255*100)/100}}case 6:case 8:{const n=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:e.length===6?void 0:Math.round((n&255)/255*100)/100}}}}function pc(t){const e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function hc(t){const e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;const[,n,r]=e,o=$t(r,",",5);if(o){if([3,4].includes(o.length))return{type:n,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const mc=new RegExp(`^(${Gn.join("|")})\\((.+)\\)$`,"i");function gc(t){const e=t.match(mc);if(!e)return;const[,n,r]=e,o=bi(`${n} ${r}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function bc(t){const e=t.match(/^color\((.+)\)$/);if(!e)return;const n=bi(e[1]);if(n){const{alpha:r,components:[o,...i]}=n;return{type:o,components:i,alpha:r}}}function bi(t){const e=$t(t," ");if(!e)return;let n=e.length;if(e[n-2]==="/")return{components:e.slice(0,n-2),alpha:e[n-1]};if(e[n-2]!=null&&(e[n-2].endsWith("/")||e[n-1].startsWith("/"))){const i=e.splice(n-2);e.push(i.join(" ")),--n}const r=$t(e[n-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:e};const o=r.pop();return e[n-1]=r.join("/"),{components:e,alpha:o}}const yc=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function vc(t){return t.includes("theme(")&&t.includes(")")}function kc(t,e,n=!0){const r=Array.from(t.toString().matchAll(yc));if(!r.length)return t;const o=new qn(t);for(const i of r){const s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");const a=wc(s,e,n);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function wc(t,e,n=!0){const[r,o]=t.split("/");let s=r.trim().split(".").reduce((a,l)=>a?.[l],e);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){const a=Lt(s);a&&(s=he(a,o))}return s}else if(n)throw new Error(`theme of "${t}" did not found`)}function Ir(t){const e=t.match(/^-?\d+\.?\d*/)?.[0]||"",n=t.slice(e.length);if(n==="px"){const r=Number.parseFloat(e)-.1;return Number.isNaN(r)?t:`${r}${n}`}return`calc(${t} - 0.1px)`}function $c(t){const e=function(r,o){const i=this.__options?.sequence||[];this.__options.sequence=[];for(const s of i){const a=t[s](r,o);if(a!=null)return a}};function n(r,o){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(o),r}for(const r of Object.keys(t))Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return e}const ie="__pseudo_placeholder__",Ut=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${ie})`],["nth-last",`:nth-last-child(${ie})`],["nth-last-of-type",`:nth-last-of-type(${ie})`],["nth-of-type",`:nth-of-type(${ie})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),yi=Object.keys(Ut),Ht=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),vi=Object.keys(Ht),xc=["not","is","where","has"],ki=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),xn=Object.entries(Ut).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Sn=Object.entries(Ht).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Ct=xc.join("|"),Nr=Object.keys(ki).sort((t,e)=>e.length-t.length).join("|"),Sc=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Vr=Object.entries(Ut).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Wr=Object.entries(Ht).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function Cc(t,e,n,r){const{h:o,variantGetBracket:i}=r,s=new RegExp(`^(${de(e)}:)(\\S+)${de(n)}\\1`);let a,l,c,f;const d=m=>{const g=i(`${t}-`,m,[]);if(!g)return;const[y,x]=g,v=o.bracket(y);if(v==null)return;const k=x.split(a,1)?.[0]??"",w=`${e}${nt(k)}`;return[k,m.slice(m.length-(x.length-k.length-1)),v.includes("&")?v.replace(/&/g,w):`${w}${v}`]},h=m=>{const g=m.match(l)||m.match(c);if(!g)return;const[y,x,v]=g,k=g[3]??"";let w=Ut[v]||Ht[v]||`:${v}`;return x&&(w=`:${x}(${w})`),[k,m.slice(y.length),`${e}${nt(k)}${w}`,v]},p=m=>{const g=m.match(f);if(!g)return;const[y,x,v]=g,k=g[3]??"",w=`:${x}(${v})`;return[k,m.slice(y.length),`${e}${nt(k)}${w}`]};return{name:`pseudo:${t}`,match(m,g){if(a&&l&&c||(a=new RegExp(`(?:${g.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${Ct})-)?(${xn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${Ct})-)?(${Sn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.filter($=>$!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${Ct})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${g.generator.config.separators.filter($=>$!=="-").join("|")})`)),!m.startsWith(t))return;const y=d(m)||h(m)||p(m);if(!y)return;const[x,v,k,w=""]=y;return{matcher:v,handle:($,C)=>C({...$,prefix:`${k}${n}${$.prefix}`.replace(s,"$1$2:"),sort:yi.indexOf(w)??vi.indexOf(w)})}},multiPass:!0}}function Ec(t){const{h:e}=t;let n,r,o;return[{name:"pseudo",match(i,s){n&&r||(n=new RegExp(`^(${Vr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),r=new RegExp(`^(${Wr})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));const a=i.match(n)||i.match(r);if(a){let l=Ut[a[1]]||Ht[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=e.bracket(a[2]):f=a[2],f&&(l=l.replace(ie,f))}let c=yi.indexOf(a[1]);return c===-1&&(c=vi.indexOf(a[1])),c===-1&&(c=void 0),{matcher:i.slice(a[0].length),handle:(f,d)=>{const h=l.includes("::")&&!Sc.includes(l)?{pseudo:`${f.pseudo}${l}`}:{selector:`${f.selector}${l}`};return d({...f,...h,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Vr}|${Wr}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${Nr})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return ki[a[1]].map(c=>({matcher:i.slice(a[0].length),handle:(f,d)=>d({...f,pseudo:`${f.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Nr}):`}]}function jc(t){const{getBracket:e,h:n}=t;let r,o,i;return{match(s,a){r&&o||(r=new RegExp(`^(${Ct})-(${xn})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Ct})-(${Sn})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`),i=new RegExp(`^(${Ct})-(\\[.+\\])(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));const l=s.match(r)||s.match(o)||s.match(i);if(l){const c=l[1],d=e(l[2],"[","]")?n.bracket(l[2]):Ut[l[2]]||Ht[l[2]]||`:${l[2]}`;return{matcher:s.slice(l[0].length),selector:h=>`${h}:${c}(${d})`}}},multiPass:!0,autocomplete:`(${Ct})-(${xn}|${Sn}):`}}function _c(t,e){const n=!!t?.attributifyPseudo;let r=t?.prefix??"";r=nt((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const o=(i,s)=>Cc(i,n?`[${r}${i}=""]`:`.${r}${i}`,s,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const zc=/(part-\[(.+)\]:)(.+)/;function Ac(){return{match(t){const e=t.match(zc);if(e){const n=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:r=>`${r}::${n}`}}},multiPass:!0}}function st(t,e,n={}){let r;return{name:t,match(o,i){r||(r=new RegExp(`^${de(t)}(?:${i.generator.config.separators.join("|")})`));const s=o.match(r);if(s){const a=o.slice(s[0].length),l=N(e).map(c=>({matcher:a,handle:(f,d)=>d({...f,...c(f)}),...n}));return l.length===1?l[0]:l}},autocomplete:`${t}:`}}function tt(t,e){let n;return{name:t,match(r,o){n||(n=new RegExp(`^${de(t)}(?:${o.generator.config.separators.join("|")})`));const i=r.match(n);if(i)return{matcher:r.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function be(t,e,n){if(e.startsWith(`${t}[`)){const[r,o]=Kn(e.slice(t.length),"[","]")??[];if(r&&o){for(const i of n)if(o.startsWith(i))return[r,o.slice(i.length),i];return[r,o,""]}}}function ot(t,e,n){for(const r of N(t))if(e.startsWith(r)){const o=be(r,e,n);if(o){const[i="",s=o[1]]=ot("/",o[1],n)??[];return[o[0],s,i]}for(const i of n.filter(s=>s!=="/")){const s=e.indexOf(i,r.length);if(s!==-1){const a=e.indexOf("/",r.length),l=a===-1||s<=a;return[e.slice(r.length,l?s:a),e.slice(s+i.length),l?"":e.slice(a+1,s)]}}}}const wi=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],Oc={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},z=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),Z=t=>`${z(t/16)}rem`,u=(t,e)=>`${z(t/e)}em`,Mc={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":u(32,16),"margin-bottom":u(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},Cn={sm:{"font-size":Z(14),"line-height":z(24/14),p:{"margin-top":u(16,14),"margin-bottom":u(16,14)},'[class~="lead"]':{"font-size":u(18,14),"line-height":z(28/18),"margin-top":u(16,18),"margin-bottom":u(16,18)},blockquote:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(20,18)},h1:{"font-size":u(30,14),"margin-top":"0","margin-bottom":u(24,30),"line-height":z(36/30)},h2:{"font-size":u(20,14),"margin-top":u(32,20),"margin-bottom":u(16,20),"line-height":z(28/20)},h3:{"font-size":u(18,14),"margin-top":u(28,18),"margin-bottom":u(8,18),"line-height":z(28/18)},h4:{"margin-top":u(20,14),"margin-bottom":u(8,14),"line-height":z(20/14)},img:{"margin-top":u(24,14),"margin-bottom":u(24,14)},picture:{"margin-top":u(24,14),"margin-bottom":u(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(24,14),"margin-bottom":u(24,14)},kbd:{"font-size":u(12,14),"border-radius":Z(5),"padding-top":u(2,14),"padding-inline-end":u(5,14),"padding-bottom":u(2,14),"padding-inline-start":u(5,14)},code:{"font-size":u(12,14)},"h2 code":{"font-size":u(18,20)},"h3 code":{"font-size":u(16,18)},pre:{"font-size":u(12,14),"line-height":z(20/12),"margin-top":u(20,12),"margin-bottom":u(20,12),"border-radius":Z(4),"padding-top":u(8,12),"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},ol:{"margin-top":u(16,14),"margin-bottom":u(16,14),"padding-inline-start":u(22,14)},ul:{"margin-top":u(16,14),"margin-bottom":u(16,14),"padding-inline-start":u(22,14)},li:{"margin-top":u(4,14),"margin-bottom":u(4,14)},"ol > li":{"padding-inline-start":u(6,14)},"ul > li":{"padding-inline-start":u(6,14)},"> ul > li p":{"margin-top":u(8,14),"margin-bottom":u(8,14)},"> ul > li > p:first-child":{"margin-top":u(16,14)},"> ul > li > p:last-child":{"margin-bottom":u(16,14)},"> ol > li > p:first-child":{"margin-top":u(16,14)},"> ol > li > p:last-child":{"margin-bottom":u(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(8,14),"margin-bottom":u(8,14)},dl:{"margin-top":u(16,14),"margin-bottom":u(16,14)},dt:{"margin-top":u(16,14)},dd:{"margin-top":u(4,14),"padding-inline-start":u(22,14)},hr:{"margin-top":u(40,14),"margin-bottom":u(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(12,14),"line-height":z(18/12)},"thead th":{"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(8,12),"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(24,14),"margin-bottom":u(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(12,14),"line-height":z(16/12),"margin-top":u(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":Z(16),"line-height":z(28/16),p:{"margin-top":u(20,16),"margin-bottom":u(20,16)},'[class~="lead"]':{"font-size":u(20,16),"line-height":z(32/20),"margin-top":u(24,20),"margin-bottom":u(24,20)},blockquote:{"margin-top":u(32,20),"margin-bottom":u(32,20),"padding-inline-start":u(20,20)},h1:{"font-size":u(36,16),"margin-top":"0","margin-bottom":u(32,36),"line-height":z(40/36)},h2:{"font-size":u(24,16),"margin-top":u(48,24),"margin-bottom":u(24,24),"line-height":z(32/24)},h3:{"font-size":u(20,16),"margin-top":u(32,20),"margin-bottom":u(12,20),"line-height":z(32/20)},h4:{"margin-top":u(24,16),"margin-bottom":u(8,16),"line-height":z(24/16)},img:{"margin-top":u(32,16),"margin-bottom":u(32,16)},picture:{"margin-top":u(32,16),"margin-bottom":u(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(32,16),"margin-bottom":u(32,16)},kbd:{"font-size":u(14,16),"border-radius":Z(5),"padding-top":u(3,16),"padding-inline-end":u(6,16),"padding-bottom":u(3,16),"padding-inline-start":u(6,16)},code:{"font-size":u(14,16)},"h2 code":{"font-size":u(21,24)},"h3 code":{"font-size":u(18,20)},pre:{"font-size":u(14,16),"line-height":z(24/14),"margin-top":u(24,14),"margin-bottom":u(24,14),"border-radius":Z(6),"padding-top":u(12,14),"padding-inline-end":u(16,14),"padding-bottom":u(12,14),"padding-inline-start":u(16,14)},ol:{"margin-top":u(20,16),"margin-bottom":u(20,16),"padding-inline-start":u(26,16)},ul:{"margin-top":u(20,16),"margin-bottom":u(20,16),"padding-inline-start":u(26,16)},li:{"margin-top":u(8,16),"margin-bottom":u(8,16)},"ol > li":{"padding-inline-start":u(6,16)},"ul > li":{"padding-inline-start":u(6,16)},"> ul > li p":{"margin-top":u(12,16),"margin-bottom":u(12,16)},"> ul > li > p:first-child":{"margin-top":u(20,16)},"> ul > li > p:last-child":{"margin-bottom":u(20,16)},"> ol > li > p:first-child":{"margin-top":u(20,16)},"> ol > li > p:last-child":{"margin-bottom":u(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(12,16),"margin-bottom":u(12,16)},dl:{"margin-top":u(20,16),"margin-bottom":u(20,16)},dt:{"margin-top":u(20,16)},dd:{"margin-top":u(8,16),"padding-inline-start":u(26,16)},hr:{"margin-top":u(48,16),"margin-bottom":u(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(14,16),"line-height":z(24/14)},"thead th":{"padding-inline-end":u(8,14),"padding-bottom":u(8,14),"padding-inline-start":u(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(8,14),"padding-inline-end":u(8,14),"padding-bottom":u(8,14),"padding-inline-start":u(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(32,16),"margin-bottom":u(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(14,16),"line-height":z(20/14),"margin-top":u(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":Z(18),"line-height":z(32/18),p:{"margin-top":u(24,18),"margin-bottom":u(24,18)},'[class~="lead"]':{"font-size":u(22,18),"line-height":z(32/22),"margin-top":u(24,22),"margin-bottom":u(24,22)},blockquote:{"margin-top":u(40,24),"margin-bottom":u(40,24),"padding-inline-start":u(24,24)},h1:{"font-size":u(48,18),"margin-top":"0","margin-bottom":u(40,48),"line-height":z(48/48)},h2:{"font-size":u(30,18),"margin-top":u(56,30),"margin-bottom":u(32,30),"line-height":z(40/30)},h3:{"font-size":u(24,18),"margin-top":u(40,24),"margin-bottom":u(16,24),"line-height":z(36/24)},h4:{"margin-top":u(32,18),"margin-bottom":u(8,18),"line-height":z(28/18)},img:{"margin-top":u(32,18),"margin-bottom":u(32,18)},picture:{"margin-top":u(32,18),"margin-bottom":u(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(32,18),"margin-bottom":u(32,18)},kbd:{"font-size":u(16,18),"border-radius":Z(5),"padding-top":u(4,18),"padding-inline-end":u(8,18),"padding-bottom":u(4,18),"padding-inline-start":u(8,18)},code:{"font-size":u(16,18)},"h2 code":{"font-size":u(26,30)},"h3 code":{"font-size":u(21,24)},pre:{"font-size":u(16,18),"line-height":z(28/16),"margin-top":u(32,16),"margin-bottom":u(32,16),"border-radius":Z(6),"padding-top":u(16,16),"padding-inline-end":u(24,16),"padding-bottom":u(16,16),"padding-inline-start":u(24,16)},ol:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(28,18)},ul:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(28,18)},li:{"margin-top":u(12,18),"margin-bottom":u(12,18)},"ol > li":{"padding-inline-start":u(8,18)},"ul > li":{"padding-inline-start":u(8,18)},"> ul > li p":{"margin-top":u(16,18),"margin-bottom":u(16,18)},"> ul > li > p:first-child":{"margin-top":u(24,18)},"> ul > li > p:last-child":{"margin-bottom":u(24,18)},"> ol > li > p:first-child":{"margin-top":u(24,18)},"> ol > li > p:last-child":{"margin-bottom":u(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,18),"margin-bottom":u(16,18)},dl:{"margin-top":u(24,18),"margin-bottom":u(24,18)},dt:{"margin-top":u(24,18)},dd:{"margin-top":u(12,18),"padding-inline-start":u(28,18)},hr:{"margin-top":u(56,18),"margin-bottom":u(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(16,18),"line-height":z(24/16)},"thead th":{"padding-inline-end":u(12,16),"padding-bottom":u(12,16),"padding-inline-start":u(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(12,16),"padding-inline-end":u(12,16),"padding-bottom":u(12,16),"padding-inline-start":u(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(32,18),"margin-bottom":u(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(16,18),"line-height":z(24/16),"margin-top":u(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":Z(20),"line-height":z(36/20),p:{"margin-top":u(24,20),"margin-bottom":u(24,20)},'[class~="lead"]':{"font-size":u(24,20),"line-height":z(36/24),"margin-top":u(24,24),"margin-bottom":u(24,24)},blockquote:{"margin-top":u(48,30),"margin-bottom":u(48,30),"padding-inline-start":u(32,30)},h1:{"font-size":u(56,20),"margin-top":"0","margin-bottom":u(48,56),"line-height":z(56/56)},h2:{"font-size":u(36,20),"margin-top":u(56,36),"margin-bottom":u(32,36),"line-height":z(40/36)},h3:{"font-size":u(30,20),"margin-top":u(48,30),"margin-bottom":u(20,30),"line-height":z(40/30)},h4:{"margin-top":u(36,20),"margin-bottom":u(12,20),"line-height":z(32/20)},img:{"margin-top":u(40,20),"margin-bottom":u(40,20)},picture:{"margin-top":u(40,20),"margin-bottom":u(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(40,20),"margin-bottom":u(40,20)},kbd:{"font-size":u(18,20),"border-radius":Z(5),"padding-top":u(5,20),"padding-inline-end":u(8,20),"padding-bottom":u(5,20),"padding-inline-start":u(8,20)},code:{"font-size":u(18,20)},"h2 code":{"font-size":u(31,36)},"h3 code":{"font-size":u(27,30)},pre:{"font-size":u(18,20),"line-height":z(32/18),"margin-top":u(36,18),"margin-bottom":u(36,18),"border-radius":Z(8),"padding-top":u(20,18),"padding-inline-end":u(24,18),"padding-bottom":u(20,18),"padding-inline-start":u(24,18)},ol:{"margin-top":u(24,20),"margin-bottom":u(24,20),"padding-inline-start":u(32,20)},ul:{"margin-top":u(24,20),"margin-bottom":u(24,20),"padding-inline-start":u(32,20)},li:{"margin-top":u(12,20),"margin-bottom":u(12,20)},"ol > li":{"padding-inline-start":u(8,20)},"ul > li":{"padding-inline-start":u(8,20)},"> ul > li p":{"margin-top":u(16,20),"margin-bottom":u(16,20)},"> ul > li > p:first-child":{"margin-top":u(24,20)},"> ul > li > p:last-child":{"margin-bottom":u(24,20)},"> ol > li > p:first-child":{"margin-top":u(24,20)},"> ol > li > p:last-child":{"margin-bottom":u(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,20),"margin-bottom":u(16,20)},dl:{"margin-top":u(24,20),"margin-bottom":u(24,20)},dt:{"margin-top":u(24,20)},dd:{"margin-top":u(12,20),"padding-inline-start":u(32,20)},hr:{"margin-top":u(56,20),"margin-bottom":u(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(18,20),"line-height":z(28/18)},"thead th":{"padding-inline-end":u(12,18),"padding-bottom":u(16,18),"padding-inline-start":u(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(16,18),"padding-inline-end":u(12,18),"padding-bottom":u(16,18),"padding-inline-start":u(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(40,20),"margin-bottom":u(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(18,20),"line-height":z(28/18),"margin-top":u(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":Z(24),"line-height":z(40/24),p:{"margin-top":u(32,24),"margin-bottom":u(32,24)},'[class~="lead"]':{"font-size":u(30,24),"line-height":z(44/30),"margin-top":u(32,30),"margin-bottom":u(32,30)},blockquote:{"margin-top":u(64,36),"margin-bottom":u(64,36),"padding-inline-start":u(40,36)},h1:{"font-size":u(64,24),"margin-top":"0","margin-bottom":u(56,64),"line-height":z(64/64)},h2:{"font-size":u(48,24),"margin-top":u(72,48),"margin-bottom":u(40,48),"line-height":z(52/48)},h3:{"font-size":u(36,24),"margin-top":u(56,36),"margin-bottom":u(24,36),"line-height":z(44/36)},h4:{"margin-top":u(40,24),"margin-bottom":u(16,24),"line-height":z(36/24)},img:{"margin-top":u(48,24),"margin-bottom":u(48,24)},picture:{"margin-top":u(48,24),"margin-bottom":u(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(48,24),"margin-bottom":u(48,24)},kbd:{"font-size":u(20,24),"border-radius":Z(6),"padding-top":u(6,24),"padding-inline-end":u(8,24),"padding-bottom":u(6,24),"padding-inline-start":u(8,24)},code:{"font-size":u(20,24)},"h2 code":{"font-size":u(42,48)},"h3 code":{"font-size":u(32,36)},pre:{"font-size":u(20,24),"line-height":z(36/20),"margin-top":u(40,20),"margin-bottom":u(40,20),"border-radius":Z(8),"padding-top":u(24,20),"padding-inline-end":u(32,20),"padding-bottom":u(24,20),"padding-inline-start":u(32,20)},ol:{"margin-top":u(32,24),"margin-bottom":u(32,24),"padding-inline-start":u(38,24)},ul:{"margin-top":u(32,24),"margin-bottom":u(32,24),"padding-inline-start":u(38,24)},li:{"margin-top":u(12,24),"margin-bottom":u(12,24)},"ol > li":{"padding-inline-start":u(10,24)},"ul > li":{"padding-inline-start":u(10,24)},"> ul > li p":{"margin-top":u(20,24),"margin-bottom":u(20,24)},"> ul > li > p:first-child":{"margin-top":u(32,24)},"> ul > li > p:last-child":{"margin-bottom":u(32,24)},"> ol > li > p:first-child":{"margin-top":u(32,24)},"> ol > li > p:last-child":{"margin-bottom":u(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,24),"margin-bottom":u(16,24)},dl:{"margin-top":u(32,24),"margin-bottom":u(32,24)},dt:{"margin-top":u(32,24)},dd:{"margin-top":u(12,24),"padding-inline-start":u(38,24)},hr:{"margin-top":u(72,24),"margin-bottom":u(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(20,24),"line-height":z(28/20)},"thead th":{"padding-inline-end":u(12,20),"padding-bottom":u(16,20),"padding-inline-start":u(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(16,20),"padding-inline-end":u(12,20),"padding-bottom":u(16,20),"padding-inline-start":u(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(48,24),"margin-bottom":u(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(20,24),"line-height":z(32/20),"margin-top":u(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Pc(t){const e=ae(Oc);if(t)for(const n in t){const[r,o]=N(t[n]),[i,s]=e[n];e[n]=[r??i,o??s]}return e}function Tc(t){return t?Ft(Cn,t):Cn}function Dr(t,e){const n=e.selectorName||"prose",r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,o=e.important===!0;let i="";for(const[s,a]of Object.entries(t))if(typeof a!="object")i+=`${s}:${a}${o?" !important":""};`;else{const[l,c]=s.split("::"),f=`:where(${l})${r}${c?`::${c}`:""}`;i+=`${f} {`;for(const[d,h]of Object.entries(a))i+=`${d}:${h}${o?" !important":""};`;i+="}"}return i}function Lc(t){for(const[e,...n]of wi)if(e===t)return n.length>0?n:[e]}const Rc=t=>{const e=t?.selectorName??"prose",n=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,r=t?.cssVarPrefix??"--un-prose",o=Pc(t?.colorScheme),i=Tc(t?.sizeScheme),s=(d,h)=>{const p=typeof t?.cssExtend=="function"?t?.cssExtend(h):t?.cssExtend;return Ft(d,p??{})},a=d=>(typeof t?.important=="string"&&(d=`${t.important} ${d}`),t?.compatibility?.noColonIs||(d=`:is(${d})`),d),l=new RegExp(`^${e}-default$`),c=new RegExp(`^${e}-([-\\w]+)$`),f=new RegExp(`^${e}-(${Object.keys(i).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[l,(d,{symbols:h,theme:p})=>{const m=s(Ft(Mc,Cn.base),p),g=Dr(m,t??{});return{[h.body]:g,[h.selector]:a}},{layer:"typography",autocomplete:"prose",internal:!0}],[c,([,d],{theme:h,symbols:p})=>{const m=h.colors?.[d];return!m||typeof m!="object"?void 0:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(d)?{[`${r}-links`]:m[600],[`${r}-invert-links`]:m[500],[p.selector]:a}:Object.entries(o).reduce((y,[x,v])=>{const[k,w]=v,$=M=>m[M]??h[M]??M,C=$(k),S=$(w),j=`${r}-${x}`,E=`${r}-invert-${x}`;y[j]=he(C,`var(${j}-opacity)`),y[E]=he(S,`var(${E}-opacity)`);for(const[M,F]of[[C,`${j}-opacity`],[S,`${E}-opacity`]])mi.some(q=>M.includes(q))&&(y[F]="1");return y},{[p.selector]:a})},{layer:"typography",autocomplete:`${e}-$colors`}],[f,([,d],{symbols:h,theme:p})=>{const m=Dr(s(i[d],p),t??{});return{[h.body]:m,[h.selector]:a}},{layer:"typography",autocomplete:`${e}-(${Object.keys(i).join("|")})`}],[`${e}-invert`,[{[`${r}-body`]:`var(${r}-invert-body)`,[`${r}-headings`]:`var(${r}-invert-headings)`,[`${r}-lead`]:`var(${r}-invert-lead)`,[`${r}-links`]:`var(${r}-invert-links)`,[`${r}-bold`]:`var(${r}-invert-bold)`,[`${r}-counters`]:`var(${r}-invert-counters)`,[`${r}-bullets`]:`var(${r}-invert-bullets)`,[`${r}-hr`]:`var(${r}-invert-hr)`,[`${r}-quotes`]:`var(${r}-invert-quotes)`,[`${r}-quote-borders`]:`var(${r}-invert-quote-borders)`,[`${r}-captions`]:`var(${r}-invert-captions)`,[`${r}-kbd`]:`var(${r}-invert-kbd)`,[`${r}-kbd-shadows`]:`var(${r}-invert-kbd-shadows)`,[`${r}-code`]:`var(${r}-invert-code)`,[`${r}-pre-code`]:`var(${r}-invert-pre-code)`,[`${r}-pre-bg`]:`var(${r}-invert-pre-bg)`,[`${r}-th-borders`]:`var(${r}-invert-th-borders)`,[`${r}-td-borders`]:`var(${r}-invert-td-borders)`,[X.selector]:a}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:d=>{if(d.startsWith(`${e}-`)){const h=new RegExp(`^${e}-(\\w+)[:-].+$`),p=d.match(h)?.[1];if(p){const m=Lc(p);if(m?.length)return{matcher:d.slice(e.length+p.length+2),selector:g=>{const y=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return n?m.map(v=>`${g} ${v}`).join(","):`${g} :is(:where(${m})${y})`}}}}},autocomplete:`${e}-(${wi.map(d=>`${d[0]}:`).join("|")})`}]}};var Fc={};function Ic(t,e){return{name:t,getImportUrl(n){const r=n.map(o=>{const{name:i,weights:s,italic:a}=o,l=i.toLowerCase().replace(/\s/g,"-");if(!s?.length)return`${l}${a?":i":""}`;let c=s.map(d=>d.toString());return!c.some(d=>d.endsWith("i"))&&a&&(c=c.map(d=>d+="i")),`${l}:${c.join(",")}`});return`${e}/css?family=${r.join("|")}&display=swap`}}}const Nc=Ic("bunny","https://fonts.bunny.net");function Vc(t){if(!t||t.length===0)return"";let e=[[]];for(const{values:n}of t){const r=[];for(const o of e)for(const i of n)r.push([...o,i]);e=r}return e.map(n=>n.join(",")).join(";")}function $i(t,e){return{name:t,getImportUrl(n){const r=n.map(o=>{let i=o.name.replace(/\s+/g,"+");const s=[];return o.italic&&s.push({axis:"ital",values:["0","1"]}),o.widths?.length&&s.push({axis:"wdth",values:o.widths.map(a=>a.toString())}),o.weights?.length&&s.push({axis:"wght",values:o.weights.map(a=>a.toString())}),s.length&&(i+=":",i+=s.map(a=>a.axis).join(","),i+="@",i+=Vc(s)),`family=${i}`}).join("&");return`${e}/css2?${r}&display=swap`}}}const Wc=$i("google","https://fonts.googleapis.com"),Dc=$i("coollabs","https://api.fonts.coollabs.io"),Uc=Hc("fontshare","https://api.fontshare.com");function Hc(t,e){return{name:t,getImportUrl(n){const r=n.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`${e}/v2/css?${r}&display=swap`}}}function Bc(t,e){const n=new Map,r=new Map;return{name:t,async getPreflight(o,i){return(await Promise.all(o.map(async a=>{const l=[],c=a.name.toLowerCase().replace(/\s+/g,"-");let f=n.get(c);if(!f){const x=`https://api.fontsource.org/v1/fonts/${c}`;try{f=await i(x),n.set(c,f)}catch{throw new Error(`Failed to fetch font: ${a.name}`)}}const{weights:d,unicodeRange:h,variants:p,family:m}=f,g=f.subsets.filter(x=>a.subsets?a.subsets.includes(x):!0),y=a.italic?"italic":"normal";if(f.variable&&!a.preferStatic){let x=r.get(c);const v=`https://api.fontsource.org/v1/variable/${c}`;try{x=await i(v),r.set(c,x)}catch{throw new Error(`Failed to fetch font variable: ${a.name}`)}const k=Ft(x.axes,a.variable??{});for(const w of g)if(h[w]){const $=`${e}/fontsource/fonts/${f.id}:vf@latest/${w}-wght-${y}.woff2`,C={family:m,display:"swap",style:y,weight:400,src:[{url:$,format:"woff2-variations"}],variable:{wght:k.wght??void 0,wdth:k.wdth??void 0,slnt:k.slnt??void 0},unicodeRange:h[w],comment:`${f.id}-${w}-wght-normal`};l.push(rn(C))}else Object.entries(h).filter(([$])=>!f.subsets.includes($)).forEach(([$,C])=>{const S=`${e}/fontsource/fonts/${f.id}:vf@latest/${$.slice(1,-1)}-wght-${y}.woff2`,j={family:m,display:"swap",style:y,weight:400,src:[{url:S,format:"woff2-variations"}],variable:{wght:k.wght??void 0,wdth:k.wdth??void 0,slnt:k.slnt??void 0},unicodeRange:C,comment:`${f.id}-${$}-wght-normal`};l.push(rn(j))})}else{const x=a.weights&&a.weights.length>0?a.weights:d;for(const v of g)for(const k of x){const w=p[k][y][v].url,$={family:m,display:"swap",style:y,weight:Number(k),src:[{url:w.woff2,format:"woff2"}],unicodeRange:h[v],comment:`${f.id}-${v}-${k}-${y}`};l.push(rn($))}}return l}))).flat().join(`
|
|
13
|
+
|
|
14
|
+
`)}}}const qc=Bc("fontsource","https://cdn.jsdelivr.net");function rn(t){const{family:e,style:n,display:r,weight:o,variable:i,src:s,unicodeRange:a,comment:l,spacer:c=`
|
|
15
|
+
`}=t,{wght:f,wdth:d,slnt:h}=i??{};let p="@font-face {";return p+=`${c}font-family: '${e}';`,p+=`${c}font-style: ${h?`oblique ${Number(h.max)*-1}deg ${Number(h.min)*-1}deg`:n};`,p+=`${c}font-display: ${r};`,p+=`${c}font-weight: ${f?Kc(f):o};`,d&&(p+=`${c}font-stretch: ${d.min}% ${d.max}%;`),p+=`${c}src: ${s.map(({url:m,format:g})=>`url(${m}) format('${g}')`).join(", ")};`,a&&(p+=`${c}unicode-range: ${a};`),l&&(p=`/* ${l} */
|
|
16
|
+
${p}`),`${p}
|
|
17
|
+
}`}function Kc(t){return t?t.min===t.max?`${t.min}`:`${t.min} ${t.max}`:"400"}const Gc={name:"none",getPreflight(){return""},getFontName(t){return t.name}},Yc={google:Wc,bunny:Nc,fontshare:Uc,fontsource:qc,coollabs:Dc,none:Gc};function Ur(t){return typeof t=="string"?Yc[t]:t}function Xc(t,e){if(typeof t!="string")return t.provider=Ur(t.provider||e),t.weights&&(t.weights=[...new Set(t.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),t.widths&&(t.widths=[...new Set(t.widths.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),t;const[n,r=""]=t.split(":");return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:Ur(e)}}function Zc(t){return(e={})=>{const{provider:n="google",extendTheme:r=!0,inlineImports:o=!0,customFetch:i=t,timeouts:s={}}=e,a="fonts",l=o?a:Yo,c=N(e.processors||[]),f=Object.fromEntries(Object.entries(e.fonts||{}).map(([v,k])=>[v,N(k).map(w=>Xc(w,n))])),d=Object.values(f).flatMap(v=>v),h={};async function p(v){if(s===!1)return i(v);const{warning:k=1e3,failure:w=2e3}=s;let $=!1;const C=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${v}`),$=!0},k);return await Promise.race([i(v),new Promise((S,j)=>{setTimeout(()=>j(new Error("[unocss] Fetch web fonts timeout.")),w)})]).then(S=>($&&console.info("[unocss] Web fonts fetched."),S)).finally(()=>clearTimeout(C))}async function m(v){return o?(h[v]||(h[v]=p(v).catch(k=>{if(console.error(`[unocss] Failed to fetch web fonts: ${v}`),console.error(k),typeof process<"u"&&Fc.CI)throw k})),await h[v]):`@import url('${v}');`}const g=Array.from(new Set(d.map(v=>v.provider)));async function y(v,k){const w=[];for(const C of k){const S=v.filter(j=>j.provider.name===C.name);if(C.getImportUrl){const j=C.getImportUrl(S);j&&w.push(await m(j))}try{w.push(await C.getPreflight?.(S,p))}catch(j){console.warn("[unocss] Web fonts preflight fetch failed.",j)}}return w.filter(Boolean).join(`
|
|
18
|
+
`)}const x={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let v;for(const k of c){const w=await k.getCSS?.(d,g,y);if(w){v=w;break}}v||(v=await y(d,g));for(const k of c)v=await k.transformCSS?.(v)||v;return v},layer:l}],layers:{[a]:-200}};return r&&(x.extendTheme=(v,k)=>{const w=k.presets.some(S=>S.name==="@unocss/preset-wind4"),$=e.themeKey??(w?"font":"fontFamily");v[$]||(v[$]={});const C=Object.fromEntries(Object.entries(f).map(([S,j])=>[S,j.map(E=>E.provider.getFontName?.(E)??`"${E.name}"`)]));for(const S of Object.keys(C))typeof v[$][S]=="string"?v[$][S]=C[S].map(j=>`${j},`).join("")+v[$][S]:v[$][S]=C[S].join(",")}),x}}const Qc="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",Jc=async t=>(await fi(async()=>{const{$fetch:e}=await import("./shared-L1pI3rwf.js").then(n=>n.i);return{$fetch:e}},__vite__mapDeps([0,1,2,3]),import.meta.url)).$fetch(t,{headers:{"User-Agent":Qc},retry:3}),tu=Zc(Jc);function eu(t){let e,n,r=2166136261;for(e=0,n=t.length;e<n;e++)r^=t.charCodeAt(e),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}function nu(t,e,n,r){for(const o of Array.from(t.matchAll(n)))if(o!=null){const i=o[0],s=`${r}${eu(i)}`;e.set(s,i),t=t.replace(i,s)}return t}function ru(t,e){for(const[n,r]of e.entries())t=t.replaceAll(n,r);return t}const ou=/\/\/#\s*sourceMappingURL=.*\n?/g;function iu(t){return t.includes("sourceMappingURL=")?t.replace(ou,""):t}const su=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,au=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,lu=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function cu(t){const e=[];for(const o of t.matchAll(au))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(const o of t.matchAll(su))e.push(o[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return t=nu(t,n,/-\[(?!&.+?;)[^\]]*\]/g,r),t&&t.split(Xo).forEach(o=>{o.includes(r)&&(o=ru(o,n)),wn(o)&&!lu.test(o)&&e.push(o)}),e}function uu(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return cu(iu(t))}}}const fu="@unocss/preset-wind4",En="$$mini-no-negative",He={transparent:"transparent",current:"currentColor",inherit:"inherit"},at={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Hr={...at,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},je={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},xi={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},du=["x","y","z"],Br=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],J=Object.assign({},...Br.map(t=>({[t.replace(/ /,"-")]:t})),...Br.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),B=["inherit","initial","revert","revert-layer","unset"],Yn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,pu=/^(var)\s*\((.+)\)(.*)/,Be=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,hu=/^(-?\d*(?:\.\d+)?)$/,Si=/^(px|[sld]?v[wh])$/i,Ci={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Xn=/^\[(color|image|length|size|position|quoted|string|number|family):/i,mu=/,(?![^()]*\))/g,gu=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function lt(t){return+t.toFixed(10)}function bu(t){const e=t.match(Be);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(r&&!Number.isNaN(o))return`${lt(o)}${r}`}function yu(t){if(t==="auto"||t==="a")return"auto"}function vu(t){if(!t)return;if(Si.test(t))return`${Ci[t]}${t}`;const e=t.match(Be);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0":r?`${lt(o)}${r}`:`${lt(o/4)}rem`}function ku(t){if(Si.test(t))return`${Ci[t]}${t}`;const e=t.match(Be);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(!Number.isNaN(o))return r?`${lt(o)}${r}`:`${lt(o)}px`}function Ei(t){if(!hu.test(t))return;const e=Number.parseFloat(t);if(!Number.isNaN(e))return lt(e)}function wu(t){t.endsWith("%")&&(t=t.slice(0,-1));const e=Ei(t);if(e!=null)return`${e}%`}function $u(t){if(!t)return;if(t==="full")return"100%";const[e,n]=t.split("/"),r=Number.parseFloat(e)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?"0":`${lt(r*100)}%`}function qr(t,e,n,r){const o=me(r,e,n),i=typeof o=="object"&&"DEFAULT"in o;i&&n.push("DEFAULT");const s=i?o.DEFAULT:o,a=i&&e!=="spacing"?`${t}.DEFAULT`:t;return s!=null&&O(e,n.length?n:void 0),{val:s,varKey:a}}function zt(t,e,n){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,o;const i=t.match(Xn);if(!i)r=t.slice(1,-1);else{if(!e)o=i[1];else if(i[1]!==e)return;r=t.slice(i[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const a=r.match(/^--([\w.-]+)\(([^)]+)\)$/);if(a!=null&&n){const[,l,c]=a,[f,...d]=l.split("."),{val:h,varKey:p}=qr(l,f,d,n);h!=null&&(r=`calc(var(--${nt(p.replaceAll(".","-"))}) * ${c})`)}else{const[l,c]=r.slice(2).split(","),f=c?`, ${c}`:"",d=nt(l);if(n){const[h,...p]=l.split("."),{val:m,varKey:g}=qr(l,h,p,n);r=m!=null?`var(--${nt(g.replaceAll(".","-"))}${f})`:`var(--${d}${f})`}else r=`var(--${d}${f})`}}let s=0;for(const a of r)if(a==="[")s+=1;else if(a==="]"&&(s-=1,s<0))return;if(s)return;switch(o){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{const l=[];return a.replace(/var\((--.+?)[,)]/g,(c,f)=>(l.push(f),c.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>l.shift())})}}function xu(t,e){return zt(t,void 0,e)}function Su(t,e){return zt(t,"color",e)}function Cu(t,e){return zt(t,"length",e)||zt(t,"size",e)}function Eu(t,e){return zt(t,"position",e)}function ju(t,e){return zt(t,"family",e)}function _u(t,e){return zt(t,"number",e)}function zu(t){if(t.startsWith("var("))return t;const e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){const[n,r]=e[1].split(",");return`var(--${nt(n)}${r?`, ${r}`:""})`}}function Au(t){const e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0&&!r?"0s":r?`${lt(o)}${r}`:`${lt(o)}ms`}function Ou(t){const e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0deg":r?`${lt(o)}${r}`:`${lt(o)}deg`}function Mu(t){if(B.includes(t))return t}function Pu(t){if(t.split(",").every(e=>gu.includes(e)))return t}function Tu(t){if(["top","left","right","bottom","center"].includes(t))return t}function Lu(t){if(t==="none")return"none"}const Ru={__proto__:null,auto:yu,bracket:xu,bracketOfColor:Su,bracketOfFamily:ju,bracketOfLength:Cu,bracketOfNumber:_u,bracketOfPosition:Eu,cssvar:zu,degree:Ou,fraction:$u,global:Mu,none:Lu,number:Ei,numberWithUnit:bu,percent:wu,position:Tu,properties:Pu,px:ku,rem:vu,time:Au},Fu=$c(Ru),b=Fu;function rt(t,e){const n=b.number(t)??e;if(n!=null){let r=Number(n);return String(n).endsWith("%")&&(r=Number(String(n).slice(0,-1))/100),r}}function V(t,e=at,n=(r,o)=>`${r}${o}`){return(([r,o,i="4"],{theme:s})=>{if(i!=null&&o!=null){let a;const l=i.startsWith("-");if(l&&(i=i.slice(1)),a=rt(i),a!=null&&!Number.isNaN(a))return O("spacing"),e[o].map(c=>[n(t,c),`calc(var(--spacing) * ${l?"-":""}${a})`]);if(s.spacing&&i in s.spacing)return O("spacing",i),e[o].map(c=>[n(t,c),l?`calc(var(--${nt(`spacing-${i}`)}) * -1)`:`var(--${nt(`spacing-${i}`)})`]);if(a=b.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i,s),a!=null)return e[o].map(c=>[n(t,c),a])}})}function qe(t,e){let n;const[r,...o]=$t(t,["/",":"],3)??[];if(r!=null){const g=(r.match(Xn)??[])[1];(g==null||g==="color")&&(n=[r,...o])}if(!n)return;let i,[s,a,l]=n;Fr(a)||Fr(b.bracket(a??""))?l=a:i=a;const c=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=c;if(!f)return;let d=Kr(e,c);if(!d&&c.length>=2){const g=c.at(-1),y=c.at(-2);if(/^\d+$/.test(g)){const x=c.slice(0,-2).concat([`${y}${g}`]);d=Kr(e,x)}}let{no:h,keys:p,color:m}=d??{};if(!m){const g=b.bracketOfColor(s,e),y=g||s;if(b.numberWithUnit(y))return;/^#[\da-f]+$/i.test(y)?m=y:/^hex-[\da-fA-F]+$/.test(y)?m=`#${y.slice(4)}`:s.startsWith("$")&&(m=b.cssvar(s)),m=m||g}return{opacity:i,modifier:l&&b.bracket.cssvar(l)||l,name:f,no:h,color:m??He[f],alpha:b.bracket.cssvar.percent(i??""),keys:p,get cssColor(){return Lt(this.color)}}}function Kr(t,e){let n,r,o;const i=me(t,"colors",e);if(typeof i=="object"?"DEFAULT"in i&&(n=i.DEFAULT,r="DEFAULT",o=[...e,r]):typeof i=="string"&&(n=i,o=e,r=e.at(-1)),!!n)return{color:n,no:r,keys:o}}function me(t,e,n){const r=t[e];function o(i,s){if(s.length===0)return i;if(!(!i||typeof i!="object"))for(let a=s.length;a>0;a--){const l=s.slice(0,a).join("-");if(l in i){const c=i[l];return a===s.length?c:o(c,s.slice(a))}}}return o(r,n)}function ji(t,e,n,r){if(!t)return;const{color:o,keys:i,alpha:s,modifier:a}=t,l=r?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",c={};if(o){const f=[c],d=o.includes("var("),h=Object.values(He).includes(o);if(h&&!s)return c[e]=o,f;const p=`--un-${n}-opacity`,m=i&&!d&&!h?H("colors",i):o;let g=a??(i?"in srgb":"in oklab");if(!g.startsWith("in ")&&!g.startsWith("var(")&&(g=`in ${g}`),c[e]=`color-mix(${g}, ${m} ${s??`var(${p})`}, transparent)${l}`,f.push(_(p,{syntax:"<percentage>",initialValue:"100%"})),!h){if(i&&!d&&(O("colors",i),!a)){const y=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(n)?`${s?`color-mix(in oklab, ${m} ${s}, transparent)`:`${m}`} var(${p})`:`${m} ${s??`var(${p})`}`;f.push({[X.parent]:"@supports (color: color-mix(in lab, red, red))",[X.noMerge]:!0,[e]:`color-mix(in oklab, ${y}, transparent)${l}`})}r?.theme&&Ge(o,r.theme)}return f}}function W(t,e){return([,n],r)=>{const o=qe(n??"",r.theme);if(o)return ji(o,t,e,r)}}function Zn(t,e,n){const r=[];t=N(t);for(let o=0;o<t.length;o++){const i=$t(t[o]," ",6);if(!i||i.length<3)return t;let s=!1;const a=i.indexOf("inset");a!==-1&&(i.splice(a,1),s=!0);let l="";const c=i.at(-1);if(Lt(i.at(0))){const f=Lt(i.shift());f&&(l=he(f))}else if(Lt(c)){const f=Lt(i.pop());f&&(l=he(f))}else if(c&&c.startsWith("var(")){const f=i.pop();f&&(l=f)}r.push(`${s?"inset ":""}${i.join(" ")} var(${e}, ${n?`oklab(from ${l} l a b / ${n})`:l})`)}return r}function xt(t,e){return t!=null&&!!qe(t,e)?.color}const Gr=/[a-z]+/gi,on=new WeakMap;function Ke({theme:t,generator:e},n="breakpoint"){const r=e?.userConfig?.theme?.[n]||t[n];if(!r)return;if(on.has(t))return on.get(t);const o=Object.entries(r).sort((i,s)=>Number.parseInt(i[1].replace(Gr,""))-Number.parseInt(s[1].replace(Gr,""))).map(([i,s])=>({point:i,size:s}));return on.set(t,o),o}function T(t,e){return B.map(n=>[`${t}-${n}`,{[e??t]:n}])}function _(t,e={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=e,i={[X.shortcutsNoMerge]:!0,[X.noMerge]:!0,[X.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return o!=null&&(i["initial-value"]=o),Nu(t,o?String(o):"initial"),i}function ye(t){return t!=null&&Yn.test(t)}function Iu(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Yn.test(t)||Be.test(t)}function jn(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function _i(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const It=new Set([]);function O(t,e="DEFAULT"){const n=`${t}:${N(e).join("-")}`;It.has(n)||It.add(n)}function H(t,e){return`var(--${t}-${N(e).join("-")})`}function Ge(t,e){if(t.startsWith("var(")){const n=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[r,...o]=n.split("-"),i=me(e,r,o);typeof i=="string"&&(O(r,o),Ge(i,e))}}}const Nt=new Map;function Nu(t,e){Nt.has(t)||Nt.set(t,e)}function Vu({important:t}){if(t==null||t===!1)return[];const e=n=>n.startsWith(":is(")&&n.endsWith(")")?n:n.includes("::")?n.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${n})`;return[n=>{n.layer!=="properties"&&(t===!0?n.entries.forEach(r=>{r[1]!=null&&!String(r[1]).endsWith("!important")&&(r[1]+=" !important")}):n.selector.startsWith(t)||(n.selector=`${t} ${e(n.selector)}`))}]}function Wu({variablePrefix:t}){return t!=="un-"?[n=>{n.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}]:[]}function Du(t){return[Vu,Wu].flatMap(e=>e(t))}const Uu={name:"aria",match(t,e){const n=ot("aria-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r)??e.theme.aria?.[r]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function Mt(t){return{name:`${t}-aria`,match(e,n){const r=ot(`${t}-aria-`,e,n.generator.config.separators);if(r){const[o,i,s]=r,a=b.bracket(o)??n.theme.aria?.[o]??"";if(a){const l={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}const Hu=[Mt("group"),Mt("peer"),Mt("parent"),Mt("previous"),Mt("has"),Mt("in")],Yr=/(max|min)-\[([^\]]*)\]:/;function Bu(){const t={};return{name:"breakpoints",match(e,n){if(Yr.test(e)){const o=e.match(Yr);return{matcher:e.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const r=(Ke(n)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(const[o,i,s]of r){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${n.generator.config.separators.join("|")}))`));const a=e.match(t[o]);if(!a)continue;const[,l]=a,c=e.slice(l.length);if(c==="container")continue;const f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~");let h=3e3;return f?(h-=s+1,{matcher:c,handle:(p,m)=>m({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (max-width: ${Ir(i)})`,parentOrder:h})}):(h+=s+1,d&&s<r.length-1?{matcher:c,handle:(p,m)=>m({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ir(r[s+1][1])})`,parentOrder:h})}:{matcher:c,handle:(p,m)=>m({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const qu=[st("*",t=>({selector:`${t.selector} > *`}),{order:-1}),st("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Xt(t,e){return{name:`combinator:${t}`,match(n,r){if(!n.startsWith(t))return;const o=r.generator.config.separators;let i=be(`${t}-`,n,o);if(!i){for(const a of o)if(n.startsWith(`${t}${a}`)){i=["",n.slice(t.length+a.length)];break}if(!i)return}let s=b.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}const Ku=[Xt("all"," "),Xt("children",">"),Xt("next","+"),Xt("sibling","+"),Xt("siblings","~")],Gu=[st("svg",t=>({selector:`${t.selector} svg`}))],Yu={name:"@",match(t,e){if(t.startsWith("@container"))return;const n=ot("@",t,e.generator.config.separators);if(n){const[r,o,i]=n,s=b.bracket(r);let a;if(s?a=b.numberWithUnit(s):a=e.theme.container?.[r]??"",a){let l=1e3+Object.keys(e.theme.container??{}).indexOf(r);return i&&(l+=1e3),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function Xu(t={}){if(t?.dark==="class"||typeof t.dark=="object"){const{dark:e=".dark",light:n=".light"}=typeof t.dark=="string"?{}:t.dark;return[st("dark",r=>({prefix:`${e} $$ ${r.prefix}`})),st("light",r=>({prefix:`${n} $$ ${r.prefix}`}))]}return[tt("dark","@media (prefers-color-scheme: dark)"),tt("light","@media (prefers-color-scheme: light)")]}const Zu=[st(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),st(".light",t=>({prefix:`.light $$ ${t.prefix}`})),tt("@dark","@media (prefers-color-scheme: dark)"),tt("@light","@media (prefers-color-scheme: light)"),tt("not-dark","@media not (prefers-color-scheme: dark)")],Qu={name:"data",match(t,e){const n=ot("data-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r)??e.theme.data?.[r]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Pt(t){return{name:`${t}-data`,match(e,n){const r=ot(`${t}-data-`,e,n.generator.config.separators);if(r){const[o,i,s]=r,a=b.bracket(o)??n.theme.data?.[o]??"";if(a){const l={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}const Ju=[Pt("group"),Pt("peer"),Pt("parent"),Pt("previous"),Pt("has"),Pt("in")],tf=[st("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),st("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function ef(){let t;return{name:"important",match(e,n){t||(t=new RegExp(`^(important(?:${n.generator.config.separators.join("|")})|!)`));let r;const o=e.match(t);if(o?r=e.slice(o[0].length):e.endsWith("!")&&(r=e.slice(0,-1)),r)return{matcher:r,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}const nf=st("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),rf=tt("noscript","@media (scripting: none)"),of={name:"scripting",match(t,e){const n=ot(["script-","scripting-"],t,e.generator.config.separators);if(n){const[r,o]=n;if(["none","initial-only","enabled"].includes(r))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${r})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},sf=tt("print","@media print"),af={name:"media",match(t,e){const n=ot("media-",t,e.generator.config.separators);if(n){const[r,o]=n;let i=b.bracket(r)??"";if(i===""&&(i=e.theme.media?.[r]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},lf=[tt("contrast-more","@media (prefers-contrast: more)"),tt("contrast-less","@media (prefers-contrast: less)")],cf=[tt("motion-reduce","@media (prefers-reduced-motion: reduce)"),tt("motion-safe","@media (prefers-reduced-motion: no-preference)")],uf=[tt("landscape","@media (orientation: landscape)"),tt("portrait","@media (orientation: portrait)")],ff=[tt("forced-colors","@media (forced-colors: active)")],df={name:"selector",match(t,e){const n=be("selector-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r);if(i)return{matcher:o,selector:()=>i}}}},pf={name:"layer",match(t,e){const n=ot("layer-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r)??r;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},hf={name:"uno-layer",match(t,e){const n=ot("uno-layer-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r)??r;if(i)return{matcher:o,layer:i}}}},mf={name:"scope",match(t,e){const n=be("scope-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},gf={name:"variables",match(t,e){if(!t.startsWith("["))return;const[n,r]=Kn(t,"[","]")??[];if(!(n&&r))return;let o;for(const a of e.generator.config.separators)if(r.startsWith(a)){o=r.slice(a.length);break}if(o==null)return;const i=b.bracket(n)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){const c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},bf={name:"theme-variables",match(t,e){if(vc(t))return{matcher:t,handle(n,r){return r({...n,entries:JSON.parse(kc(JSON.stringify(n.entries),e.theme))})}}}},yf=[st("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],vf={name:"implicit-group",match(t,e){const n=ot("in-",t,e.generator.config.separators);if(n){const[r,o]=n,i=b.bracket(r)??r;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},zi=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ai=/-?[0-9.]+(?:[a-z]+|%)?/,kf=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function wf(t){const e=t.match(Yn)||t.match(pu);if(e){const[n,r]=Ue(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(n)return`calc(${e[1]}${n} * -1)${r?` ${r}`:""}`}}const $f=/\b(hue-rotate)\s*(\(.*)/;function xf(t){const e=t.match($f);if(e){const[n,r]=Ue(e[2],"(",")"," ")??[];if(n){const o=zi.test(n.slice(1,-1))?n.replace(Ai,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${n} * -1))`;return`${e[1]}${o}${r?` ${r}`:""}`}}}const Sf={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(r=>r[0]===En))return;let n=!1;return e.forEach(r=>{if(N(r[2]).includes(En))return;const o=r[1]?.toString();if(!o||o==="0"||kf.some(a=>a.test(r[0])))return;const i=wf(o);if(i){r[1]=i,n=!0;return}const s=xf(o);if(s){r[1]=s,n=!0;return}zi.test(o)&&(r[1]=o.replace(Ai,a=>a.startsWith("-")?a.slice(1):`-${a}`),n=!0)}),n?e:[]}}}},Cf=(t,{theme:e})=>{const n=t.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,r="",o,i]=n;if(xt(i,e)||Ef(i))return{matcher:`${r}placeholder-$ ${o}${i}`}}};function Ef(t){const e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?b.bracket.percent(e[1])!=null:!1}function jf(){return Ec({h:b})}function _f(){return jc({getBracket:Kn,h:b})}function zf(t={}){return _c(t,{h:b,variantGetBracket:be})}const Af=Ac(),Of={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,n)=>n({...e,parent:"@starting-style"})}}},Mf={name:"supports",match(t,e){const n=ot("supports-",t,e.generator.config.separators);if(n){const[r,o]=n;let i=b.bracket(r)??"";if(i===""&&(i=e.theme.supports?.[r]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Pf(t){return[Uu,Qu,pf,df,hf,Sf,Of,ef(),Mf,rf,of,sf,af,...lf,...cf,...uf,...ff,Bu(),...Ku,...Gu,Cf,...jf(),_f(),...zf(t),Af,...Xu(t),...Zu,...tf,mf,...qu,nf,Yu,gf,...Ju,...Hu,bf,...yf,vf].flat()}const Oi={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(Oi).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});const Tf={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Lf={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Rf={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ff={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},If={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},Nf={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Vf={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Wf={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Df={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Uf={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Hf={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Bf={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},qf={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Kf={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Gf={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Yf={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Xf={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Zf={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Qf={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Mi={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Jf={...Mi},td={grid:"(display: grid)"},ed={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},nd={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},rd={font:Ff,colors:Oi,spacing:Hf,breakpoint:Mi,verticalBreakpoint:Jf,text:If,fontWeight:Nf,tracking:Vf,leading:Wf,textStrokeWidth:Df,radius:Bf,shadow:qf,insetShadow:Kf,dropShadow:Gf,textShadow:Yf,ease:ed,animation:Tf,blur:Rf,perspective:Xf,property:nd,default:Zf,container:Qf,aria:Lf,media:Uf,supports:td},od=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],id=/@media \(min-width: (.+)\)/,sd=[[/^__container$/,(t,e)=>{const{theme:n,variantHandlers:r}=e,o=n.containers?.padding;let i;D(o)?i=o:i=o?.DEFAULT;const s=n.containers?.maxWidth;let a;for(const c of r){const f=c.handle?.({},d=>d)?.parent;if(D(f)){const d=f.match(id)?.[1];if(d){const p=(Ke(e)??[]).find(m=>m.size===d)?.point;s?p&&(a=s?.[p]):a=d,p&&!D(o)&&(i=o?.[p]??i)}}}const l={"max-width":a};return r.length||(l.width="100%"),n.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],ad=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let n=(Ke(e)??[]).map(o=>o.point);if(t){if(!n.includes(t))return;n=n.slice(n.indexOf(t))}const r=n.map(o=>`${o}:__container`);return t||r.unshift("__container"),r}]],ld=[...ad],Xr={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(B.map(t=>[t,t]))},cd=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Xr[t]??b.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Xr).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Zr=["center","left","right","justify","start","end"],ud=[...Zr.map(t=>[`text-${t}`,{"text-align":t}]),...[...B,...Zr].map(t=>[`text-align-${t}`,{"text-align":t}])],fd=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{const n=e.animation?.keyframes?.[t];if(n)return[`@keyframes ${t}${n}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{const n=e.animation?.keyframes?.[t];if(n){const r=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${n}`,{animation:`${t} ${r} ${o} ${i}`,...s}]}return{animation:b.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":b.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??b.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??b.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??b.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?B:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?B:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":b.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?B:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...T("animate","animation")],Pi={"gradient-position":_("--un-gradient-position"),"gradient-from":_("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":_("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":_("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":_("--un-gradient-stops"),"gradient-via-stops":_("--un-gradient-via-stops"),"gradient-from-position":_("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":_("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":_("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Qr(t){let e="in oklab";if(t)if(t.startsWith("[")&&t.endsWith("]"))e=t.slice(1,-1);else switch(t){case"longer":case"shorter":case"increasing":case"decreasing":e=`in oklch ${t} hue`;break;default:e=`in ${t}`}return e}function dd(){return function*([,t,e],{theme:n}){const r={},o=qe(e,n);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(He).includes(i))r[`--un-gradient-${t}`]=i;else{r[`--un-${t}-opacity`]=a;const l=s?H("colors",s):i;r[`--un-gradient-${t}`]=`color-mix(in oklab, ${l} var(--un-${t}-opacity), transparent)`,yield _(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&O("colors",s),n&&Ge(i,n)}}else r[`--un-gradient-${t}`]=b.bracket.cssvar(e);if(r[`--un-gradient-${t}`]){switch(t){case"from":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...r,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...r};break}for(const i of Object.values(Pi))yield i}}}function pd(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${b.bracket.cssvar.percent(e)}`};for(const n of Object.values(Pi))yield n}}const hd=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,n])=>{let r;if(b.number(e)!=null?r=`from ${b.number(e)}deg ${Qr(n)};`:r=b.bracket(e),r)return{"--un-gradient-position":r,"background-image":`${t}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,dd()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:b.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,pd()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,n])=>({"--un-gradient-position":`${e in J?`to ${J[e]} `:" "}${Qr(n)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(J).filter(e=>e.length<=2&&Array.from(e).every(n=>"rltb".includes(n))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...T("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":b.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...B.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":J[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...T("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...T("bg-origin","background-origin")],Jr=[[/^outline-(?:width-|size-)?(.+)$/,Ti,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,md,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":b.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},_("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[X.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...B].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*Ti([,t]){const e=b.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield _("--un-outline-style",{initialValue:"solid"}))}function*md(t,e){if(ye(b.bracket(t[1])))yield*Ti(t);else{const n=W("outline-color","outline")(t,e);if(n)for(const r of n)yield r}}const gd=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function bd(t){const e=b.bracket(t);return e&&b.properties(e)?e:b.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}const to=[[/^will-change-(.+)/,([,t])=>({"will-change":bd(t)})]],sn={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},yd=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{const n=sn[t];if(n)return e?{"list-style-position":e,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(sn).join("|")})`,`list-(${Object.keys(sn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":b.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...T("list","list-style-type")],vd=[[/^accent-(.+)$/,W("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":b.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],kd=[[/^caret-(.+)$/,W("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":b.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],wd=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],$d=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...T("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...T("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...T("overscroll-y","overscroll-behavior-y")],xd=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...T("scroll","scroll-behavior")],Et=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...B],Sd=[[/^(?:border|b)()(?:-(.+))?$/,it,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,it],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,it],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,it],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,it],[/^(?:border|b)-()(?:width|size)-(.+)$/,it,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,it],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,it],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,it],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,it],[/^(?:border|b)-()(?:color-)?(.+)$/,Zt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Zt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Zt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Zt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Zt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Jt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Jt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Jt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Jt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Jt],[/^(?:border|b)-(?:style-)?()(.+)$/,te,{autocomplete:["(border|b)-style",`(border|b)-(${Et.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Et.join("|")})`,`(border|b)-<directions>-style-(${Et.join("|")})`,`(border|b)-style-(${Et.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,te],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,te],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,te],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,te]];function Cd(t){return([,e],n)=>{const r=qe(e,n.theme),o=ji(r,`border${t}-color`,`border${t}`,n);if(o){const i=o[0];return r?.color&&!Object.values(He).includes(r.color)&&!r.alpha&&t&&t!==""&&(i[`--un-border${t}-opacity`]="var(--un-border-opacity)"),o}}}function it([,t="",e="1"]){const n=b.bracket.cssvar.global.px(e);if(t in at&&n!=null)return at[t].map(r=>[`border${r}-width`,n])}function Zt([,t="",e],n){if(t in at){if(ye(b.bracket(e)))return it(["",t,e]);if(xt(e,n.theme)){const r=at[t].map(o=>Cd(o)(["",e],n)).filter(oe);return[r.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...r.flatMap(o=>o.slice(1))]}}}function Qt([,t="",e]){const n=b.bracket.percent.cssvar(e);if(t in at&&n!=null)return at[t].map(r=>[`--un-border${r}-opacity`,n])}function Jt([,t="",e="DEFAULT"],{theme:n}){if(t in je){if(e==="full")return je[t].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[e]??b.bracket.cssvar.global.fraction.rem(e);if(r!=null){const o=n.radius&&e in n.radius;return o&&O("radius",e),je[t].map(i=>[`border${i}-radius`,o?H("radius",e):r])}}}function te([,t="",e]){if(Et.includes(e)&&t in at)return[["--un-border-style",e],...at[t].map(n=>[`border${n}-style`,e])]}const Ed=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:b.bracket.percent.cssvar(t)})]],jd=/^\[url\(.+\)\]$/,_d=/^\[(?:length|size):.+\]$/,zd=/^\[position:.+\]$/,Ad=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Od=/^\[image:.+\]$/,Md=[[/^bg-(.+)$/,(...t)=>{const e=t[0][1];if(jd.test(e))return{"--un-url":b.bracket(e),"background-image":"var(--un-url)"};if(_d.test(e)&&b.bracketOfLength(e)!=null)return{"background-size":b.bracketOfLength(e).split(" ").map(n=>b.fraction.auto.px.cssvar(n)??n).join(" ")};if((Iu(e)||zd.test(e))&&b.bracketOfPosition(e)!=null)return{"background-position":b.bracketOfPosition(e).split(" ").map(n=>b.position.fraction.auto.px.cssvar(n)??n).join(" ")};if(Ad.test(e)||Od.test(e)){const n=b.bracket(e);if(n)return{"background-image":(n.startsWith("http")?`url(${n})`:b.cssvar(n))??n}}return W("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Pd=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],Td=[[/^columns-(.+)$/,([,t])=>({columns:b.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...T("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...T("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...T("break-after")],eo=["solid","double","dotted","dashed","wavy",...B],Ld=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Li,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Rd,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":b.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...eo.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...eo.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Li([,t]){return{"text-decoration-thickness":b.bracket.cssvar.global.px(t)}}function Rd(t,e){if(ye(b.bracket(t[1])))return Li(t);const n=W("text-decoration-color","line")(t,e);if(n){const r=n[0];return r["-webkit-text-decoration-color"]=r["text-decoration-color"],n}}const Fd=[[/^pa?()-?(.+)$/,V("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,V("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,V("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,V("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,V("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,V("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Id=[[/^ma?()-?(.+)$/,V("margin")],[/^m-?xy()()$/,V("margin")],[/^m-?([xy])(?:-?(.+))?$/,V("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,V("margin")],[/^m-(block|inline)(?:-(.+))?$/,V("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,V("margin")]],Nd=[[/^space-([xy])-(.+)$/,Vd,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:n}){yield{[n.variants]:[jt(t)],[`--un-space-${e}-reverse`]:"1"},yield _(`--un-space-${e}-reverse`,{initialValue:0})}]];function jt(t){return{matcher:t,handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*Vd([t,e,n],{theme:r,symbols:o}){let i;const s=rt(n);if(s!=null?(O("spacing"),i=`calc(var(--spacing) * ${s})`):i=r.spacing?.[n]??b.bracket.cssvar.auto.fraction.rem(n||"1"),i!=null){const a=at[e==="x"?"inline":"block"].map((l,c)=>{const f=`margin${l}`,d=` calc(${i} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[f,d]});a&&(yield{[o.variants]:[jt(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield _(`--un-space-${e}-reverse`,{initialValue:0}))}}const Wd=[[/^divide-(.+)$/,function*(t,e){const n=W("border-color","divide")(t,e);n&&(yield{[e.symbols.variants]:[jt(t[0])],...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:n}){yield{[n.variants]:[jt(t)],"--un-divide-opacity":b.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,no,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,no],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:n}){yield{[n.variants]:[jt(t)],[`--un-divide-${e}-reverse`]:"1"},yield _(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Et.join("|")})$`),function*([t,e],{symbols:n}){yield{[n.variants]:[jt(t)],"border-style":e}},{autocomplete:Et.map(t=>`divide-${t}`)}]];function*no([t,e,n],{symbols:r}){let o=b.bracket.cssvar.px(n||"1");if(o!=null){o==="0"&&(o="0px");const s={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{const l=a.endsWith("left")||a.endsWith("top")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,l],[`border${a}-style`,"var(--un-border-style)"]]});s&&(yield{[r.variants]:[jt(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(s.flat())},yield _(`--un-divide-${e}-reverse`,{initialValue:0}),yield _("--un-border-style",{initialValue:"solid"}))}}const Ri=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],_n=Ri.map(t=>_(`--un-${t}`)),Ie=Ri.map(t=>`var(--un-${t},)`).join(" "),Fi=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Dd=Fi.map(t=>_(`--un-${t}`)),Ne=Fi.map(t=>`var(--un-${t},)`).join(" ");function an(t){let e=b.bracket.cssvar(t||"");if(e!=null||(e=t?b.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function pt(t,e){return([,n,r],{theme:o})=>{const i=e(r,o)??(r==="none"?"0":"");if(i!=="")return n?[{[`--un-${n}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":Ne,"backdrop-filter":Ne},...Dd]:[{[`--un-${t}`]:`${t}(${i})`,filter:Ie},..._n]}}function Ud(t,e){const[,n]=t,{theme:r}=e;let o=[];n&&(o=$t(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let i=r.dropShadow?.[o[0]||"DEFAULT"];const s=n?b.bracket.cssvar(n):void 0;if((i!=null||s!=null)&&!xt(s,r)){const a=o[1]?b.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":a,"--un-drop-shadow":`drop-shadow(${Zn(i||s,"--un-drop-shadow-color",a).join(") drop-shadow(")})`,filter:Ie},..._n]}if(xt(n,r))return W("--un-drop-shadow-color","drop-shadow")(t,e);if(i=b.bracket.cssvar(n)??(n==="none"?"":void 0),i!=null)return[{"--un-drop-shadow":i&&`drop-shadow(${i})`,filter:Ie},..._n]}const Hd=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,pt("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||b.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,pt("brightness",t=>b.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,pt("contrast",t=>b.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,Ud,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,W("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":b.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,pt("grayscale",an),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,pt("hue-rotate",t=>b.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,pt("invert",an),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,pt("opacity",t=>b.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,pt("saturate",t=>b.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,pt("sepia",an),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ie}],["backdrop-filter",{"-webkit-backdrop-filter":Ne,"backdrop-filter":Ne}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...B.map(t=>[`filter-${t}`,{filter:t}]),...B.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Bd=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:b.bracket(t)!=null?b.bracket(t).split(" ").map(e=>b.cssvar.fraction(e)??e).join(" "):b.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":b.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":b.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{const e=rt(t);return e!=null?(O("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":b.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],ln={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},qd=[[/^(?:flex-|grid-)?gap-?()(.+)$/,V("gap",ln,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,V("gap",ln,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,V("gap",ln,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ut(t){return t.replace("col","column")}function Kd(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return b.bracket.cssvar.auto.rem(t)}const Gd=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${ut(t)}`]:b.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${ut(t)}`]:"1/-1"};const n=b.bracket.number.cssvar(e);if(n!=null)return{[`grid-${ut(t)}`]:`span ${n}/span ${n}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${ut(t)}-start`]:b.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${ut(t)}-end`]:b.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${ut(t)}`]:Kd(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":b.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":ut(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${ut(t)}`]:b.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${ut(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${ut(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":b.cssvar(e)??e.split("-").map(n=>`"${b.bracket(n)}"`).join(" ")}:{"grid-area":b.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],xe=["auto","hidden","clip","visible","scroll","overlay",...B],Yd=[[/^(?:overflow|of)-(.+)$/,([,t])=>xe.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${xe.join("|")})`,`(overflow|of)-(x|y)-(${xe.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>xe.includes(e)?{[`overflow-${t}`]:e}:void 0]],Xd=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],zn={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},ro="linear-gradient(#fff, #fff)",Zd={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function oo([,t=""]){if(t in je)return{"mask-position":t.split("").flatMap(r=>zn[r]).join(" ")};const e=b.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function cn([t,e="",n,r],o){const i={...Zd},s=[];if(s.push(...["linear","radial","conic"].map(a=>_(`--un-mask-${a}`,{initialValue:ro}))),e in zn){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const a of zn[e]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,rt(r)!=null?(O("spacing"),i[`--un-mask-${a}-${n}-position`]=`calc(var(--spacing) * ${b.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${a}-${n}-position`]=b.bracket.cssvar.fraction.rem(r),xt(r,o.theme)){const l=W(`--un-mask-${a}-${n}-color`,jn("colors"))([t,r],o);if(l){const[c,...f]=l;Object.assign(i,c),s.push(...f)}}s.push(...["from","to"].flatMap(l=>[_(`--un-mask-${a}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),_(`--un-mask-${a}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>_(`--un-mask-${a}`,{initialValue:ro})))}else{if(n==null)e==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=b.bracket.cssvar.rem(r)):(i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,i[`--un-mask-${e}-position`]=rt(r)?`calc(1deg * ${b.bracket.cssvar.number(r)})`:b.bracket.cssvar.fraction(r));else{const a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${e}-stops`]=`${a[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,xt(r,o.theme)){const l=W(`--un-mask-${e}-${n}-color`,jn("colors"))([t,r],o);if(l){const[c,...f]=l;Object.assign(i,c),s.push(...f)}}else rt(r)!=null?(O("spacing"),i[`--un-mask-${e}-${n}-position`]=`calc(var(--spacing) * ${b.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${e}-${n}-position`]=b.bracket.cssvar.fraction.rem(r)}e==="radial"&&s.push(_("--un-mask-radial-shape",{initialValue:"ellipse"}),_("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[_(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),_(`--un-mask-${e}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),_(`--un-mask-${e}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function Qd([,t=""]){const e=b.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}const Jd=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,t])=>({"mask-image":b.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,cn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,cn],[/^mask-([trblxy])-(from|to)-(.*)$/,cn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":J[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(J).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,oo],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":J[t]})],[/^mask-(?:position-|pos-)(.+)$/,oo],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Qd],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],tp=[[/^\$ placeholder-(.+)$/,W("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":b.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],ep=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>B.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Ii=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...T("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...T("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...T("justify-self")],np=[[/^order-(.+)$/,([,t])=>({order:b.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Ni=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...T("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...T("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...T("self","align-self")],Vi=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...T("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...T("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...T("place-self")],rp=[...Ii,...Ni,...Vi].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function An(t){const e=rt(t);return e!=null?(O("spacing"),`calc(var(--spacing) * ${e})`):b.bracket.cssvar.global.auto.fraction.rem(t)}function ee([,t,e]){const n=An(e);if(n!=null&&t in Hr)return Hr[t].map(r=>[r.slice(1),n])}const op=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:An(t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,ee],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ee],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ee],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ee],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ee],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:An(e)})]],ip=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...T("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...T("clear")],sp=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":b.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":b.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],ap=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...T("box","box-sizing")],lp=[[/^(where|\?)$/,(t,{constructCSS:e,generator:n})=>{if(n.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],On={shadow:_("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:_("--un-shadow-color"),insetShadow:_("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:_("--un-inset-shadow-color"),ringColor:_("--un-ring-color"),ringShadow:_("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:_("--un-inset-ring-color"),insetRingShadow:_("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:_("--un-ring-inset"),ringOffsetWidth:_("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:_("--un-ring-offset-color"),ringOffsetShadow:_("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},cp=[[/^shadow(?:-?(.+))?$/,io("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,io("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function io(t){return(e,n)=>{const[,r]=e,{theme:o}=n;let i=[];r&&(i=$t(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));const s=o[t]?.[i[0]||"DEFAULT"],a=r?b.bracket.cssvar(r):void 0,l=jn(t);if((s!=null||a!=null)&&!xt(a,o)){const c=i[1]?b.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${l}-opacity`]:c,[`--un-${l}`]:Zn(s||a,`--un-${l}-color`,c).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(On)]}return W(`--un-${l}-color`,l)(e,n)}}const up=[[/^ring(?:-(.+))?$/,([,t])=>{const e=b.bracket.px(t||"1");if(e!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${e} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(On)]}],[/^ring-(.+)$/,W("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{const e=b.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(On)]}],[/^inset-ring-(.+)$/,W("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{const e=b.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,W("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],fp=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},_("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},_("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,V("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,V("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,V("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,V("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,V("scroll-margin")],[/^scroll-pa?()-?(.+)$/,V("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,V("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,V("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,V("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,V("scroll-padding")]],dp={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Tt(t,e){return`${t||""}${dp[e]}`}function Se(t,e,n){let r;const o=["container","spacing"];for(const i of o)if(t[i]?.[n]){O(i,n),r=H(i,n);break}if(!r)switch(n){case"fit":case"max":case"min":r=`${n}-content`;break;case"screen":r=e==="w"?"100vw":"100vh";break}return!r&&b.number(n)!=null&&(O("spacing"),r=`calc(var(--spacing) * ${b.number(n)})`),r??b.bracket.cssvar.global.auto.none.fraction.rem(n)}const pp=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:n})=>({[Tt(t,"w")]:Se(n,"w",e),[Tt(t,"h")]:Se(n,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,n],{theme:r})=>({[Tt(t,e)]:Se(r,e,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,n],{theme:r})=>({[Tt(t,e)]:Se(r,e,n)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,n],r)=>({[Tt(t,e)]:so(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,n],r)=>({[Tt(t,e)]:so(r,n)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function so(t,e,n="breakpoint"){const r=Ke(t,n);if(r)return r.find(o=>o.point===e)?.size}function hp(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return b.bracket.cssvar.global.auto.number(t)}const mp=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":hp(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],gp=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],un=["size","layout","paint","style"],bp=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:b.bracket.cssvar.global(t)})]],yp=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...T("backface","backface-visibility")],vp=[[/^cursor-(.+)$/,([,t])=>({cursor:b.bracket.cssvar.global(t)})],...gp.map(t=>[`cursor-${t}`,{cursor:t}])],kp=[[/^contain-(.*)$/,([,t])=>b.bracket(t)!=null?{contain:b.bracket(t).split(" ").map(e=>b.cssvar.fraction(e)??e).join(" ")}:un.includes(t)?[{"--un-contain-size":t,contain:un.map(e=>`var(--un-contain-${e})`).join(" ")},...un.map(e=>_(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],wp=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...T("pointer-events")],$p=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...T("resize")],xp=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...T("select","user-select")],Sp=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...B].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Cp=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":b.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...T("content-visibility")],Ep=[[/^content-(.+)$/,([,t])=>{if(b.bracket.cssvar(t)!=null)return[{"--un-content":b.bracket.cssvar(t),content:"var(--un-content)"},_("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],jp=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],_p=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],zp=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Ap=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...T("case","text-transform")],Op=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Mp=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Pp=[...["manual","auto","none",...B].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Tp=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...T("write","writing-mode")],Lp=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...T("write-orient","text-orientation")],Rp=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Fp=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ip=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(J[t])return{"object-position":J[t]};if(b.bracketOfPosition(t)!=null)return{"object-position":b.bracketOfPosition(t).split(" ").map(e=>b.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(J).join("|")})`}]],Np=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...T("bg-blend","background-blend")],Vp=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...T("mix-blend")],Wp=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Dp=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Up=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Hp=[[/^fill-(.+)$/,W("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Wi],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":b.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":b.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,Bp,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Wi([,t]){return{"stroke-width":b.bracket.cssvar.fraction.px.number(t)}}function Bp(t,e){return ye(b.bracket(t[1]))?Wi(t):W("stroke","stroke")(t,e)}const qp=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,t],{theme:e}){const n=ao(t,e);if(n!=null){yield{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const r of["x","y"])yield _(`--un-border-spacing-${r}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:n}){const r=ao(e,n);if(r!=null){yield{[`--un-border-spacing-${t}`]:r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield _(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function ao(t,e){let n=e.spacing?.[t];if(!n){const r=rt(t);r!=null?(O("spacing"),n=`calc(var(--spacing) * ${r})`):n=b.bracket.cssvar.global.auto.fraction.rem(t)}return n}const fn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",dn=["pan-x","pan-y","pinch-zoom"].map(t=>_(`--un-${t}`)),Kp=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":fn};for(const e of dn)yield e},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,t]){yield{"--un-pan-y":`pan-${t}`,"touch-action":fn};for(const e of dn)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":fn};for(const t of dn)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...T("touch","touch-action")],Ce=["translate","rotate","scale"],Qn=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Jn=Qn,Gp=["translateZ(0)",Qn].join(" "),Yp=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":J[t]??b.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(J).join("|")})`,`origin-(${Object.keys(J).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let n;if(e.perspective?.[t]?(O("perspective",t),n=H("perspective",t)):n=b.bracket.cssvar.px.numberWithUnit(t),n!=null)return{perspective:n}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{const e=b.bracket.cssvar(t)??(t.length>=3?J[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,lo],[/^(?:transform-)?translate-([xyz])-(.+)$/,lo],[/^(?:transform-)?rotate-()(.+)$/,uo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,uo],[/^(?:transform-)?skew-()(.+)$/,fo],[/^(?:transform-)?skew-([xy])-(.+)$/,fo,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,co],[/^(?:transform-)?scale-([xyz])-(.+)$/,co,{autocomplete:[`transform-(${Ce.join("|")})-<percent>`,`transform-(${Ce.join("|")})-(x|y|z)-<percent>`,`(${Ce.join("|")})-<percent>`,`(${Ce.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,t])=>({"transform-box":`${t}-box`})],["transform",{transform:Jn}],["transform-cpu",{transform:Qn}],["transform-gpu",{transform:Gp}],["transform-none",{transform:"none"}],...T("transform")];function lo([,t,e]){const n=rt(e)??b.bracket.cssvar.none.fraction.rem(e);if(n!=null)return n==="none"?{translate:"none"}:(O("spacing"),[[...tr(t,typeof n=="number"?`calc(var(--spacing) * ${n})`:n,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${t==="z"?" var(--un-translate-z)":""}`,En]],...["x","y","z"].map(r=>_(`--un-translate-${r}`,{initialValue:0}))])}function co([,t,e]){const n=b.bracket.cssvar.none.fraction.percent(e);if(n!=null)return n==="none"?{scale:"none"}:[[...tr(t,n,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(r=>_(`--un-scale-${r}`,{initialValue:1}))]}function uo([,t="",e]){const n=b.bracket.cssvar.none.degree(e);if(n!=null)return n==="none"?{rotate:"none"}:t?[[...tr(t,n.endsWith("deg")?`rotate${t.toUpperCase()}(${n})`:n,"rotate"),["transform",Jn]],...["x","y","z"].map(r=>_(`--un-rotate-${r}`,{initialValue:`rotate${r.toUpperCase()}(0)`})),...["x","y"].map(r=>_(`--un-skew-${r}`,{initialValue:`skew${r.toUpperCase()}(0)`}))]:{rotate:b.bracket.cssvar.degree(e)}}function fo([,t,e]){const n=b.bracket.cssvar.degree(e),r=xi[t];if(n!=null&&r)return[[...r.map(o=>[`--un-skew${o}`,n.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${n})`:n]),["transform",Jn]],...["x","y","z"].map(o=>_(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>_(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function tr(t,e,n){const r=e.split(mu);return t||!t&&r.length===1?xi[t].map(o=>[`--un-${n}${o}`,e]):r.map((o,i)=>[`--un-${n}-${du[i]}`,o])}function po(t,e){let n;if(b.cssvar(t)!=null)n=b.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));const r=t.split(",").map(o=>e.property?.[o]??b.properties(o));r.every(Boolean)&&(n=r.join(","))}return n}const Xp=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:n})=>{O("default",["transition","timingFunction"]),O("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${H("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${H("default",["transition","duration"])})`};if(!t&&!e)return{...r};if(t!=null){const o=po(t,n);if(o)return{"--un-duration":e&&b.time(e),...r,"transition-property":o}}else if(e!=null)return{"--un-duration":b.time(e),...r}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":b.bracket.cssvar.time(t),"transition-duration":b.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":b.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let n;return e.ease?.[t]?(O("ease",t),n=H("ease",t)):n=b.bracket.cssvar(t),[{"--un-ease":n,"transition-timing-function":n},_("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{const n=b.global(t)||po(t,e);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...B].join("|")})`]}],["transition-none",{transition:"none"}],...T("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Zp=[[/^text-(.+)$/,oh,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Di,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,ih,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,W("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>B.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${B.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let n;return e.fontWeight?.[t]?(O("fontWeight",t),n=H("fontWeight",t)):n=b.bracket.cssvar.global.number(t),{"--un-font-weight":n,"font-weight":n}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let n;if(e.leading?.[t]?(O("leading",t),n=H("leading",t)):rt(t)?(O("spacing"),n=`calc(var(--spacing) * ${rt(t)})`):n=b.bracket.cssvar.global.rem(t),n!=null)return[{"--un-leading":n,"line-height":n},_("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":b.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let n;return e.tracking?.[t]?(O("tracking",t),n=H("tracking",t)):n=b.bracket.cssvar.global.rem(t),{"--un-tracking":n,"letter-spacing":n}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{const n=e.tracking?.[t]?H("tracking",t):b.bracket.cssvar.global.rem(t);return{"--un-word-spacing":n,"word-spacing":n}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":b.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let n;if(e.font?.[t])return O("font",t),n=H("font",t),{"font-family":n};if(e.fontWeight?.[t])return O("fontWeight",t),n=H("fontWeight",t),{"--un-font-weight":n,"font-weight":n};if(n=b.number(t),n!=null)return{"--un-font-weight":n,"font-weight":n};if(n=b.bracketOfFamily(t),n!=null&&b.number(n)==null)return n=b.cssvar(n)??n,{"font-family":n};if(n=b.bracketOfNumber(t),n!=null)return n=b.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=b.bracket(t),n!=null&&b.number(n)!=null){const r=b.number(n);return{"--un-font-weight":r,"font-weight":r}}if(n=b.bracket.cssvar.global(t),n!=null)return{"font-family":n}},{autocomplete:["font-$font","font-$fontWeight"]}]],Qp=[[/^tab(?:-(.+))?$/,([,t])=>{const e=b.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Jp=[[/^indent-(.+)$/,([,t])=>{let e=rt(t);if(e!=null)return O("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=b.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],th=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&O("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?H("textStrokeWidth",t):b.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,W("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function eh(t,e){const[,n]=t,{theme:r}=e;let o=[];n&&(o=$t(n,"/",2)??[]);const i=r.textShadow?.[o[0]],s=n?b.bracket.cssvar(n):void 0;if((i!=null||s!=null)&&!xt(s,r)){const a=o[1]?b.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":a,"--un-text-shadow":Zn(i||s,"--un-text-shadow-color",a).join(","),"text-shadow":"var(--un-text-shadow)"}}return W("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":b.bracket.cssvar.global(n)}}const nh=[[/^text-shadow-(.+)$/,eh,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,W("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":b.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],vt=[_("--un-ordinal"),_("--un-slashed-zero"),_("--un-numeric-figure"),_("--un-numeric-spacing"),_("--un-numeric-fraction")],kt={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},rh=[["ordinal",[{"--un-ordinal":"ordinal",...kt},...vt]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...kt},...vt]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...kt},...vt]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...kt},...vt]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...kt},...vt]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...kt},...vt]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...kt},...vt]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...kt},...vt]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function oh([,t="base"],{theme:e}){const n=sh(t,"length");if(!n)return;const[r,o]=n,i=e.text?.[r];let s;if(o&&(e.leading?.[o]?(O("leading",o),s=H("leading",o)):s=b.bracket.cssvar.global.rem(o)),i)return O("text",[r,"fontSize"]),O("text",[r,"lineHeight"]),i.letterSpacing&&O("text",[r,"letterSpacing"]),{"font-size":H("text",[r,"fontSize"]),"line-height":s??`var(--un-leading, ${H("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?H("text",[r,"letterSpacing"]):void 0};const a=b.bracketOfLength.rem(r);return s&&a?{"font-size":a,"line-height":s}:{"font-size":b.bracketOfLength.rem(t)}}function Di([,t],{theme:e}){if(e.text?.[t]!=null)return O("text",[t,"fontSize"]),O("text",[t,"lineHeight"]),{"font-size":H("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${H("text",[t,"lineHeight"])})`};{const n=b.bracket.cssvar.global.rem(t);if(n)return{"font-size":n}}}function ih(t,e){return ye(b.bracket(t[1]))?Di(t,e):W("color","text")(t,e)}function sh(t,e){const[n,r]=Ue(t,"[","]",["/",":"])??[];if(n!=null){const o=(n.match(Xn)??[])[1];if(o==null||o===e)return[n,r]}}const ah={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},lh=[[/^(.+?)-(\$.+)$/,([,t,e])=>{const n=ah[t];if(n)return{[n]:b.cssvar(e)}}]],ch=[[/^\[(.*)\]$/,([t,e],{theme:n})=>{if(!e.includes(":"))return;const[r,...o]=e.split(":"),i=o.join(":");if(!fh(e)&&/^[\w-]+$/.test(r)&&uh(i)){const s=b.bracket(`[${i}]`,n);if(s)return{[r]:s}}}]];function uh(t){let e=0;function n(r){for(;e<t.length;)if(e+=1,t[e]===r)return!0;return!1}for(e=0;e<t.length;e++){const r=t[e];if("\"`'".includes(r)){if(!n(r))return!1}else if(r==="("){if(!n(")"))return!1}else if("[]{}:".includes(r))return!1}return!0}function fh(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}const dh=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],ph=[Zp,Qp,Jp,th,nh,Id,Fd,ud,cd,gd,Jr,to,yd,vd,kd,wd,$d,Jr,xd,to,Sd,Md,Ed,Pd,sd,od,Ld,Bd,qd,Gd,pp,mp,bp,yp,vp,kp,wp,$p,xp,Sp,Cp,Ep,jp,_p,zp,Ap,Op,Mp,up,cp,Yp,Xp,lh,ch,Ni,ap,rp,ip,op,Ii,np,Vi,ep,sp,Yd,Hp,fd,hd,Pp,Tp,Lp,Dp,Rp,Fp,Ip,Np,Vp,Wp,Jd,Td,Hd,Xd,tp,fp,qp,Kp,rh,dh,Nd,Wd,Up,lp].flat();function hh(t){if(t.preflights?.property===!1)return;const e=typeof t.preflights?.property=="object"?t.preflights.property:void 0,n=e?.parent!==void 0?e.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",r=e?.selector??"*, ::before, ::after, ::backdrop";return{getCSS:()=>{if(Nt.size===0)return;const o=Array.from(Nt.entries()).map(([i,s])=>`${i}:${s};`).join("");return n===!1?`${r}{${o}}`:`${n}{${r}{${o}}}`},layer:"properties"}}const mh=`
|
|
19
|
+
/*
|
|
20
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
21
|
+
2. Remove default margins and padding
|
|
22
|
+
3. Reset all borders.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
*,
|
|
26
|
+
::after,
|
|
27
|
+
::before,
|
|
28
|
+
::backdrop,
|
|
29
|
+
::file-selector-button {
|
|
30
|
+
box-sizing: border-box; /* 1 */
|
|
31
|
+
margin: 0; /* 2 */
|
|
32
|
+
padding: 0; /* 2 */
|
|
33
|
+
border: 0 solid; /* 3 */
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
38
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
39
|
+
3. Use a more readable tab size.
|
|
40
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
41
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
42
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
43
|
+
7. Disable tap highlights on iOS.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
html,
|
|
47
|
+
:host {
|
|
48
|
+
line-height: 1.5; /* 1 */
|
|
49
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
50
|
+
tab-size: 4; /* 3 */
|
|
51
|
+
font-family: var(
|
|
52
|
+
--default-font-family,
|
|
53
|
+
ui-sans-serif,
|
|
54
|
+
system-ui,
|
|
55
|
+
sans-serif,
|
|
56
|
+
'Apple Color Emoji',
|
|
57
|
+
'Segoe UI Emoji',
|
|
58
|
+
'Segoe UI Symbol',
|
|
59
|
+
'Noto Color Emoji'
|
|
60
|
+
); /* 4 */
|
|
61
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
62
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
63
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
1. Add the correct height in Firefox.
|
|
68
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
69
|
+
3. Reset the default border style to a 1px solid border.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
hr {
|
|
73
|
+
height: 0; /* 1 */
|
|
74
|
+
color: inherit; /* 2 */
|
|
75
|
+
border-top-width: 1px; /* 3 */
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/*
|
|
79
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
abbr:where([title]) {
|
|
83
|
+
-webkit-text-decoration: underline dotted;
|
|
84
|
+
text-decoration: underline dotted;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*
|
|
88
|
+
Remove the default font size and weight for headings.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
h1,
|
|
92
|
+
h2,
|
|
93
|
+
h3,
|
|
94
|
+
h4,
|
|
95
|
+
h5,
|
|
96
|
+
h6 {
|
|
97
|
+
font-size: inherit;
|
|
98
|
+
font-weight: inherit;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
a {
|
|
106
|
+
color: inherit;
|
|
107
|
+
-webkit-text-decoration: inherit;
|
|
108
|
+
text-decoration: inherit;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/*
|
|
112
|
+
Add the correct font weight in Edge and Safari.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
b,
|
|
116
|
+
strong {
|
|
117
|
+
font-weight: bolder;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/*
|
|
121
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
122
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
123
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
124
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
code,
|
|
128
|
+
kbd,
|
|
129
|
+
samp,
|
|
130
|
+
pre {
|
|
131
|
+
font-family: var(
|
|
132
|
+
--default-monoFont-family,
|
|
133
|
+
ui-monospace,
|
|
134
|
+
SFMono-Regular,
|
|
135
|
+
Menlo,
|
|
136
|
+
Monaco,
|
|
137
|
+
Consolas,
|
|
138
|
+
'Liberation Mono',
|
|
139
|
+
'Courier New',
|
|
140
|
+
monospace
|
|
141
|
+
); /* 1 */
|
|
142
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
143
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
144
|
+
font-size: 1em; /* 4 */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
Add the correct font size in all browsers.
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
small {
|
|
152
|
+
font-size: 80%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
sub,
|
|
160
|
+
sup {
|
|
161
|
+
font-size: 75%;
|
|
162
|
+
line-height: 0;
|
|
163
|
+
position: relative;
|
|
164
|
+
vertical-align: baseline;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
sub {
|
|
168
|
+
bottom: -0.25em;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
sup {
|
|
172
|
+
top: -0.5em;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/*
|
|
176
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
177
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
178
|
+
3. Remove gaps between table borders by default.
|
|
179
|
+
*/
|
|
180
|
+
|
|
181
|
+
table {
|
|
182
|
+
text-indent: 0; /* 1 */
|
|
183
|
+
border-color: inherit; /* 2 */
|
|
184
|
+
border-collapse: collapse; /* 3 */
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/*
|
|
188
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
:-moz-focusring {
|
|
192
|
+
outline: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/*
|
|
196
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
progress {
|
|
200
|
+
vertical-align: baseline;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/*
|
|
204
|
+
Add the correct display in Chrome and Safari.
|
|
205
|
+
*/
|
|
206
|
+
|
|
207
|
+
summary {
|
|
208
|
+
display: list-item;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/*
|
|
212
|
+
Make lists unstyled by default.
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
ol,
|
|
216
|
+
ul,
|
|
217
|
+
menu {
|
|
218
|
+
list-style: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/*
|
|
222
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
223
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
224
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
225
|
+
*/
|
|
226
|
+
|
|
227
|
+
img,
|
|
228
|
+
svg,
|
|
229
|
+
video,
|
|
230
|
+
canvas,
|
|
231
|
+
audio,
|
|
232
|
+
iframe,
|
|
233
|
+
embed,
|
|
234
|
+
object {
|
|
235
|
+
display: block; /* 1 */
|
|
236
|
+
vertical-align: middle; /* 2 */
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
img,
|
|
244
|
+
video {
|
|
245
|
+
max-width: 100%;
|
|
246
|
+
height: auto;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/*
|
|
250
|
+
1. Inherit font styles in all browsers.
|
|
251
|
+
2. Remove border radius in all browsers.
|
|
252
|
+
3. Remove background color in all browsers.
|
|
253
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
button,
|
|
257
|
+
input,
|
|
258
|
+
select,
|
|
259
|
+
optgroup,
|
|
260
|
+
textarea,
|
|
261
|
+
::file-selector-button {
|
|
262
|
+
font: inherit; /* 1 */
|
|
263
|
+
font-feature-settings: inherit; /* 1 */
|
|
264
|
+
font-variation-settings: inherit; /* 1 */
|
|
265
|
+
letter-spacing: inherit; /* 1 */
|
|
266
|
+
color: inherit; /* 1 */
|
|
267
|
+
border-radius: 0; /* 2 */
|
|
268
|
+
background-color: transparent; /* 3 */
|
|
269
|
+
opacity: 1; /* 4 */
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/*
|
|
273
|
+
Restore default font weight.
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
277
|
+
font-weight: bolder;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/*
|
|
281
|
+
Restore indentation.
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
285
|
+
padding-inline-start: 20px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/*
|
|
289
|
+
Restore space after button.
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
::file-selector-button {
|
|
293
|
+
margin-inline-end: 4px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/*
|
|
297
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
298
|
+
*/
|
|
299
|
+
|
|
300
|
+
::placeholder {
|
|
301
|
+
opacity: 1;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/*
|
|
305
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
306
|
+
crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
310
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
311
|
+
::placeholder {
|
|
312
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/*
|
|
317
|
+
Prevent resizing textareas horizontally by default.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
textarea {
|
|
321
|
+
resize: vertical;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/*
|
|
325
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
::-webkit-search-decoration {
|
|
329
|
+
-webkit-appearance: none;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/*
|
|
333
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
334
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
::-webkit-date-and-time-value {
|
|
338
|
+
min-height: 1lh; /* 1 */
|
|
339
|
+
text-align: inherit; /* 2 */
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/*
|
|
343
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
::-webkit-datetime-edit {
|
|
347
|
+
display: inline-flex;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
352
|
+
*/
|
|
353
|
+
|
|
354
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
355
|
+
padding: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
::-webkit-datetime-edit,
|
|
359
|
+
::-webkit-datetime-edit-year-field,
|
|
360
|
+
::-webkit-datetime-edit-month-field,
|
|
361
|
+
::-webkit-datetime-edit-day-field,
|
|
362
|
+
::-webkit-datetime-edit-hour-field,
|
|
363
|
+
::-webkit-datetime-edit-minute-field,
|
|
364
|
+
::-webkit-datetime-edit-second-field,
|
|
365
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
366
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
367
|
+
padding-block: 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/*
|
|
371
|
+
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
::-webkit-calendar-picker-indicator {
|
|
375
|
+
line-height: 1;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
:-moz-ui-invalid {
|
|
383
|
+
box-shadow: none;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/*
|
|
387
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
388
|
+
*/
|
|
389
|
+
|
|
390
|
+
button,
|
|
391
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
392
|
+
::file-selector-button {
|
|
393
|
+
appearance: button;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/*
|
|
397
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
398
|
+
*/
|
|
399
|
+
|
|
400
|
+
::-webkit-inner-spin-button,
|
|
401
|
+
::-webkit-outer-spin-button {
|
|
402
|
+
height: auto;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/*
|
|
406
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
407
|
+
*/
|
|
408
|
+
|
|
409
|
+
[hidden]:where(:not([hidden~='until-found'])) {
|
|
410
|
+
display: none !important;
|
|
411
|
+
}
|
|
412
|
+
`;function gh(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(O("font","sans"),O("font","mono"),O("default",["font","family"]),O("default",["monoFont","family"]),_i(mh,e.config.envMode==="dev")),layer:"base"}}const bh=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function yh(t,e){const n=new Map([["--spacing",t.spacing.DEFAULT]]),r=i=>i.replace(gi,"1");function o(i,s){for(const a in i)Array.isArray(i[a])?n.set(`--${s}-${a}`,r(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):n.set(`--${s}-${a}`,r(i[a]))}for(const i in t)e.includes(i)&&o(t[i],i);return n}function vh(t){const e=typeof t.preflights?.theme=="boolean"||typeof t.preflights?.theme=="string"?{mode:t.preflights.theme??"on-demand"}:{mode:t.preflights?.theme?.mode??"on-demand",...t.preflights?.theme};return{layer:"theme",getCSS(n){const{theme:r,generator:o}=n,i=ft(o.config.safelist.flatMap(f=>typeof f=="function"?f(n):f)),{mode:s,process:a}=e;if(s===!1)return;if(i.length>0)for(const f of i){const[d,...h]=f.trim().split(":");if(d in r&&h.length<=1){const p=h.length===0?["DEFAULT"]:h[0].split("-"),m=me(r,d,p);typeof m=="string"&&(O(d,p),Ge(m,r))}}let l;const c=f=>{if(a)for(const p of f)for(const m of N(a))m(p,n);const d=f.map(([p,m])=>p&&m?`${nt(p)}: ${m};`:void 0).filter(Boolean);if(d.length===0)return;const h=d.join(`
|
|
413
|
+
`);return _i(`
|
|
414
|
+
:root, :host {
|
|
415
|
+
${h}
|
|
416
|
+
}`,o.config.envMode==="dev")};if(s==="on-demand"){if(It.size===0)return;l=Array.from(It).map(f=>{const[d,h]=f.split(":"),p=me(r,d,h.split("-"));if(typeof p=="string")return[`--${d}${`${d==="spacing"&&h==="DEFAULT"?"":`-${h}`}`}`,p]}).filter(Boolean)}else{const f=Object.keys(r).filter(d=>!bh.includes(d));l=Array.from(yh(r,f))}return c(l)}}}const kh=t=>[gh(t),vh(t),hh(t)].filter(Boolean),wh={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},$h=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:fu,rules:ph,shortcuts:ld,theme:rd,layers:{properties:-200,theme:-150,base:-100},preflights:kh(t),variants:Pf(t),prefix:t.prefix,postprocess:Du(t),extractorDefault:t.arbitraryVariants===!1?void 0:uu(),autocomplete:{shorthands:wh},options:t,configResolved(){It.clear(),Nt.clear()},meta:{themeDeps:It,propertyDeps:Nt}}),xh=({attributifyOptions:t,iconsOptions:e={cdn:"https://cdn.jsdelivr.net/npm/"},tagifyOptions:n,typographyOptions:r,webFontsOptions:o,wind4Options:i={preflights:{reset:!0}}}={})=>[gl(t),Ul(e),Kl(n),Rc(r),tu(o),$h(i)];function er(t,e){return gs()?(bs(t,e),!0):!1}const Ui=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Hi=t=>t!=null,Sh=Object.prototype.toString,Ch=t=>Sh.call(t)==="[object Object]",dt=()=>{},ho=Eh();function Eh(){var t,e,n;return Ui&&!!(!((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0)&&t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function jh(...t){if(t.length!==1)return Q(...t);const e=t[0];return typeof e=="function"?ys(vs(()=>({get:e,set:dt}))):wt(e)}function Bi(t,e){function n(...r){return new Promise((o,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return n}function _h(t,e={}){let n,r,o=dt;const i=l=>{clearTimeout(l),o(),o=dt};let s;return l=>{const c=U(t),f=U(e.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((d,h)=>{o=e.rejectOnCancel?h:d,s=l,f&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(s())},f)),n=setTimeout(()=>{r&&i(r),r=void 0,d(l())},c)})}}function zh(...t){let e=0,n,r=!0,o=dt,i,s,a,l,c;!se(t[0])&&typeof t[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=t[0]:[s,a=!0,l=!0,c=!1]=t;const f=()=>{n&&(clearTimeout(n),n=void 0,o(),o=dt)};return h=>{const p=U(s),m=Date.now()-e,g=()=>i=h();return f(),p<=0?(e=Date.now(),g()):(m>p?(e=Date.now(),(l||!r)&&g()):a&&(i=new Promise((y,x)=>{o=c?x:y,n=setTimeout(()=>{e=Date.now(),r=!0,y(g()),f()},Math.max(0,p-m))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function le(t){return Array.isArray(t)?t:[t]}function Ah(t){return Fn()}function Oh(t){return se(t)?ce(new Proxy({},{get(e,n,r){return _t(Reflect.get(t.value,n,r))},set(e,n,r){return se(t.value[n])&&!se(r)?t.value[n].value=r:t.value[n]=r,!0},deleteProperty(e,n){return Reflect.deleteProperty(t.value,n)},has(e,n){return Reflect.has(t.value,n)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):ce(t)}function Mh(t,e=200,n={}){return Bi(_h(e,n),t)}function Ph(t,e=200,n=!1,r=!0,o=!1){return Bi(zh(e,n,r,o),t)}function Th(t,e=!0,n){Ah()?In(t,n):e?t():To(t)}function Lh(t,e,n){return bt(t,e,{...n,immediate:!0})}function Rh(t,e,n){return bt(t,e,{...n,once:!0})}const ve=Ui?window:void 0;function Rt(t){var e;const n=U(t);return(e=n?.$el)!==null&&e!==void 0?e:n}function Mn(...t){const e=(r,o,i,s)=>(r.addEventListener(o,i,s),()=>r.removeEventListener(o,i,s)),n=G(()=>{const r=le(U(t[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Lh(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>Rt(i)))!==null&&r!==void 0?r:[ve].filter(i=>i!=null),le(U(n.value?t[1]:t[0])),le(_t(n.value?t[2]:t[1])),U(n.value?t[3]:t[2])]},([r,o,i,s],a,l)=>{if(!r?.length||!o?.length||!i?.length)return;const c=Ch(s)?{...s}:s,f=r.flatMap(d=>o.flatMap(h=>i.map(p=>e(d,h,p,c))));l(()=>{f.forEach(d=>d())})},{flush:"post"})}function Fh(){const t=mt(!1),e=Fn();return e&&In(()=>{t.value=!0},e),t}function qi(t){const e=Fh();return G(()=>(e.value,!!t()))}function Ih(t,e,n={}){const{window:r=ve,...o}=n;let i;const s=qi(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=bt(G(()=>{const d=le(U(t)).map(Rt).filter(Hi);return new Set(d)}),d=>{a(),s.value&&d.size&&(i=new MutationObserver(e),d.forEach(h=>i.observe(h,o)))},{immediate:!0,flush:"post"}),c=()=>i?.takeRecords(),f=()=>{l(),a()};return er(f),{isSupported:s,stop:f,takeRecords:c}}function Nh(t,e,n={}){const{root:r,rootMargin:o="0px",threshold:i=0,window:s=ve,immediate:a=!0}=n,l=qi(()=>s&&"IntersectionObserver"in s),c=G(()=>le(U(t)).map(Rt).filter(Hi));let f=dt;const d=mt(a),h=l.value?bt(()=>[c.value,Rt(r),d.value],([m,g])=>{if(f(),!d.value||!m.length)return;const y=new IntersectionObserver(e,{root:Rt(g),rootMargin:o,threshold:i});m.forEach(x=>x&&y.observe(x)),f=()=>{y.disconnect(),f=dt}},{immediate:a,flush:"post"}):dt,p=()=>{f(),h(),d.value=!1};return er(p),{isSupported:l,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:p}}function mo(t,e={}){const{window:n=ve,scrollTarget:r,threshold:o=0,rootMargin:i,once:s=!1,initialValue:a=!1}=e,l=mt(a),{stop:c}=Nh(t,f=>{let d=l.value,h=0;for(const p of f)p.time>=h&&(h=p.time,d=p.isIntersecting);l.value=d,s&&Rh(l,()=>{c()})},{root:r,window:n,threshold:o,rootMargin:U(i)});return l}function pn(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}const go=1;function Vh(t,e={}){const{throttle:n=0,idle:r=200,onStop:o=dt,onScroll:i=dt,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:f=ve,onError:d=E=>{console.error(E)}}=e,h=typeof a=="boolean"?{mutation:a}:a,p=mt(0),m=mt(0),g=G({get(){return p.value},set(E){x(E,void 0)}}),y=G({get(){return m.value},set(E){x(void 0,E)}});function x(E,M){var F,q,A,L;if(!f)return;const P=U(t);if(!P)return;(F=P instanceof Document?f.document.body:P)===null||F===void 0||F.scrollTo({top:(q=U(M))!==null&&q!==void 0?q:y.value,left:(A=U(E))!==null&&A!==void 0?A:g.value,behavior:U(c)});const R=(P==null||(L=P.document)===null||L===void 0?void 0:L.documentElement)||P?.documentElement||P;g!=null&&(p.value=R.scrollLeft),y!=null&&(m.value=R.scrollTop)}const v=mt(!1),k=ce({left:!0,right:!1,top:!0,bottom:!1}),w=ce({left:!1,right:!1,top:!1,bottom:!1}),$=E=>{v.value&&(v.value=!1,w.left=!1,w.right=!1,w.top=!1,w.bottom=!1,o(E))},C=Mh($,n+r),S=E=>{var M;if(!f)return;const F=(E==null||(M=E.document)===null||M===void 0?void 0:M.documentElement)||E?.documentElement||Rt(E),{display:q,flexDirection:A,direction:L}=f.getComputedStyle(F),P=L==="rtl"?-1:1,R=F.scrollLeft;w.left=R<p.value,w.right=R>p.value;const Y=Math.abs(R*P)<=(s.left||0),I=Math.abs(R*P)+F.clientWidth>=F.scrollWidth-(s.right||0)-go;q==="flex"&&A==="row-reverse"?(k.left=I,k.right=Y):(k.left=Y,k.right=I),p.value=R;let K=F.scrollTop;E===f.document&&!K&&(K=f.document.body.scrollTop),w.top=K<m.value,w.bottom=K>m.value;const St=Math.abs(K)<=(s.top||0),At=Math.abs(K)+F.clientHeight>=F.scrollHeight-(s.bottom||0)-go;q==="flex"&&A==="column-reverse"?(k.top=At,k.bottom=St):(k.top=St,k.bottom=At),m.value=K},j=E=>{var M;f&&(S((M=E.target.documentElement)!==null&&M!==void 0?M:E.target),v.value=!0,C(E),i(E))};return Mn(t,"scroll",n?Ph(j,n,!0,!1):j,l),Th(()=>{try{const E=U(t);if(!E)return;S(E)}catch(E){d(E)}}),h?.mutation&&t!=null&&t!==f&&t!==document&&Ih(t,()=>{const E=U(t);E&&S(E)},{attributes:!0,childList:!0,subtree:!0}),Mn(t,"scrollend",$,l),{x:g,y,isScrolling:v,arrivedState:k,directions:w,measure(){const E=U(t);f&&E&&S(E)}}}function Ki(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:Ki(n)}}function Wh(t){const e=t||window.event,n=e.target;return Ki(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const hn=new WeakMap;function Dh(t,e=!1){const n=mt(e);let r=null,o="";bt(jh(t),a=>{const l=pn(U(a));if(l){const c=l;if(hn.get(c)||hn.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(o=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const i=()=>{const a=pn(U(t));!a||n.value||(ho&&(r=Mn(a,"touchmove",l=>{Wh(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=pn(U(t));!a||!n.value||(ho&&r?.(),a.style.overflow=o,hn.delete(a),n.value=!1)};return er(s),G({get(){return n.value},set(a){a?i():s()}})}const Gi=/^[a-z0-9]+(-[a-z0-9]+)*$/,ke=(t,e,n,r="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return e&&!_e(c)?null:c}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return e&&!_e(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return e&&!_e(a,n)?null:a}return null},_e=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1,Yi=Object.freeze({left:0,top:0,width:16,height:16}),Ve=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Bt=Object.freeze({...Yi,...Ve}),Pn=Object.freeze({...Bt,body:"",hidden:!1});function Uh(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(e.rotate||0))%4;return r&&(n.rotate=r),n}function bo(t,e){const n=Uh(t,e);for(const r in Pn)r in Ve?r in t&&!(r in n)&&(n[r]=Ve[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function Hh(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,l=a&&i(a);l&&(o[s]=[a].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function Bh(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function s(a){i=bo(r[a]||o[a],i)}return s(e),n.forEach(s),bo(t,i)}function Xi(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const r=Hh(t);for(const o in r){const i=r[o];i&&(e(o,Bh(t,o,i)),n.push(o))}return n}const qh={provider:"",aliases:{},not_found:{},...Yi};function mn(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function Zi(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!mn(t,qh))return null;const n=e.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!mn(i,Pn))return null}const r=e.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o||typeof s!="string"||!n[s]&&!r[s]||!mn(i,Pn))return null}return e}const yo=Object.create(null);function Kh(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function Vt(t,e){const n=yo[t]||(yo[t]=Object.create(null));return n[e]||(n[e]=Kh(t,e))}function Qi(t,e){return Zi(e)?Xi(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function Gh(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let ge=!1;function Ji(t){return typeof t=="boolean"&&(ge=t),ge}function Ye(t){const e=typeof t=="string"?ke(t,!0,ge):t;if(e){const n=Vt(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Yh(t,e){const n=ke(t,!0,ge);if(!n)return!1;const r=Vt(n.provider,n.prefix);return e?Gh(r,n.name,e):(r.missing.add(n.name),!0)}function Xh(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),ge&&!e&&!t.prefix){let o=!1;return Zi(t)&&(t.prefix="",Xi(t,(i,s)=>{Yh(i,s)&&(o=!0)})),o}const n=t.prefix;if(!_e({prefix:n,name:"a"}))return!1;const r=Vt(e,n);return!!Qi(r,t)}function Zh(t){return!!Ye(t)}function Qh(t){const e=Ye(t);return e&&{...Bt,...e}}const ts=Object.freeze({width:null,height:null}),es=Object.freeze({...ts,...Ve}),Jh=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tm=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function vo(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const r=t.split(Jh);if(r===null||!r.length)return t;const o=[];let i=r.shift(),s=tm.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function em(t,e="defs"){let n="";const r=t.indexOf("<"+e);for(;r>=0;){const o=t.indexOf(">",r),i=t.indexOf("</"+e);if(o===-1||i===-1)break;const s=t.indexOf(">",i);if(s===-1)break;n+=t.slice(o+1,i).trim(),t=t.slice(0,r).trim()+t.slice(s+1)}return{defs:n,content:t}}function nm(t,e){return t?"<defs>"+t+"</defs>"+e:e}function rm(t,e,n){const r=em(t);return nm(r.defs,e+r.content+n)}const om=t=>t==="unset"||t==="undefined"||t==="none";function im(t,e){const n={...Bt,...t},r={...es,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(g=>{const y=[],x=g.hFlip,v=g.vFlip;let k=g.rotate;x?v?k+=2:(y.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),y.push("scale(-1 1)"),o.top=o.left=0):v&&(y.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),y.push("scale(1 -1)"),o.top=o.left=0);let w;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:w=o.height/2+o.top,y.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:y.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,y.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}k%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),y.length&&(i=rm(i,'<g transform="'+y.join(" ")+'">',"</g>"))});const s=r.width,a=r.height,l=o.width,c=o.height;let f,d;s===null?(d=a===null?"1em":a==="auto"?c:a,f=vo(d,l/c)):(f=s==="auto"?l:s,d=a===null?vo(f,c/l):a==="auto"?c:a);const h={},p=(g,y)=>{om(y)||(h[g]=y.toString())};p("width",f),p("height",d);const m=[o.left,o.top,l,c];return h.viewBox=m.join(" "),{attributes:h,viewBox:m,body:i}}const sm=/\sid="(\S+)"/g,am="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let lm=0;function cm(t,e=am){const n=[];let r;for(;r=sm.exec(t);)n.push(r[1]);if(!n.length)return t;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof e=="function"?e(i):e+(lm++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),t=t.replace(new RegExp(o,"g"),""),t}const Tn=Object.create(null);function um(t,e){Tn[t]=e}function Ln(t){return Tn[t]||Tn[""]}function nr(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const rr=Object.create(null),ne=["https://api.simplesvg.com","https://api.unisvg.com"],ze=[];for(;ne.length>0;)ne.length===1||Math.random()>.5?ze.push(ne.shift()):ze.push(ne.pop());rr[""]=nr({resources:["https://api.iconify.design"].concat(ze)});function fm(t,e){const n=nr(e);return n===null?!1:(rr[t]=n,!0)}function or(t){return rr[t]}const dm=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let ko=dm();function pm(t,e){const n=or(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=e+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function hm(t){return t===404}const mm=(t,e,n)=>{const r=[],o=pm(t,e),i="icons";let s={type:i,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(s),s={type:i,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),r.push(s),r};function gm(t){if(typeof t=="string"){const e=or(t);if(e)return e.path}return"/"}const bm=(t,e,n)=>{if(!ko){n("abort",424);return}let r=gm(e.provider);switch(e.type){case"icons":{const i=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});r+=i+".json?"+l.toString();break}case"custom":{const i=e.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;ko(t+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(hm(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},ym={prepare:mm,send:bm};function vm(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.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 r={provider:"",prefix:"",name:""};return t.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,a=o.name,l=n[i]||(n[i]=Object.create(null)),c=l[s]||(l[s]=Vt(i,s));let f;a in c.icons?f=e.loaded:s===""||c.missing.has(a)?f=e.missing:f=e.pending;const d={provider:i,prefix:s,name:a};f.push(d)}),e}function ns(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==e))})}function km(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const r=t.provider,o=t.prefix;e.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(t.icons[c])s.loaded.push({provider:r,prefix:o,name:c});else if(t.missing.has(c))s.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||ns([t],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let wm=0;function $m(t,e,n){const r=wm++,o=ns.bind(null,n,r);if(!e.pending.length)return o;const i={id:r,icons:e,callback:t,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function xm(t,e=!0,n=!1){const r=[];return t.forEach(o=>{const i=typeof o=="string"?ke(o,e,n):o;i&&r.push(i)}),r}var Sm={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Cm(t,e,n,r){const o=t.resources.length,i=t.random?Math.floor(Math.random()*o):t.index;let s;if(t.random){let C=t.resources.slice(0);for(s=[];C.length>1;){const S=Math.floor(Math.random()*C.length);s.push(C[S]),C=C.slice(0,S).concat(C.slice(S+1))}s=s.concat(C)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const a=Date.now();let l="pending",c=0,f,d=null,h=[],p=[];typeof r=="function"&&p.push(r);function m(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),m(),h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function y(C,S){S&&(p=[]),typeof C=="function"&&p.push(C)}function x(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:h.length,subscribe:y,abort:g}}function v(){l="failed",p.forEach(C=>{C(void 0,f)})}function k(){h.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),h=[]}function w(C,S,j){const E=S!=="success";switch(h=h.filter(M=>M!==C),l){case"pending":break;case"failed":if(E||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){f=j,v();return}if(E){f=j,h.length||(s.length?$():v());return}if(m(),k(),!t.random){const M=t.resources.indexOf(C.resource);M!==-1&&M!==t.index&&(t.index=M)}l="completed",p.forEach(M=>{M(j)})}function $(){if(l!=="pending")return;m();const C=s.shift();if(C===void 0){if(h.length){d=setTimeout(()=>{m(),l==="pending"&&(k(),v())},t.timeout);return}v();return}const S={status:"pending",resource:C,callback:(j,E)=>{w(S,j,E)}};h.push(S),c++,d=setTimeout($,t.rotate),n(C,e,S.callback)}return setTimeout($),x}function rs(t){const e={...Sm,...t};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const f=Cm(e,a,l,(d,h)=>{r(),c&&c(d,h)});return n.push(f),f}function i(a){return n.find(l=>a(l))||null}return{query:o,find:i,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:r}}function wo(){}const gn=Object.create(null);function Em(t){if(!gn[t]){const e=or(t);if(!e)return;const n=rs(e),r={config:e,redundancy:n};gn[t]=r}return gn[t]}function jm(t,e,n){let r,o;if(typeof t=="string"){const i=Ln(t);if(!i)return n(void 0,424),wo;o=i.send;const s=Em(t);s&&(r=s.redundancy)}else{const i=nr(t);if(i){r=rs(i);const s=t.resources?t.resources[0]:"",a=Ln(s);a&&(o=a.send)}}return!r||!o?(n(void 0,424),wo):r.query(e,o,n)().abort}function $o(){}function _m(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,km(t)}))}function zm(t){const e=[],n=[];return t.forEach(r=>{(r.match(Gi)?e:n).push(r)}),{valid:e,invalid:n}}function re(t,e,n){function r(){const o=t.pendingIcons;e.forEach(i=>{o&&o.delete(i),t.icons[i]||t.missing.add(i)})}if(n&&typeof n=="object")try{if(!Qi(t,n).length){r();return}}catch(o){console.error(o)}r(),_m(t)}function xo(t,e){t instanceof Promise?t.then(n=>{e(n)}).catch(()=>{e(null)}):e(t)}function Am(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,o=t.iconsToLoad;if(delete t.iconsToLoad,!o||!o.length)return;const i=t.loadIcon;if(t.loadIcons&&(o.length>1||!i)){xo(t.loadIcons(o,r,n),f=>{re(t,o,f)});return}if(i){o.forEach(f=>{const d=i(f,r,n);xo(d,h=>{const p=h?{prefix:r,icons:{[f]:h}}:null;re(t,[f],p)})});return}const{valid:s,invalid:a}=zm(o);if(a.length&&re(t,a,null),!s.length)return;const l=r.match(Gi)?Ln(n):null;if(!l){re(t,s,null);return}l.prepare(n,r,s).forEach(f=>{jm(n,f,d=>{re(t,f.icons,d)})})}))}const os=(t,e)=>{const n=xm(t,!0,Ji()),r=vm(n);if(!r.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(r.loaded,r.missing,r.pending,$o)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach(l=>{const{provider:c,prefix:f}=l;if(f===a&&c===s)return;s=c,a=f,i.push(Vt(c,f));const d=o[c]||(o[c]=Object.create(null));d[f]||(d[f]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:f,name:d}=l,h=Vt(c,f),p=h.pendingIcons||(h.pendingIcons=new Set);p.has(d)||(p.add(d),o[c][f].push(d))}),i.forEach(l=>{const c=o[l.provider][l.prefix];c.length&&Am(l,c)}),e?$m(e,r,i):$o},Om=t=>new Promise((e,n)=>{const r=typeof t=="string"?ke(t,!0):t;if(!r){n(t);return}os([r||t],o=>{if(o.length&&r){const i=Ye(r);if(i){e({...Bt,...i});return}}n(t)})});function Mm(t,e){const n={...t};for(const r in e){const o=e[r],i=typeof o;r in ts?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Pm=/[\s,]+/;function Tm(t,e){e.split(Pm).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Lm(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:r(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return e}function Rm(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in e)n+=" "+r+'="'+e[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Fm(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Im(t){return"data:image/svg+xml,"+Fm(t)}function Nm(t){return'url("'+Im(t)+'")'}const So={...es,inline:!1},Vm={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Wm={display:"inline-block"},Rn={backgroundColor:"currentColor"},is={backgroundColor:"transparent"},Co={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Eo={webkitMask:Rn,mask:Rn,background:is};for(const t in Eo){const e=Eo[t];for(const n in Co)e[t+n]=Co[n]}const Ae={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Ae[t+"-flip"]=e,Ae[t.slice(0,1)+"-flip"]=e,Ae[t+"Flip"]=e});function jo(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const _o=(t,e)=>{const n=Mm(So,e),r={...Vm},o=e.mode||"svg",i={},s=e.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let g in e){const y=e[g];if(y!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=y===!0||y==="true"||y===1;break;case"flip":typeof y=="string"&&Tm(n,y);break;case"color":i.color=y;break;case"rotate":typeof y=="string"?n[g]=Lm(y):typeof y=="number"&&(n[g]=y);break;case"ariaHidden":case"aria-hidden":y!==!0&&y!=="true"&&delete r["aria-hidden"];break;default:{const x=Ae[g];x?(y===!0||y==="true"||y===1)&&(n[x]=!0):So[g]===void 0&&(r[g]=y)}}}const l=im(t,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...a},Object.assign(r,c);let g=0,y=e.id;return typeof y=="string"&&(y=y.replace(/-/g,"_")),r.innerHTML=cm(l.body,y?()=>y+"ID"+g++:"iconifyVue"),ir("svg",r)}const{body:f,width:d,height:h}=t,p=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),m=Rm(f,{...c,width:d+"",height:h+""});return r.style={...i,"--svg":Nm(m),width:jo(c.width),height:jo(c.height),...Wm,...p?Rn:is,...a},ir("span",r)};Ji(!0);um("",ym);if(typeof document<"u"&&typeof window<"u"){const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Xh(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const r="IconifyProviders["+n+"] is invalid.";try{const o=e[n];if(typeof o!="object"||!o||o.resources===void 0)continue;fm(n,o)||console.error(r)}catch{console.error(r)}}}}const Dm={...Bt,body:""};Wt((t,{emit:e})=>{const n=wt(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=wt(!!t.ssr),i=wt(""),s=mt(null);function a(){const c=t.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return i.value="",{data:c};let f;if(typeof c!="string"||(f=ke(c,!1,!0))===null)return null;let d=Ye(f);if(!d){const m=n.value;return(!m||m.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:os([f],l)}),null}r(),i.value!==c&&(i.value=c,To(()=>{e("load",c)}));const h=t.customise;if(h){d=Object.assign({},d);const m=h(d.body,f.name,f.prefix,f.provider);typeof m=="string"&&(d.body=m)}const p=["iconify"];return f.prefix!==""&&p.push("iconify--"+f.prefix),f.provider!==""&&p.push("iconify--"+f.provider),{data:d,classes:p}}function l(){const c=a();c?c.data!==s.value?.data&&(s.value=c):s.value=null}return o.value?l():In(()=>{o.value=!0,l()}),bt(()=>t.icon,l),Lo(r),()=>{const c=s.value;if(!c)return _o(Dm,t);let f=t;return c.classes&&(f={...t,class:c.classes.join(" ")}),_o({...Bt,...c.data},f)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const Um=Wt({__name:"App",setup(t){let e=wt(""),n=wt("");const r=zs(),o=De(Dt),i=Q(o,"kvNodes"),s=Q(o,"nodes"),a=G(()=>i.value[r.name]),l=G(()=>a.value?.description),c=G(()=>a.value?.keywords.join()),f=G(()=>a.value?.images.filter(({url:m})=>m).map(({alt:m="",url:g})=>({alt:m,url:`${window.location.origin}/${g}`}))??[]),d=G(()=>a.value?.type),h=G(()=>a.value?.to&&`${window.location.origin}${a.value.to==="/"?"":a.value.to}`),p=G(()=>a.value?.title);return We(async()=>{if(a.value){let m="/favicon.ico";if(a.value.icon){const g=Zh(a.value.icon)?Qh(a.value.icon):await Om(a.value.icon);if(g){const{attributes:y,body:x}=ai(g,{height:16,width:16});m=`data:image/svg+xml,${encodeURIComponent(Pl(Al(x),y))}`}}e.value=m,n.value=JSON.stringify(await Wn(`./docs/${a.value.id}.jsonld`)??{"@context":"https://schema.org"})}}),Un({link:[[e.value,"icon","icon"],[h,"canonical"]].map(([m,g,y])=>({href:m,key:y,rel:g})),script:[{id:"application/ld+json",innerHTML:n.value,type:"application/ld+json"}]}),Ea({description:l,keywords:c,ogDescription:l,ogImage:f,ogTitle:p,ogType:d,ogUrl:h,title:p}),(m,g)=>{const y=ks("router-view");return gt(),ue(y,null,{default:Nn(({Component:x})=>[(gt(),ue(Vn(x),{id:s.value[0]?.id},null,8,["id"]))]),_:1})}}}),ss=De(Dt),Hm=Q(ss,"kvNodes"),zo=Q(ss,"nodes"),Bm=Ms({html:!0}).use(Ps).use(Ts).use(Ls).use(Rs).use(Fs).use(Is).use(Ns).use(Vs).use(Ws).use(Ds).use(Us).use(Hs).use(Bs).use(qs).use(Ks).use(Gs),as=()=>{let t,e;return{promise:new Promise((r,o)=>{t=r,e=o}),reject:e,resolve:t}},et=ce({$these:G(()=>et.these.filter(({enabled:t})=>t)),intersecting:new Map,promises:new Map,root:as(),routeName:void 0,scrollLock:!1,that:G(()=>et.routeName===zo.value[0]?.id?zo.value[0]?.$children[0]:Hm.value[et.routeName]),these:G(()=>et.that===void 0||et.that.parent?.flat?et.that?.siblings??[]:[et.that])}),ls=t=>ws(async()=>{const e={};return Bm.render(await Wn(`./docs/${t}.md`)??"",e),Ys(`${e.sfcBlocks?.template?.content??""}
|
|
417
|
+
${e.sfcBlocks?.script?.content??""}
|
|
418
|
+
${e.sfcBlocks?.scriptSetup?.content??""}
|
|
419
|
+
${e.sfcBlocks?.styles.map(({content:n})=>n).join(`
|
|
420
|
+
`)??""}
|
|
421
|
+
`,{scriptOptions:{inlineTemplate:!0}})});function Ao(t,e){const n=t.type,r=n==="html"?"htmlAttrs":n==="body"?"bodyAttrs":n;if(typeof r!="string"||!(r in e))return;const o=t.props||{};if(t.children){const i="children";o.children=Array.isArray(t.children)?t.children[0][i]:t[i]}Array.isArray(e[r])?e[r].push(o):r==="title"?e.title=o.children:e[r]=o}function qm(t){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const n of t)if(typeof n.type=="symbol"&&Array.isArray(n.children))for(const r of n.children)Ao(r,e);else Ao(n,e);return e}const Km=Wt({name:"Head",setup(t,{slots:e}){const n=wt({}),r=Un(n);return Po(()=>{r.dispose()}),()=>(We(()=>{e.default&&r.patch(qm(e.default()))}),null)}}),Gm=Wt({__name:"NotFoundView",setup(t){return(e,n)=>(gt(),Oe(Ro,null,[$s(_t(Km),null,{default:Nn(()=>[...n[0]||(n[0]=[qt("title",null,"Page Not Found",-1)])]),_:1}),n[1]||(n[1]=qt("div",{class:"absolute inset-0 grid place-items-center"},[qt("div",{class:"text-center"},[qt("div",{class:"text-9xl"},"404"),qt("p",null,"Oops. Nothing here...")])],-1))],64))}}),Ym={mounted(t,e){if(typeof e.value=="function"){const n=e.value;bt(mo(t),r=>n(r),{immediate:!0})}else{const[n,r]=e.value;bt(mo(t,r),o=>n(o),{immediate:!0})}}};function Xm(){let t=!1;const e=mt(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const o=Dh(n,r.value);bt(e,i=>o.value=i)}}Xm();const Zm=["id"],Qm=Wt({__name:"PageView",setup(t){const e=Q(et,"$these"),n=Q(Dt,"kvNodes"),{intersecting:r,promises:o}=et,i=()=>{[r,o].forEach(a=>{a.clear()})},s=G(()=>new Map(e.value.map(({id:a})=>[a,ls(a)])));return We(()=>{i(),e.value.forEach(({id:a})=>{r.set(a,!1),o.set(a,as())})}),Lo(()=>{i()}),(a,l)=>(gt(!0),Oe(Ro,null,xs(s.value,([c,f])=>Ss((gt(),Oe("div",{id:c,key:c,class:Fo(n.value[c]?.class),"un-cloak":""},[(gt(),ue(Vn(f),{id:c,onVnodeMounted:d=>_t(o).get(c)?.resolve(void 0)},null,8,["id","onVnodeMounted"]))],10,Zm)),[[_t(Ym),[d=>{_t(r).set(c,d)},{threshold:.1}]]])),128))}}),Jm=["id"],t0=Wt({__name:"RootView",setup(t){const e=Q(Dt,"nodes"),{root:n}=et,r=G(()=>e.value[0]&&ls(e.value[0].id));return(o,i)=>(gt(),ue(Cs,null,{default:Nn(()=>[e.value[0]?.enabled?(gt(),Oe("div",{key:0,id:e.value[0].id,class:Fo(e.value[0].class),"un-cloak":""},[(gt(),ue(Vn(r.value),{id:e.value[0].id,onVnodeMounted:i[0]||(i[0]=s=>_t(n).resolve(void 0))},null,8,["id"]))],10,Jm)):Es("",!0)]),_:1}))}});let Oo=Q(et,"routeName");const cs=De(et),e0=Q(cs,"$these"),n0=Q(cs,"that"),us=De(Dt),r0=Q(us,"kvNodes"),Mo=Q(us,"nodes"),[o0,i0]=(await Promise.all(["index","fonts"].map(t=>Wn(`${t}.json`)))).map(t=>t??[]),fs=js(Um),{intersecting:s0,promises:a0,root:l0}=et,{pathname:c0}=new URL(document.baseURI);Io.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.4.6");Dt.tree=o0;await al({defaults:{presets:xh({webFontsOptions:{customFetch:_s,fonts:Object.fromEntries(i0.map(t=>[t.toLowerCase().replace(/ /g,"_"),t]))}})},ready:({extractAll:t,toggleObserver:e})=>{let n=!1;const r=As({history:Os(c0),routes:[...Mo.value.filter(({path:a})=>a!==void 0).map(a=>{const{id:l,loc:c,path:f}=a,d=c?.replace(/ /g,"_").replace(/^\/?/,"/").replace(/\/?$/,"/");return{...d&&{alias:d},children:[{component:Qm,name:l,path:""}],component:t0,path:f.replace(/^\/?/,"/").replace(/\/?$/,"/")}}),{component:Gm,name:"404",path:"/:pathMatch(.*)*"}],scrollBehavior:async({hash:a,name:l})=>{if(l)if(Oo.value=l,n)n=!1;else{const{index:c,parent:{flat:f}={}}=n0.value??{};return e(!0),await l0.promise,await Promise.all([...a0.values()].map(({promise:d})=>d)),await t(),e(!1),"requestIdleCallback"in window?await new Promise(d=>requestIdleCallback(d)):(await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>setTimeout(d))),{behavior:"smooth",...a||f&&c?{el:a||`#${String(l)}`}:{left:0,top:0}}}return!1}}),o=Vh(window,{onStop:()=>{const[a]=e0.value,[l]=Mo.value;if(l&&a){const{$children:[{id:c}={}]=[]}=l,f=!Math.floor(i.value)&&!Math.floor(s.value)&&a.id===c?l.id:[...s0.entries()].find(([,d])=>d)?.[0]??a.id;f!==Oo.value&&(n=!0,r.push({name:f}).catch(Io.error))}}}),i=Q(o,"x"),s=Q(o,"y");return r.beforeEach(({path:a})=>a!==decodeURI(a)?decodeURI(a):void 0),fs.use(r),!1},rootElement:()=>document.getElementById("app")??void 0});fs.use(ja()).provide("pages",Oh(r0.value)).mount("#app");
|