@vuebro/runtime 2.0.2 → 2.1.1
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/ajv-6LTVMkJm.js +8 -0
- package/dist/assets/index-hBoKIo1_.js +15 -0
- package/dist/assets/markdown-DmXmAkEm.js +204 -0
- package/dist/assets/unocss-CEUy1_Um.js +427 -0
- package/dist/index.html +6 -5
- package/package.json +11 -9
- package/dist/assets/index-D8BYfI6g.js +0 -421
- package/dist/assets/markdown-DLoCDFOz.js +0 -204
- package/dist/assets/shared-B__Q9CbY.js +0 -17
- /package/dist/assets/{loader-sfc.esm-browser.prod-2.4.5.js → loader-sfc.esm-browser.prod-2.4.7.js} +0 -0
|
@@ -1,421 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./shared-B__Q9CbY.js","./markdown-DLoCDFOz.js","./katex-UTpUfKgT.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{toValue as U,isRef as Qt,hasInjectionContext as fi,inject as di,ref as yn,watchEffect as vn,getCurrentInstance as kn,onBeforeUnmount as Yr,onDeactivated as pi,onActivated as mi,reactive as ne,unref as jt,onMounted as Xr,nextTick as hi,watch as vt,getCurrentScope as gi,onScopeDispose as bi,toRef as Z,readonly as yi,customRef as vi,shallowRef as yt,computed as et,defineComponent as le,resolveComponent as ki,createBlock as re,openBlock as mt,withCtx as wn,resolveDynamicComponent as $n,toRefs as xn,defineAsyncComponent as wi,createElementBlock as ke,Fragment as Zr,createVNode as $i,createElementVNode as xt,onUnmounted as xi,renderList as Si,withDirectives as Ci,mergeProps as Ei,Suspense as ji,createCommentVNode as _i,normalizeProps as zi,guardReactiveProps as Ai,createApp as Pi}from"vue";import{b as we,M as Oi,E as Mi,j as Ti,i as Ri,U as Li,z as Fi,w as Wi,k as Ni,L as Vi,a as Ii,d as Hi,e as Ui,y as Di,f as Bi,$ as qi,m as Ki,h as Gi,l as Yi,n as Xi,o as Zi,p as Ji,q as Qi,s as ts,t as es,u as ns,v as rs}from"./markdown-DLoCDFOz.js";import{s as _t,f as Jr,c as Qr}from"./shared-B__Q9CbY.js";import{useRoute as os,createRouter as is,createWebHistory as ss}from"vue-router";import as from"@vuebro/loader-sfc";import"./katex-UTpUfKgT.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)}})();const ls=new Set(["link","style","script","noscript"]),cs=new Set(["title","titleTemplate","script","style","noscript"]),Ln=new Set(["base","meta","link","style","script","noscript"]),us=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),fs=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ds=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),ps=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ms=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const en=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,Fn={base:-10,title:10},hs={critical:-8,high:-1,low:2},Wn={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}},gs=/@import/,Ht=t=>t===""||t===!0;function bs(t,e){if(typeof e.tagPriority=="number")return e.tagPriority;let n=100;const r=hs[e.tagPriority]||0,o=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Wn;if(e.tag in Fn)n=Fn[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=Wn.meta[i])}else e.tag==="link"&&e.props.rel?n=o.link[e.props.rel]:e.tag==="script"?Ht(e.props.async)?n=o.script.async:e.props.src&&!Ht(e.props.defer)&&!Ht(e.props.async)&&e.props.type!=="module"&&!e.props.type?.endsWith("json")?n=o.script.sync:Ht(e.props.defer)&&e.props.src&&!Ht(e.props.async)&&(n=o.script.defer):e.tag==="style"&&(n=e.innerHTML&&gs.test(e.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}const Le="%separator";function ys(t,e,n=!1){let r;if(e==="s"||e==="pageTitle")r=t.pageTitle;else if(e.includes(".")){const o=e.indexOf(".");r=t[e.substring(0,o)]?.[e.substring(o+1)]}else r=t[e];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function de(t,e,n,r=!1){if(typeof t!="string"||!t.includes("%"))return t;let o=t;try{o=decodeURI(t)}catch{}const i=o.match(/%\w+(?:\.\w+)?/g);if(!i)return t;const s=t.includes(Le);return t=t.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Le||!i.includes(a))return a;const l=ys(e,a.slice(1),r);return l!==void 0?l:a}).trim(),s&&(t=t.split(Le).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),t}const Nn=t=>t.includes(":key")?t:t.split(":").join(":key:"),vs={key:"aliasSorting",hooks:{"tags:resolve":t=>{let e=!1;for(const n of t.tags){const r=n.tagPriority;if(!r)continue;const o=String(r);if(o.startsWith("before:")){const i=Nn(o.slice(7)),s=t.tagMap.get(i);s&&(typeof s.tagPriority=="number"&&(n.tagPriority=s.tagPriority),n._p=s._p-1,e=!0)}else if(o.startsWith("after:")){const i=Nn(o.slice(6)),s=t.tagMap.get(i);s&&(typeof s.tagPriority=="number"&&(n.tagPriority=s.tagPriority),n._p=s._p+1,e=!0)}}e&&(t.tags=t.tags.sort(en))}}},ks={meta:"content",link:"href",htmlAttrs:"lang"},ws=["innerHTML","textContent"],$s=t=>({key:"template-params",hooks:{"entries:normalize":e=>{const n=e.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(t._ssrPayload={templateParams:{...t._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:e,tags:n})=>{const r=e.get("templateParams")?.props||{},o=r.separator||"|";delete r.separator,r.pageTitle=de(r.pageTitle||t._title||"",r,o);for(const i of n){if(i.processTemplateParams===!1)continue;const s=ks[i.tag];if(s&&typeof i.props[s]=="string")i.props[s]=de(i.props[s],r,o);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const a of ws)typeof i[a]=="string"&&(i[a]=de(i[a],r,o,i.tag==="script"&&i.props.type.endsWith("json")))}t._templateParams=r,t._separator=o},"tags:afterResolve":({tagMap:e})=>{const n=e.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=de(n.textContent,t._templateParams,t._separator))}}}),Vn=["og:url","og:image","og:image:secure_url","twitter:image","twitter:image:src","og:video","og:video:secure_url","og:see_also"];function xs(t){return e=>{let n=t.canonicalHost||(e.ssr?"":window.location.origin);!n.startsWith("http")&&!n.startsWith("//")&&(n=`https://${n}`),n=new URL(n).origin;function r(o){if(t?.customResolver)return t.customResolver(o);if(o.startsWith("http")||o.startsWith("//"))return o;try{return new URL(o,n).toString()}catch{return o}}return{key:"canonical",hooks:{"tags:resolve":o=>{for(const i of o.tags)i.tag==="meta"&&(Vn.includes(i.props?.property)||Vn.includes(i.props?.name))?i.props.content=r(i.props.content):i.tag==="link"&&i.props.rel==="canonical"&&(i.props.href=r(i.props.href))}}}}}function Ss(t={}){return e=>(e.push({meta:[{name:"twitter:card",content:t.twitterCard||"summary_large_image",tagPriority:"low"},{property:"og:title",tagPriority:"low","data-infer":""},{property:"og:description",tagPriority:"low","data-infer":""}]}),{key:"infer-seo-meta",hooks:{"tags:beforeResolve":({tagMap:n})=>{let r=e._titleTemplate||e._title;const o=n.get("meta:og:title");typeof o?.props["data-infer"]<"u"&&(typeof r=="function"&&(r=r(e._title)),o.props.content=t.ogTitle?t.ogTitle(r):r||"",o.processTemplateParams=!0);const i=n.get("meta:description")?.props?.content,s=n.get("meta:og:description");typeof s?.props["data-infer"]<"u"&&(s.props.content=t.ogDescription?t.ogDescription(i):i||"",s.processTemplateParams=!0)}}})}function nn(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?nn(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const Cs={run:t=>t()},Es=()=>Cs,to=typeof console.createTask<"u"?console.createTask:Es;function js(t,e){const n=e.shift(),r=to(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function _s(t,e){const n=e.shift(),r=to(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function Fe(t,e){for(const n of[...t])n(e)}class zs{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=nn(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=nn(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(js,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(_s,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Fe(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Fe(this._after,o)}):(this._after&&o&&Fe(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 As(){return new zs}const Ps=["name","property","http-equiv"],Os=new Set(["viewport","description","keywords","robots"]);function eo(t){const e=t.split(":");return e.length?ms.has(e[1]):!1}function rn(t){const{props:e,tag:n}=t;if(fs.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 Ps)if(e[r]!==void 0){const o=e[r],i=o.includes(":"),s=Os.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(cs.has(n)){const r=t.textContent||t.innerHTML;if(r)return`${n}:content:${r}`}}function In(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 $e(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=>$e(i,e));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=$e(o[s],e,s);return i}return o}function Ms(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 no(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]=Ms(n,r);return}if(ds.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 Ts(t,e){const n=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},r=no({tag:t,props:{}},n);return r.key&&ls.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 Rs(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=$e(t,n),Object.entries(t||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(Ts(o,s))}),r.flat()}function Hn(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 Ls(t={}){const e=As();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=>Hn(s,a),push(a,l){const u={...l||{}};delete u.head;const f=u._index??s._entryCount++,d={_i:f,input:a,options:u},h={_poll(p=!1){s.dirty=!0,!p&&i.add(f),e.callHook("entries:updated",s)},dispose(){r.delete(f)&&s.invalidate()},patch(p){(!u.mode||u.mode==="server"&&n||u.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 g={tags:Rs(p.input,t.propResolvers||[]).map(b=>Object.assign(b,p.options)),entry:p};await e.callHook("entries:normalize",g),p._tags=g.tags.map((b,v)=>(b._w=bs(s,b),b._p=(p._i<<10)+v,b._d=rn(b),b))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(en).reduce((h,p)=>{const g=String(p._d||p._p);if(!h.has(g))return h.set(g,p);const b=h.get(g);if((p?.tagDuplicateStrategy||(ps.has(p.tag)?"merge":null)||(p.key&&p.key===b.key?"merge":null))==="merge"){const x={...b.props};Object.entries(p.props).forEach(([y,k])=>x[y]=y==="style"?new Map([...b.props.style||new Map,...k]):y==="class"?new Set([...b.props.class||new Set,...k]):k),h.set(g,{...p,props:x})}else p._p>>10===b._p>>10&&p.tag==="meta"&&eo(g)?(h.set(g,Object.assign([...Array.isArray(b)?b:[b],p],p)),l=!0):(p._w===b._w?p._p>b._p:p?._w<b?._w)&&h.set(g,p);return h},a.tagMap);const u=a.tagMap.get("title"),f=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,f){const h=f?.textContent;if(s._titleTemplate=h,h){let p=typeof h=="function"?h(u?.textContent):h;typeof p=="string"&&!s.plugins.has("template-params")&&(p=p.replace("%s",u?.textContent||"")),u?p===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:p}):(f.tag="title",f.textContent=p)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(en)),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:g,props:b}=h;if(us.has(g)&&!(Object.keys(b).length===0&&!h.innerHTML&&!h.textContent)&&!(g==="meta"&&!b.content&&!b["http-equiv"]&&!b.charset)){if(g==="script"&&p){if(b.type?.endsWith("json")){const v=typeof p=="string"?p:JSON.stringify(p);h.innerHTML=v.replace(/</g,"\\u003C")}else typeof p=="string"&&(h.innerHTML=p.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));h._d=rn(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=>Hn(s,a)),s.hooks.callHook("init",s),t.init?.forEach(a=>a&&s.push(a)),s}async function ro(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(g=>{p(g.map(b=>{const v=i.get(b._d)||0,x={tag:b,id:(v?`${b._d}:${v}`:b._d)||In(b),shouldRender:!0};return b._d&&eo(b._d)&&i.set(b._d,v+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 g=n[p]?.children;for(const b of g){const v=b.tagName.toLowerCase();if(!Ln.has(v))continue;const x=no({tag:v,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((y,k)=>(y[k]=b.getAttribute(k),y),{})||{}});if(x.key=b.getAttribute("data-hid")||void 0,x._d=rn(x)||In(x),a.elMap.has(x._d)){let y=1,k=x._d;for(;a.elMap.has(k);)k=`${x._d}:${y++}`;a.elMap.set(k,b)}else a.elMap.set(x._d,b)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,g,b){const v=`${p}:${g}`;a.sideEffects[v]=b,delete a.pendingSideEffects[v]}function u({id:p,$el:g,tag:b}){const v=b.tag.endsWith("Attrs");a.elMap.set(p,g),v||(b.textContent&&b.textContent!==g.textContent&&(g.textContent=b.textContent),b.innerHTML&&b.innerHTML!==g.innerHTML&&(g.innerHTML=b.innerHTML),l(p,"el",()=>{g?.remove(),a.elMap.delete(p)}));for(const x in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,x))continue;const y=b.props[x];if(x.startsWith("on")&&typeof y=="function"){const $=g?.dataset;if($&&$[`${x}fired`]){const w=x.slice(0,-5);y.call(g,new Event(w.substring(2)))}g.getAttribute(`data-${x}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:g).addEventListener(x.substring(2),y.bind(g)),g.setAttribute(`data-${x}`,""));continue}const k=`attr:${x}`;if(x==="class"){if(!y)continue;for(const $ of y)v&&l(p,`${k}:${$}`,()=>g.classList.remove($)),!g.classList.contains($)&&g.classList.add($)}else if(x==="style"){if(!y)continue;for(const[$,w]of y)l(p,`${k}:${$}`,()=>{g.style.removeProperty($)}),g.style.setProperty($,w)}else y!==!1&&y!==null&&(g.getAttribute(x)!==y&&g.setAttribute(x,y===!0?"":String(y)),v&&l(p,k,()=>g.removeAttribute(x)))}}const f=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await s;for(const p of h){const{tag:g,shouldRender:b,id:v}=p;if(b){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(v),p.$el?u(p):Ln.has(g.tag)&&f.push(p)}}for(const p of f){const g=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),u(p),d[g]=d[g]||n.createDocumentFragment(),d[g].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 Fs(t={}){const e=t.domOptions?.render||ro;t.document=t.document||(typeof window<"u"?document:void 0);const n=t.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ls({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[n?JSON.parse(n):!1,...t.init||[]]})}function Ws(t,e){let n=0;return()=>{const r=++n;e(()=>{n===r&&t()})}}const Ns=(t,e)=>Qt(e)?U(e):e,oo="usehead";function Vs(t){return{install(n){n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(oo,t)}}.install}function Is(){if(fi()){const t=di(oo);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 io(t,e={}){const n=e.head||Is();return n.ssr?n.push(t||{},e):Hs(n,t,e)}function Hs(t,e,n={}){const r=yn(!1);let o;return vn(()=>{const s=r.value?{}:$e(e,Ns);o?o.patch(s):o=t.push(s,n)}),kn()&&(Yr(()=>{o.dispose()}),pi(()=>{r.value=!0}),mi(()=>{r.value=!1})),o}function Us(t={}){const e=Fs({domOptions:{render:Ws(()=>ro(e),n=>setTimeout(n,0))},...t});return e.install=Vs(e),e}const ye="default",on="preflights",Ds="shortcuts",so="imports",Bs={[so]:-200,[on]:-100,[Ds]:-10,[ye]:0},ao=/[\\:]?[\s'"`;{}]+/g;function qs(t){return t.split(ao)}const Ks={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return qs(t)}};function N(t=[]){return Array.isArray(t)?t:[t]}function ft(t){return Array.from(new Set(t))}function Un(t,e){return t.reduce((n,r)=>(n.findIndex(i=>e(r,i))===-1&&n.push(r),n),[])}function H(t){return typeof t=="string"}class lo 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 We(t){return t instanceof lo}function oe(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 Ne=nt;function Gs(){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 Ys=/^\[(.+?)~?="(.*)"\]$/,Xs=/[\w\u00A0-\uFFFF%-?]/;function Zs(t){return t.match(Ys)}function sn(t=""){return Xs.test(t)}function Js(t){return typeof t=="function"?{match:t}:t}function Dn(t){return t.length===3}function Zt(t){return t!=null}function Qs(){}class ta{_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 ea 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 xe(t){return H(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function na(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>xe(e)):[t]:[xe(t)]}function ra(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 co="__virtual_key__";function Ve(t){return t==null?"":ra(t).map(([e,n])=>n!=null&&typeof n!="function"?e!==co?`${e}:${n};`:n:void 0).filter(Boolean).join("")}function pe(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 pe(r)&&pe(o)&&Object.keys(o).forEach(s=>{pe(r[s])&&pe(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 te(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"?te(r):r;return n}if(Object.prototype.toString.call(t)==="[object Object]"){n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:te(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=(r=t[e])&&typeof r=="object"?te(r):r;return n}return t}function oa(t){return H(t[0])}function ia(t){return H(t[0])}const me={};function sa(t=["-",":"]){const e=t.join("|");return me[e]||(me[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),me[e].lastIndex=0,me[e]}function aa(t,e=["-",":"],n=5){const r=sa(e);let o,i=t.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(r,(u,f,d,h,p)=>{if(!e.includes(d))return u;o=!0,s.add(f+d);const g=p+f.length+d.length+1,b={length:u.length,items:[]};a.set(p,b);for(const v of[...h.matchAll(/\S+/g)]){const x=g+v.index;let y=a.get(x)?.items;y?a.delete(x):y=[{offset:x,length:v[0].length,className:v[0]}];for(const k of y)k.className=k.className==="~"?f:k.className.replace(/^(!?)(.*)/,`$1${f}${d}$2`),b.items.push(k)}return"$".repeat(u.length)}),n-=1;while(o&&n);let l;if(typeof t=="string"){l="";let u=0;for(const[f,d]of a)l+=t.slice(u,f),l+=d.items.map(h=>h.className).join(" "),u=f+d.length;l+=t.slice(u)}else{l=t;for(const[u,f]of a)l.overwrite(u,u+f.length,f.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return l.toString()}}}function la(t,e=["-",":"],n=5){const r=aa(t,e,n);return typeof t=="string"?r.expanded:t}const Bn=new Set;function uo(t){Bn.has(t)||(console.warn("[unocss]",t),Bn.add(t))}function fo(t){return N(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const qn="_uno_resolved";async function ca(t){let e=typeof t=="function"?await t():await t;if(qn in e)return e;e={...e},Object.defineProperty(e,qn,{value:!0,enumerable:!1});const n=e.shortcuts?fo(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 po(t){const e=await ca(t);if(!e.presets)return[e];const n=(await Promise.all((e.presets||[]).flatMap(N).flatMap(po))).flat();return[e,...n]}function ua(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(Gn(...e)),exclude:ft(Gn(...n))}};return o.length&&(s.filesystem=ft(o.flat())),i.length&&(s.inline=ft(i.flat())),s}async function Kn(t={},e={}){const n=Object.assign({},e,t),r=Un((await Promise.all((n.presets||[]).flatMap(N).flatMap(po))).flat(),(w,j)=>w.name===j.name),o=[...r.filter(w=>w.enforce==="pre"),...r.filter(w=>!w.enforce),...r.filter(w=>w.enforce==="post")],i=[...o,n],s=[...i].reverse(),a=Object.assign({},Bs,...i.map(w=>w.layers));function l(w){return ft(i.flatMap(j=>N(j[w]||[])))}const u=l("extractors");let f=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Ks),f&&!u.includes(f)&&u.unshift(f),u.sort((w,j)=>(w.order||0)-(j.order||0));const d=l("rules"),h=d.length,p={},g=[];for(const[w,j]of d.entries()){const S=j[2]??(j[2]={});S.__index=w,oa(j)?N(S.prefix??"").forEach(C=>{p[C+j[0]]=j}):g.unshift(j)}const b={templates:ft(i.flatMap(w=>N(w.autocomplete?.templates))),extractors:i.flatMap(w=>N(w.autocomplete?.extractors)).sort((w,j)=>(w.order||0)-(j.order||0)),shorthands:da(i.map(w=>w.autocomplete?.shorthands||{}))};let v=l("separators");v.length||(v=[":","-"]);const x=l("content"),y=ua(x),k={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...n,blocklist:l("blocklist"),presets:o,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:a,theme:fa(i.map(w=>w.theme)),rules:d,rulesSize:h,rulesDynamic:g,rulesStaticMap:p,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:b,variants:l("variants").map(Js).sort((w,j)=>(w.order||0)-(j.order||0)),shortcuts:fo(l("shortcuts")).reverse(),extractors:u,safelist:l("safelist"),separators:v,details:n.details??n.envMode==="dev",content:y,transformers:Un(l("transformers"),(w,j)=>w.name===j.name)},$=l("extendTheme");for(const w of $)k.theme=w(k.theme,k)||k.theme;for(const w of i)w?.configResolved?.(k);return k}function fa(t){return t.map(e=>e?te(e):{}).reduce((e,n)=>Ft(e,n),{})}function da(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 Gn(...t){return t.flatMap(pa)}function pa(t){return Array.isArray(t)?t:t?[t]:[]}const ma="66.5.10",Y={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 Sn{constructor(e={},n={}){this.userConfig=e,this.defaults=n}version=ma;events=Gs();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},n={}){const r=new Sn(e,n);return r.config=await Kn(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 Kn(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(We(s)&&We(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:Y,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,u)=>u(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 u=this.makeContext(e,[n||l[0],l[1],l[2],l[3]]);this.config.details&&(u.variants=[...l[3]]);const f=await this.expandShortcut(u.currentSelector,u);return f?await this.stringifyShortcuts(u.variantMatch,u,f[0],f[1]):(await this.parseUtil(u.variantMatch,u))?.flatMap(h=>this.stringifyUtil(h,u)).filter(Zt)},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,u=H(e)?await this.applyExtractors(e,r,l?new lo:new Set):Array.isArray(e)?new Set(e):e;if(s){const S={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(S):E).forEach(E=>{const C=E.trim();C&&!u.has(C)&&u.add(C)})}const f=a?"":`
|
|
3
|
-
`,d=new Set([ye]),h=l?new Map:new Set,p=new Map;let g={};const b=Array.from(u).map(async S=>{if(h.has(S))return;const E=await this.parseToken(S);if(E!=null){h instanceof Map?h.set(S,{data:E,count:We(u)?u.getCount(S):-1}):h.add(S);for(const C of E){const L=C[3]||"",F=C[4]?.layer;p.has(L)||p.set(L,[]),p.get(L).push(C),F&&d.add(F)}}});await Promise.all(b),await(async()=>{if(!i)return;const S={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:C=on})=>{d.add(C),E.add(C)}),g=Object.fromEntries(await Promise.all(Array.from(E).map(async C=>{const F=(await Promise.all(this.config.preflights.filter(q=>(q.layer||on)===C).map(async q=>await q.getCSS(S)))).filter(Boolean).join(f);return[C,F]})))})();const v=this.config.sortLayers(Array.from(d).sort((S,E)=>(this.config.layers[S]??0)-(this.config.layers[E]??0)||S.localeCompare(E))),x={},y=this.config.outputToCssLayers,k=S=>{let E=S;return typeof y=="object"&&(E=y.cssLayerName?.(S)),E===null?null:E??S},$=(S=ye)=>{if(x[S])return x[S];let E=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,T=q.filter(W=>(W[4]?.layer||ye)===S).sort((W,K)=>W[0]-K[0]||(W[4]?.sort||0)-(K[4]?.sort||0)||W[5]?.currentSelector?.localeCompare(K[5]?.currentSelector??"")||W[1]?.localeCompare(K[1]||"")||W[2]?.localeCompare(K[2]||"")||0).map(([,W,K,,$t,,At])=>[[[(W&&ba(W,o))??"",$t?.sort??0]],K,!!(At??$t?.noMerge)]);if(!T.length)return;const O=T.reverse().map(([W,K,$t],At)=>{if(!$t&&this.config.mergeSelectors)for(let ht=At+1;ht<A;ht++){const ct=T[ht];if(ct&&!ct[2]&&(W&&ct[0]||W==null&&ct[0]==null)&&ct[1]===K)return W&&ct[0]&&ct[0].push(...W),null}const Re=W?ft(W.sort((ht,ct)=>ht[1]-ct[1]||ht[0]?.localeCompare(ct[0]||"")||0).map(ht=>ht[0]).filter(Boolean)):[];return Re.length?`${Re.join(`,${f}`)}{${K}}`:K}).filter(Boolean),R=Array.from(new Set(O)).reverse().join(f);if(!F)return R;const G=F.split(" $$ ");return`${G.join("{")}{${f}${R}${f}${"}".repeat(G.length)}`}).filter(Boolean).join(f);i&&(E=[g[S],E].filter(Boolean).join(f));let C;y&&E&&(C=k(S),C!==null&&(E=`@layer ${C}{${f}${E}${f}}`));const L=a?"":`/* layer: ${S}${C&&C!==S?`, alias: ${C}`:""} */${f}`;return x[S]=E?L+E:""},w=(S=v,E)=>{const C=S.filter(L=>!E?.includes(L));return[y&&C.length>0?`@layer ${C.map(k).filter(Zt).join(", ")};`:void 0,...C.map(L=>$(L)||"")].filter(Boolean).join(f)};return{get css(){return w()},layers:v,matched:h,getLayers:w,getLayer:$,setLayer:async(S,E)=>{const C=await E($(S));return x[S]=C,C}}}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 u=i[1];for(const f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let d=await f.match(u,r);if(d){if(H(d)){if(d===u)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");const h=d.map(p=>{const g=p.matcher??u,b=[p,...a],v=new Set(l);return v.add(f),[i[0],g,b,v]});return(await Promise.all(h.map(p=>o(p)))).flat()}}i[1]=d.matcher??u,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((u,f)=>(u.order||0)-(f.order||0)).reduceRight((u,f)=>d=>{const h=f.body?.(d.entries)||d.entries,p=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(d.selector,h);return(f.handle??va)({...d,entries:h,selector:g||d.selector,parent:p[0]||d.parent,parentOrder:p[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},u)},u=>u)({prefix:"",selector:ya(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((u,f)=>{const d=[];for(const h of u){const p=f(h);Array.isArray(p)?d.push(...p.filter(Zt)):d.push(p||h)}return d},[l])}constructCustomCSS(e,n,r){const o=xe(n);return H(o)?o:this.applyVariants([0,r||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:s,parent:a})=>{const l=`${i}{${Ve(s)}}`;return a?`${a}{${l}}`:l}).join("")}async parseUtil(e,n,r=!1,o){const i=H(e)?await this.matchVariants(e):[e],s=async([l,u,f])=>{this.config.details&&(n.rules=n.rules??[]);const d={...n,variantHandlers:f},h=this.config.rulesStaticMap[u];if(h&&h[1]&&(r||!h[2]?.internal))return this.resolveCSSResult(l,h[1],h,d);for(const p of this.config.rulesDynamic){const[g,b,v]=p;if(v?.internal&&!r)continue;let x=u;if(v?.prefix){const w=N(v.prefix);if(o){const j=N(o);if(!w.some(S=>j.includes(S)))continue}else{const j=w.find(S=>u.startsWith(S));if(j==null)continue;x=u.slice(j.length)}}const y=x.match(g);if(!y)continue;let k=await b(y,d);if(!k)continue;if(typeof k!="string")if(Symbol.asyncIterator in k){const w=[];for await(const j of k)j&&w.push(j);k=w}else Symbol.iterator in k&&!Array.isArray(k)&&(k=Array.from(k).filter(Zt));const $=this.resolveCSSResult(l,k,p,d);if($)return $}},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=na(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(H(a))return[s.__index,a,s];let l=o.variantHandlers,u=s;for(const f of a)f[0]===Y.variants?typeof f[1]=="function"?l=f[1](l)||l:l=[...N(f[1]),...l]:f[0]===Y.parent?l=[{parent:f[1]},...l]:f[0]===Y.selector?l=[{selector:f[1]},...l]:f[0]===Y.layer?l=[{layer:f[1]},...l]:f[0]===Y.sort?u={...u,sort:f[1]}:f[0]===Y.noMerge?u={...u,noMerge:f[1]}:f[0]===Y.body&&(f[0]=co);return[s.__index,e,a,u,l]})}};stringifyUtil(e,n){if(!e)return;if(Dn(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:u,sort:f,noMerge:d}=i,h=Ve(a);if(!h)continue;const{layer:p,sort:g,...b}=e[3]??{},v={...b,layer:u??p,sort:f??g};o.push([e[0],s,h,l,v,this.config.details?n:void 0,d])}return o}async expandShortcut(e,n,r=5){if(r===0)return;const o=this.config.details?u=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(u)}:Qs;let i,s,a,l;for(const u of this.config.shortcuts){let f=e;if(u[2]?.prefix){const h=N(u[2].prefix).find(p=>e.startsWith(p));if(h==null)continue;f=e.slice(h.length)}if(ia(u)){if(u[0]===f){i=i||u[2],s=u[1],o(u);break}}else{const d=f.match(u[0]);if(d&&(s=u[1](d,n)),s){i=i||u[2],o(u);break}}}if(s&&(a=ft(N(s).filter(H).map(u=>la(u.trim()).split(/\s+/g)).flat()),l=N(s).filter(u=>!H(u)).map(u=>({handles:[],value:u}))),!s){const u=H(e)?await this.matchVariants(e):[e];for(const f of u){const[d,h,p]=f;if(d!==h){const g=await this.expandShortcut(h,n,r-1);g&&(a=g[0].filter(H).map(b=>d.replace(h,b)),l=g[0].filter(b=>!H(b)).map(b=>({handles:[...b.handles,...p],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(N(a).map(async u=>(await this.expandShortcut(u,n,r-1))?.[0]||[u])),l].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(e,n,r,o={layer:this.config.shortcutsLayer}){const i=new ea,s=(await Promise.all(ft(r).map(async f=>{const d=H(f)?await this.parseUtil(f,n,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",xe(f.value),void 0,f.handles]];return!d&&this.config.warn&&uo(`unmatched utility "${f}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=e,u=[];for(const f of s){if(Dn(f)){u.push([f[0],void 0,f[1],void 0,f[2],n,void 0]);continue}const d=Object.fromEntries(f[2])[Y.shortcutsNoMerge],h=[...f[4],...d?[]:l];for(const{selector:p,entries:g,parent:b,sort:v,noMerge:x,layer:y}of this.applyVariants(f,h,a))i.getFallback(y??o.layer,new ta).getFallback(p,b,[[],f[0]])[0].push([g,!!(x??f[3]?.noMerge),v??0])}return u.concat(i.flatMap((f,d)=>f.map(([h,p],g,b)=>{const v=(y,k,$)=>{const w=Math.max(...$.map(S=>S[1])),j=$.map(S=>S[0]);return(y?[j.flat(1)]:j).map(S=>{const E=Ve(S);if(E)return[p,g,E,b,{...o,noMerge:k,sort:w,layer:d},n,void 0]})};return[[h.filter(([,y])=>y).map(([y,,k])=>[y,k]),!0],[h.filter(([,y])=>!y).map(([y,,k])=>[y,k]),!1]].map(([y,k])=>[...v(!1,k,y.filter(([$])=>$.some(w=>w[0]===Y.shortcutsNoMerge))),...v(!0,k,y.filter(([$])=>$.every(w=>w[0]!==Y.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):H(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):H(o)?o===e:o.test(e)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function ha(t,e){return await Sn.create(t,e)}const mo=/\s\$\$\s+/g;function ga(t){return mo.test(t)}function ba(t,e){return ga(t)?t.replace(mo,e?` ${e} `:" "):e?`${e} ${t}`:t}const Yn=/^\[(.+?)(~?=)"(.*)"\]$/;function ya(t){return Yn.test(t)?t.replace(Yn,(e,n,r,o)=>`[${Ne(n)}${r}"${Ne(o)}"]`):`.${Ne(t)}`}function va(t,e){return e(t)}function ka(t){return t.replace(/-(\w)/g,(e,n)=>n?n.toUpperCase():"")}function Xn(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Zn(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Jn=["Webkit","Moz","ms"];function wa(t){const e={};function n(r){const o=e[r];if(o)return o;let i=ka(r);if(i!=="filter"&&i in t)return e[r]=Zn(i);i=Xn(i);for(let s=0;s<Jn.length;s++){const a=`${Jn[s]}${i}`;if(a in t)return e[r]=Zn(Xn(a))}return r}return({entries:r})=>r.forEach(o=>{o[0].startsWith("--")||(o[0]=n(o[0]))})}function $a(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function xa(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(wa(n.createElement("div").style)),i.configResolved?.(o,s);const l=await ha(o,s),u=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 g,b,v=[];const x=()=>new Promise(A=>{v.push(A),b!=null&&clearTimeout(b),b=setTimeout(()=>$().then(()=>{const T=v;v=[],T.forEach(O=>O())}),0)});function y(A,T=!1){if(A.nodeType!==1)return;const O=A;O.hasAttribute(a)&&O.removeAttribute(a),T&&O.querySelectorAll(`[${a}]`).forEach(R=>{R.removeAttribute(a)})}function k(A,T){let O=d.get(A);if(!O)if(O=n.createElement("style"),O.setAttribute("data-unocss-runtime-layer",A),d.set(A,O),T==null)u(O);else{const R=k(T),G=R.parentNode;G?G.insertBefore(O,R.nextSibling):u(O)}return O}async function $(){const A=[...p],T=await l.generate(A);return T.layers.reduce((R,G)=>(k(G,R).innerHTML=T.getLayer(G)??"",G),void 0),A.filter(R=>!T.matched.has(R)).forEach(R=>p.delete(R)),{...T,getStyleElement:R=>d.get(R),getStyleElements:()=>d}}async function w(A){const T=p.size;await l.applyExtractors(A,void 0,p),T!==p.size&&await x()}async function j(A=f()){const T=A&&A.outerHTML;T&&(await w(`${T} ${$a(T)}`),y(r()),y(A,!0))}const S=new MutationObserver(A=>{h||A.forEach(async T=>{if(T.target.nodeType!==1)return;const O=T.target;for(const R of d)if(O===R[1])return;if(T.type==="childList")T.addedNodes.forEach(async R=>{if(R.nodeType!==1)return;const G=R;g&&!g(G)||(await w(G.outerHTML),y(G))});else{if(g&&!g(O))return;if(T.attributeName!==a){const R=Array.from(O.attributes).map(W=>W.value?`${W.name}="${W.value}"`:W.name).join(" "),G=`<${O.tagName.toLowerCase()} ${R}>`;await w(G)}y(O)}})});let E=!1;function C(){if(E)return;const A=i.observer?.target?i.observer.target():f();A&&(S.observe(A,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),E=!0)}function L(){i.bypassDefined&&Sa(l.blocked),j(),C()}function F(){n.readyState==="loading"?e.addEventListener("DOMContentLoaded",L):L()}const q=e.__unocss_runtime=e.__unocss_runtime={version:l.version,uno:l,async extract(A){H(A)||(A.forEach(T=>p.add(T)),A=""),await w(A)},extractAll:j,inspect(A){g=A},toggleObserver(A){A===void 0?h=!h:h=!!A,!E&&!h&&F()},update:$,presets:e.__unocss_runtime?.presets??{}};i.ready?.(q)!==!1&&(h=!1,F())}function Sa(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 ho=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Ca(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=Zs(i);if(!a)return;let l=a[1];if(l.startsWith(e))l=l.slice(e.length);else if(n)return;const u=a[2],[,f="",d=u]=u.match(ho)||[];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]=u.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,g=h.join("");return[{matcher:`${f}${l}-${d}`},{matcher:`${g}${l}-${p}`}]}return`${f}${l}-${d}`}}}const Ea=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,ja=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Qn=/[\s'"`;>]+/;function _a(t){return{name:"attributify",extract:({content:e,cursor:n})=>{const r=e.matchAll(Ea);let o,i=0;for(const y of r){const[,k,$]=y,w=y.index+k.length;if(n>w&&n<=w+$.length){i=w,o=$;break}}if(!o)return null;const s=o.matchAll(ja);let a=0,l,u;for(const y of s){const[k,$,w]=y,j=i+y.index;if(n>j&&n<=j+k.length){a=j,l=$,u=w?.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(u===void 0)return{extracted:d,resolveReplacement(y){const k=f?t.prefix.length:0;return{start:a+k,end:a+l.length,replacement:y}}};const h=a+l.length+2;let p=Qn.exec(u),g=0,b;for(;p;){const[y]=p;if(n>h+g&&n<=h+g+p.index){b=u.slice(g,g+p.index);break}g+=p.index+y.length,p=Qn.exec(u.slice(g))}b===void 0&&(b=u.slice(g));const[,v="",x]=b.match(ho)||[];return{extracted:`${v}${d}-${x}`,transformSuggestions(y){return y.filter(k=>k.startsWith(`${v}${d}-`)).map(k=>v+k.slice(v.length+d.length+1))},resolveReplacement(y){return{start:g+h,end:g+h+b.length,replacement:v+y.slice(v.length+d.length+1)}}}}}}const za=["v-bind:",":"],tr=/[\s'"`;]+/g,Ie=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Aa=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,go=["placeholder","fill","opacity","stroke-opacity"];function Pa(t){const e=t?.ignoreAttributes??go,n=t?.nonValuedAttribute??!0,r=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Ie)).flatMap(i=>Array.from((i[1]||"").matchAll(Aa))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(e.includes(i))return[];for(const l of za)if(i.startsWith(l)){i=i.slice(l.length);break}if(!a){if(sn(i)&&n!==!1){const l=[`[${i}=""]`];return r&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?a.split(tr).filter(sn):Ie.test(a)?(Ie.lastIndex=0,this.extract({code:a})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:a.split(tr).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}const Oa=(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??go;const e=[Ca(t)],n=[Pa(t)],r=[_a(t)];return{name:"@unocss/preset-attributify",enforce:"post",variants:e,extractors:n,options:t,autocomplete:{extractors:r},extractorDefault:t.strict?!1:void 0}},Ma=Object.freeze({left:0,top:0,width:16,height:16}),Se=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bo=Object.freeze({...Ma,...Se}),Ta=Object.freeze({...bo,body:"",hidden:!1}),Ra=Object.freeze({width:null,height:null}),yo=Object.freeze({...Ra,...Se});function La(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 er(t,e){const n=La(t,e);for(const r in Ta)r in Se?r in t&&!(r in n)&&(n[r]=Se[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function Fa(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 nr(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function s(a){i=er(r[a]||o[a],i)}return s(e),n.forEach(s),er(t,i)}function Wa(t,e){if(t.icons[e])return nr(t,e,[]);const n=Fa(t,[e])[e];return n?nr(t,e,n):null}const Na=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Va=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ce(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(Na);if(r===null||!r.length)return t;const o=[];let i=r.shift(),s=Va.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 Ia(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 Ha(t,e){return t?"<defs>"+t+"</defs>"+e:e}function Ua(t,e,n){const r=Ia(t);return Ha(r.defs,e+r.content+n)}const Cn=t=>t==="unset"||t==="undefined"||t==="none";function Da(t,e){const n={...bo,...t},r={...yo,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(b=>{const v=[],x=b.hFlip,y=b.vFlip;let k=b.rotate;x?y?k+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):y&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let $;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:$=o.height/2+o.top,v.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,v.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}k%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),v.length&&(i=Ua(i,'<g transform="'+v.join(" ")+'">',"</g>"))});const s=r.width,a=r.height,l=o.width,u=o.height;let f,d;s===null?(d=a===null?"1em":a==="auto"?u:a,f=Ce(d,l/u)):(f=s==="auto"?l:s,d=a===null?Ce(f,u/l):a==="auto"?u:a);const h={},p=(b,v)=>{Cn(v)||(h[b]=v.toString())};p("width",f),p("height",d);const g=[o.left,o.top,l,u];return h.viewBox=g.join(" "),{attributes:h,viewBox:g,body:i}}function Ba(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function rr(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" ')),Ba(e)}function qa(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()}const Ka=/\swidth\s*=\s*["']([\w.]+)["']/,Ga=/\sheight\s*=\s*["']([\w.]+)["']/,He=/<svg\s+/;function Ya(t,e,n){const r=t.slice(0,t.indexOf(">")),o=(i,s)=>{const a=s.exec(r),l=a!=null,u=e[i];return!u&&!Cn(u)&&(typeof n=="number"?n>0&&(e[i]=Ce(a?.[1]??"1em",n)):a&&(e[i]=a[1])),l};return[o("width",Ka),o("height",Ga)]}async function vo(t,e,n,r,o,i){const{scale:s,addXmlNs:a=!1}=r??{},{additionalProps:l={},iconCustomizer:u}=r?.customizations??{},f=await o?.()??{};await u?.(e,n,f),Object.keys(l).forEach(b=>{const v=l[b];v!=null&&(f[b]=v)}),i?.(f);const[d,h]=Ya(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(b=>b==="width"&&d||b==="height"&&h?null:`${b}="${f[b]}"`).filter(b=>b!=null);if(p.length&&(t=t.replace(He,`<svg ${p.join(" ")} `)),r){const{defaultStyle:b,defaultClass:v}=r;v&&!t.includes("class=")&&(t=t.replace(He,`<svg class="${v}" `)),b&&!t.includes("style=")&&(t=t.replace(He,`<svg style="${b}" `))}const g=r?.usedProps;return g&&(Object.keys(l).forEach(b=>{const v=f[b];v!=null&&(g[b]=v)}),typeof f.width<"u"&&f.width!==null&&(g.width=f.width),typeof f.height<"u"&&f.height!==null&&(g.height=f.height)),t}async function or(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 vo(r?.customizations?.trimCustomSvg===!0?qa(o):o,e,n,r,void 0):(console.warn(`Custom icon "${n}" in "${e}" is not a valid SVG`),o)}}async function ko(t,e,n,r){let o;const{customize:i}=r?.customizations??{};for(const s of n)if(o=Wa(t,s),o){let a={...yo};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${e}:${s}`)??a);const{attributes:{width:l,height:u,...f},body:d}=Da(o,a),h=r?.scale;return await vo(`<svg >${d}</svg>`,e,s,r,()=>({...f}),p=>{const g=(b,v)=>{const x=p[b];let y;if(!Cn(x)){if(x)return;typeof h=="number"?h&&(y=Ce(v??"1em",h)):y=v}y?p[b]=y:delete p[b]};g("width",l),g("height",u)})}}const wo=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 or(()=>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 ko(o,t,i,n)}}}else return await or(r,t,e,n)},Xa="modulepreload",Za=function(t,e){return new URL(t,e).href},ir={},$o=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=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=u(n.map(f=>{if(f=Za(f,r),f in ir)return;ir[f]=!0;const d=f.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(r)for(let g=s.length-1;g>=0;g--){const b=s[g];if(b.href===f&&(!d||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${h}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Xa,d||(p.as="script"),p.crossOrigin="",p.href=f,l&&p.setAttribute("nonce",l),document.head.appendChild(p),d)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(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 sr={};function Ja(){const t=typeof process<"u"&&process.stdout,e=t&&!!sr.VSCODE_CWD,n=t&&!!sr.ESLINT;return{isNode:t,isVSCode:e,isESLint:n}}const xo=["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"],Qa=3;function tl(t){return(e={})=>{const{scale:n=1,mode:r="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:l={},customizations:u={},autoInstall:f=!1,collectionsNodeResolvePath:d,layer:h="icons",unit:p,processor:g}=e,b=Ja(),v={addXmlNs:!0,scale:n,customCollections:a,autoInstall:f,cwd:d,warn:void 0,customizations:{...u,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(y,k,$){await u.iconCustomizer?.(y,k,$),p&&($.width||($.width=`${n}${p}`),$.height||($.height=`${n}${p}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:rr,parseIconWithLoader:ar},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async y=>{let[k,$,w=r]=y;x=x||await t(e);const j={},S=await ar($,x,{...v,usedProps:j},s);if(!S){i&&!b.isESLint&&uo(`failed to load icon "${k}"`);return}let E;const C=`url("data:image/svg+xml;utf8,${rr(S.svg)}")`;return w==="auto"&&(w=S.svg.includes("currentColor")?"mask":"bg"),w==="mask"?E={"--un-icon":C,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...j}:E={background:`${C} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...j},g?.(E,{...S,icon:S.name,mode:w}),E},{layer:h,prefix:o}]]}}}function So(t,e,n=new Map){function r(o){if(xo.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 wo(o,i,s);if(a)return a;const l=await r(o);if(l){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await ko(l,o,u,s)}return a}}async function ar(t,e,n={},r=[]){let o="",i="",s;const a=new Set([...xo,...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 u=Qa;u>=1&&(o=l.slice(0,u).join("-"),!(!!a.has(o)&&(i=l.slice(u).join("-"),s=await e(o,i,n),s)));u--);}if(s)return{collection:o,name:i,svg:s}}async function el(t){const{$fetch:e}=await $o(async()=>{const{$fetch:n}=await import("./shared-B__Q9CbY.js").then(r=>r.i);return{$fetch:n}},__vite__mapDeps([0,1,2]),import.meta.url);return So(e,t)}const nl=tl(async t=>{const e=t?.customFetch,n=t?.cdn;return e&&n?So(e,n):n?await el(n):wo}),an="__TAGIFY__",rl=/<([\w:-]+)/g;function ol(t){const{prefix:e="",excludedTags:n=["b",/^h\d+$/,"table"]}=t;return{name:"tagify",extract({code:r}){return Array.from(r.matchAll(rl)).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])=>`${an}${o}`)}}}function il(t){const{extraProperties:e}=t,n=`${an}${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(an.length+1)};return e&&(typeof e=="function"?i.body=s=>[...s,...Object.entries(e(o)??{})]:i.body=s=>[...s,...Object.entries(e)]),i}}}const sl=(t={})=>{const{defaultExtractor:e=!0}=t,n=[il(t)],r=[ol(t)];return{name:"@unocss/preset-tagify",variants:n,extractors:r,extractorDefault:e?void 0:!1}};var al=44,ll=59,lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Co=new Uint8Array(64),cl=new Uint8Array(128);for(let t=0;t<lr.length;t++){const e=lr.charCodeAt(t);Co[t]=e,cl[e]=t}function Ut(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(Co[o])}while(r>0);return e}var cr=1024*16,ur=typeof TextDecoder<"u"?new TextDecoder:typeof we.Buffer<"u"?{decode(t){return we.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}},ul=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(cr)}write(t){const{buffer:e}=this;e[this.pos++]=t,this.pos===cr&&(this.out+=ur.decode(e),this.pos=0)}flush(){const{buffer:t,out:e,pos:n}=this;return n>0?e+ur.decode(t.subarray(0,n)):e}};function fl(t){const e=new ul;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(ll),a.length===0)continue;let l=0;for(let u=0;u<a.length;u++){const f=a[u];u>0&&e.write(al),l=Ut(e,f[0],l),f.length!==1&&(n=Ut(e,f[1],n),r=Ut(e,f[2],r),o=Ut(e,f[3],o),f.length!==4&&(i=Ut(e,f[4],i)))}}return e.flush()}class Ee{constructor(e){this.bits=e instanceof Ee?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class ie{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 ie(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 ie(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 dl(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof we.Buffer=="function"?t=>we.Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const pl=dl();class ml{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=fl(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,"+pl(this.toString())}}function hl(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 gl(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 bl=Object.prototype.toString;function yl(t){return bl.call(t)==="[object Object]"}function fr(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 u=i+s>>1;o<n[u]?s=u:i=u+1}const a=i-1,l=o-n[a];return{line:a,column:l}}}const vl=/\w/;class kl{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 u=[this.generatedCodeColumn,e,r.line,r.column];o>=0&&u.push(o),this.rawSegments.push(u),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 u=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?vl.test(r[s])?l||(this.rawSegments.push(u),l=!0):(this.rawSegments.push(u),l=!1):this.rawSegments.push(u)}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 Dt=`
|
|
10
|
-
`,Pt={insertLeft:!1,insertRight:!1,storeName:!1};class En{constructor(e,n={}){const r=new ie(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 Ee},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 En(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 Ee(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 kl(e.hires),i=fr(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?gl(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 ml(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=hl(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(yl(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=u=>i?`${e}${u}`:(i=!0,u);this.intro=this.intro.replace(r,s);let a=0,l=this.firstChunk;for(;l;){const u=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<u;){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 Pt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Pt.insertLeft=!0),this.appendLeft(e,n)}insertRight(e,n){return Pt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Pt.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 u=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),u&&(u.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=l||null,u||(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&&(Pt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Pt.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const u=this.original.slice(e,n);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[e],l=this.byEnd[n];if(a){let u=a;for(;u!==l;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}a.edit(r,i,!s)}else{const u=new ie(e,n,"").edit(r,i);l.next=u,u.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(Dt);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(Dt),e!==-1)return r.outro.substr(e+1)+n;n=r.outro+n}if(r.content.length>0){if(e=r.content.lastIndexOf(Dt),e!==-1)return r.content.substr(e+1)+n;n=r.content+n}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Dt),e!==-1)return r.intro.substr(e+1)+n;n=r.intro+n}}while(r=r.previous);return e=this.intro.lastIndexOf(Dt),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=fr(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 jn(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 ze(t,e,n,r){if(t===""||(H(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 kt(t,e,n,r="(",o=")"){n=n??10;const i=[];let s=0;for(;t!=="";){if(++s>n)return;const a=ze(t,r,o,e);if(!a)return;const[l,u]=a;i.push(l),t=u}if(i.length>0)return i}const _n=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],wl=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],$l=["hsl","hwb","lch","oklch"],xl=["shorter","longer","increasing","decreasing"],Eo=["%alpha","<alpha-value>"],jo=new RegExp(Eo.map(t=>oe(t)).join("|"),"g");function dr(t){return t?wl.some(e=>t.includes(e))||$l.some(e=>t.includes(e))||xl.some(e=>t.includes(e)):!1}function Rt(t=""){const e=Sl(t);if(e==null||e===!1)return;const{type:n,components:r,alpha:o}=e,i=n.toLowerCase();if(r.length!==0&&!(_n.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 se(t,e){if(typeof t=="string")return t.replace(jo,`${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}`,_n.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}function Sl(t){if(!t)return;let e=Cl(t);if(e!=null||(e=El(t),e!=null)||(e=jl(t),e!=null)||(e=zl(t),e!=null)||(e=Al(t),e!=null))return e}function Cl(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 El(t){const e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function jl(t){const e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;const[,n,r]=e,o=kt(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 _l=new RegExp(`^(${_n.join("|")})\\((.+)\\)$`,"i");function zl(t){const e=t.match(_l);if(!e)return;const[,n,r]=e,o=_o(`${n} ${r}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Al(t){const e=t.match(/^color\((.+)\)$/);if(!e)return;const n=_o(e[1]);if(n){const{alpha:r,components:[o,...i]}=n;return{type:o,components:i,alpha:r}}}function _o(t){const e=kt(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=kt(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 Pl=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ol(t){return t.includes("theme(")&&t.includes(")")}function Ml(t,e,n=!0){const r=Array.from(t.toString().matchAll(Pl));if(!r.length)return t;const o=new En(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=Tl(s,e,n);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Tl(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=Rt(s);a&&(s=se(a,o))}return s}else if(n)throw new Error(`theme of "${t}" did not found`)}function pr(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 Rl(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 Jt="__pseudo_placeholder__",Vt=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(${Jt})`],["nth-last",`:nth-last-child(${Jt})`],["nth-last-of-type",`:nth-last-of-type(${Jt})`],["nth-of-type",`:nth-of-type(${Jt})`],"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}`])),zo=Object.keys(Vt),It=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Ao=Object.keys(It),Ll=["not","is","where","has"],Po=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ln=Object.entries(Vt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),cn=Object.entries(It).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),St=Ll.join("|"),mr=Object.keys(Po).sort((t,e)=>e.length-t.length).join("|"),Fl=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],hr=Object.entries(Vt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),gr=Object.entries(It).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function Wl(t,e,n,r){const{h:o,variantGetBracket:i}=r,s=new RegExp(`^(${oe(e)}:)(\\S+)${oe(n)}\\1`);let a,l,u,f;const d=g=>{const b=i(`${t}-`,g,[]);if(!b)return;const[v,x]=b,y=o.bracket(v);if(y==null)return;const k=x.split(a,1)?.[0]??"",$=`${e}${nt(k)}`;return[k,g.slice(g.length-(x.length-k.length-1)),y.includes("&")?y.replace(/&/g,$):`${$}${y}`]},h=g=>{const b=g.match(l)||g.match(u);if(!b)return;const[v,x,y]=b,k=b[3]??"";let $=Vt[y]||It[y]||`:${y}`;return x&&($=`:${x}(${$})`),[k,g.slice(v.length),`${e}${nt(k)}${$}`,y]},p=g=>{const b=g.match(f);if(!b)return;const[v,x,y]=b,k=b[3]??"",$=`:${x}(${y})`;return[k,g.slice(v.length),`${e}${nt(k)}${$}`]};return{name:`pseudo:${t}`,match(g,b){if(a&&l&&u||(a=new RegExp(`(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${St})-)?(${ln}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),u=new RegExp(`^${t}-(?:(?:(${St})-)?(${cn}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(w=>w!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${St})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!g.startsWith(t))return;const v=d(g)||h(g)||p(g);if(!v)return;const[x,y,k,$=""]=v;return{matcher:y,handle:(w,j)=>j({...w,prefix:`${k}${n}${w.prefix}`.replace(s,"$1$2:"),sort:zo.indexOf($)??Ao.indexOf($)})}},multiPass:!0}}function Nl(t){const{h:e}=t;let n,r,o;return[{name:"pseudo",match(i,s){n&&r||(n=new RegExp(`^(${hr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),r=new RegExp(`^(${gr})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));const a=i.match(n)||i.match(r);if(a){let l=Vt[a[1]]||It[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(Jt,f))}let u=zo.indexOf(a[1]);return u===-1&&(u=Ao.indexOf(a[1])),u===-1&&(u=void 0),{matcher:i.slice(a[0].length),handle:(f,d)=>{const h=l.includes("::")&&!Fl.includes(l)?{pseudo:`${f.pseudo}${l}`}:{selector:`${f.selector}${l}`};return d({...f,...h,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${hr}|${gr}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${mr})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return Po[a[1]].map(u=>({matcher:i.slice(a[0].length),handle:(f,d)=>d({...f,pseudo:`${f.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${mr}):`}]}function Vl(t){const{getBracket:e,h:n}=t;let r,o,i;return{match(s,a){r&&o||(r=new RegExp(`^(${St})-(${ln})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${St})-(${cn})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${St})-(\\[.+\\])(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));const l=s.match(r)||s.match(o)||s.match(i);if(l){const u=l[1],d=e(l[2],"[","]")?n.bracket(l[2]):Vt[l[2]]||It[l[2]]||`:${l[2]}`;return{matcher:s.slice(l[0].length),selector:h=>`${h}:${u}(${d})`}}},multiPass:!0,autocomplete:`(${St})-(${ln}|${cn}):`}}function Il(t,e){const n=!!t?.attributifyPseudo;let r=t?.prefix??"";r=nt((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const o=(i,s)=>Wl(i,n?`[${r}${i}=""]`:`.${r}${i}`,s,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const Hl=/(part-\[(.+)\]:)(.+)/;function Ul(){return{match(t){const e=t.match(Hl);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(`^${oe(t)}(?:${i.generator.config.separators.join("|")})`));const s=o.match(r);if(s){const a=o.slice(s[0].length),l=N(e).map(u=>({matcher:a,handle:(f,d)=>d({...f,...u(f)}),...n}));return l.length===1?l[0]:l}},autocomplete:`${t}:`}}function Q(t,e){let n;return{name:t,match(r,o){n||(n=new RegExp(`^${oe(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 ce(t,e,n){if(e.startsWith(`${t}[`)){const[r,o]=jn(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=ce(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 Oo=[["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"]],Dl={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(/\.$/,""),X=t=>`${z(t/16)}rem`,c=(t,e)=>`${z(t/e)}em`,Bl={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":c(32,16),"margin-bottom":c(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)"}},un={sm:{"font-size":X(14),"line-height":z(24/14),p:{"margin-top":c(16,14),"margin-bottom":c(16,14)},'[class~="lead"]':{"font-size":c(18,14),"line-height":z(28/18),"margin-top":c(16,18),"margin-bottom":c(16,18)},blockquote:{"margin-top":c(24,18),"margin-bottom":c(24,18),"padding-inline-start":c(20,18)},h1:{"font-size":c(30,14),"margin-top":"0","margin-bottom":c(24,30),"line-height":z(36/30)},h2:{"font-size":c(20,14),"margin-top":c(32,20),"margin-bottom":c(16,20),"line-height":z(28/20)},h3:{"font-size":c(18,14),"margin-top":c(28,18),"margin-bottom":c(8,18),"line-height":z(28/18)},h4:{"margin-top":c(20,14),"margin-bottom":c(8,14),"line-height":z(20/14)},img:{"margin-top":c(24,14),"margin-bottom":c(24,14)},picture:{"margin-top":c(24,14),"margin-bottom":c(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":c(24,14),"margin-bottom":c(24,14)},kbd:{"font-size":c(12,14),"border-radius":X(5),"padding-top":c(2,14),"padding-inline-end":c(5,14),"padding-bottom":c(2,14),"padding-inline-start":c(5,14)},code:{"font-size":c(12,14)},"h2 code":{"font-size":c(18,20)},"h3 code":{"font-size":c(16,18)},pre:{"font-size":c(12,14),"line-height":z(20/12),"margin-top":c(20,12),"margin-bottom":c(20,12),"border-radius":X(4),"padding-top":c(8,12),"padding-inline-end":c(12,12),"padding-bottom":c(8,12),"padding-inline-start":c(12,12)},ol:{"margin-top":c(16,14),"margin-bottom":c(16,14),"padding-inline-start":c(22,14)},ul:{"margin-top":c(16,14),"margin-bottom":c(16,14),"padding-inline-start":c(22,14)},li:{"margin-top":c(4,14),"margin-bottom":c(4,14)},"ol > li":{"padding-inline-start":c(6,14)},"ul > li":{"padding-inline-start":c(6,14)},"> ul > li p":{"margin-top":c(8,14),"margin-bottom":c(8,14)},"> ul > li > p:first-child":{"margin-top":c(16,14)},"> ul > li > p:last-child":{"margin-bottom":c(16,14)},"> ol > li > p:first-child":{"margin-top":c(16,14)},"> ol > li > p:last-child":{"margin-bottom":c(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":c(8,14),"margin-bottom":c(8,14)},dl:{"margin-top":c(16,14),"margin-bottom":c(16,14)},dt:{"margin-top":c(16,14)},dd:{"margin-top":c(4,14),"padding-inline-start":c(22,14)},hr:{"margin-top":c(40,14),"margin-bottom":c(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":c(12,14),"line-height":z(18/12)},"thead th":{"padding-inline-end":c(12,12),"padding-bottom":c(8,12),"padding-inline-start":c(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":c(8,12),"padding-inline-end":c(12,12),"padding-bottom":c(8,12),"padding-inline-start":c(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":c(24,14),"margin-bottom":c(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":c(12,14),"line-height":z(16/12),"margin-top":c(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":X(16),"line-height":z(28/16),p:{"margin-top":c(20,16),"margin-bottom":c(20,16)},'[class~="lead"]':{"font-size":c(20,16),"line-height":z(32/20),"margin-top":c(24,20),"margin-bottom":c(24,20)},blockquote:{"margin-top":c(32,20),"margin-bottom":c(32,20),"padding-inline-start":c(20,20)},h1:{"font-size":c(36,16),"margin-top":"0","margin-bottom":c(32,36),"line-height":z(40/36)},h2:{"font-size":c(24,16),"margin-top":c(48,24),"margin-bottom":c(24,24),"line-height":z(32/24)},h3:{"font-size":c(20,16),"margin-top":c(32,20),"margin-bottom":c(12,20),"line-height":z(32/20)},h4:{"margin-top":c(24,16),"margin-bottom":c(8,16),"line-height":z(24/16)},img:{"margin-top":c(32,16),"margin-bottom":c(32,16)},picture:{"margin-top":c(32,16),"margin-bottom":c(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":c(32,16),"margin-bottom":c(32,16)},kbd:{"font-size":c(14,16),"border-radius":X(5),"padding-top":c(3,16),"padding-inline-end":c(6,16),"padding-bottom":c(3,16),"padding-inline-start":c(6,16)},code:{"font-size":c(14,16)},"h2 code":{"font-size":c(21,24)},"h3 code":{"font-size":c(18,20)},pre:{"font-size":c(14,16),"line-height":z(24/14),"margin-top":c(24,14),"margin-bottom":c(24,14),"border-radius":X(6),"padding-top":c(12,14),"padding-inline-end":c(16,14),"padding-bottom":c(12,14),"padding-inline-start":c(16,14)},ol:{"margin-top":c(20,16),"margin-bottom":c(20,16),"padding-inline-start":c(26,16)},ul:{"margin-top":c(20,16),"margin-bottom":c(20,16),"padding-inline-start":c(26,16)},li:{"margin-top":c(8,16),"margin-bottom":c(8,16)},"ol > li":{"padding-inline-start":c(6,16)},"ul > li":{"padding-inline-start":c(6,16)},"> ul > li p":{"margin-top":c(12,16),"margin-bottom":c(12,16)},"> ul > li > p:first-child":{"margin-top":c(20,16)},"> ul > li > p:last-child":{"margin-bottom":c(20,16)},"> ol > li > p:first-child":{"margin-top":c(20,16)},"> ol > li > p:last-child":{"margin-bottom":c(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":c(12,16),"margin-bottom":c(12,16)},dl:{"margin-top":c(20,16),"margin-bottom":c(20,16)},dt:{"margin-top":c(20,16)},dd:{"margin-top":c(8,16),"padding-inline-start":c(26,16)},hr:{"margin-top":c(48,16),"margin-bottom":c(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":c(14,16),"line-height":z(24/14)},"thead th":{"padding-inline-end":c(8,14),"padding-bottom":c(8,14),"padding-inline-start":c(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":c(8,14),"padding-inline-end":c(8,14),"padding-bottom":c(8,14),"padding-inline-start":c(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":c(32,16),"margin-bottom":c(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":c(14,16),"line-height":z(20/14),"margin-top":c(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":X(18),"line-height":z(32/18),p:{"margin-top":c(24,18),"margin-bottom":c(24,18)},'[class~="lead"]':{"font-size":c(22,18),"line-height":z(32/22),"margin-top":c(24,22),"margin-bottom":c(24,22)},blockquote:{"margin-top":c(40,24),"margin-bottom":c(40,24),"padding-inline-start":c(24,24)},h1:{"font-size":c(48,18),"margin-top":"0","margin-bottom":c(40,48),"line-height":z(48/48)},h2:{"font-size":c(30,18),"margin-top":c(56,30),"margin-bottom":c(32,30),"line-height":z(40/30)},h3:{"font-size":c(24,18),"margin-top":c(40,24),"margin-bottom":c(16,24),"line-height":z(36/24)},h4:{"margin-top":c(32,18),"margin-bottom":c(8,18),"line-height":z(28/18)},img:{"margin-top":c(32,18),"margin-bottom":c(32,18)},picture:{"margin-top":c(32,18),"margin-bottom":c(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":c(32,18),"margin-bottom":c(32,18)},kbd:{"font-size":c(16,18),"border-radius":X(5),"padding-top":c(4,18),"padding-inline-end":c(8,18),"padding-bottom":c(4,18),"padding-inline-start":c(8,18)},code:{"font-size":c(16,18)},"h2 code":{"font-size":c(26,30)},"h3 code":{"font-size":c(21,24)},pre:{"font-size":c(16,18),"line-height":z(28/16),"margin-top":c(32,16),"margin-bottom":c(32,16),"border-radius":X(6),"padding-top":c(16,16),"padding-inline-end":c(24,16),"padding-bottom":c(16,16),"padding-inline-start":c(24,16)},ol:{"margin-top":c(24,18),"margin-bottom":c(24,18),"padding-inline-start":c(28,18)},ul:{"margin-top":c(24,18),"margin-bottom":c(24,18),"padding-inline-start":c(28,18)},li:{"margin-top":c(12,18),"margin-bottom":c(12,18)},"ol > li":{"padding-inline-start":c(8,18)},"ul > li":{"padding-inline-start":c(8,18)},"> ul > li p":{"margin-top":c(16,18),"margin-bottom":c(16,18)},"> ul > li > p:first-child":{"margin-top":c(24,18)},"> ul > li > p:last-child":{"margin-bottom":c(24,18)},"> ol > li > p:first-child":{"margin-top":c(24,18)},"> ol > li > p:last-child":{"margin-bottom":c(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":c(16,18),"margin-bottom":c(16,18)},dl:{"margin-top":c(24,18),"margin-bottom":c(24,18)},dt:{"margin-top":c(24,18)},dd:{"margin-top":c(12,18),"padding-inline-start":c(28,18)},hr:{"margin-top":c(56,18),"margin-bottom":c(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":c(16,18),"line-height":z(24/16)},"thead th":{"padding-inline-end":c(12,16),"padding-bottom":c(12,16),"padding-inline-start":c(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":c(12,16),"padding-inline-end":c(12,16),"padding-bottom":c(12,16),"padding-inline-start":c(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":c(32,18),"margin-bottom":c(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":c(16,18),"line-height":z(24/16),"margin-top":c(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":X(20),"line-height":z(36/20),p:{"margin-top":c(24,20),"margin-bottom":c(24,20)},'[class~="lead"]':{"font-size":c(24,20),"line-height":z(36/24),"margin-top":c(24,24),"margin-bottom":c(24,24)},blockquote:{"margin-top":c(48,30),"margin-bottom":c(48,30),"padding-inline-start":c(32,30)},h1:{"font-size":c(56,20),"margin-top":"0","margin-bottom":c(48,56),"line-height":z(56/56)},h2:{"font-size":c(36,20),"margin-top":c(56,36),"margin-bottom":c(32,36),"line-height":z(40/36)},h3:{"font-size":c(30,20),"margin-top":c(48,30),"margin-bottom":c(20,30),"line-height":z(40/30)},h4:{"margin-top":c(36,20),"margin-bottom":c(12,20),"line-height":z(32/20)},img:{"margin-top":c(40,20),"margin-bottom":c(40,20)},picture:{"margin-top":c(40,20),"margin-bottom":c(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":c(40,20),"margin-bottom":c(40,20)},kbd:{"font-size":c(18,20),"border-radius":X(5),"padding-top":c(5,20),"padding-inline-end":c(8,20),"padding-bottom":c(5,20),"padding-inline-start":c(8,20)},code:{"font-size":c(18,20)},"h2 code":{"font-size":c(31,36)},"h3 code":{"font-size":c(27,30)},pre:{"font-size":c(18,20),"line-height":z(32/18),"margin-top":c(36,18),"margin-bottom":c(36,18),"border-radius":X(8),"padding-top":c(20,18),"padding-inline-end":c(24,18),"padding-bottom":c(20,18),"padding-inline-start":c(24,18)},ol:{"margin-top":c(24,20),"margin-bottom":c(24,20),"padding-inline-start":c(32,20)},ul:{"margin-top":c(24,20),"margin-bottom":c(24,20),"padding-inline-start":c(32,20)},li:{"margin-top":c(12,20),"margin-bottom":c(12,20)},"ol > li":{"padding-inline-start":c(8,20)},"ul > li":{"padding-inline-start":c(8,20)},"> ul > li p":{"margin-top":c(16,20),"margin-bottom":c(16,20)},"> ul > li > p:first-child":{"margin-top":c(24,20)},"> ul > li > p:last-child":{"margin-bottom":c(24,20)},"> ol > li > p:first-child":{"margin-top":c(24,20)},"> ol > li > p:last-child":{"margin-bottom":c(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":c(16,20),"margin-bottom":c(16,20)},dl:{"margin-top":c(24,20),"margin-bottom":c(24,20)},dt:{"margin-top":c(24,20)},dd:{"margin-top":c(12,20),"padding-inline-start":c(32,20)},hr:{"margin-top":c(56,20),"margin-bottom":c(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":c(18,20),"line-height":z(28/18)},"thead th":{"padding-inline-end":c(12,18),"padding-bottom":c(16,18),"padding-inline-start":c(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":c(16,18),"padding-inline-end":c(12,18),"padding-bottom":c(16,18),"padding-inline-start":c(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":c(40,20),"margin-bottom":c(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":c(18,20),"line-height":z(28/18),"margin-top":c(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":X(24),"line-height":z(40/24),p:{"margin-top":c(32,24),"margin-bottom":c(32,24)},'[class~="lead"]':{"font-size":c(30,24),"line-height":z(44/30),"margin-top":c(32,30),"margin-bottom":c(32,30)},blockquote:{"margin-top":c(64,36),"margin-bottom":c(64,36),"padding-inline-start":c(40,36)},h1:{"font-size":c(64,24),"margin-top":"0","margin-bottom":c(56,64),"line-height":z(64/64)},h2:{"font-size":c(48,24),"margin-top":c(72,48),"margin-bottom":c(40,48),"line-height":z(52/48)},h3:{"font-size":c(36,24),"margin-top":c(56,36),"margin-bottom":c(24,36),"line-height":z(44/36)},h4:{"margin-top":c(40,24),"margin-bottom":c(16,24),"line-height":z(36/24)},img:{"margin-top":c(48,24),"margin-bottom":c(48,24)},picture:{"margin-top":c(48,24),"margin-bottom":c(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":c(48,24),"margin-bottom":c(48,24)},kbd:{"font-size":c(20,24),"border-radius":X(6),"padding-top":c(6,24),"padding-inline-end":c(8,24),"padding-bottom":c(6,24),"padding-inline-start":c(8,24)},code:{"font-size":c(20,24)},"h2 code":{"font-size":c(42,48)},"h3 code":{"font-size":c(32,36)},pre:{"font-size":c(20,24),"line-height":z(36/20),"margin-top":c(40,20),"margin-bottom":c(40,20),"border-radius":X(8),"padding-top":c(24,20),"padding-inline-end":c(32,20),"padding-bottom":c(24,20),"padding-inline-start":c(32,20)},ol:{"margin-top":c(32,24),"margin-bottom":c(32,24),"padding-inline-start":c(38,24)},ul:{"margin-top":c(32,24),"margin-bottom":c(32,24),"padding-inline-start":c(38,24)},li:{"margin-top":c(12,24),"margin-bottom":c(12,24)},"ol > li":{"padding-inline-start":c(10,24)},"ul > li":{"padding-inline-start":c(10,24)},"> ul > li p":{"margin-top":c(20,24),"margin-bottom":c(20,24)},"> ul > li > p:first-child":{"margin-top":c(32,24)},"> ul > li > p:last-child":{"margin-bottom":c(32,24)},"> ol > li > p:first-child":{"margin-top":c(32,24)},"> ol > li > p:last-child":{"margin-bottom":c(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":c(16,24),"margin-bottom":c(16,24)},dl:{"margin-top":c(32,24),"margin-bottom":c(32,24)},dt:{"margin-top":c(32,24)},dd:{"margin-top":c(12,24),"padding-inline-start":c(38,24)},hr:{"margin-top":c(72,24),"margin-bottom":c(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":c(20,24),"line-height":z(28/20)},"thead th":{"padding-inline-end":c(12,20),"padding-bottom":c(16,20),"padding-inline-start":c(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":c(16,20),"padding-inline-end":c(12,20),"padding-bottom":c(16,20),"padding-inline-start":c(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":c(48,24),"margin-bottom":c(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":c(20,24),"line-height":z(32/20),"margin-top":c(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function ql(t){const e=te(Dl);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 Kl(t){return t?Ft(un,t):un}function br(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,u]=s.split("::"),f=`:where(${l})${r}${u?`::${u}`:""}`;i+=`${f} {`;for(const[d,h]of Object.entries(a))i+=`${d}:${h}${o?" !important":""};`;i+="}"}return i}function Gl(t){for(const[e,...n]of Oo)if(e===t)return n.length>0?n:[e]}const Yl=t=>{const e=t?.selectorName??"prose",n=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,r=t?.cssVarPrefix??"--un-prose",o=ql(t?.colorScheme),i=Kl(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$`),u=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 g=s(Ft(Bl,un.base),p),b=br(g,t??{});return{[h.body]:b,[h.selector]:a}},{layer:"typography",autocomplete:"prose",internal:!0}],[u,([,d],{theme:h,symbols:p})=>{const g=h.colors?.[d];return!g||typeof g!="object"?void 0:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(d)?{[`${r}-links`]:g[600],[`${r}-invert-links`]:g[500],[p.selector]:a}:Object.entries(o).reduce((v,[x,y])=>{const[k,$]=y,w=L=>g[L]??h[L]??L,j=w(k),S=w($),E=`${r}-${x}`,C=`${r}-invert-${x}`;v[E]=se(j,`var(${E}-opacity)`),v[C]=se(S,`var(${C}-opacity)`);for(const[L,F]of[[j,`${E}-opacity`],[S,`${C}-opacity`]])Eo.some(q=>L.includes(q))&&(v[F]="1");return v},{[p.selector]:a})},{layer:"typography",autocomplete:`${e}-$colors`}],[f,([,d],{symbols:h,theme:p})=>{const g=br(s(i[d],p),t??{});return{[h.body]:g,[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)`,[Y.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 g=Gl(p);if(g?.length)return{matcher:d.slice(e.length+p.length+2),selector:b=>{const v=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return n?g.map(y=>`${b} ${y}`).join(","):`${b} :is(:where(${g})${v})`}}}}},autocomplete:`${e}-(${Oo.map(d=>`${d[0]}:`).join("|")})`}]}};var Xl={};function Zl(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 u=s.map(d=>d.toString());return!u.some(d=>d.endsWith("i"))&&a&&(u=u.map(d=>d+="i")),`${l}:${u.join(",")}`});return`${e}/css?family=${r.join("|")}&display=swap`}}}const Jl=Zl("bunny","https://fonts.bunny.net");function Ql(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 Mo(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+=Ql(s)),`family=${i}`}).join("&");return`${e}/css2?${r}&display=swap`}}}const tc=Mo("google","https://fonts.googleapis.com"),ec=Mo("coollabs","https://api.fonts.coollabs.io"),nc=rc("fontshare","https://api.fontshare.com");function rc(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 oc(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=[],u=a.name.toLowerCase().replace(/\s+/g,"-");let f=n.get(u);if(!f){const x=`https://api.fontsource.org/v1/fonts/${u}`;try{f=await i(x),n.set(u,f)}catch{throw new Error(`Failed to fetch font: ${a.name}`)}}const{weights:d,unicodeRange:h,variants:p,family:g}=f,b=f.subsets.filter(x=>a.subsets?a.subsets.includes(x):!0),v=a.italic?"italic":"normal";if(f.variable&&!a.preferStatic){let x=r.get(u);const y=`https://api.fontsource.org/v1/variable/${u}`;try{x=await i(y),r.set(u,x)}catch{throw new Error(`Failed to fetch font variable: ${a.name}`)}const k=Ft(x.axes,a.variable??{});for(const $ of b)if(h[$]){const w=`${e}/fontsource/fonts/${f.id}:vf@latest/${$}-wght-${v}.woff2`,j={family:g,display:"swap",style:v,weight:400,src:[{url:w,format:"woff2-variations"}],variable:{wght:k.wght??void 0,wdth:k.wdth??void 0,slnt:k.slnt??void 0},unicodeRange:h[$],comment:`${f.id}-${$}-wght-normal`};l.push(Ue(j))}else Object.entries(h).filter(([w])=>!f.subsets.includes(w)).forEach(([w,j])=>{const S=`${e}/fontsource/fonts/${f.id}:vf@latest/${w.slice(1,-1)}-wght-${v}.woff2`,E={family:g,display:"swap",style:v,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:j,comment:`${f.id}-${w}-wght-normal`};l.push(Ue(E))})}else{const x=a.weights&&a.weights.length>0?a.weights:d;for(const y of b)for(const k of x){const $=p[k][v][y].url,w={family:g,display:"swap",style:v,weight:Number(k),src:[{url:$.woff2,format:"woff2"}],unicodeRange:h[y],comment:`${f.id}-${y}-${k}-${v}`};l.push(Ue(w))}}return l}))).flat().join(`
|
|
13
|
-
|
|
14
|
-
`)}}}const ic=oc("fontsource","https://cdn.jsdelivr.net");function Ue(t){const{family:e,style:n,display:r,weight:o,variable:i,src:s,unicodeRange:a,comment:l,spacer:u=`
|
|
15
|
-
`}=t,{wght:f,wdth:d,slnt:h}=i??{};let p="@font-face {";return p+=`${u}font-family: '${e}';`,p+=`${u}font-style: ${h?`oblique ${Number(h.max)*-1}deg ${Number(h.min)*-1}deg`:n};`,p+=`${u}font-display: ${r};`,p+=`${u}font-weight: ${f?sc(f):o};`,d&&(p+=`${u}font-stretch: ${d.min}% ${d.max}%;`),p+=`${u}src: ${s.map(({url:g,format:b})=>`url(${g}) format('${b}')`).join(", ")};`,a&&(p+=`${u}unicode-range: ${a};`),l&&(p=`/* ${l} */
|
|
16
|
-
${p}`),`${p}
|
|
17
|
-
}`}function sc(t){return t?t.min===t.max?`${t.min}`:`${t.min} ${t.max}`:"400"}const ac={name:"none",getPreflight(){return""},getFontName(t){return t.name}},lc={google:tc,bunny:Jl,fontshare:nc,fontsource:ic,coollabs:ec,none:ac};function yr(t){return typeof t=="string"?lc[t]:t}function cc(t,e){if(typeof t!="string")return t.provider=yr(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:yr(e)}}function uc(t){return(e={})=>{const{provider:n="google",extendTheme:r=!0,inlineImports:o=!0,customFetch:i=t,timeouts:s={}}=e,a="fonts",l=o?a:so,u=N(e.processors||[]),f=Object.fromEntries(Object.entries(e.fonts||{}).map(([y,k])=>[y,N(k).map($=>cc($,n))])),d=Object.values(f).flatMap(y=>y),h={};async function p(y){if(s===!1)return i(y);const{warning:k=1e3,failure:$=2e3}=s;let w=!1;const j=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${y}`),w=!0},k);return await Promise.race([i(y),new Promise((S,E)=>{setTimeout(()=>E(new Error("[unocss] Fetch web fonts timeout.")),$)})]).then(S=>(w&&console.info("[unocss] Web fonts fetched."),S)).finally(()=>clearTimeout(j))}async function g(y){return o?(h[y]||(h[y]=p(y).catch(k=>{if(console.error(`[unocss] Failed to fetch web fonts: ${y}`),console.error(k),typeof process<"u"&&Xl.CI)throw k})),await h[y]):`@import url('${y}');`}const b=Array.from(new Set(d.map(y=>y.provider)));async function v(y,k){const $=[];for(const j of k){const S=y.filter(E=>E.provider.name===j.name);if(j.getImportUrl){const E=j.getImportUrl(S);E&&$.push(await g(E))}try{$.push(await j.getPreflight?.(S,p))}catch(E){console.warn("[unocss] Web fonts preflight fetch failed.",E)}}return $.filter(Boolean).join(`
|
|
18
|
-
`)}const x={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let y;for(const k of u){const $=await k.getCSS?.(d,b,v);if($){y=$;break}}y||(y=await v(d,b));for(const k of u)y=await k.transformCSS?.(y)||y;return y},layer:l}],layers:{[a]:-200}};return r&&(x.extendTheme=(y,k)=>{const $=k.presets.some(S=>S.name==="@unocss/preset-wind4"),w=e.themeKey??($?"font":"fontFamily");y[w]||(y[w]={});const j=Object.fromEntries(Object.entries(f).map(([S,E])=>[S,E.map(C=>C.provider.getFontName?.(C)??`"${C.name}"`)]));for(const S of Object.keys(j))typeof y[w][S]=="string"?y[w][S]=j[S].map(E=>`${E},`).join("")+y[w][S]:y[w][S]=j[S].join(",")}),x}}const fc="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",dc=async t=>(await $o(async()=>{const{$fetch:e}=await import("./shared-B__Q9CbY.js").then(n=>n.i);return{$fetch:e}},__vite__mapDeps([0,1,2]),import.meta.url)).$fetch(t,{headers:{"User-Agent":fc},retry:3}),pc=uc(dc);function mc(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 hc(t,e,n,r){for(const o of Array.from(t.matchAll(n)))if(o!=null){const i=o[0],s=`${r}${mc(i)}`;e.set(s,i),t=t.replace(i,s)}return t}function gc(t,e){for(const[n,r]of e.entries())t=t.replaceAll(n,r);return t}const bc=/\/\/#\s*sourceMappingURL=.*\n?/g;function yc(t){return t.includes("sourceMappingURL=")?t.replace(bc,""):t}const vc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,kc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,wc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function $c(t){const e=[];for(const o of t.matchAll(kc))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(const o of t.matchAll(vc))e.push(o[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return t=hc(t,n,/-\[(?!&.+?;)[^\]]*\]/g,r),t&&t.split(ao).forEach(o=>{o.includes(r)&&(o=gc(o,n)),sn(o)&&!wc.test(o)&&e.push(o)}),e}function xc(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return $c(yc(t))}}}const Sc="@unocss/preset-wind4",fn="$$mini-no-negative",Ae={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"]},vr={...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"]},ve={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"]},To={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Cc=["x","y","z"],kr=["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({},...kr.map(t=>({[t.replace(/ /,"-")]:t})),...kr.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),B=["inherit","initial","revert","revert-layer","unset"],zn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ec=/^(var)\s*\((.+)\)(.*)/,Pe=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,jc=/^(-?\d*(?:\.\d+)?)$/,Ro=/^(px|[sld]?v[wh])$/i,Lo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},An=/^\[(color|image|length|size|position|quoted|string|number|family):/i,_c=/,(?![^()]*\))/g,zc=["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 Ac(t){const e=t.match(Pe);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(r&&!Number.isNaN(o))return`${lt(o)}${r}`}function Pc(t){if(t==="auto"||t==="a")return"auto"}function Oc(t){if(!t)return;if(Ro.test(t))return`${Lo[t]}${t}`;const e=t.match(Pe);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 Mc(t){if(Ro.test(t))return`${Lo[t]}${t}`;const e=t.match(Pe);if(!e)return;const[,n,r]=e,o=Number.parseFloat(n);if(!Number.isNaN(o))return r?`${lt(o)}${r}`:`${lt(o)}px`}function Fo(t){if(!jc.test(t))return;const e=Number.parseFloat(t);if(!Number.isNaN(e))return lt(e)}function Tc(t){t.endsWith("%")&&(t=t.slice(0,-1));const e=Fo(t);if(e!=null)return`${e}%`}function Rc(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 wr(t,e,n,r){const o=ae(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&&P(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(An);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,u]=a,[f,...d]=l.split("."),{val:h,varKey:p}=wr(l,f,d,n);h!=null&&(r=`calc(var(--${nt(p.replaceAll(".","-"))}) * ${u})`)}else{const[l,u]=r.slice(2).split(","),f=u?`, ${u}`:"",d=nt(l);if(n){const[h,...p]=l.split("."),{val:g,varKey:b}=wr(l,h,p,n);r=g!=null?`var(--${nt(b.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,(u,f)=>(l.push(f),u.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>l.shift())})}}function Lc(t,e){return zt(t,void 0,e)}function Fc(t,e){return zt(t,"color",e)}function Wc(t,e){return zt(t,"length",e)||zt(t,"size",e)}function Nc(t,e){return zt(t,"position",e)}function Vc(t,e){return zt(t,"family",e)}function Ic(t,e){return zt(t,"number",e)}function Hc(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 Uc(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 Dc(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 Bc(t){if(B.includes(t))return t}function qc(t){if(t.split(",").every(e=>zc.includes(e)))return t}function Kc(t){if(["top","left","right","bottom","center"].includes(t))return t}function Gc(t){if(t==="none")return"none"}const Yc={__proto__:null,auto:Pc,bracket:Lc,bracketOfColor:Fc,bracketOfFamily:Vc,bracketOfLength:Wc,bracketOfNumber:Ic,bracketOfPosition:Nc,cssvar:Hc,degree:Dc,fraction:Rc,global:Bc,none:Gc,number:Fo,numberWithUnit:Ac,percent:Tc,position:Kc,properties:qc,px:Mc,rem:Oc,time:Uc},Xc=Rl(Yc),m=Xc;function rt(t,e){const n=m.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 P("spacing"),e[o].map(u=>[n(t,u),`calc(var(--spacing) * ${l?"-":""}${a})`]);if(s.spacing&&i in s.spacing)return P("spacing",i),e[o].map(u=>[n(t,u),l?`calc(var(--${nt(`spacing-${i}`)}) * -1)`:`var(--${nt(`spacing-${i}`)})`]);if(a=m.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i,s),a!=null)return e[o].map(u=>[n(t,u),a])}})}function Oe(t,e){let n;const[r,...o]=kt(t,["/",":"],3)??[];if(r!=null){const b=(r.match(An)??[])[1];(b==null||b==="color")&&(n=[r,...o])}if(!n)return;let i,[s,a,l]=n;dr(a)||dr(m.bracket(a??""))?l=a:i=a;const u=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=u;if(!f)return;let d=$r(e,u);if(!d&&u.length>=2){const b=u.at(-1),v=u.at(-2);if(/^\d+$/.test(b)){const x=u.slice(0,-2).concat([`${v}${b}`]);d=$r(e,x)}}let{no:h,keys:p,color:g}=d??{};if(!g){const b=m.bracketOfColor(s,e),v=b||s;if(m.numberWithUnit(v))return;/^#[\da-f]+$/i.test(v)?g=v:/^hex-[\da-fA-F]+$/.test(v)?g=`#${v.slice(4)}`:s.startsWith("$")&&(g=m.cssvar(s)),g=g||b}return{opacity:i,modifier:l&&m.bracket.cssvar(l)||l,name:f,no:h,color:g??Ae[f],alpha:m.bracket.cssvar.percent(i??""),keys:p,get cssColor(){return Rt(this.color)}}}function $r(t,e){let n,r,o;const i=ae(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 ae(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 u=i[l];return a===s.length?u:o(u,s.slice(a))}}}return o(r,n)}function Wo(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} */`:"",u={};if(o){const f=[u],d=o.includes("var("),h=Object.values(Ae).includes(o);if(h&&!s)return u[e]=o,f;const p=`--un-${n}-opacity`,g=i&&!d&&!h?D("colors",i):o;let b=a??(i?"in srgb":"in oklab");if(!b.startsWith("in ")&&!b.startsWith("var(")&&(b=`in ${b}`),u[e]=`color-mix(${b}, ${g} ${s??`var(${p})`}, transparent)${l}`,f.push(_(p,{syntax:"<percentage>",initialValue:"100%"})),!h){if(i&&!d&&(P("colors",i),!a)){const v=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(n)?`${s?`color-mix(in oklab, ${g} ${s}, transparent)`:`${g}`} var(${p})`:`${g} ${s??`var(${p})`}`;f.push({[Y.parent]:"@supports (color: color-mix(in lab, red, red))",[Y.noMerge]:!0,[e]:`color-mix(in oklab, ${v}, transparent)${l}`})}r?.theme&&Te(o,r.theme)}return f}}function I(t,e){return([,n],r)=>{const o=Oe(n??"",r.theme);if(o)return Wo(o,t,e,r)}}function Pn(t,e,n){const r=[];t=N(t);for(let o=0;o<t.length;o++){const i=kt(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 u=i.at(-1);if(Rt(i.at(0))){const f=Rt(i.shift());f&&(l=se(f))}else if(Rt(u)){const f=Rt(i.pop());f&&(l=se(f))}else if(u&&u.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 wt(t,e){return t!=null&&!!Oe(t,e)?.color}const xr=/[a-z]+/gi,De=new WeakMap;function Me({theme:t,generator:e},n="breakpoint"){const r=e?.userConfig?.theme?.[n]||t[n];if(!r)return;if(De.has(t))return De.get(t);const o=Object.entries(r).sort((i,s)=>Number.parseInt(i[1].replace(xr,""))-Number.parseInt(s[1].replace(xr,""))).map(([i,s])=>({point:i,size:s}));return De.set(t,o),o}function M(t,e){return B.map(n=>[`${t}-${n}`,{[e??t]:n}])}function _(t,e={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=e,i={[Y.shortcutsNoMerge]:!0,[Y.noMerge]:!0,[Y.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return o!=null&&(i["initial-value"]=o),Jc(t,o?String(o):"initial"),i}function ue(t){return t!=null&&zn.test(t)}function Zc(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),zn.test(t)||Pe.test(t)}function dn(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function No(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const Wt=new Set([]);function P(t,e="DEFAULT"){const n=`${t}:${N(e).join("-")}`;Wt.has(n)||Wt.add(n)}function D(t,e){return`var(--${t}-${N(e).join("-")})`}function Te(t,e){if(t.startsWith("var(")){const n=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[r,...o]=n.split("-"),i=ae(e,r,o);typeof i=="string"&&(P(r,o),Te(i,e))}}}const Nt=new Map;function Jc(t,e){Nt.has(t)||Nt.set(t,e)}function Qc({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 tu({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 eu(t){return[Qc,tu].flatMap(e=>e(t))}const nu={name:"aria",match(t,e){const n=ot("aria-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r)??e.theme.aria?.[r]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function Ot(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=m.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:(u,f)=>f({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:l[t]})}}}},multiPass:!0}}const ru=[Ot("group"),Ot("peer"),Ot("parent"),Ot("previous"),Ot("has"),Ot("in")],Sr=/(max|min)-\[([^\]]*)\]:/;function ou(){const t={};return{name:"breakpoints",match(e,n){if(Sr.test(e)){const o=e.match(Sr);return{matcher:e.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const r=(Me(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,u=e.slice(l.length);if(u==="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:u,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (max-width: ${pr(i)})`,parentOrder:h})}):(h+=s+1,d&&s<r.length-1?{matcher:u,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${pr(r[s+1][1])})`,parentOrder:h})}:{matcher:u,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const iu=[st("*",t=>({selector:`${t.selector} > *`}),{order:-1}),st("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Bt(t,e){return{name:`combinator:${t}`,match(n,r){if(!n.startsWith(t))return;const o=r.generator.config.separators;let i=ce(`${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=m.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}const su=[Bt("all"," "),Bt("children",">"),Bt("next","+"),Bt("sibling","+"),Bt("siblings","~")],au=[st("svg",t=>({selector:`${t.selector} svg`}))],lu={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=m.bracket(r);let a;if(s?a=m.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:(u,f)=>f({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function cu(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[Q("dark","@media (prefers-color-scheme: dark)"),Q("light","@media (prefers-color-scheme: light)")]}const uu=[st(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),st(".light",t=>({prefix:`.light $$ ${t.prefix}`})),Q("@dark","@media (prefers-color-scheme: dark)"),Q("@light","@media (prefers-color-scheme: light)"),Q("not-dark","@media not (prefers-color-scheme: dark)")],fu={name:"data",match(t,e){const n=ot("data-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r)??e.theme.data?.[r]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Mt(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=m.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:(u,f)=>f({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:l[t]})}}}},multiPass:!0}}const du=[Mt("group"),Mt("peer"),Mt("parent"),Mt("previous"),Mt("has"),Mt("in")],pu=[st("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),st("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function mu(){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 hu=st("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),gu=Q("noscript","@media (scripting: none)"),bu={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)"]},yu=Q("print","@media print"),vu={name:"media",match(t,e){const n=ot("media-",t,e.generator.config.separators);if(n){const[r,o]=n;let i=m.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"},ku=[Q("contrast-more","@media (prefers-contrast: more)"),Q("contrast-less","@media (prefers-contrast: less)")],wu=[Q("motion-reduce","@media (prefers-reduced-motion: reduce)"),Q("motion-safe","@media (prefers-reduced-motion: no-preference)")],$u=[Q("landscape","@media (orientation: landscape)"),Q("portrait","@media (orientation: portrait)")],xu=[Q("forced-colors","@media (forced-colors: active)")],Su={name:"selector",match(t,e){const n=ce("selector-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r);if(i)return{matcher:o,selector:()=>i}}}},Cu={name:"layer",match(t,e){const n=ot("layer-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r)??r;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Eu={name:"uno-layer",match(t,e){const n=ot("uno-layer-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r)??r;if(i)return{matcher:o,layer:i}}}},ju={name:"scope",match(t,e){const n=ce("scope-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},_u={name:"variables",match(t,e){if(!t.startsWith("["))return;const[n,r]=jn(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=m.bracket(n)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){const u=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...u})}}},multiPass:!0},zu={name:"theme-variables",match(t,e){if(Ol(t))return{matcher:t,handle(n,r){return r({...n,entries:JSON.parse(Ml(JSON.stringify(n.entries),e.theme))})}}}},Au=[st("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],Pu={name:"implicit-group",match(t,e){const n=ot("in-",t,e.generator.config.separators);if(n){const[r,o]=n,i=m.bracket(r)??r;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},Vo=/^-?[0-9.]+(?:[a-z]+|%)?$/,Io=/-?[0-9.]+(?:[a-z]+|%)?/,Ou=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function Mu(t){const e=t.match(zn)||t.match(Ec);if(e){const[n,r]=ze(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(n)return`calc(${e[1]}${n} * -1)${r?` ${r}`:""}`}}const Tu=/\b(hue-rotate)\s*(\(.*)/;function Ru(t){const e=t.match(Tu);if(e){const[n,r]=ze(e[2],"(",")"," ")??[];if(n){const o=Vo.test(n.slice(1,-1))?n.replace(Io,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${n} * -1))`;return`${e[1]}${o}${r?` ${r}`:""}`}}}const Lu={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(r=>r[0]===fn))return;let n=!1;return e.forEach(r=>{if(N(r[2]).includes(fn))return;const o=r[1]?.toString();if(!o||o==="0"||Ou.some(a=>a.test(r[0])))return;const i=Mu(o);if(i){r[1]=i,n=!0;return}const s=Ru(o);if(s){r[1]=s,n=!0;return}Vo.test(o)&&(r[1]=o.replace(Io,a=>a.startsWith("-")?a.slice(1):`-${a}`),n=!0)}),n?e:[]}}}},Fu=(t,{theme:e})=>{const n=t.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,r="",o,i]=n;if(wt(i,e)||Wu(i))return{matcher:`${r}placeholder-$ ${o}${i}`}}};function Wu(t){const e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?m.bracket.percent(e[1])!=null:!1}function Nu(){return Nl({h:m})}function Vu(){return Vl({getBracket:jn,h:m})}function Iu(t={}){return Il(t,{h:m,variantGetBracket:ce})}const Hu=Ul(),Uu={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,n)=>n({...e,parent:"@starting-style"})}}},Du={name:"supports",match(t,e){const n=ot("supports-",t,e.generator.config.separators);if(n){const[r,o]=n;let i=m.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 Bu(t){return[nu,fu,Cu,Su,Eu,Lu,Uu,mu(),Du,gu,bu,yu,vu,...ku,...wu,...$u,...xu,ou(),...su,...au,Fu,...Nu(),Vu(),...Iu(t),Hu,...cu(t),...uu,...pu,ju,...iu,hu,lu,_u,...du,...ru,zu,...Au,Pu].flat()}const Ho={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(Ho).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});const qu={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"}},Ku={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"'},Gu={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Yu={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(",")},Xu={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"}},Zu={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ju={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Qu={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},tf={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},ef={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)"},nf={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"},rf={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"},of={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)"},sf={"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)"},af={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)"},lf={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)"]},cf={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},uf={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)"}},ff={"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"},Uo={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},df={...Uo},pf={grid:"(display: grid)"},mf={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)"},hf={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(",")}},gf={font:Yu,colors:Ho,spacing:nf,breakpoint:Uo,verticalBreakpoint:df,text:Xu,fontWeight:Zu,tracking:Ju,leading:Qu,textStrokeWidth:tf,radius:rf,shadow:of,insetShadow:sf,dropShadow:af,textShadow:lf,ease:mf,animation:qu,blur:Gu,perspective:cf,property:hf,default:uf,container:ff,aria:Ku,media:ef,supports:pf},bf=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],yf=/@media \(min-width: (.+)\)/,vf=[[/^__container$/,(t,e)=>{const{theme:n,variantHandlers:r}=e,o=n.containers?.padding;let i;H(o)?i=o:i=o?.DEFAULT;const s=n.containers?.maxWidth;let a;for(const u of r){const f=u.handle?.({},d=>d)?.parent;if(H(f)){const d=f.match(yf)?.[1];if(d){const p=(Me(e)??[]).find(g=>g.size===d)?.point;s?p&&(a=s?.[p]):a=d,p&&!H(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}]],kf=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let n=(Me(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}]],wf=[...kf],Cr={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]))},$f=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Cr[t]??m.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Cr).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Er=["center","left","right","justify","start","end"],xf=[...Er.map(t=>[`text-${t}`,{"text-align":t}]),...[...B,...Er].map(t=>[`text-align-${t}`,{"text-align":t}])],Sf=[[/^(?: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:m.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":m.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??m.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??m.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??m.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":m.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"}],...M("animate","animation")],Do={"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 jr(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 Cf(){return function*([,t,e],{theme:n}){const r={},o=Oe(e,n);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(Ae).includes(i))r[`--un-gradient-${t}`]=i;else{r[`--un-${t}-opacity`]=a;const l=s?D("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&&P("colors",s),n&&Te(i,n)}}else r[`--un-gradient-${t}`]=m.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(Do))yield i}}}function Ef(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${m.bracket.cssvar.percent(e)}`};for(const n of Object.values(Do))yield n}}const jf=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,n])=>{let r;if(m.number(e)!=null?r=`from ${m.number(e)}deg ${jr(n)};`:r=m.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)-(.+)$/,Cf()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:m.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,Ef()],[/^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]} `:" "}${jr(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"}],...M("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":m.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"}],...M("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"}],...M("bg-origin","background-origin")],_r=[[/^outline-(?:width-|size-)?(.+)$/,Bo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,_f,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":m.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"},{[Y.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*Bo([,t]){const e=m.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield _("--un-outline-style",{initialValue:"solid"}))}function*_f(t,e){if(ue(m.bracket(t[1])))yield*Bo(t);else{const n=I("outline-color","outline")(t,e);if(n)for(const r of n)yield r}}const zf=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Af(t){const e=m.bracket(t);return e&&m.properties(e)?e:m.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}const zr=[[/^will-change-(.+)/,([,t])=>({"will-change":Af(t)})]],Be={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"},Pf=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{const n=Be[t];if(n)return e?{"list-style-position":e,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(Be).join("|")})`,`list-(${Object.keys(Be).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":m.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...M("list","list-style-type")],Of=[[/^accent-(.+)$/,I("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":m.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Mf=[[/^caret-(.+)$/,I("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":m.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Tf=[["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"]]]],Rf=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...M("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...M("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"}],...M("overscroll-y","overscroll-behavior-y")],Lf=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...M("scroll","scroll-behavior")],Ct=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...B],Ff=[[/^(?: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-)?(.+)$/,qt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,qt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,qt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Kt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Kt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Kt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Kt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Kt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Gt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Gt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Gt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Gt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Gt],[/^(?:border|b)-(?:style-)?()(.+)$/,Yt,{autocomplete:["(border|b)-style",`(border|b)-(${Ct.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Ct.join("|")})`,`(border|b)-<directions>-style-(${Ct.join("|")})`,`(border|b)-style-(${Ct.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Yt]];function Wf(t){return([,e],n)=>{const r=Oe(e,n.theme),o=Wo(r,`border${t}-color`,`border${t}`,n);if(o){const i=o[0];return r?.color&&!Object.values(Ae).includes(r.color)&&!r.alpha&&t&&t!==""&&(i[`--un-border${t}-opacity`]="var(--un-border-opacity)"),o}}}function it([,t="",e="1"]){const n=m.bracket.cssvar.global.px(e);if(t in at&&n!=null)return at[t].map(r=>[`border${r}-width`,n])}function qt([,t="",e],n){if(t in at){if(ue(m.bracket(e)))return it(["",t,e]);if(wt(e,n.theme)){const r=at[t].map(o=>Wf(o)(["",e],n)).filter(Zt);return[r.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...r.flatMap(o=>o.slice(1))]}}}function Kt([,t="",e]){const n=m.bracket.percent.cssvar(e);if(t in at&&n!=null)return at[t].map(r=>[`--un-border${r}-opacity`,n])}function Gt([,t="",e="DEFAULT"],{theme:n}){if(t in ve){if(e==="full")return ve[t].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[e]??m.bracket.cssvar.global.fraction.rem(e);if(r!=null){const o=n.radius&&e in n.radius;return o&&P("radius",e),ve[t].map(i=>[`border${i}-radius`,o?D("radius",e):r])}}}function Yt([,t="",e]){if(Ct.includes(e)&&t in at)return[["--un-border-style",e],...at[t].map(n=>[`border${n}-style`,e])]}const Nf=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:m.bracket.percent.cssvar(t)})]],Vf=/^\[url\(.+\)\]$/,If=/^\[(?:length|size):.+\]$/,Hf=/^\[position:.+\]$/,Uf=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Df=/^\[image:.+\]$/,Bf=[[/^bg-(.+)$/,(...t)=>{const e=t[0][1];if(Vf.test(e))return{"--un-url":m.bracket(e),"background-image":"var(--un-url)"};if(If.test(e)&&m.bracketOfLength(e)!=null)return{"background-size":m.bracketOfLength(e).split(" ").map(n=>m.fraction.auto.px.cssvar(n)??n).join(" ")};if((Zc(e)||Hf.test(e))&&m.bracketOfPosition(e)!=null)return{"background-position":m.bracketOfPosition(e).split(" ").map(n=>m.position.fraction.auto.px.cssvar(n)??n).join(" ")};if(Uf.test(e)||Df.test(e)){const n=m.bracket(e);if(n)return{"background-image":(n.startsWith("http")?`url(${n})`:m.cssvar(n))??n}}return I("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],qf=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],Kf=[[/^columns-(.+)$/,([,t])=>({columns:m.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"}],...M("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"}],...M("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"}],...M("break-after")],Ar=["solid","double","dotted","dashed","wavy",...B],Gf=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,qo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Yf,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":m.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ar.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Ar.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function qo([,t]){return{"text-decoration-thickness":m.bracket.cssvar.global.px(t)}}function Yf(t,e){if(ue(m.bracket(t[1])))return qo(t);const n=I("text-decoration-color","line")(t,e);if(n){const r=n[0];return r["-webkit-text-decoration-color"]=r["text-decoration-color"],n}}const Xf=[[/^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>"}]],Zf=[[/^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")]],Jf=[[/^space-([xy])-(.+)$/,Qf,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:n}){yield{[n.variants]:[Et(t)],[`--un-space-${e}-reverse`]:"1"},yield _(`--un-space-${e}-reverse`,{initialValue:0})}]];function Et(t){return{matcher:t,handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*Qf([t,e,n],{theme:r,symbols:o}){let i;const s=rt(n);if(s!=null?(P("spacing"),i=`calc(var(--spacing) * ${s})`):i=r.spacing?.[n]??m.bracket.cssvar.auto.fraction.rem(n||"1"),i!=null){const a=at[e==="x"?"inline":"block"].map((l,u)=>{const f=`margin${l}`,d=` calc(${i} * ${u===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[f,d]});a&&(yield{[o.variants]:[Et(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield _(`--un-space-${e}-reverse`,{initialValue:0}))}}const td=[[/^divide-(.+)$/,function*(t,e){const n=I("border-color","divide")(t,e);n&&(yield{[e.symbols.variants]:[Et(t[0])],...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:n}){yield{[n.variants]:[Et(t)],"--un-divide-opacity":m.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Pr,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Pr],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:n}){yield{[n.variants]:[Et(t)],[`--un-divide-${e}-reverse`]:"1"},yield _(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Ct.join("|")})$`),function*([t,e],{symbols:n}){yield{[n.variants]:[Et(t)],"border-style":e}},{autocomplete:Ct.map(t=>`divide-${t}`)}]];function*Pr([t,e,n],{symbols:r}){let o=m.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]:[Et(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(s.flat())},yield _(`--un-divide-${e}-reverse`,{initialValue:0}),yield _("--un-border-style",{initialValue:"solid"}))}}const Ko=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],pn=Ko.map(t=>_(`--un-${t}`)),je=Ko.map(t=>`var(--un-${t},)`).join(" "),Go=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],ed=Go.map(t=>_(`--un-${t}`)),_e=Go.map(t=>`var(--un-${t},)`).join(" ");function qe(t){let e=m.bracket.cssvar(t||"");if(e!=null||(e=t?m.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":_e,"backdrop-filter":_e},...ed]:[{[`--un-${t}`]:`${t}(${i})`,filter:je},...pn]}}function nd(t,e){const[,n]=t,{theme:r}=e;let o=[];n&&(o=kt(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let i=r.dropShadow?.[o[0]||"DEFAULT"];const s=n?m.bracket.cssvar(n):void 0;if((i!=null||s!=null)&&!wt(s,r)){const a=o[1]?m.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":a,"--un-drop-shadow":`drop-shadow(${Pn(i||s,"--un-drop-shadow-color",a).join(") drop-shadow(")})`,filter:je},...pn]}if(wt(n,r))return I("--un-drop-shadow-color","drop-shadow")(t,e);if(i=m.bracket.cssvar(n)??(n==="none"?"":void 0),i!=null)return[{"--un-drop-shadow":i&&`drop-shadow(${i})`,filter:je},...pn]}const rd=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,pt("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||m.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,pt("brightness",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,pt("contrast",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,nd,{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-(.+)$/,I("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":m.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,pt("grayscale",qe),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,pt("hue-rotate",t=>m.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,pt("invert",qe),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,pt("opacity",t=>m.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,pt("saturate",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,pt("sepia",qe),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:je}],["backdrop-filter",{"-webkit-backdrop-filter":_e,"backdrop-filter":_e}],["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}])],od=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:m.bracket(t)!=null?m.bracket(t).split(" ").map(e=>m.cssvar.fraction(e)??e).join(" "):m.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":m.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":m.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{const e=rt(t);return e!=null?(P("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":m.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"}]],Ke={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},id=[[/^(?:flex-|grid-)?gap-?()(.+)$/,V("gap",Ke,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,V("gap",Ke,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,V("gap",Ke,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ut(t){return t.replace("col","column")}function sd(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return m.bracket.cssvar.auto.rem(t)}const ad=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${ut(t)}`]:m.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${ut(t)}`]:"1/-1"};const n=m.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`]:m.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${ut(t)}-end`]:m.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${ut(t)}`]:sd(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":m.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)}`]:m.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":m.cssvar(e)??e.split("-").map(n=>`"${m.bracket(n)}"`).join(" ")}:{"grid-area":m.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"}]],he=["auto","hidden","clip","visible","scroll","overlay",...B],ld=[[/^(?:overflow|of)-(.+)$/,([,t])=>he.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${he.join("|")})`,`(overflow|of)-(x|y)-(${he.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>he.includes(e)?{[`overflow-${t}`]:e}:void 0]],cd=[[/^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"}]],mn={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Or="linear-gradient(#fff, #fff)",ud={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Mr([,t=""]){if(t in ve)return{"mask-position":t.split("").flatMap(r=>mn[r]).join(" ")};const e=m.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function Ge([t,e="",n,r],o){const i={...ud},s=[];if(s.push(...["linear","radial","conic"].map(a=>_(`--un-mask-${a}`,{initialValue:Or}))),e in mn){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const a of mn[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?(P("spacing"),i[`--un-mask-${a}-${n}-position`]=`calc(var(--spacing) * ${m.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${a}-${n}-position`]=m.bracket.cssvar.fraction.rem(r),wt(r,o.theme)){const l=I(`--un-mask-${a}-${n}-color`,dn("colors"))([t,r],o);if(l){const[u,...f]=l;Object.assign(i,u),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:Or})))}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"]=m.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 * ${m.bracket.cssvar.number(r)})`:m.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))`,wt(r,o.theme)){const l=I(`--un-mask-${e}-${n}-color`,dn("colors"))([t,r],o);if(l){const[u,...f]=l;Object.assign(i,u),s.push(...f)}}else rt(r)!=null?(P("spacing"),i[`--un-mask-${e}-${n}-position`]=`calc(var(--spacing) * ${m.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${e}-${n}-position`]=m.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 fd([,t=""]){const e=m.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}const dd=[["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":m.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Ge,{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)?-?(.*)$/,Ge],[/^mask-([trblxy])-(from|to)-(.*)$/,Ge],["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})$/,Mr],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":J[t]})],[/^mask-(?:position-|pos-)(.+)$/,Mr],["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-(.+)$/,fd],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],pd=[[/^\$ placeholder-(.+)$/,I("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":m.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],md=[[/^(?: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})]],Yo=[["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"}],...M("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"}],...M("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"}],...M("justify-self")],hd=[[/^order-(.+)$/,([,t])=>({order:m.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Xo=[["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"}],...M("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"}],...M("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"}],...M("self","align-self")],Zo=[["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"}],...M("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"}],...M("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"}],...M("place-self")],gd=[...Yo,...Xo,...Zo].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function hn(t){const e=rt(t);return e!=null?(P("spacing"),`calc(var(--spacing) * ${e})`):m.bracket.cssvar.global.auto.fraction.rem(t)}function Xt([,t,e]){const n=hn(e);if(n!=null&&t in vr)return vr[t].map(r=>[r.slice(1),n])}const bd=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:hn(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)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Xt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:hn(e)})]],yd=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...M("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"}],...M("clear")],vd=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":m.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":m.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],kd=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...M("box","box-sizing")],wd=[[/^(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"})}`}]],gn={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"})},$d=[[/^shadow(?:-?(.+))?$/,Tr("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Tr("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Tr(t){return(e,n)=>{const[,r]=e,{theme:o}=n;let i=[];r&&(i=kt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));const s=o[t]?.[i[0]||"DEFAULT"],a=r?m.bracket.cssvar(r):void 0,l=dn(t);if((s!=null||a!=null)&&!wt(a,o)){const u=i[1]?m.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${l}-opacity`]:u,[`--un-${l}`]:Pn(s||a,`--un-${l}-color`,u).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(gn)]}return I(`--un-${l}-color`,l)(e,n)}}const xd=[[/^ring(?:-(.+))?$/,([,t])=>{const e=m.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(gn)]}],[/^ring-(.+)$/,I("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{const e=m.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(gn)]}],[/^inset-ring-(.+)$/,I("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{const e=m.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-(.+)$/,I("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Sd=[...["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")]],Cd={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Tt(t,e){return`${t||""}${Cd[e]}`}function ge(t,e,n){let r;const o=["container","spacing"];for(const i of o)if(t[i]?.[n]){P(i,n),r=D(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&&m.number(n)!=null&&(P("spacing"),r=`calc(var(--spacing) * ${m.number(n)})`),r??m.bracket.cssvar.global.auto.none.fraction.rem(n)}const Ed=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:n})=>({[Tt(t,"w")]:ge(n,"w",e),[Tt(t,"h")]:ge(n,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,n],{theme:r})=>({[Tt(t,e)]:ge(r,e,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,n],{theme:r})=>({[Tt(t,e)]:ge(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)]:Rr(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,n],r)=>({[Tt(t,e)]:Rr(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 Rr(t,e,n="breakpoint"){const r=Me(t,n);if(r)return r.find(o=>o.point===e)?.size}function jd(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return m.bracket.cssvar.global.auto.number(t)}const _d=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":jd(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],zd=["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"],Ye=["size","layout","paint","style"],Ad=[["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:m.bracket.cssvar.global(t)})]],Pd=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...M("backface","backface-visibility")],Od=[[/^cursor-(.+)$/,([,t])=>({cursor:m.bracket.cssvar.global(t)})],...zd.map(t=>[`cursor-${t}`,{cursor:t}])],Md=[[/^contain-(.*)$/,([,t])=>m.bracket(t)!=null?{contain:m.bracket(t).split(" ").map(e=>m.cssvar.fraction(e)??e).join(" ")}:Ye.includes(t)?[{"--un-contain-size":t,contain:Ye.map(e=>`var(--un-contain-${e})`).join(" ")},...Ye.map(e=>_(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],Td=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...M("pointer-events")],Rd=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...M("resize")],Ld=[["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"}],...M("select","user-select")],Fd=[[/^(?: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)"}]],Wd=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":m.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"}],...M("content-visibility")],Nd=[[/^content-(.+)$/,([,t])=>{if(m.bracket.cssvar(t)!=null)return[{"--un-content":m.bracket.cssvar(t),content:"var(--un-content)"},_("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Vd=[["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"}]],Id=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Hd=[["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"}]],Ud=[["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"}],...M("case","text-transform")],Dd=[["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"}]],Bd=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],qd=[...["manual","auto","none",...B].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Kd=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...M("write","writing-mode")],Gd=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...M("write-orient","text-orientation")],Yd=[["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"}]],Xd=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Zd=[["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(m.bracketOfPosition(t)!=null)return{"object-position":m.bracketOfPosition(t).split(" ").map(e=>m.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(J).join("|")})`}]],Jd=[["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"}],...M("bg-blend","background-blend")],Qd=[["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"}],...M("mix-blend")],tp=[["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"}]],ep=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],np=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],rp=[[/^fill-(.+)$/,I("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Jo],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":m.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":m.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,op,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":m.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 Jo([,t]){return{"stroke-width":m.bracket.cssvar.fraction.px.number(t)}}function op(t,e){return ue(m.bracket(t[1]))?Jo(t):I("stroke","stroke")(t,e)}const ip=[["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=Lr(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=Lr(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 Lr(t,e){let n=e.spacing?.[t];if(!n){const r=rt(t);r!=null?(P("spacing"),n=`calc(var(--spacing) * ${r})`):n=m.bracket.cssvar.global.auto.fraction.rem(t)}return n}const Xe="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ze=["pan-x","pan-y","pinch-zoom"].map(t=>_(`--un-${t}`)),sp=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Xe};for(const e of Ze)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":Xe};for(const e of Ze)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Xe};for(const t of Ze)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...M("touch","touch-action")],be=["translate","rotate","scale"],On=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Mn=On,ap=["translateZ(0)",On].join(" "),lp=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":J[t]??m.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]?(P("perspective",t),n=D("perspective",t)):n=m.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=m.bracket.cssvar(t)??(t.length>=3?J[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Fr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Fr],[/^(?:transform-)?rotate-()(.+)$/,Nr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Nr],[/^(?:transform-)?skew-()(.+)$/,Vr],[/^(?:transform-)?skew-([xy])-(.+)$/,Vr,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Wr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Wr,{autocomplete:[`transform-(${be.join("|")})-<percent>`,`transform-(${be.join("|")})-(x|y|z)-<percent>`,`(${be.join("|")})-<percent>`,`(${be.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:Mn}],["transform-cpu",{transform:On}],["transform-gpu",{transform:ap}],["transform-none",{transform:"none"}],...M("transform")];function Fr([,t,e]){const n=rt(e)??m.bracket.cssvar.none.fraction.rem(e);if(n!=null)return n==="none"?{translate:"none"}:(P("spacing"),[[...Tn(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)":""}`,fn]],...["x","y","z"].map(r=>_(`--un-translate-${r}`,{initialValue:0}))])}function Wr([,t,e]){const n=m.bracket.cssvar.none.fraction.percent(e);if(n!=null)return n==="none"?{scale:"none"}:[[...Tn(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 Nr([,t="",e]){const n=m.bracket.cssvar.none.degree(e);if(n!=null)return n==="none"?{rotate:"none"}:t?[[...Tn(t,n.endsWith("deg")?`rotate${t.toUpperCase()}(${n})`:n,"rotate"),["transform",Mn]],...["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:m.bracket.cssvar.degree(e)}}function Vr([,t,e]){const n=m.bracket.cssvar.degree(e),r=To[t];if(n!=null&&r)return[[...r.map(o=>[`--un-skew${o}`,n.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${n})`:n]),["transform",Mn]],...["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 Tn(t,e,n){const r=e.split(_c);return t||!t&&r.length===1?To[t].map(o=>[`--un-${n}${o}`,e]):r.map((o,i)=>[`--un-${n}-${Cc[i]}`,o])}function Ir(t,e){let n;if(m.cssvar(t)!=null)n=m.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));const r=t.split(",").map(o=>e.property?.[o]??m.properties(o));r.every(Boolean)&&(n=r.join(","))}return n}const cp=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:n})=>{P("default",["transition","timingFunction"]),P("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${D("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${D("default",["transition","duration"])})`};if(!t&&!e)return{...r};if(t!=null){const o=Ir(t,n);if(o)return{"--un-duration":e&&m.time(e),...r,"transition-property":o}}else if(e!=null)return{"--un-duration":m.time(e),...r}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":m.bracket.cssvar.time(t),"transition-duration":m.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":m.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let n;return e.ease?.[t]?(P("ease",t),n=D("ease",t)):n=m.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=m.global(t)||Ir(t,e);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...B].join("|")})`]}],["transition-none",{transition:"none"}],...M("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],up=[[/^text-(.+)$/,bp,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Qo,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,yp,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,I("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":m.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let n;return e.fontWeight?.[t]?(P("fontWeight",t),n=D("fontWeight",t)):n=m.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]?(P("leading",t),n=D("leading",t)):rt(t)?(P("spacing"),n=`calc(var(--spacing) * ${rt(t)})`):n=m.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":m.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let n;return e.tracking?.[t]?(P("tracking",t),n=D("tracking",t)):n=m.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]?D("tracking",t):m.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":m.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let n;if(e.font?.[t])return P("font",t),n=D("font",t),{"font-family":n};if(e.fontWeight?.[t])return P("fontWeight",t),n=D("fontWeight",t),{"--un-font-weight":n,"font-weight":n};if(n=m.number(t),n!=null)return{"--un-font-weight":n,"font-weight":n};if(n=m.bracketOfFamily(t),n!=null&&m.number(n)==null)return n=m.cssvar(n)??n,{"font-family":n};if(n=m.bracketOfNumber(t),n!=null)return n=m.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=m.bracket(t),n!=null&&m.number(n)!=null){const r=m.number(n);return{"--un-font-weight":r,"font-weight":r}}if(n=m.bracket.cssvar.global(t),n!=null)return{"font-family":n}},{autocomplete:["font-$font","font-$fontWeight"]}]],fp=[[/^tab(?:-(.+))?$/,([,t])=>{const e=m.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],dp=[[/^indent-(.+)$/,([,t])=>{let e=rt(t);if(e!=null)return P("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=m.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],pp=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&P("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?D("textStrokeWidth",t):m.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,I("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function mp(t,e){const[,n]=t,{theme:r}=e;let o=[];n&&(o=kt(n,"/",2)??[]);const i=r.textShadow?.[o[0]],s=n?m.bracket.cssvar(n):void 0;if((i!=null||s!=null)&&!wt(s,r)){const a=o[1]?m.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":a,"--un-text-shadow":Pn(i||s,"--un-text-shadow-color",a).join(","),"text-shadow":"var(--un-text-shadow)"}}return I("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":m.bracket.cssvar.global(n)}}const hp=[[/^text-shadow-(.+)$/,mp,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,I("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],gt=[_("--un-ordinal"),_("--un-slashed-zero"),_("--un-numeric-figure"),_("--un-numeric-spacing"),_("--un-numeric-fraction")],bt={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},gp=[["ordinal",[{"--un-ordinal":"ordinal",...bt},...gt]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...bt},...gt]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...bt},...gt]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...bt},...gt]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...bt},...gt]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...bt},...gt]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...bt},...gt]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...bt},...gt]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function bp([,t="base"],{theme:e}){const n=vp(t,"length");if(!n)return;const[r,o]=n,i=e.text?.[r];let s;if(o&&(e.leading?.[o]?(P("leading",o),s=D("leading",o)):s=m.bracket.cssvar.global.rem(o)),i)return P("text",[r,"fontSize"]),P("text",[r,"lineHeight"]),i.letterSpacing&&P("text",[r,"letterSpacing"]),{"font-size":D("text",[r,"fontSize"]),"line-height":s??`var(--un-leading, ${D("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?D("text",[r,"letterSpacing"]):void 0};const a=m.bracketOfLength.rem(r);return s&&a?{"font-size":a,"line-height":s}:{"font-size":m.bracketOfLength.rem(t)}}function Qo([,t],{theme:e}){if(e.text?.[t]!=null)return P("text",[t,"fontSize"]),P("text",[t,"lineHeight"]),{"font-size":D("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${D("text",[t,"lineHeight"])})`};{const n=m.bracket.cssvar.global.rem(t);if(n)return{"font-size":n}}}function yp(t,e){return ue(m.bracket(t[1]))?Qo(t,e):I("color","text")(t,e)}function vp(t,e){const[n,r]=ze(t,"[","]",["/",":"])??[];if(n!=null){const o=(n.match(An)??[])[1];if(o==null||o===e)return[n,r]}}const kp={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"},wp=[[/^(.+?)-(\$.+)$/,([,t,e])=>{const n=kp[t];if(n)return{[n]:m.cssvar(e)}}]],$p=[[/^\[(.*)\]$/,([t,e],{theme:n})=>{if(!e.includes(":"))return;const[r,...o]=e.split(":"),i=o.join(":");if(!Sp(e)&&/^[\w-]+$/.test(r)&&xp(i)){const s=m.bracket(`[${i}]`,n);if(s)return{[r]:s}}}]];function xp(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 Sp(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}const Cp=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Ep=[up,fp,dp,pp,hp,Zf,Xf,xf,$f,zf,_r,zr,Pf,Of,Mf,Tf,Rf,_r,Lf,zr,Ff,Bf,Nf,qf,vf,bf,Gf,od,id,ad,Ed,_d,Ad,Pd,Od,Md,Td,Rd,Ld,Fd,Wd,Nd,Vd,Id,Hd,Ud,Dd,Bd,xd,$d,lp,cp,wp,$p,Xo,kd,gd,yd,bd,Yo,hd,Zo,md,vd,ld,rp,Sf,jf,qd,Kd,Gd,ep,Yd,Xd,Zd,Jd,Qd,tp,dd,Kf,rd,cd,pd,Sd,ip,sp,gp,Cp,Jf,td,np,wd].flat();function jp(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 _p=`
|
|
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 zp(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(P("font","sans"),P("font","mono"),P("default",["font","family"]),P("default",["monoFont","family"]),No(_p,e.config.envMode==="dev")),layer:"base"}}const Ap=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function Pp(t,e){const n=new Map([["--spacing",t.spacing.DEFAULT]]),r=i=>i.replace(jo,"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 Op(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("-"),g=ae(r,d,p);typeof g=="string"&&(P(d,p),Te(g,r))}}let l;const u=f=>{if(a)for(const p of f)for(const g of N(a))g(p,n);const d=f.map(([p,g])=>p&&g?`${nt(p)}: ${g};`:void 0).filter(Boolean);if(d.length===0)return;const h=d.join(`
|
|
413
|
-
`);return No(`
|
|
414
|
-
:root, :host {
|
|
415
|
-
${h}
|
|
416
|
-
}`,o.config.envMode==="dev")};if(s==="on-demand"){if(Wt.size===0)return;l=Array.from(Wt).map(f=>{const[d,h]=f.split(":"),p=ae(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=>!Ap.includes(d));l=Array.from(Pp(r,f))}return u(l)}}}const Mp=t=>[zp(t),Op(t),jp(t)].filter(Boolean),Tp={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},Rp=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:Sc,rules:Ep,shortcuts:wf,theme:gf,layers:{properties:-200,theme:-150,base:-100},preflights:Mp(t),variants:Bu(t),prefix:t.prefix,postprocess:eu(t),extractorDefault:t.arbitraryVariants===!1?void 0:xc(),autocomplete:{shorthands:Tp},options:t,configResolved(){Wt.clear(),Nt.clear()},meta:{themeDeps:Wt,propertyDeps:Nt}}),Lp=({attributifyOptions:t,iconsOptions:e={cdn:"https://cdn.jsdelivr.net/npm/"},tagifyOptions:n,typographyOptions:r,webFontsOptions:o,wind4Options:i={preflights:{reset:!0}}}={})=>[Oa(t),nl(e),sl(n),Yl(r),pc(o),Rp(i)];function Rn(t,e){return gi()?(bi(t,e),!0):!1}const ti=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ei=t=>t!=null,Fp=Object.prototype.toString,Wp=t=>Fp.call(t)==="[object Object]",dt=()=>{},Hr=Np();function Np(){var t,e,n;return ti&&!!(!((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 Vp(...t){if(t.length!==1)return Z(...t);const e=t[0];return typeof e=="function"?yi(vi(()=>({get:e,set:dt}))):yn(e)}function ni(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 Ip(t,e={}){let n,r,o=dt;const i=l=>{clearTimeout(l),o(),o=dt};let s;return l=>{const u=U(t),f=U(e.maxWait);return n&&i(n),u<=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())},u)})}}function Hp(...t){let e=0,n,r=!0,o=dt,i,s,a,l,u;!Qt(t[0])&&typeof t[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=t[0]:[s,a=!0,l=!0,u=!1]=t;const f=()=>{n&&(clearTimeout(n),n=void 0,o(),o=dt)};return h=>{const p=U(s),g=Date.now()-e,b=()=>i=h();return f(),p<=0?(e=Date.now(),b()):(g>p?(e=Date.now(),(l||!r)&&b()):a&&(i=new Promise((v,x)=>{o=u?x:v,n=setTimeout(()=>{e=Date.now(),r=!0,v(b()),f()},Math.max(0,p-g))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function ee(t){return Array.isArray(t)?t:[t]}function Up(t){return kn()}function Dp(t){return Qt(t)?ne(new Proxy({},{get(e,n,r){return jt(Reflect.get(t.value,n,r))},set(e,n,r){return Qt(t.value[n])&&!Qt(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}}})):ne(t)}function Bp(t,e=200,n={}){return ni(Ip(e,n),t)}function qp(t,e=200,n=!1,r=!0,o=!1){return ni(Hp(e,n,r,o),t)}function Kp(t,e=!0,n){Up()?Xr(t,n):e?t():hi(t)}function Gp(t,e,n){return vt(t,e,{...n,immediate:!0})}function Yp(t,e,n){return vt(t,e,{...n,once:!0})}const fe=ti?window:void 0;function Lt(t){var e;const n=U(t);return(e=n?.$el)!==null&&e!==void 0?e:n}function bn(...t){const e=(r,o,i,s)=>(r.addEventListener(o,i,s),()=>r.removeEventListener(o,i,s)),n=et(()=>{const r=ee(U(t[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Gp(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>Lt(i)))!==null&&r!==void 0?r:[fe].filter(i=>i!=null),ee(U(n.value?t[1]:t[0])),ee(jt(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 u=Wp(s)?{...s}:s,f=r.flatMap(d=>o.flatMap(h=>i.map(p=>e(d,h,p,u))));l(()=>{f.forEach(d=>d())})},{flush:"post"})}function Xp(){const t=yt(!1),e=kn();return e&&Xr(()=>{t.value=!0},e),t}function ri(t){const e=Xp();return et(()=>(e.value,!!t()))}function Zp(t,e,n={}){const{window:r=fe,...o}=n;let i;const s=ri(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=vt(et(()=>{const d=ee(U(t)).map(Lt).filter(ei);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"}),u=()=>i?.takeRecords(),f=()=>{l(),a()};return Rn(f),{isSupported:s,stop:f,takeRecords:u}}function Jp(t,e,n={}){const{root:r,rootMargin:o="0px",threshold:i=0,window:s=fe,immediate:a=!0}=n,l=ri(()=>s&&"IntersectionObserver"in s),u=et(()=>ee(U(t)).map(Lt).filter(ei));let f=dt;const d=yt(a),h=l.value?vt(()=>[u.value,Lt(r),d.value],([g,b])=>{if(f(),!d.value||!g.length)return;const v=new IntersectionObserver(e,{root:Lt(b),rootMargin:o,threshold:i});g.forEach(x=>x&&v.observe(x)),f=()=>{v.disconnect(),f=dt}},{immediate:a,flush:"post"}):dt,p=()=>{f(),h(),d.value=!1};return Rn(p),{isSupported:l,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:p}}function Ur(t,e={}){const{window:n=fe,scrollTarget:r,threshold:o=0,rootMargin:i,once:s=!1,initialValue:a=!1}=e,l=yt(a),{stop:u}=Jp(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&&Yp(l,()=>{u()})},{root:r,window:n,threshold:o,rootMargin:U(i)});return l}function Je(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}const Dr=1;function Qp(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:u="auto",window:f=fe,onError:d=C=>{console.error(C)}}=e,h=typeof a=="boolean"?{mutation:a}:a,p=yt(0),g=yt(0),b=et({get(){return p.value},set(C){x(C,void 0)}}),v=et({get(){return g.value},set(C){x(void 0,C)}});function x(C,L){var F,q,A,T;if(!f)return;const O=U(t);if(!O)return;(F=O instanceof Document?f.document.body:O)===null||F===void 0||F.scrollTo({top:(q=U(L))!==null&&q!==void 0?q:v.value,left:(A=U(C))!==null&&A!==void 0?A:b.value,behavior:U(u)});const R=(O==null||(T=O.document)===null||T===void 0?void 0:T.documentElement)||O?.documentElement||O;b!=null&&(p.value=R.scrollLeft),v!=null&&(g.value=R.scrollTop)}const y=yt(!1),k=ne({left:!0,right:!1,top:!0,bottom:!1}),$=ne({left:!1,right:!1,top:!1,bottom:!1}),w=C=>{y.value&&(y.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(C))},j=Bp(w,n+r),S=C=>{var L;if(!f)return;const F=(C==null||(L=C.document)===null||L===void 0?void 0:L.documentElement)||C?.documentElement||Lt(C),{display:q,flexDirection:A,direction:T}=f.getComputedStyle(F),O=T==="rtl"?-1:1,R=F.scrollLeft;$.left=R<p.value,$.right=R>p.value;const G=Math.abs(R*O)<=(s.left||0),W=Math.abs(R*O)+F.clientWidth>=F.scrollWidth-(s.right||0)-Dr;q==="flex"&&A==="row-reverse"?(k.left=W,k.right=G):(k.left=G,k.right=W),p.value=R;let K=F.scrollTop;C===f.document&&!K&&(K=f.document.body.scrollTop),$.top=K<g.value,$.bottom=K>g.value;const $t=Math.abs(K)<=(s.top||0),At=Math.abs(K)+F.clientHeight>=F.scrollHeight-(s.bottom||0)-Dr;q==="flex"&&A==="column-reverse"?(k.top=At,k.bottom=$t):(k.top=$t,k.bottom=At),g.value=K},E=C=>{var L;f&&(S((L=C.target.documentElement)!==null&&L!==void 0?L:C.target),y.value=!0,j(C),i(C))};return bn(t,"scroll",n?qp(E,n,!0,!1):E,l),Kp(()=>{try{const C=U(t);if(!C)return;S(C)}catch(C){d(C)}}),h?.mutation&&t!=null&&t!==f&&t!==document&&Zp(t,()=>{const C=U(t);C&&S(C)},{attributes:!0,childList:!0,subtree:!0}),bn(t,"scrollend",w,l),{x:b,y:v,isScrolling:y,arrivedState:k,directions:$,measure(){const C=U(t);f&&C&&S(C)}}}function oi(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:oi(n)}}function tm(t){const e=t||window.event,n=e.target;return oi(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Qe=new WeakMap;function em(t,e=!1){const n=yt(e);let r=null,o="";vt(Vp(t),a=>{const l=Je(U(a));if(l){const u=l;if(Qe.get(u)||Qe.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(o=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const a=Je(U(t));!a||n.value||(Hr&&(r=bn(a,"touchmove",l=>{tm(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=Je(U(t));!a||!n.value||(Hr&&r?.(),a.style.overflow=o,Qe.delete(a),n.value=!1)};return Rn(s),et({get(){return n.value},set(a){a?i():s()}})}const nm=le({__name:"App",setup(t){const e=Z(_t,"kvNodes"),n=Z(_t,"nodes"),r=os(),o=et(()=>e.value[r.name]?.frontmatter);return io(o,{mode:"client"}),(i,s)=>{const a=ki("router-view");return mt(),re(a,null,{default:wn(({Component:l})=>[(mt(),re($n(l),{id:n.value[0]?.id},null,8,["id"]))]),_:1})}}});let tn=!1;const ii=xn(_t),rm=Z(ii,"kvNodes"),Br=Z(ii,"nodes"),om=Oi({html:!0,linkify:!0,typographer:!0}).use(Mi,{transform(t){switch(t.type){case"link_close":tn&&(t.tag="RouterLink",tn=!1);break;case"link_open":{const e=t.attrGet("href")??"/";URL.canParse(e)||(t.tag="RouterLink",t.attrSet("to",e),t.attrs?.splice(t.attrIndex("href"),1),tn=!0);break}}}}).use(Ti).use(Ri).use(Li).use(Fi).use(Wi).use(Ni).use(Vi).use(Ii).use(Hi).use(Ui).use(Di).use(Bi).use(qi).use(Ki).use(Gi).use(Yi).use(Xi).use(Zi).use(Ji).use(Qi).use(ts).use(es).use(ns).use(rs),si=()=>{let t,e;return{promise:new Promise((r,o)=>{t=r,e=o}),reject:e,resolve:t}},tt=ne({$these:et(()=>tt.these.filter(({frontmatter:{hidden:t}})=>!t)),intersecting:new Map,promises:new Map,root:si(),routeName:void 0,scrollLock:!1,that:et(()=>tt.routeName===Br.value[0]?.id?Br.value[0]?.$children[0]:rm.value[tt.routeName]),these:et(()=>tt.that===void 0||tt.that.parent?.frontmatter.joint?tt.that?.siblings??[]:[tt.that])}),ai=t=>wi(async()=>{const e={};return om.render(await Jr(`./docs/${t}.md`)??"",e),as(`${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 qr(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 im(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)qr(r,e);else qr(n,e);return e}const sm=le({name:"Head",setup(t,{slots:e}){const n=yn({}),r=io(n);return Yr(()=>{r.dispose()}),()=>(vn(()=>{e.default&&r.patch(im(e.default()))}),null)}}),am=le({__name:"NotFoundView",setup(t){return(e,n)=>(mt(),ke(Zr,null,[$i(jt(sm),null,{default:wn(()=>[...n[0]||(n[0]=[xt("title",null,"Page Not Found",-1)])]),_:1}),n[1]||(n[1]=xt("div",{class:"absolute inset-0 grid place-items-center"},[xt("div",{class:"text-center"},[xt("div",{class:"text-9xl"},"404"),xt("p",null,"Oops. Nothing here...")])],-1))],64))}}),lm={mounted(t,e){if(typeof e.value=="function"){const n=e.value;vt(Ur(t),r=>n(r),{immediate:!0})}else{const[n,r]=e.value;vt(Ur(t,r),o=>n(o),{immediate:!0})}}};function cm(){let t=!1;const e=yt(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const o=em(n,r.value);vt(e,i=>o.value=i)}}cm();const um=["id"],fm=le({__name:"PageView",setup(t){const e=Z(tt,"$these"),n=Z(_t,"kvNodes"),{intersecting:r,promises:o}=tt,i=()=>{[r,o].forEach(a=>{a.clear()})},s=et(()=>new Map(e.value.map(({id:a})=>[a,ai(a)])));return vn(()=>{i(),e.value.forEach(({id:a})=>{r.set(a,!1),o.set(a,si())})}),xi(()=>{i()}),(a,l)=>(mt(!0),ke(Zr,null,Si(s.value,([u,f])=>Ci((mt(),ke("div",{id:u,key:u,"un-cloak":""},[xt("div",Ei({ref_for:!0},n.value[u]?.frontmatter.attrs??{}),[(mt(),re($n(f),{id:u,onVnodeMounted:d=>jt(o).get(u)?.resolve(void 0)},null,8,["id","onVnodeMounted"]))],16)],8,um)),[[jt(lm),[d=>{jt(r).set(u,d)},{threshold:.1}]]])),128))}}),dm=["id"],pm=le({__name:"RootView",setup(t){const e=Z(_t,"nodes"),{root:n}=tt,r=et(()=>e.value[0]&&ai(e.value[0].id));return(o,i)=>(mt(),re(ji,null,{default:wn(()=>[e.value[0]?.frontmatter.hidden?_i("",!0):(mt(),ke("div",{key:0,id:e.value[0]?.id,"un-cloak":""},[xt("div",zi(Ai(e.value[0]?.frontmatter.attrs??{})),[(mt(),re($n(r.value),{id:e.value[0]?.id,onVnodeMounted:i[0]||(i[0]=s=>jt(n).resolve(void 0))},null,8,["id"]))],16)],8,dm))]),_:1}))}});let Kr=Z(tt,"routeName");const li=xn(tt),mm=Z(li,"$these"),hm=Z(li,"that"),ci=xn(_t),gm=Z(ci,"kvNodes"),Gr=Z(ci,"nodes"),ui=Pi(nm),bm=await Jr("index.json")??[],{intersecting:ym,promises:vm,root:km}=tt,{pathname:wm}=new URL(document.baseURI);Qr.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","2.0.2");_t.tree=bm;await xa({defaults:{presets:Lp()},ready:({extractAll:t,toggleObserver:e})=>{let n=!1;const r=is({history:ss(wm),routes:[...Gr.value.filter(({path:a})=>a!==void 0).map(({id:a,to:l="/"})=>({children:[{component:fm,name:a,path:""}],component:pm,path:l})),{component:am,name:"404",path:"/:pathMatch(.*)*"}],scrollBehavior:async({hash:a,name:l})=>{if(l)if(Kr.value=l,n)n=!1;else{const{index:u,parent:{frontmatter:{joint:f}={}}={}}=hm.value??{};return e(!0),await km.promise,await Promise.all([...vm.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&&u?{el:a||`#${String(l)}`}:{left:0,top:0}}}return!1}}),o=Qp(window,{onStop:()=>{const[a]=mm.value,[l]=Gr.value;if(l&&a){const{$children:[{id:u}={}]}=l,f=!Math.floor(i.value)&&!Math.floor(s.value)&&a.id===u?l.id:[...ym.entries()].find(([,d])=>d)?.[0]??a.id;f!==Kr.value&&(n=!0,r.push({name:f}).catch(Qr.error))}}}),i=Z(o,"x"),s=Z(o,"y");return r.beforeEach(({path:a})=>a!==decodeURI(a)?decodeURI(a):void 0),ui.use(r),!1},rootElement:()=>document.getElementById("app")??void 0});ui.use(Us({plugins:[$s,vs,xs({}),Ss()]})).provide("pages",Dp(gm.value)).mount("#app");
|