@unocss/runtime 0.57.7 → 0.58.0

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/uno.global.js CHANGED
@@ -1,12 +1,12 @@
1
- "use strict";(()=>{var za=Object.defineProperty;var ja=(e,t)=>{for(var r in t)za(e,r,{get:t[r],enumerable:!0})};function te(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function J(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var Ge=J;function _(e=[]){return Array.isArray(e)?e:[e]}function de(e){return Array.from(new Set(e))}function un(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function j(e){return typeof e=="string"}function ge(e){return j(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function pn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>ge(t)):[e]:[ge(e)]}function Oa(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function he(e){return e==null?"":Oa(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function He(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Er(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return He(n)&&He(o)&&Object.keys(o).forEach(a=>{He(n[a])&&He(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=Er(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function Re(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?Re(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Re(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Re(n):n;return r}return e}function mn(e){return j(e[0])}function dn(e){return j(e[0])}var _a=/[\w\u00A0-\uFFFF-_:%-?]/,zr="$$shortcut-no-merge";function gn(e=""){return _a.test(e)}function hn(e){return typeof e=="function"?{match:e}:e}function jr(e){return e.length===3}function bn(e){return e!=null}function xn(){}var qe=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}};var Te=class extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}};function Ye(e){return e instanceof Te}var Xe={};function Aa(e=["-",":"]){let t=e.join("|");return Xe[t]||(Xe[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Xe[t].lastIndex=0,Xe[t]}function Va(e,t=["-",":"],r=5){let n=Aa(t),o,i=e.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(f,u,p,d,g)=>{if(!t.includes(p))return f;o=!0,a.add(u+p);let v=g+u.length+p.length+1,C={length:f.length,items:[]};s.set(g,C);for(let x of[...d.matchAll(/\S+/g)]){let S=v+x.index,$=s.get(S)?.items;$?s.delete(S):$=[{offset:S,length:x[0].length,className:x[0]}];for(let z of $)z.className=z.className==="~"?u:z.className.replace(/^(!?)(.*)/,`$1${u}${p}$2`),C.items.push(z)}return"$".repeat(f.length)}),r-=1;while(o&&r);let l;if(typeof e=="string"){l="";let f=0;for(let[u,p]of s)l+=e.slice(f,u),l+=p.items.map(d=>d.className).join(" "),f=u+p.length;l+=e.slice(f)}else{l=e;for(let[f,u]of s)l.overwrite(f,f+u.length,u.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return l.toString()}}}function yn(e,t=["-",":"],r=5){let n=Va(e,t,r);return typeof e=="string"?n.expanded:e}var vn=new Set;function Y(e){vn.has(e)||(console.warn("[unocss]",e),vn.add(e))}var Ze=/[\\:]?[\s'"`;{}]+/g;function Pa(e){return e.split(Ze)}var Je={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Pa(e)}};function wn(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var Qe="default",et="preflights",Ma="shortcuts",Ua="imports",kn={[Ua]:-200,[et]:-100,[Ma]:-10,[Qe]:0};function Sn(e){return _(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var $n="_uno_resolved";function La(e){let t=typeof e=="function"?e():e;if($n in t)return t;t={...t},Object.defineProperty(t,$n,{value:!0,enumerable:!1});let r=t.shortcuts?Sn(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=_(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}function Cn(e){let t=La(e);if(!t.presets)return[t];let r=(t.presets||[]).flatMap(_).flatMap(Cn);return[t,...r]}function Or(e={},t={}){let r=Object.assign({},t,e),n=un((r.presets||[]).flatMap(_).flatMap(Cn),(m,y)=>m.name===y.name),o=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},kn,...i.map(m=>m.layers));function l(m){return de(i.flatMap(y=>_(y[m]||[])))}let f=l("extractors"),u=a.find(m=>m.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Je),u&&!f.includes(u)&&f.unshift(u),f.sort((m,y)=>(m.order||0)-(y.order||0));let p=l("rules"),d={},g=p.length,v=p.map((m,y)=>{if(mn(m)){_(m[2]?.prefix||"").forEach(N=>{d[N+m[0]]=[y,m[1],m[2],m]});return}return[y,...m]}).filter(Boolean).reverse(),C=Fa(i.map(m=>m.theme)),x=l("extendTheme");for(let m of x)C=m(C)||C;let S={templates:de(i.flatMap(m=>_(m.autocomplete?.templates))),extractors:i.flatMap(m=>_(m.autocomplete?.extractors)).sort((m,y)=>(m.order||0)-(y.order||0)),shorthands:Na(i.map(m=>m.autocomplete?.shorthands||{}))},$=l("separators");$.length||($=[":","-"]);let z={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:l("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:C,rulesSize:g,rulesDynamic:v,rulesStaticMap:d,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:S,variants:l("variants").map(hn).sort((m,y)=>(m.order||0)-(y.order||0)),shortcuts:Sn(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:$,details:r.details??r.envMode==="dev"};for(let m of i)m?.configResolved?.(z);return z}function Fa(e){return e.map(t=>t?Re(t):{}).reduce((t,r)=>Er(t,r),{})}function Na(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}var Rn="0.57.7";var _r=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Or(t,r),this.events.emit("config",this.config)}version=Rn;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=wn();setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Or(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Ye(a)&&Ye(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this._cache.has(n))return this._cache.get(n);let o=t;for(let f of this.config.preprocess)o=f(t);if(this.isBlocked(o)){this.blocked.add(t),this._cache.set(n,null);return}let i=await this.matchVariants(t,o);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(n,null);return}let a=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(a.variants=[...i[3]]);let s=await this.expandShortcut(a.currentSelector,a),l=s?await this.stringifyShortcuts(a.variantMatch,a,s[0],s[1]):(await this.parseUtil(a.variantMatch,a))?.map(f=>this.stringifyUtil(f,a)).filter(bn);if(l?.length)return this._cache.set(n,l),l;this._cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:l=!1}=r,f=j(t)?await this.applyExtractors(t,n,l?new Te:new Set):Array.isArray(t)?new Set(t):t;a&&this.config.safelist.forEach(m=>{f.has(m)||f.add(m)});let u=s?"":`
2
- `,p=new Set([Qe]),d=l?new Map:new Set,g=new Map,v={},C=Array.from(f).map(async m=>{if(d.has(m))return;let y=await this.parseToken(m);if(y!=null){d instanceof Map?d.set(m,{data:y,count:Ye(f)?f.getCount(m):-1}):d.add(m);for(let V of y){let N=V[3]||"",W=V[4]?.layer;g.has(N)||g.set(N,[]),g.get(N).push(V),W&&p.add(W)}}});await Promise.all(C),await(async()=>{if(!i)return;let m={generator:this,theme:this.config.theme},y=new Set([]);this.config.preflights.forEach(({layer:V=et})=>{p.add(V),y.add(V)}),v=Object.fromEntries(await Promise.all(Array.from(y).map(async V=>{let W=(await Promise.all(this.config.preflights.filter(ae=>(ae.layer||et)===V).map(async ae=>await ae.getCSS(m)))).filter(Boolean).join(u);return[V,W]})))})();let x=this.config.sortLayers(Array.from(p).sort((m,y)=>(this.config.layers[m]??0)-(this.config.layers[y]??0)||m.localeCompare(y))),S={},$=m=>{if(S[m])return S[m];let y=Array.from(g).sort((N,W)=>(this.parentOrders.get(N[0])??0)-(this.parentOrders.get(W[0])??0)||N[0]?.localeCompare(W[0]||"")||0).map(([N,W])=>{let ae=W.length,me=W.filter(h=>(h[4]?.layer||Qe)===m).sort((h,w)=>h[0]-w[0]||(h[4]?.sort||0)-(w[4]?.sort||0)||h[5]?.currentSelector?.localeCompare(w[5]?.currentSelector??"")||h[1]?.localeCompare(w[1]||"")||h[2]?.localeCompare(w[2]||"")||0).map(([,h,w,,T,,D])=>[[[(h&&Ia(h,o))??"",T?.sort??0]],w,!!(D??T?.noMerge)]);if(!me.length)return;let Ce=me.reverse().map(([h,w,T],D)=>{if(!T&&this.config.mergeSelectors)for(let B=D+1;B<ae;B++){let q=me[B];if(q&&!q[2]&&(h&&q[0]||h==null&&q[0]==null)&&q[1]===w)return h&&q[0]&&q[0].push(...h),null}let K=h?de(h.sort((B,q)=>B[1]-q[1]||B[0]?.localeCompare(q[0]||"")||0).map(B=>B[0]).filter(Boolean)):[];return K.length?`${K.join(`,${u}`)}{${w}}`:w}).filter(Boolean).reverse().join(u);if(!N)return Ce;let Ke=N.split(" $$ ");return`${Ke.join("{")}{${u}${Ce}${u}${"}".repeat(Ke.length)}`}).filter(Boolean).join(u);i&&(y=[v[m],y].filter(Boolean).join(u));let V=s?"":`/* layer: ${m} */${u}`;return S[m]=y?V+y:""},z=(m=x,y)=>m.filter(V=>!y?.includes(V)).map(V=>$(V)||"").filter(Boolean).join(u);return{get css(){return z()},layers:x,matched:d,getLayers:z,getLayer:$}}async matchVariants(t,r){let n=new Set,o=[],i=r||t,a=!0,s={rawSelector:t,theme:this.config.theme,generator:this};for(;a;){a=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=await l.match(i,s);if(f){if(j(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,o.unshift(f),n.add(l),a=!0;break}}if(!a)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o,n]}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((f,u)=>(f.order||0)-(u.order||0)).reduceRight((f,u)=>p=>{let d=u.body?.(p.entries)||p.entries,g=Array.isArray(u.parent)?u.parent:[u.parent,void 0];return(u.handle??Ga)({...p,entries:d,selector:u.selector?.(p.selector,d)||p.selector,parent:g[0]||p.parent,parentOrder:g[1]||p.parentOrder,layer:u.layer||p.layer,sort:u.sort||p.sort},f)},f=>f)({prefix:"",selector:Ka(n),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);let l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,n){let o=ge(r);if(j(o))return o;let{selector:i,entries:a,parent:s}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${he(a)}}`;return s?`${s}{${l}}`:l}async parseUtil(t,r,n=!1,o){let[i,a,s]=j(t)?await this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);let l=this.config.rulesStaticMap[a];if(l&&l[1]&&(n||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);let u=l[0],p=ge(l[1]),d=l[2];return j(p)?[[u,p,d]]:[[u,i,p,d,s]]}r.variantHandlers=s;let{rulesDynamic:f}=this.config;for(let[u,p,d,g]of f){if(g?.internal&&!n)continue;let v=a;if(g?.prefix){let $=_(g.prefix);if(o){let z=_(o);if(!$.some(m=>z.includes(m)))continue}else{let z=$.find(m=>a.startsWith(m));if(z==null)continue;v=a.slice(z.length)}}let C=v.match(p);if(!C)continue;let x=await d(C,r);if(!x)continue;this.config.details&&r.rules.push([p,d,g]);let S=pn(x).filter($=>$.length);if(S.length)return S.map($=>j($)?[u,$,g]:[u,i,$,g,s])}}stringifyUtil(t,r){if(!t)return;if(jr(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:a,sort:s,noMerge:l}=this.applyVariants(t),f=he(o);if(!f)return;let{layer:u,sort:p,...d}=t[3]??{},g={...d,layer:a??u,sort:s??p};return[t[0],n,f,i,g,this.config.details?r:void 0,l]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?s=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(s)}:xn,i,a;for(let s of this.config.shortcuts){let l=t;if(s[2]?.prefix){let u=_(s[2].prefix).find(p=>t.startsWith(p));if(u==null)continue;l=t.slice(u.length)}if(dn(s)){if(s[0]===l){i=i||s[2],a=s[1],o(s);break}}else{let f=l.match(s[0]);if(f&&(a=s[1](f,r)),a){i=i||s[2],o(s);break}}}if(j(a)&&(a=yn(a.trim()).split(/\s+/g)),!a){let[s,l]=j(t)?await this.matchVariants(t):t;if(s!==l){let f=await this.expandShortcut(l,r,n-1);f&&(a=f[0].map(u=>j(u)?s.replace(l,u):u))}}if(a)return[(await Promise.all(a.map(async s=>(j(s)?(await this.expandShortcut(s,r,n-1))?.[0]:void 0)||[s]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new qe,a=(await Promise.all(de(n).map(async u=>{let p=j(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ge(u),void 0,[]]];return!p&&this.config.warn&&Y(`unmatched utility "${u}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((u,p)=>u[0]-p[0]),[s,,l]=t,f=[];for(let u of a){if(jr(u)){f.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}let{selector:p,entries:d,parent:g,sort:v,noMerge:C}=this.applyVariants(u,[...u[4],...l],s);i.getFallback(p,g,[[],u[0]])[0].push([d,!!(C??u[3]?.noMerge),v??0])}return f.concat(i.map(([u,p],d,g)=>{let v=(x,S,$)=>{let z=Math.max(...$.map(y=>y[1])),m=$.map(y=>y[0]);return(x?[m.flat(1)]:m).map(y=>{let V=he(y);if(V)return[p,d,V,g,{...o,noMerge:S,sort:z},r,void 0]})};return[[u.filter(([,x])=>x).map(([x,,S])=>[x,S]),!0],[u.filter(([,x])=>!x).map(([x,,S])=>[x,S]),!1]].map(([x,S])=>[...v(!1,S,x.filter(([$])=>$.some(z=>z[0]===zr))),...v(!0,S,x.filter(([$])=>$.every(z=>z[0]!==zr)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="function"?r(t):j(r)?r===t:r.test(t))}};function En(e,t){return new _r(e,t)}var Da=/\s\$\$\s+/g;function Ba(e){return e.match(/\s\$\$\s/)}function Ia(e,t){return Ba(e)?e.replace(Da,t?` ${t} `:" "):t?`${t} ${e}`:e}var Tn=/^\[(.+?)(~?=)"(.*)"\]$/;function Ka(e){return Tn.test(e)?e.replace(Tn,(t,r,n,o)=>`[${Ge(r)}${n}"${Ge(o)}"]`):`.${Ge(e)}`}function Ga(e,t){return t(e)}var Ha=/\/\/#\s*sourceMappingURL=.*\n?/g;function zn(e){return e.includes("sourceMappingURL=")?e.replace(Ha,""):e}var qa=/(?:[\w&:[\]-]|\[\S+=\S+\])+\[\\?['"]?\S+?['"]\]\]?[\w:-]*/g,Ya=/\[(\\\W|[\w-])+:[^\s:]*?("\S+?"|'\S+?'|`\S+?`|[^\s:]+?)[^\s:]*?\)?\]/g,Xa=/^\[(\\\W|[\w-])+:['"]?\S+?['"]?\]$/;function Za(e){let t=[];for(let r of e.matchAll(Ya))r.index!==0&&!e[r.index-1]?.match(/^[\s'"`]/)||t.push(r[0]);for(let r of e.matchAll(qa))t.push(r[0]);return e.split(Ze).forEach(r=>{gn(r)&&!Xa.test(r)&&t.push(r)}),t}var jn={name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Za(zn(e))}};var On=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=he(Object.entries(e.theme.preflightBase));return _(e.theme.preflightRoot??["*,::before,::after","::backdrop"]).map(n=>`${n}{${t}}`).join("")}}}];var U={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Ar={...U,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"]},Vr={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"]},tt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},_n=["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"],M=Object.assign({},..._n.map(e=>({[e.replace(/ /,"-")]:e})),..._n.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),k=["inherit","initial","revert","revert-layer","unset"],Pr=/(?:calc|clamp|min|max)\s*\(.*\)/;function be(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function Mr(e,t,r,n){if(e===""||(j(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function se(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=Mr(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Ur=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],An=["%alpha","<alpha-value>"],Ja=new RegExp(An.map(e=>te(e)).join("|"));function X(e=""){let t=Qa(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Ur.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function Q(e){let t=e.alpha??1;return typeof t=="string"&&An.includes(t)?1:t}function A(e,t){if(typeof e=="string")return e.replace(Ja,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Ur.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Qa(e){if(!e)return;let t=es(e);if(t!=null||(t=ts(e),t!=null)||(t=rs(e),t!=null)||(t=os(e),t!=null)||(t=is(e),t!=null))return t}function es(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function ts(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function rs(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=se(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var ns=new RegExp(`^(${Ur.join("|")})\\((.+)\\)$`,"i");function os(e){let t=e.match(ns);if(!t)return;let[,r,n]=t,o=Vn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function is(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Vn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Vn(e){let t=se(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=se(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function rt(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}function I(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${te(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,...t(a)})}},autocomplete:`${e}:`}}function L(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${te(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function re(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=be(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function F(e,t,r){if(t.startsWith(e)){let n=re(e,t,r);if(n){let[o="",i=n[1]]=F("/",n[1],r)??[];return[n[0],i,o]}for(let o of r.filter(i=>i!=="/")){let i=t.indexOf(o,e.length);if(i!==-1){let a=t.indexOf("/",e.length),s=a===-1||i<=a;return[t.slice(e.length,s?i:a),t.slice(i+o.length),s?"":t.slice(a+1,i)]}}}}var as=",".charCodeAt(0),ss=";".charCodeAt(0),Pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mn=new Uint8Array(64),cs=new Uint8Array(128);for(let e=0;e<Pn.length;e++){let t=Pn.charCodeAt(e);Mn[e]=t,cs[t]=e}var Lr=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function Un(e){let t=new Int32Array(5),r=1024*16,n=r-36,o=new Uint8Array(r),i=o.subarray(0,n),a=0,s="";for(let l=0;l<e.length;l++){let f=e[l];if(l>0&&(a===r&&(s+=Lr.decode(o),a=0),o[a++]=ss),f.length!==0){t[0]=0;for(let u=0;u<f.length;u++){let p=f[u];a>n&&(s+=Lr.decode(i),o.copyWithin(0,n,a),a-=n),u>0&&(o[a++]=as),a=Ee(o,a,t,p,0),p.length!==1&&(a=Ee(o,a,t,p,1),a=Ee(o,a,t,p,2),a=Ee(o,a,t,p,3),p.length!==4&&(a=Ee(o,a,t,p,4)))}}}return s+Lr.decode(o.subarray(0,a))}function Ee(e,t,r,n,o){let i=n[o],a=i-r[o];r[o]=i,a=a<0?-a<<1|1:a<<1;do{let s=a&31;a>>>=5,a>0&&(s|=32),e[t++]=Mn[s]}while(a>0);return t}var nt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},ot=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,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(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function ls(){return typeof window<"u"&&typeof window.btoa=="function"?e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var fs=ls(),Fr=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Un(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+fs(this.toString())}};function us(e){let t=e.split(`
3
- `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function ps(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var ms=Object.prototype.toString;function ds(e){return ms.call(e)==="[object Object]"}function Ln(e){let t=e.split(`
4
- `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let f=i+a>>1;o<r[f]?a=f:i=f+1}let s=i-1,l=o-r[s];return{line:s,column:l}}}var gs=/\w/,Nr=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.indexOf(`
5
- `,0),a=-1;for(;i>=0;){let l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=i,i=r.indexOf(`
6
- `,i+1)}let s=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&s.push(o),this.rawSegments.push(s),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let a=r.start,s=!0,l=!1;for(;a<r.end;){if(this.hires||s||i.has(a)){let f=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?gs.test(n[a])?l||(this.rawSegments.push(f),l=!0):(this.rawSegments.push(f),l=!1):this.rawSegments.push(f)}n[a]===`
1
+ "use strict";(()=>{var Ua=Object.defineProperty;var La=(e,t)=>{for(var r in t)Ua(e,r,{get:t[r],enumerable:!0})};function re(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var qe=Q;function A(e=[]){return Array.isArray(e)?e:[e]}function ge(e){return Array.from(new Set(e))}function fn(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function z(e){return typeof e=="string"}function be(e){return z(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function un(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>be(t)):[e]:[be(e)]}function Wa(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function xe(e){return e==null?"":Wa(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ye(e){return e&&typeof e=="object"&&!Array.isArray(e)}function jr(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Ye(n)&&Ye(o)&&Object.keys(o).forEach(a=>{Ye(n[a])&&Ye(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=jr(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function Ee(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?Ee(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Ee(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Ee(n):n;return r}return e}function pn(e){return z(e[0])}function dn(e){return z(e[0])}var Na=/[\w\u00A0-\uFFFF-_:%-?]/,zr="$$shortcut-no-merge";function mn(e=""){return Na.test(e)}function hn(e){return typeof e=="function"?{match:e}:e}function Or(e){return e.length===3}function gn(e){return e!=null}function bn(){}var Xe=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}};var je=class extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}};function Ze(e){return e instanceof je}var Je={};function Da(e=["-",":"]){let t=e.join("|");return Je[t]||(Je[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Je[t].lastIndex=0,Je[t]}function Ba(e,t=["-",":"],r=5){let n=Da(t),o,i=e.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(f,u,p,d,h)=>{if(!t.includes(p))return f;o=!0,a.add(u+p);let v=h+u.length+p.length+1,C={length:f.length,items:[]};s.set(h,C);for(let x of[...d.matchAll(/\S+/g)]){let S=v+x.index,$=s.get(S)?.items;$?s.delete(S):$=[{offset:S,length:x[0].length,className:x[0]}];for(let j of $)j.className=j.className==="~"?u:j.className.replace(/^(!?)(.*)/,`$1${u}${p}$2`),C.items.push(j)}return"$".repeat(f.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let f=0;for(let[u,p]of s)c+=e.slice(f,u),c+=p.items.map(d=>d.className).join(" "),f=u+p.length;c+=e.slice(f)}else{c=e;for(let[f,u]of s)c.overwrite(f,f+u.length,u.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function xn(e,t=["-",":"],r=5){let n=Ba(e,t,r);return typeof e=="string"?n.expanded:e}var yn=new Set;function ne(e){yn.has(e)||(console.warn("[unocss]",e),yn.add(e))}var Qe=/[\\:]?[\s'"`;{}]+/g;function Ia(e){return e.split(Qe)}var et={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Ia(e)}};function vn(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var tt="default",rt="preflights",Ka="shortcuts",Ga="imports",wn={[Ga]:-200,[rt]:-100,[Ka]:-10,[tt]:0};function $n(e){return A(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var kn="_uno_resolved";function Ha(e){let t=typeof e=="function"?e():e;if(kn in t)return t;t={...t},Object.defineProperty(t,kn,{value:!0,enumerable:!1});let r=t.shortcuts?$n(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=A(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}function Sn(e){let t=Ha(e);if(!t.presets)return[t];let r=(t.presets||[]).flatMap(A).flatMap(Sn);return[t,...r]}function Ar(e={},t={}){let r=Object.assign({},t,e),n=fn((r.presets||[]).flatMap(A).flatMap(Sn),(m,y)=>m.name===y.name),o=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},wn,...i.map(m=>m.layers));function c(m){return ge(i.flatMap(y=>A(y[m]||[])))}let f=c("extractors"),u=a.find(m=>m.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=et),u&&!f.includes(u)&&f.unshift(u),f.sort((m,y)=>(m.order||0)-(y.order||0));let p=c("rules"),d={},h=p.length,v=p.map((m,y)=>{if(pn(m)){A(m[2]?.prefix||"").forEach(W=>{d[W+m[0]]=[y,m[1],m[2],m]});return}return[y,...m]}).filter(Boolean).reverse(),C=qa(i.map(m=>m.theme)),x=c("extendTheme");for(let m of x)C=m(C)||C;let S={templates:ge(i.flatMap(m=>A(m.autocomplete?.templates))),extractors:i.flatMap(m=>A(m.autocomplete?.extractors)).sort((m,y)=>(m.order||0)-(y.order||0)),shorthands:Ya(i.map(m=>m.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let j={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:C,rulesSize:h,rulesDynamic:v,rulesStaticMap:d,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:S,variants:c("variants").map(hn).sort((m,y)=>(m.order||0)-(y.order||0)),shortcuts:$n(c("shortcuts")).reverse(),extractors:f,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev"};for(let m of i)m?.configResolved?.(j);return j}function qa(e){return e.map(t=>t?Ee(t):{}).reduce((t,r)=>jr(t,r),{})}function Ya(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}var Cn="0.58.0";var Vr=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ar(t,r),this.events.emit("config",this.config)}version=Cn;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=vn();setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Ar(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Ze(a)&&Ze(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this._cache.has(n))return this._cache.get(n);let o=t;for(let f of this.config.preprocess)o=f(t);if(this.isBlocked(o)){this.blocked.add(t),this._cache.set(n,null);return}let i=await this.matchVariants(t,o);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(n,null);return}let a=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(a.variants=[...i[3]]);let s=await this.expandShortcut(a.currentSelector,a),c=s?await this.stringifyShortcuts(a.variantMatch,a,s[0],s[1]):(await this.parseUtil(a.variantMatch,a))?.map(f=>this.stringifyUtil(f,a)).filter(gn);if(c?.length)return this._cache.set(n,c),c;this._cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,f=z(t)?await this.applyExtractors(t,n,c?new je:new Set):Array.isArray(t)?new Set(t):t;a&&this.config.safelist.forEach(m=>{f.has(m)||f.add(m)});let u=s?"":`
2
+ `,p=new Set([tt]),d=c?new Map:new Set,h=new Map,v={},C=Array.from(f).map(async m=>{if(d.has(m))return;let y=await this.parseToken(m);if(y!=null){d instanceof Map?d.set(m,{data:y,count:Ze(f)?f.getCount(m):-1}):d.add(m);for(let _ of y){let W=_[3]||"",N=_[4]?.layer;h.has(W)||h.set(W,[]),h.get(W).push(_),N&&p.add(N)}}});await Promise.all(C),await(async()=>{if(!i)return;let m={generator:this,theme:this.config.theme},y=new Set([]);this.config.preflights.forEach(({layer:_=rt})=>{p.add(_),y.add(_)}),v=Object.fromEntries(await Promise.all(Array.from(y).map(async _=>{let N=(await Promise.all(this.config.preflights.filter(ce=>(ce.layer||rt)===_).map(async ce=>await ce.getCSS(m)))).filter(Boolean).join(u);return[_,N]})))})();let x=this.config.sortLayers(Array.from(p).sort((m,y)=>(this.config.layers[m]??0)-(this.config.layers[y]??0)||m.localeCompare(y))),S={},$=m=>{if(S[m])return S[m];let y=Array.from(h).sort((W,N)=>(this.parentOrders.get(W[0])??0)-(this.parentOrders.get(N[0])??0)||W[0]?.localeCompare(N[0]||"")||0).map(([W,N])=>{let ce=N.length,he=N.filter(g=>(g[4]?.layer||tt)===m).sort((g,w)=>g[0]-w[0]||(g[4]?.sort||0)-(w[4]?.sort||0)||g[5]?.currentSelector?.localeCompare(w[5]?.currentSelector??"")||g[1]?.localeCompare(w[1]||"")||g[2]?.localeCompare(w[2]||"")||0).map(([,g,w,,T,,D])=>[[[(g&&Ja(g,o))??"",T?.sort??0]],w,!!(D??T?.noMerge)]);if(!he.length)return;let Te=he.reverse().map(([g,w,T],D)=>{if(!T&&this.config.mergeSelectors)for(let B=D+1;B<ce;B++){let Z=he[B];if(Z&&!Z[2]&&(g&&Z[0]||g==null&&Z[0]==null)&&Z[1]===w)return g&&Z[0]&&Z[0].push(...g),null}let K=g?ge(g.sort((B,Z)=>B[1]-Z[1]||B[0]?.localeCompare(Z[0]||"")||0).map(B=>B[0]).filter(Boolean)):[];return K.length?`${K.join(`,${u}`)}{${w}}`:w}).filter(Boolean).reverse().join(u);if(!W)return Te;let He=W.split(" $$ ");return`${He.join("{")}{${u}${Te}${u}${"}".repeat(He.length)}`}).filter(Boolean).join(u);i&&(y=[v[m],y].filter(Boolean).join(u));let _=s?"":`/* layer: ${m} */${u}`;return S[m]=y?_+y:""},j=(m=x,y)=>m.filter(_=>!y?.includes(_)).map(_=>$(_)||"").filter(Boolean).join(u);return{get css(){return j()},layers:x,matched:d,getLayers:j,getLayer:$}}async matchVariants(t,r){let n=new Set,o=[],i=r||t,a=!0,s={rawSelector:t,theme:this.config.theme,generator:this};for(;a;){a=!1;for(let c of this.config.variants){if(!c.multiPass&&n.has(c))continue;let f=await c.match(i,s);if(f){if(z(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,o.unshift(f),n.add(c),a=!0;break}}if(!a)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o,n]}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((f,u)=>(f.order||0)-(u.order||0)).reduceRight((f,u)=>p=>{let d=u.body?.(p.entries)||p.entries,h=Array.isArray(u.parent)?u.parent:[u.parent,void 0];return(u.handle??es)({...p,entries:d,selector:u.selector?.(p.selector,d)||p.selector,parent:h[0]||p.parent,parentOrder:h[1]||p.parentOrder,layer:u.layer||p.layer,sort:u.sort||p.sort},f)},f=>f)({prefix:"",selector:Qa(n),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let f of this.config.postprocess)f(c);return c}constructCustomCSS(t,r,n){let o=be(r);if(z(o))return o;let{selector:i,entries:a,parent:s}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${xe(a)}}`;return s?`${s}{${c}}`:c}async parseUtil(t,r,n=!1,o){let[i,a,s]=z(t)?await this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);let c=this.config.rulesStaticMap[a];if(c&&c[1]&&(n||!c[2]?.internal)){this.config.details&&r.rules.push(c[3]);let u=c[0],p=be(c[1]),d=c[2];return z(p)?[[u,p,d]]:[[u,i,p,d,s]]}r.variantHandlers=s;let{rulesDynamic:f}=this.config;for(let[u,p,d,h]of f){if(h?.internal&&!n)continue;let v=a;if(h?.prefix){let $=A(h.prefix);if(o){let j=A(o);if(!$.some(m=>j.includes(m)))continue}else{let j=$.find(m=>a.startsWith(m));if(j==null)continue;v=a.slice(j.length)}}let C=v.match(p);if(!C)continue;let x=await d(C,r);if(!x)continue;this.config.details&&r.rules.push([p,d,h]);let S=un(x).filter($=>$.length);if(S.length)return S.map($=>z($)?[u,$,h]:[u,i,$,h,s])}}stringifyUtil(t,r){if(!t)return;if(Or(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:a,sort:s,noMerge:c}=this.applyVariants(t),f=xe(o);if(!f)return;let{layer:u,sort:p,...d}=t[3]??{},h={...d,layer:a??u,sort:s??p};return[t[0],n,f,i,h,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?s=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(s)}:bn,i,a;for(let s of this.config.shortcuts){let c=t;if(s[2]?.prefix){let u=A(s[2].prefix).find(p=>t.startsWith(p));if(u==null)continue;c=t.slice(u.length)}if(dn(s)){if(s[0]===c){i=i||s[2],a=s[1],o(s);break}}else{let f=c.match(s[0]);if(f&&(a=s[1](f,r)),a){i=i||s[2],o(s);break}}}if(z(a)&&(a=xn(a.trim()).split(/\s+/g)),!a){let[s,c]=z(t)?await this.matchVariants(t):t;if(s!==c){let f=await this.expandShortcut(c,r,n-1);f&&(a=f[0].map(u=>z(u)?s.replace(c,u):u))}}if(a)return[(await Promise.all(a.map(async s=>(z(s)?(await this.expandShortcut(s,r,n-1))?.[0]:void 0)||[s]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new Xe,a=(await Promise.all(ge(n).map(async u=>{let p=z(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",be(u),void 0,[]]];return!p&&this.config.warn&&ne(`unmatched utility "${u}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((u,p)=>u[0]-p[0]),[s,,c]=t,f=[];for(let u of a){if(Or(u)){f.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}let{selector:p,entries:d,parent:h,sort:v,noMerge:C}=this.applyVariants(u,[...u[4],...c],s);i.getFallback(p,h,[[],u[0]])[0].push([d,!!(C??u[3]?.noMerge),v??0])}return f.concat(i.map(([u,p],d,h)=>{let v=(x,S,$)=>{let j=Math.max(...$.map(y=>y[1])),m=$.map(y=>y[0]);return(x?[m.flat(1)]:m).map(y=>{let _=xe(y);if(_)return[p,d,_,h,{...o,noMerge:S,sort:j},r,void 0]})};return[[u.filter(([,x])=>x).map(([x,,S])=>[x,S]),!0],[u.filter(([,x])=>!x).map(([x,,S])=>[x,S]),!1]].map(([x,S])=>[...v(!1,S,x.filter(([$])=>$.some(j=>j[0]===zr))),...v(!0,S,x.filter(([$])=>$.every(j=>j[0]!==zr)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="function"?r(t):z(r)?r===t:r.test(t))}};function Tn(e,t){return new Vr(e,t)}var En=/\s\$\$\s+/g;function Za(e){return En.test(e)}function Ja(e,t){return Za(e)?e.replace(En,t?` ${t} `:" "):t?`${t} ${e}`:e}var Rn=/^\[(.+?)(~?=)"(.*)"\]$/;function Qa(e){return Rn.test(e)?e.replace(Rn,(t,r,n,o)=>`[${qe(r)}${n}"${qe(o)}"]`):`.${qe(e)}`}function es(e,t){return t(e)}var ts=/\/\/#\s*sourceMappingURL=.*\n?/g;function jn(e){return e.includes("sourceMappingURL=")?e.replace(ts,""):e}var rs=/(?:[\w&:[\]-]|\[\S+=\S+\])+\[\\?['"]?\S+?['"]\]\]?[\w:-]*/g,ns=/\[(\\\W|[\w-])+:[^\s:]*?("\S+?"|'\S+?'|`\S+?`|[^\s:]+?)[^\s:]*?\)?\]/g,os=/^\[(\\\W|[\w-])+:['"]?\S+?['"]?\]$/;function is(e){let t=[];for(let r of e.matchAll(ns))r.index!==0&&!/^[\s'"`]/.test(e[r.index-1]??"")||t.push(r[0]);for(let r of e.matchAll(rs))t.push(r[0]);return e.split(Qe).forEach(r=>{mn(r)&&!os.test(r)&&t.push(r)}),t}var zn={name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return is(jn(e))}};var On=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=xe(Object.entries(e.theme.preflightBase));return A(e.theme.preflightRoot??["*,::before,::after","::backdrop"]).map(n=>`${n}{${t}}`).join("")}}}];var F={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},_r={...F,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"]},Pr={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"]},nt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},An=["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"],M=Object.assign({},...An.map(e=>({[e.replace(/ /,"-")]:e})),...An.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),k=["inherit","initial","revert","revert-layer","unset"],ze=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/;function ye(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function oe(e,t,r,n){if(e===""||(z(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===e.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[e.slice(0,a),e.slice(a+c)]}}return[e,""]}function le(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=oe(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Mr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Vn=["%alpha","<alpha-value>"],as=new RegExp(Vn.map(e=>re(e)).join("|"));function G(e=""){let t=ss(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Mr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function ee(e){let t=e.alpha??1;return typeof t=="string"&&Vn.includes(t)?1:t}function V(e,t){if(typeof e=="string")return e.replace(as,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Mr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function ss(e){if(!e)return;let t=cs(e);if(t!=null||(t=ls(e),t!=null)||(t=fs(e),t!=null)||(t=ps(e),t!=null)||(t=ds(e),t!=null))return t}function cs(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function ls(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function fs(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=le(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var us=new RegExp(`^(${Mr.join("|")})\\((.+)\\)$`,"i");function ps(e){let t=e.match(us);if(!t)return;let[,r,n]=t,o=_n(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function ds(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=_n(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function _n(e){let t=le(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=le(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function ot(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}function I(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${re(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,...t(a)})}},autocomplete:`${e}:`}}function U(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${re(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function ie(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=ye(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function L(e,t,r){if(t.startsWith(e)){let n=ie(e,t,r);if(n){let[o="",i=n[1]]=L("/",n[1],r)??[];return[n[0],i,o]}for(let o of r.filter(i=>i!=="/")){let i=t.indexOf(o,e.length);if(i!==-1){let a=t.indexOf("/",e.length),s=a===-1||i<=a;return[t.slice(e.length,s?i:a),t.slice(i+o.length),s?"":t.slice(a+1,i)]}}}}var Pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mn=new Uint8Array(64),ms=new Uint8Array(128);for(let e=0;e<Pn.length;e++){let t=Pn.charCodeAt(e);Mn[e]=t,ms[t]=e}var Fr=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function Fn(e){let t=new Int32Array(5),r=1024*16,n=r-36,o=new Uint8Array(r),i=o.subarray(0,n),a=0,s="";for(let c=0;c<e.length;c++){let f=e[c];if(c>0&&(a===r&&(s+=Fr.decode(o),a=0),o[a++]=59),f.length!==0){t[0]=0;for(let u=0;u<f.length;u++){let p=f[u];a>n&&(s+=Fr.decode(i),o.copyWithin(0,n,a),a-=n),u>0&&(o[a++]=44),a=Oe(o,a,t,p,0),p.length!==1&&(a=Oe(o,a,t,p,1),a=Oe(o,a,t,p,2),a=Oe(o,a,t,p,3),p.length!==4&&(a=Oe(o,a,t,p,4)))}}}return s+Fr.decode(o.subarray(0,a))}function Oe(e,t,r,n,o){let i=n[o],a=i-r[o];r[o]=i,a=a<0?-a<<1|1:a<<1;do{let s=a&31;a>>>=5,a>0&&(s|=32),e[t++]=Mn[s]}while(a>0);return t}var it=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},at=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,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(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function hs(){return typeof window<"u"&&typeof window.btoa=="function"?e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var gs=hs(),Ur=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Fn(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+gs(this.toString())}};function bs(e){let t=e.split(`
3
+ `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function xs(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var ys=Object.prototype.toString;function vs(e){return ys.call(e)==="[object Object]"}function Un(e){let t=e.split(`
4
+ `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let f=i+a>>1;o<r[f]?a=f:i=f+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var ws=/\w/,Lr=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.indexOf(`
5
+ `,0),a=-1;for(;i>=0;){let c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=i,i=r.indexOf(`
6
+ `,i+1)}let s=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&s.push(o),this.rawSegments.push(s),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let a=r.start,s=!0,c=!1;for(;a<r.end;){if(this.hires||s||i.has(a)){let f=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?ws.test(n[a])?c||(this.rawSegments.push(f),c=!0):(this.rawSegments.push(f),c=!1):this.rawSegments.push(f)}n[a]===`
7
7
  `?(o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0):(o.column+=1,this.generatedCodeColumn+=1,s=!1),a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
8
- `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},ze=`
9
- `,xe={insertLeft:!1,insertRight:!1,storeName:!1},it=class e{constructor(t,r={}){let n=new ot(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new nt},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new nt(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new Nr(t.hires),i=Ln(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?ps(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Fr(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=us(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(ds(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(u=>{for(let p=u[0];p<u[1];p+=1)o[p]=!0});let i=r.indentStart!==!1,a=f=>i?`${t}${f}`:(i=!0,f);this.intro=this.intro.replace(n,a);let s=0,l=this.firstChunk;for(;l;){let f=l.end;if(l.edited)o[s]||(l.content=l.content.replace(n,a),l.content.length&&(i=l.content[l.content.length-1]===`
10
- `));else for(s=l.start;s<f;){if(!o[s]){let u=this.original[s];u===`
11
- `?i=!0:u!=="\r"&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(t))}s+=1}s=l.end,l=l.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return xe.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),xe.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return xe.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),xe.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let f=l?l.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),f&&(f.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=f,i.next=l||null,f||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(typeof n!="string")throw new TypeError("replacement content must be a string");for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(xe.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),xe.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let f=this.original.slice(t,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],l=this.byEnd[r];if(s){let f=s;for(;f!==l;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}s.edit(n,i,!a)}else{let f=new ot(t,r,"").edit(n,i);l.next=f,f.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(ze);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(ze),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(ze),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(ze),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(ze),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?t-o.start:0,l=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,l),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=Ln(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,l=[];for(;s=i.exec(a);)l.push(s);return l}if(t.global)o(t,this.original).forEach(a=>{a.index!=null&&this.overwrite(a.index,a.index+a[0].length,n(a,this.original))});else{let i=this.original.match(t);i&&i.index!=null&&this.overwrite(i.index,i.index+i[0].length,n(i,this.original))}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var hs=/theme\(\s*['"]?(.*?)['"]?\s*\)/g;function Fn(e){return e.includes("theme(")&&e.includes(")")}function Nn(e,t,r=!0){let n=Array.from(e.toString().matchAll(hs));if(!n.length)return e;let o=new it(e);for(let i of n){let a=i[1];if(!a)throw new Error("theme() expect exact one argument, but got 0");let[s,l]=a.split("/"),u=s.trim().split(".").reduce((p,d)=>p?.[d],t);if(typeof u=="string"){if(l){let p=X(u);p&&(u=A(p,l))}o.overwrite(i.index,i.index+i[0].length,u)}else if(r)throw new Error(`theme of "${a}" did not found`)}return o.toString()}var Br={};ja(Br,{auto:()=>ys,bracket:()=>Rs,bracketOfColor:()=>Ts,bracketOfLength:()=>Es,bracketOfPosition:()=>zs,cssvar:()=>js,degree:()=>_s,fraction:()=>Ss,global:()=>As,number:()=>ks,numberWithUnit:()=>xs,percent:()=>$s,position:()=>Ps,properties:()=>Vs,px:()=>ws,rem:()=>vs,time:()=>Os});var ne=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Wr=/^(-?\d*(?:\.\d+)?)$/i,Dr=/^(px)$/i;var bs=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","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 G(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function xs(e){let t=e.match(ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${G(o)}${n}`}function ys(e){if(e==="auto"||e==="a")return"auto"}function vs(e){if(e.match(Dr))return`1${e}`;let t=e.match(ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${G(o)}${n}`:`${G(o/4)}rem`}function ws(e){if(e.match(Dr))return`1${e}`;let t=e.match(ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${G(o)}${n}`:`${G(o)}px`}function ks(e){if(!Wr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return G(t)}function $s(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Wr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${G(t/100)}`}function Ss(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${G(n*100)}%`}var Cs=/^\[(color|length|position|quoted|string):/i;function at(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Cs);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(l,f)=>(s.push(f),l.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Rs(e){return at(e)}function Ts(e){return at(e,"color")}function Es(e){return at(e,"length")}function zs(e){return at(e,"position")}function js(e){if(e.match(/^\$[^\s'"`;{}]/))return`var(--${J(e.slice(1))})`}function Os(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${G(o)}${n}`:`${G(o)}ms`}function _s(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${G(o)}${n}`:`${G(o)}deg`}function As(e){if(k.includes(e))return e}function Vs(e){if(e.split(",").every(t=>bs.includes(t)))return e}function Ps(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ms=rt(Br),c=Ms;var Wn={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(k.map(e=>[e,e]))},st=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":Wn[e]??c.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Wn).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ct=["center","left","right","justify","start","end"].map(e=>[`text-${e}`,{"text-align":e}]);var Bn="$$mini-no-negative";function O(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??c.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return U[r].map(a=>[`${e}${a}`,i])}}function Dn(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function lt(e,t,r){return Dn(e,t,r)||Dn(e,t,"colors")}function Ir(e,t){let r=e.split(/(?:\/|:)/);return r[0]===`[${t}`?[r.slice(0,2).join(":"),r[2]]:r}function ye(e,t,r){let[n,o]=Ir(e,"color"),i=n.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=i;if(!a)return;let s,l=c.bracketOfColor(n),f=l||n;if(c.numberWithUnit(f))return;if(f.match(/^#[\da-fA-F]+/g)?s=f:f.match(/^hex-[\da-fA-F]+/g)?s=`#${f.slice(4)}`:n.startsWith("$")&&(s=c.cssvar(n)),s=s||l,!s){let p=lt(t,[n],r);typeof p=="string"&&(s=p)}let u="DEFAULT";if(!s){let p,[d]=i.slice(-1);d.match(/^\d+$/)?(u=d,p=lt(t,i.slice(0,-1),r),!p||typeof p=="string"?s=void 0:s=p[u]):(p=lt(t,i,r),!p&&i.length<=2&&([,u=u]=i,p=lt(t,[a],r)),typeof p=="string"?s=p:u&&p&&(s=p[u]))}return{opacity:o,name:a,no:u,color:s,cssColor:X(s),alpha:c.bracket.cssvar.percent(o??"")}}function E(e,t,r,n){return([,o],{theme:i})=>{let a=ye(o,i,r);if(!a)return;let{alpha:s,color:l,cssColor:f}=a,u={};if(f?s!=null?u[e]=A(f,s):(u[`--un-${t}-opacity`]=Q(f),u[e]=A(f,`var(--un-${t}-opacity)`)):l&&(u[e]=A(l,s)),n?.(u)!==!1)return u}}function ve(e,t){let r=[];e=_(e);for(let n=0;n<e.length;n++){let o=se(e[n]," ",6);if(!o||o.length<3)return e;let i=X(o.pop());if(i==null)return e;r.push(`${o.join(" ")} var(${t}, ${A(i)})`)}return r}function we(e,t,r){return e!=null&&!!ye(e,t,r)?.color}function ce({theme:e,generator:t},r="breakpoints"){let n;return t.userConfig&&t.userConfig.theme&&(n=t.userConfig.theme[r]),n||(n=e[r]),n?Object.entries(n).sort((o,i)=>Number.parseInt(o[1].replace(/[a-z]+/gi,""))-Number.parseInt(i[1].replace(/[a-z]+/gi,""))).map(([o,i])=>({point:o,size:i})):void 0}function b(e,t){return k.map(r=>[`${e}-${r}`,{[t??e]:r}])}function In(e){return Pr.test(e)}function ft(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Pr.test(e)||ne.test(e)}var ut=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"outline-width":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,E("outline-color","outline-color","borderColor"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...k].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],pt=[["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Us(e){return c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var mt=[[/^will-change-(.+)/,([,e])=>({"will-change":Us(e)})]];var le=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...k],dt=[[/^(?:border|b)()(?:-(.+))?$/,je,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,je],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,je],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,je],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,je],[/^(?:border|b)-()(?:width|size)-(.+)$/,ke,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ke],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ke],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ke],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ke],[/^(?:border|b)-()(?:color-)?(.+)$/,Oe,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Oe],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Oe],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Oe],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Oe],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,_e,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,_e],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ae,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ae],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ae],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ae],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ae],[/^(?:border|b)-(?:style-)?()(.+)$/,Ve,{autocomplete:["(border|b)-style",`(border|b)-(${le.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${le.join("|")})`,`(border|b)-<directions>-style-(${le.join("|")})`,`(border|b)-style-(${le.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ve],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ve],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ve],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ve]];function Ls(e){return([,t],r)=>{let n=ye(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return o!=null?{[`border${e}-color`]:A(a,o)}:e===""?{"--un-border-opacity":Q(a),"border-color":A(a,"var(--un-border-opacity)")}:{"--un-border-opacity":Q(a),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:A(a,`var(--un-border${e}-opacity)`)};if(i)return In(i)?{"border-width":i}:{[`border${e}-color`]:A(i,o)}}}function je(e,t){return ke(e,t)}function ke([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.global.px(t||"1");if(e in U&&n!=null)return U[e].map(o=>[`border${o}-width`,n])}function Oe([,e="",t],{theme:r}){if(e in U&&we(t,r,"borderColor"))return Object.assign({},...U[e].map(n=>Ls(n)(["",t],r)))}function _e([,e="",t]){let r=c.bracket.percent.cssvar(t);if(e in U&&r!=null)return U[e].map(n=>[`--un-border${n}-opacity`,r])}function Ae([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(t||"1");if(e in Vr&&n!=null)return Vr[e].map(o=>[`border${o}-radius`,n])}function Ve([,e="",t]){if(le.includes(t)&&e in U)return U[e].map(r=>[`border${r}-style`,t])}var gt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],ht=[[/^(?:color|c)-(.+)$/,E("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^text-(.+)$/,E("color","text","textColor",e=>!e.color?.toString().match(ne)),{autocomplete:"text-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>k.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${k.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],bt=[[/^bg-(.+)$/,(...e)=>ft(e[0][1])?void 0:E("background-color","bg","backgroundColor")(...e),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Kn=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var xt=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>(Y("The container query rule is experimental and may not follow semver."),{"container-type":t??"inline-size","container-name":e})]];var Gn=["solid","double","dotted","dashed","wavy",...k],yt=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>({"text-decoration-thickness":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=E("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??c.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Gn.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Gn.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var vt={all:"all",colors:["color","background-color","border-color","outline-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"};function Hn(e){return c.properties(e)??vt[e]}var wt=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{let n=e!=null?Hn(e):[vt.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(n){let o=r.duration?.[t||"DEFAULT"]??c.time(t||"150");return{"transition-property":n,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":o}}},{autocomplete:`transition-(${Object.keys(vt).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??c.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.bracket.global(e)||Hn(e)}),{autocomplete:[`transition-property-(${[...k,...Object.keys(vt)].join("|")})`]}],["transition-none",{transition:"none"}],...b("transition")];var kt=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??c.bracket.cssvar.auto.fraction.rem(e)}),{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"}]];function Kr(e,t,r){return t[r]?.[e]||c.bracket.cssvar.global.rem(e)}var $t=[[/^text-(.+)$/,([,e="base"],{theme:t})=>{let[r,n]=Ir(e,"length"),o=_(t.fontSize?.[r]),i=n?Kr(n,t,"lineHeight"):void 0;if(o?.[0]){let[s,l,f]=o;return typeof l=="object"?{"font-size":s,...l}:{"font-size":s,"line-height":i??l??"1","letter-spacing":f?Kr(f,t,"letterSpacing"):void 0}}let a=c.bracketOfLength.rem(r);return i&&a?{"font-size":a,"line-height":i}:{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,([,e],{theme:t})=>{let n=_(t.fontSize?.[e])?.[0]??c.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||c.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":Kr(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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-(.+)$/,([,e])=>({"font-synthesis":c.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||c.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||c.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||c.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],St=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Ct=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Rt=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,E("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Tt=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":ve(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,E("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var Fs={"":"",x:"column-",y:"row-"};function qn([,e="",t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Fs[e]}gap`]:n}}var Et=[[/^(?:flex-|grid-)?gap-?()(.+)$/,qn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,qn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];function Z(e){return e.replace("col","column")}function Gr(e){return e[0]==="r"?"Row":"Column"}function Ns(e,t,r){let n=t[`gridAuto${Gr(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)}var zt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${Z(e)}`]:r[`grid${Gr(e)}`]?.[t]??c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Z(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${Z(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Z(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Z(e)}-end`]:c.bracket.cssvar(t)??t}),{autocomplete:["grid-(row|col)-(start|end)-<num>"]}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${Z(e)}`]:Ns(e,r,t)}),{autocomplete:["grid-auto-(rows|cols)-<num>"]}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Z(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${Z(e)}`]:r[`gridTemplate${Gr(e)}`]?.[t]??c.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Z(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Z(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:["grid-(rows|cols)-<num>","grid-(rows|cols)-none"]}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":c.cssvar(t)??t.split("-").map(r=>`"${c.bracket(r)}"`).join(" ")}:{"grid-area":c.bracket.cssvar(t)}],["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"}]];var jt=["auto","hidden","clip","visible","scroll","overlay",...k],Ot=[[/^(?:overflow|of)-(.+)$/,([,e])=>jt.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${jt.join("|")})`,`(overflow|of)-(x|y)-(${jt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>jt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var _t=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>k.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Me=[["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"}],...b("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"}],...b("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"}],...b("justify-self")],At=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ue=[["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"}],...b("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"}],...b("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"}],...b("self","align-self")],Vt=[["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"}],...b("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"}],...b("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"}],...b("place-self")],Pt=[...Me,...Ue].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Hr(e,{theme:t}){return t.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e)}function Pe([,e,t],r){let n=Hr(t,r);if(n!=null&&e in Ar)return Ar[e].map(o=>[o.slice(1),n])}var Mt=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Hr(e,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)-(.+)$/,Pe],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Pe],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Pe],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Pe],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Pe],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Hr(t,r)})]],Ut=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...b("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...b("clear")],Lt=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??c.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Ft=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...b("box","box-sizing")];var Ws=["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"],Ds=["none","strict","content","size","inline-size","layout","style","paint"],R=" ",Nt=[["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-(.+)$/,([,e])=>({display:c.bracket.cssvar.global(e)})]],Wt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...b("backface","backface-visibility")],Dt=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar.global(e)})],...Ws.map(e=>[`cursor-${e}`,{cursor:e}])],Bt=[[/^contain-(.*)$/,([,e])=>c.bracket(e)!=null?{contain:c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" ")}:Ds.includes(e)?{contain:e}:void 0]],It=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...b("pointer-events")],Kt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...b("resize")],Gt=[["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"}],...b("select","user-select")],Ht=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...k].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],qt=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...b("content-visibility")],Yt=[[/^content-(.+)$/,([,e])=>({content:c.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Xt=[["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"}]],Zt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}]],Jt=[["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"}]],Qt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...b("case","text-transform")],er=[["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"}]],tr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]];var rr={"--un-ring-inset":R,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},nr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>({"--un-ring-width":t.lineWidth?.[e]??c.bracket.cssvar.px(e)}),{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??c.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,E("--un-ring-color","ring","borderColor"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,E("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var or={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":R,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},ir=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?c.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!we(i,n,"shadowColor")?{"--un-shadow":ve(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:E("--un-shadow-color","shadow","shadowColor")(e,t)},{autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Bs={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Le(e,t){return`${e||""}${Bs[t]}`}function Yn(e,t,r,n){let o=Le(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.global.auto.fraction.rem(n)}var ar=[[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Le(e,t)]:Yn(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Le(e,t)]:Yn(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Le(e,t)]:Xn(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Le(e,t)]:Xn(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Xn(e,t,r="breakpoints"){let n=ce(e,r);if(n)return n.find(o=>o.point===t)?.size}function Is(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.global.auto.number(e)}var sr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Is(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var cr=[[/^pa?()-?(-?.+)$/,O("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,O("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,O("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,O("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,O("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,O("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],lr=[[/^ma?()-?(-?.+)$/,O("margin")],[/^m-?xy()()$/,O("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,O("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,O("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,O("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,O("margin")]];var fr=["translate","rotate","scale"],fe=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Ks=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),ur={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},pr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":M[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(M).join("|")})`,`origin-(${Object.keys(M).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?M[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Zn],[/^(?:transform-)?translate-([xyz])-(.+)$/,Zn],[/^(?:transform-)?rotate-()(.+)$/,Qn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Qn],[/^(?:transform-)?skew-()(.+)$/,eo],[/^(?:transform-)?skew-([xy])-(.+)$/,eo,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Jn],[/^(?:transform-)?scale-([xyz])-(.+)$/,Jn,{autocomplete:[`transform-(${fr.join("|")})-<percent>`,`transform-(${fr.join("|")})-(x|y|z)-<percent>`,`(${fr.join("|")})-<percent>`,`(${fr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:fe}],["transform-cpu",{transform:fe}],["transform-gpu",{transform:Ks}],["transform-none",{transform:"none"}],...b("transform")];function Zn([,e,t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.fraction.rem(t);if(n!=null)return[...tt[e].map(o=>[`--un-translate${o}`,n]),["transform",fe]]}function Jn([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...tt[e].map(n=>[`--un-scale${n}`,r]),["transform",fe]]}function Qn([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:fe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:fe}}function eo([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[...tt[e].map(n=>[`--un-skew${n}`,r]),["transform",fe]]}var Gs={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"},mr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Gs[e];if(r)return{[r]:c.cssvar(t)}}]],dr=[[/^\[(.*)\]$/,([e,t],{theme:r})=>{if(!t.includes(":"))return;let[n,...o]=t.split(":"),i=o.join(":");if(!qs(t)&&n.match(/^[a-z-]+$/)&&Hs(i)){let a;if(Fn(i)&&(a=Nn(i,r)),(!a||a===i)&&(a=c.bracket(`[${i}]`)),a)return{[n]:a}}}]];function Hs(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function qs(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var gr=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.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}}
12
- ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var hr=[[/^fill-(.+)$/,E("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"stroke-width":t.lineWidth?.[e]??c.bracket.cssvar.fraction.px.number(e)}),{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??c.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,E("stroke","stroke","borderColor"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent.cssvar(e)}),{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"}]];var to=[mr,dr,cr,lr,Nt,gt,bt,Kn,hr,dt,qt,Yt,$t,St,Ct,Jt,yt,Rt,Tt,Qt,ct,ht,er,tr,ir,nr,kt,zt,Et,_t,ar,sr,Dt,Wt,It,Kt,st,Gt,Ht,Xt,Ot,ut,pt,At,Me,Ue,Vt,Pt,Mt,Ut,Lt,Ft,wt,pr,mt,xt,Bt,Zt,gr].flat(1);var qr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(qr).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var ro={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(",")},no={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},oo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},io={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},ao={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},so={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Yr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},co={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},lo=Yr;var Xr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},fo={...Xr},uo={DEFAULT:"1px",none:"0"},po={DEFAULT:"1rem",none:"0",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"},mo={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},go={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ho={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},bo={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},xo={DEFAULT:"1px",none:"0"},yo={auto:"auto"},vo={mouse:"(hover) and (pointer: fine)"};var wo={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ko={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var Fe={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Zr={auto:"auto",...Fe,screen:"100vw"},Ne={none:"none",...Fe,screen:"100vw"},Jr={auto:"auto",...Fe,screen:"100vh"},We={none:"none",...Fe,screen:"100vh"},$o=Object.fromEntries(Object.entries(Fe).map(([e,t])=>[e,`(min-width: ${t})`]));var So={...ur,...or,...rr};var Co={width:Zr,height:Jr,maxWidth:Ne,maxHeight:We,minWidth:Ne,minHeight:We,inlineSize:Zr,blockSize:Jr,maxInlineSize:Ne,maxBlockSize:We,minInlineSize:Ne,minBlockSize:We,colors:qr,fontFamily:ro,fontSize:no,fontWeight:co,breakpoints:Xr,verticalBreakpoints:fo,borderRadius:go,lineHeight:so,letterSpacing:Yr,wordSpacing:lo,boxShadow:ho,textIndent:oo,textShadow:ao,textStrokeWidth:io,blur:wo,dropShadow:ko,easing:bo,lineWidth:uo,spacing:po,duration:mo,ringWidth:xo,preflightBase:So,containers:$o,zIndex:yo,media:vo};var Ro={name:"aria",match(e,t){let r=F("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}}};function To(e){let t=e.match(/^-?[0-9]+\.?[0-9]*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function Eo(){let e={};return{name:"breakpoints",match(t,r){let n=(ce(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,l]=s,f=t.slice(l.length);if(f==="container")continue;let u=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),p=l.startsWith("at-")||l.startsWith("~"),d=1e3;return u?(d-=a+1,{matcher:f,handle:(g,v)=>v({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (max-width: ${To(i)})`,parentOrder:d})}):(d+=a+1,p&&a<n.length-1?{matcher:f,handle:(g,v)=>v({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${To(n[a+1][1])})`,parentOrder:d})}:{matcher:f,handle:(g,v)=>v({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}function De(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=re(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=c.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var zo=[De("all"," "),De("children",">"),De("next","+"),De("sibling","+"),De("siblings","~")];var jo={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=F("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=c.bracket(n),s;if(a){let l=c.numberWithUnit(a);l&&(s=`(min-width: ${l})`)}else s=t.theme.containers?.[n]??"";if(s)return Y("The container query variant is experimental and may not follow semver."),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}${s}`})}}},multiPass:!0};function Oo(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),I("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[L("dark","@media (prefers-color-scheme: dark)"),L("light","@media (prefers-color-scheme: light)")]}var _o={name:"data",match(e,t){let r=F("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}}},Ao={name:"group-data",match(e,t){let r=F("group-data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:`group-[[data-${i}]]:${o}`}}}};var Vo=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];var Po={name:"selector",match(e,t){let r=re("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Mo={name:"layer",match(e,t){let r=F("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Uo={name:"uno-layer",match(e,t){let r=F("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Lo={name:"scope",match(e,t){let r=re("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Fo={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=be(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=c.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){let f=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...f})}}},multiPass:!0};var No=/[0-9.]+(?:[a-z]+|%)?/,Ys=[/opacity|color|flex/];function Xs(e){let t=e.match(/^(calc|clamp|max|min)\s*(\(.*)/);if(t){let[r,n]=Mr(t[2],"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var Wo={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Bn))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Ys.some(a=>n[0].match(a)))return;let i=Xs(o);i?(n[1]=i,r=!0):No.test(o)&&(n[1]=o.replace(No,a=>`-${a}`),r=!0)}),r?t:[]}}}};function Do(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]&&(a[1]+=" !important")}),i)}}}}var Bo=L("print","@media print"),Io={name:"media",match(e,t){let r=F("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Ko={name:"supports",match(e,t){let r=F("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};var $e=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","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"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"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),qo=Object.keys($e),Se=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Yo=Object.keys(Se),Zs=["not","is","where","has"],Qr=Object.entries($e).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),en=Object.entries(Se).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ue=Zs.join("|");function br(e,t,r){let n=new RegExp(`^(${te(t)}:)(\\S+)${te(r)}\\1`),o,i,a,s,l=p=>{let d=re(`${e}-`,p,[]);if(!d)return;let[g,v]=d,C=c.bracket(g);if(C==null)return;let x=v.split(o,1)?.[0]??"",S=`${t}${J(x)}`;return[x,p.slice(p.length-(v.length-x.length-1)),C.includes("&")?C.replace(/&/g,S):`${S}${C}`]},f=p=>{let d=p.match(i)||p.match(a);if(!d)return;let[g,v,C]=d,x=d[3]??"",S=$e[C]||Se[C]||`:${C}`;return v&&(S=`:${v}(${S})`),[x,p.slice(g.length),`${t}${J(x)}${S}`,C]},u=p=>{let d=p.match(s);if(!d)return;let[g,v,C]=d,x=d[3]??"",S=`:${v}(${C})`;return[x,p.slice(g.length),`${t}${J(x)}${S}`]};return{name:`pseudo:${e}`,match(p,d){if(o&&i&&a||(o=new RegExp(`(?:${d.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${ue})-)?(${Qr}))(?:(/\\w+))?(?:${d.generator.config.separators.join("|")})`),a=new RegExp(`^${e}-(?:(?:(${ue})-)?(${en}))(?:(/\\w+))?(?:${d.generator.config.separators.filter($=>$!=="-").join("|")})`),s=new RegExp(`^${e}-(?:(${ue})-)?\\[(.+)\\](?:(/\\w+))?(?:${d.generator.config.separators.filter($=>$!=="-").join("|")})`)),!p.startsWith(e))return;let g=l(p)||f(p)||u(p);if(!g)return;let[v,C,x,S=""]=g;return v!==""&&Y("The labeled variant is experimental and may not follow semver."),{matcher:C,handle:($,z)=>z({...$,prefix:`${x}${r}${$.prefix}`.replace(n,"$1$2:"),sort:qo.indexOf(S)??Yo.indexOf(S)})}},multiPass:!0}}var Js=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Go=Object.entries($e).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Ho=Object.entries(Se).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Xo(){let e,t;return{name:"pseudo",match(r,n){e&&e||(e=new RegExp(`^(${Go})(?:${n.generator.config.separators.join("|")})`),t=new RegExp(`^(${Ho})(?:${n.generator.config.separators.filter(i=>i!=="-").join("|")})`));let o=r.match(e)||r.match(t);if(o){let i=$e[o[1]]||Se[o[1]]||`:${o[1]}`,a=qo.indexOf(o[1]);return a===-1&&(a=Yo.indexOf(o[1])),a===-1&&(a=void 0),{matcher:r.slice(o[0].length),handle:(s,l)=>{let f=i.startsWith("::")&&!Js.includes(i)?{pseudo:`${s.pseudo}${i}`}:{selector:`${s.selector}${i}`};return l({...s,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Go}|${Ho}):`}}function Zo(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${ue})-(${Qr})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${ue})-(${en})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`),r=new RegExp(`^(${ue})-(\\[.+\\])(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let a=i[1],l=be(i[2],"[","]")?c.bracket(i[2]):$e[i[2]]||Se[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:f=>`${f}:${a}(${l})`}}},multiPass:!0,autocomplete:`(${ue})-(${Qr}|${en}):`}}function Jo(e={}){let t=!!e?.attributifyPseudo;return[br("group",t?'[group=""]':".group"," "),br("peer",t?'[peer=""]':".peer","~"),br("parent",t?'[parent=""]':".parent",">"),br("previous",t?'[previous=""]':".previous","+")]}var Qs=/(part-\[(.+)]:)(.+)/,Qo={match(e){let t=e.match(Qs);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};function xr(e){return[Ro,_o,Mo,Po,Uo,Wo,Do(),Ko,Bo,Io,Eo(),...zo,Xo(),Zo(),...Jo(e),Qo,...Oo(e),...Vo,Lo,jo,Fo,Ao]}var ei={position:["relative","absolute","fixed","sticky","static"],globalKeyword:k};var ti=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Co,rules:to,variants:xr(e),options:e,prefix:e.prefix,postprocess:ec(e.variablePrefix),preflights:e.preflight?tc(On,e.variablePrefix):[],extractorDefault:e.arbitraryVariants===!1?void 0:jn,autocomplete:{shorthands:ei}});function ec(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function tc(e,t){return t!=="un-"?e.map(r=>({...r,getCSS:(()=>async n=>{let o=await r.getCSS(n);if(o)return o.replace(/--un-/g,`--${t}`)})()})):e}var ri=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??c.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?k:[]].includes(t)?{"animation-fill-mode":t}: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-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?k:[]].includes(t)?{"animation-direction":t}: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-)(.+)$/,([,e])=>({"animation-iteration-count":c.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?k:[]].includes(t)?{"animation-play-state":t}: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"}],...b("animate","animation")];function ni(e){return e?A(e,0):"rgb(255 255 255 / 0)"}function rc(e,t,r,n){return t?n!=null?A(t,n):A(t,`var(--un-${e}-opacity, ${Q(t)})`):A(r,n)}function tn(){return([,e,t],{theme:r})=>{let n=ye(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=rc(e,a,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${ni(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":ni(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function nc(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(c.bracket.cssvar.percent(t))*100}%`})}var oc=/^\[url\(.+\)\]$/,ic=/^\[length:.+\]$/,ac=/^\[position:.+\]$/,oi=[[/^bg-(.+)$/,([,e])=>{if(oc.test(e))return{"--un-url":c.bracket(e),"background-image":"var(--un-url)"};if(ic.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)??t).join(" ")};if((ft(e)||ac.test(e))&&c.bracketOfPosition(e)!=null)return{"background-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)??t).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,tn()],[/^(?:bg-gradient-)?(via)-(.+)$/,tn()],[/^(?:bg-gradient-)?(to)-(.+)$/,tn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:c.bracket.percent(t)})],[/^(from|via|to)-([\d\.]+)%$/,nc()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-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-to-([rltb]{1,2})$/,([,e])=>{if(e in M)return{"--un-gradient-shape":`to ${M[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(M).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in M?`to ${M[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(M).join("|")})`,`shape-(${Object.keys(M).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...b("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["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"}],...k.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":M[e]})],["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"}],...b("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"}],...b("bg-origin","background-origin")];var rn={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"},ii=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=rn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(rn).join("|")})`,`list-(${Object.keys(rn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":c.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...b("list","list-style-type")],ai=[[/^accent-(.+)$/,E("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],si=[[/^caret-(.+)$/,E("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],ci=[["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"]]]],li=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...b("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...b("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"}],...b("overscroll-y","overscroll-behavior-y")],fi=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...b("scroll","scroll-behavior")];var ui=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{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"}],...b("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"}],...b("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"}],...b("break-after")];var sc=/@media \(min-width: (.+)\)/,pi=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;j(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let f of n){let u=f.handle?.({},p=>p)?.parent;if(j(u)){let p=u.match(sc)?.[1];if(p){let g=(ce(t)??[]).find(v=>v.size===p)?.point;a?g&&(s=a?.[g]):s=p,g&&!j(o)&&(i=o?.[g]??i)}}}let l={"max-width":s};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],mi=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(ce(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var di={"--un-blur":R,"--un-brightness":R,"--un-contrast":R,"--un-drop-shadow":R,"--un-grayscale":R,"--un-hue-rotate":R,"--un-invert":R,"--un-saturate":R,"--un-sepia":R},yr="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",gi={"--un-backdrop-blur":R,"--un-backdrop-brightness":R,"--un-backdrop-contrast":R,"--un-backdrop-grayscale":R,"--un-backdrop-hue-rotate":R,"--un-backdrop-invert":R,"--un-backdrop-opacity":R,"--un-backdrop-saturate":R,"--un-backdrop-sepia":R},vr="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)";function nn(e){let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function ee(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":vr,"backdrop-filter":vr}:{[`--un-${e}`]:`${e}(${i})`,filter:yr}}}function cc([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${ve(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:yr};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:yr}}var hi=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ee("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ee("brightness",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ee("contrast",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,cc,{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-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-(.+)$/,E("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ee("grayscale",nn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ee("hue-rotate",e=>c.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ee("invert",nn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,ee("opacity",e=>c.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ee("saturate",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ee("sepia",nn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:yr}],["backdrop-filter",{"-webkit-backdrop-filter":vr,"backdrop-filter":vr}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...k.map(e=>[`filter-${e}`,{filter:e}]),...k.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var xi=[[/^space-([xy])-(-?.+)$/,bi,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(-?.+)$/,bi],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function bi([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??c.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=U[e].map(i=>{let a=`margin${i}`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var yi=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],vi=[...["manual","auto","none",...k].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],wi=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...b("write","writing-mode")],ki=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...b("write-orient","text-orientation")],$i=[["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"}]],Si=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ci=[["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-(.+)$/,([,e])=>{if(M[e])return{"object-position":M[e]};if(c.bracketOfPosition(e)!=null)return{"object-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(M).join("|")})`}]],Ri=[["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"}],...b("bg-blend","background-blend")],Ti=[["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"}],...b("mix-blend")];var zi={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Ei="var(--un-border-spacing-x) var(--un-border-spacing-y)",ji=[["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-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Ei}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??c.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Ei}},{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"}]];var lc={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","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"},Oi=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=lc[e];if(r)return{[r]:c.cssvar(t)}}]];var _i=[[/^divide-?([xy])$/,wr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,wr],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,wr],[/^divide-(block|inline)-(-?.+)$/,wr],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,E("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...le.map(e=>[`divide-${e}`,{"border-style":e}])];function wr([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=U[e].map(i=>{let a=`border${i}-width`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var Ai=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...k].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var Vi={"--un-ordinal":R,"--un-slashed-zero":R,"--un-numeric-figure":R,"--un-numeric-spacing":R,"--un-numeric-fraction":R};function oe(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Pi=[[/^ordinal$/,()=>oe({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>oe({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>oe({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>oe({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>oe({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>oe({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>oe({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>oe({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Mi={"--un-pan-x":R,"--un-pan-y":R,"--un-pinch-zoom":R},on="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ui=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":on}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":on})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":on}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...b("touch","touch-action")];var Li={"--un-scroll-snap-strictness":"proximity"},Fi=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"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?()-?(-?.+)$/,O("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])-?(-?.+)$/,O("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,O("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,O("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,O("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,O("scroll-padding")]];var Ni=[[/^\$ placeholder-(.+)$/,E("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Wi=[[/^view-transition-([\w_-]+)$/,([,e])=>({"view-transition-name":e})]];var Di=[mr,Oi,dr,pi,Bt,$i,It,Wt,_t,Mt,Ai,Si,Lt,At,zt,Ut,lr,Ft,Nt,sr,ar,kt,ji,pr,ri,Dt,Ui,Gt,Kt,Fi,ii,pt,ui,Vt,Ue,Me,Et,Pt,xi,_i,Ot,li,fi,Jt,Ht,Xt,dt,bt,oi,hr,Ci,cr,ct,Ct,Zt,st,$t,Qt,yi,er,Pi,ht,yt,tr,St,Rt,Tt,vi,wi,ki,si,ai,gt,Ri,Ti,ir,ut,nr,ci,hi,wt,mt,qt,Yt,Ni,xt,Wi,gr].flat(1);var Bi=[...mi];var an={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(an).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var fc={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},td={...fc,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"]};var $r={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ii=["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"],Be=Object.assign({},...Ii.map(e=>({[e.replace(/ /,"-")]:e})),...Ii.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),sn=["inherit","initial","revert","revert-layer","unset"];var cn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Gi=/^(-?\d*(?:\.\d+)?)$/i,Hi=/^(px)$/i,uc=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","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 H(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function pc(e){let t=e.match(cn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${H(o)}${n}`}function mc(e){if(e==="auto"||e==="a")return"auto"}function dc(e){if(e.match(Hi))return`1${e}`;let t=e.match(cn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${H(o)}${n}`:`${H(o/4)}rem`}function gc(e){if(e.match(Hi))return`1${e}`;let t=e.match(cn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${H(o)}${n}`:`${H(o)}px`}function hc(e){if(!Gi.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return H(t)}function bc(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Gi.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${H(t/100)}`}function xc(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${H(n*100)}%`}var yc=/^\[(color|length|position|quoted|string):/i;function Sr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(yc);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(l,f)=>(s.push(f),l.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function vc(e){return Sr(e)}function wc(e){return Sr(e,"color")}function kc(e){return Sr(e,"length")}function $c(e){return Sr(e,"position")}function Sc(e){if(e.match(/^\$[^\s'"`;{}]/))return`var(--${J(e.slice(1))})`}function Cc(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${H(o)}${n}`:`${H(o)}ms`}function Rc(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${H(o)}${n}`:`${H(o)}deg`}function Tc(e){if(sn.includes(e))return e}function Ec(e){if(e.split(",").every(t=>uc.includes(t)))return e}function zc(e){if(["top","left","right","bottom","center"].includes(e))return e}var jc={__proto__:null,auto:mc,bracket:vc,bracketOfColor:wc,bracketOfLength:kc,bracketOfPosition:$c,cssvar:Sc,degree:Rc,fraction:xc,global:Tc,number:hc,numberWithUnit:pc,percent:bc,position:zc,properties:Ec,px:gc,rem:dc,time:Cc},Oc=rt(jc),P=Oc;function Ki(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function kr(e,t,r){return Ki(e,t,r)||Ki(e,t,"colors")}function _c(e,t){let r=e.split(/(?:\/|:)/);return r[0]===`[${t}`?[r.slice(0,2).join(":"),r[2]]:r}function Ac(e,t,r){let[n,o]=_c(e,"color"),i=n.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[a]=i;if(!a)return;let s,l=P.bracketOfColor(n),f=l||n;if(P.numberWithUnit(f))return;if(f.match(/^#[\da-fA-F]+/g)?s=f:f.match(/^hex-[\da-fA-F]+/g)?s=`#${f.slice(4)}`:n.startsWith("$")&&(s=P.cssvar(n)),s=s||l,!s){let p=kr(t,[n],r);typeof p=="string"&&(s=p)}let u="DEFAULT";if(!s){let p,[d]=i.slice(-1);d.match(/^\d+$/)?(u=d,p=kr(t,i.slice(0,-1),r),!p||typeof p=="string"?s=void 0:s=p[u]):(p=kr(t,i,r),!p&&i.length<=2&&([,u=u]=i,p=kr(t,[a],r)),typeof p=="string"?s=p:u&&p&&(s=p[u]))}return{opacity:o,name:a,no:u,color:s,cssColor:X(s),alpha:P.bracket.cssvar.percent(o??"")}}function ln(e,t,r,n){return([,o],{theme:i})=>{let a=Ac(o,i,r);if(!a)return;let{alpha:s,color:l,cssColor:f}=a,u={};if(f?s!=null?u[e]=A(f,s):(u[`--un-${t}-opacity`]=Q(f),u[e]=A(f,`var(--un-${t}-opacity)`)):l&&(u[e]=A(l,s)),n?.(u)!==!1)return u}}function ie(e,t){return sn.map(r=>[`${e}-${r}`,{[t??e]:r}])}var Vc=["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"];var Ji=" ";var ad=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...ie("backface","backface-visibility")],sd=[[/^cursor-(.+)$/,([,e])=>({cursor:P.bracket.cssvar.global(e)})],...Vc.map(e=>[`cursor-${e}`,{cursor:e}])];var cd=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...ie("pointer-events")],ld=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...ie("resize")],fd=[["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"}],...ie("select","user-select")];var ud=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":P.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...ie("content-visibility")];var pd=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...ie("case","text-transform")];var Qi={"--un-ring-inset":Ji,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},md=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??P.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>({"--un-ring-width":t.lineWidth?.[e]??P.bracket.cssvar.px(e)}),{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??P.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ln("--un-ring-color","ring","borderColor"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":P.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,ln("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":P.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],ea={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":Ji,"--un-shadow":"0 0 rgb(0 0 0 / 0)"};var Cr=["translate","rotate","scale"],pe=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Pc=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),ta={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},dd=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Be[e]??P.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Be).join("|")})`,`origin-(${Object.keys(Be).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=P.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=P.bracket.cssvar(e)??(e.length>=3?Be[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,qi],[/^(?:transform-)?translate-([xyz])-(.+)$/,qi],[/^(?:transform-)?rotate-()(.+)$/,Xi],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Xi],[/^(?:transform-)?skew-()(.+)$/,Zi],[/^(?:transform-)?skew-([xy])-(.+)$/,Zi,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Yi],[/^(?:transform-)?scale-([xyz])-(.+)$/,Yi,{autocomplete:[`transform-(${Cr.join("|")})-<percent>`,`transform-(${Cr.join("|")})-(x|y|z)-<percent>`,`(${Cr.join("|")})-<percent>`,`(${Cr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:pe}],["transform-cpu",{transform:pe}],["transform-gpu",{transform:Pc}],["transform-none",{transform:"none"}],...ie("transform")];function qi([,e,t],{theme:r}){let n=r.spacing?.[t]??P.bracket.cssvar.fraction.rem(t);if(n!=null)return[...$r[e].map(o=>[`--un-translate${o}`,n]),["transform",pe]]}function Yi([,e,t]){let r=P.bracket.cssvar.fraction.percent(t);if(r!=null)return[...$r[e].map(n=>[`--un-scale${n}`,r]),["transform",pe]]}function Xi([,e="",t]){let r=P.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:pe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:pe}}function Zi([,e,t]){let r=P.bracket.cssvar.degree(t);if(r!=null)return[...$r[e].map(n=>[`--un-skew${n}`,r]),["transform",pe]]}var Mc={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(",")},Uc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Lc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Fc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Nc={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},Wc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},oa={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Dc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Bc=oa,ia={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Ic={...ia},Kc={DEFAULT:"1px",none:"0"},Gc={DEFAULT:"1rem",none:"0",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"},Hc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},qc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Yc={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Xc={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},Zc={DEFAULT:"1px",none:"0"},Jc={auto:"auto"},Qc={mouse:"(hover) and (pointer: fine)"},el={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},tl={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},Ie={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ra={auto:"auto",...Ie,screen:"100vw"},Rr={none:"none",...Ie,screen:"100vw"},na={auto:"auto",...Ie,screen:"100vh"},Tr={none:"none",...Ie,screen:"100vh"},rl=Object.fromEntries(Object.entries(Ie).map(([e,t])=>[e,`(min-width: ${t})`])),nl={...ta,...ea,...Qi},aa={width:ra,height:na,maxWidth:Rr,maxHeight:Tr,minWidth:Rr,minHeight:Tr,inlineSize:ra,blockSize:na,maxInlineSize:Rr,maxBlockSize:Tr,minInlineSize:Rr,minBlockSize:Tr,colors:an,fontFamily:Mc,fontSize:Uc,fontWeight:Dc,breakpoints:ia,verticalBreakpoints:Ic,borderRadius:qc,lineHeight:Wc,letterSpacing:oa,wordSpacing:Bc,boxShadow:Yc,textIndent:Lc,textShadow:Nc,textStrokeWidth:Fc,blur:el,dropShadow:tl,easing:Xc,lineWidth:Kc,spacing:Gc,duration:Hc,ringWidth:Zc,preflightBase:nl,containers:rl,zIndex:Jc,media:Qc};var sa={...aa,aria:{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"'},animation:{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"}},media:{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)"},supports:{grid:"(display: grid)"},preflightBase:{...ur,...Mi,...Li,...Vi,...zi,...or,...rr,...di,...gi}};var ca=[I("svg",e=>({selector:`${e.selector} svg`}))];var la=[I(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),I(".light",e=>({prefix:`.light $$ ${e.prefix}`})),L("@dark","@media (prefers-color-scheme: dark)"),L("@light","@media (prefers-color-scheme: light)")];var fa=[I("@hover",e=>(Y("The @hover variant is experimental and may not follow semver."),{parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];var ua=[L("contrast-more","@media (prefers-contrast: more)"),L("contrast-less","@media (prefers-contrast: less)")],pa=[L("motion-reduce","@media (prefers-reduced-motion: reduce)"),L("motion-safe","@media (prefers-reduced-motion: no-preference)")],ma=[L("landscape","@media (orientation: landscape)"),L("portrait","@media (orientation: portrait)")];var da=e=>{if(!e.startsWith("_")&&(/space-([xy])-(-?.+)$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}};var ga=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(we(i,t,"accentColor")||ol(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function ol(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}function ha(e){return[ga,da,...xr(e),...ua,...ma,...pa,...ca,...la,...fa]}var ba=(e={})=>({...ti(e),name:"@unocss/preset-wind",theme:sa,rules:Di,shortcuts:Bi,variants:ha(e)});function xa(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function ya(e,t,r){let n=[e,t],o=[];for(let a=0;a<2;++a){let s=typeof n[a]=="string"?X(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;++a)i.push(xa(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:xa(o[0].alpha??1,o[1].alpha??1,r)}}function va(e,t){return ya("#fff",e,t)}function wa(e,t){return ya("#000",e,t)}function il(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?wa(e,t):va(e,-r)}var al={tint:va,shade:wa,shift:il};function ka(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=X(`${i[1]}`);if(a){let s=al[n[1]](a,n[2]);s&&(i[1]=A(s))}}}),o)}}}}var sl=(e={})=>{let t=ba(e);return{...t,name:"@unocss/preset-uno",variants:[...t.variants,ka()]}},$a=sl;function cl(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Sa(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ca(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Ra=["Webkit","Moz","ms"];function Ta(e){let t={};function r(n){let o=t[n];if(o)return o;let i=cl(n);if(i!=="filter"&&i in e)return t[n]=Ca(i);i=Sa(i);for(let a=0;a<Ra.length;a++){let s=`${Ra[a]}${i}`;if(s in e)return t[n]=Ca(Sa(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Ea(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function fn(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=_(a.postprocess)).unshift(Ta(r.createElement("div").style)),i.configResolved?.(o,a);let l=En(o,a),f=h=>i.inject?i.inject(h):n().prepend(h),u=()=>i.rootElement?i.rootElement():r.body,p=new Map,d=!0,g=new Set,v,C,x=[],S=()=>new Promise(h=>{x.push(h),C!=null&&clearTimeout(C),C=setTimeout(()=>m().then(()=>{let w=x;x=[],w.forEach(T=>T())}),0)});function $(h){if(h.nodeType!==1)return;let w=h;w.hasAttribute(s)&&w.removeAttribute(s),w.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function z(h,w){let T=p.get(h);if(!T)if(T=r.createElement("style"),T.setAttribute("data-unocss-runtime-layer",h),p.set(h,T),w==null)f(T);else{let D=z(w),K=D.parentNode;K?K.insertBefore(T,D.nextSibling):f(T)}return T}async function m(){let h=await l.generate(g);return h.layers.reduce((w,T)=>(z(T,w).innerHTML=h.getLayer(T)??"",T),void 0),g=h.matched,{...h,getStyleElement:w=>p.get(w),getStyleElements:()=>p}}async function y(h){let w=g.size;await l.applyExtractors(h,void 0,g),w!==g.size&&await S()}async function V(h=u()){let w=h&&h.outerHTML;w&&(await y(`${w} ${Ea(w)}`),$(n()),$(h))}let N=new MutationObserver(h=>{d||h.forEach(async w=>{if(w.target.nodeType!==1)return;let T=w.target;for(let D of p)if(T===D[1])return;if(w.type==="childList")w.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let K=D;v&&!v(K)||(await y(K.outerHTML),$(K))});else{if(v&&!v(T))return;if(w.attributeName!==s){let D=Array.from(T.attributes).map(B=>B.value?`${B.name}="${B.value}"`:B.name).join(" "),K=`<${T.tagName.toLowerCase()} ${D}>`;await y(K)}T.hasAttribute(s)&&T.removeAttribute(s)}})}),W=!1;function ae(){if(W)return;let h=i.observer?.target?i.observer.target():u();h&&(N.observe(h,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),W=!0)}function me(){i.bypassDefined&&ll(l.blocked),V(),ae()}function Ce(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",me):me()}let Ke=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(h){j(h)||(h.forEach(w=>g.add(w)),h=""),await y(h)},extractAll:V,inspect(h){v=h},toggleObserver(h){h===void 0?d=!d:d=!!h,!W&&!d&&Ce()},update:m,presets:t.__unocss_runtime?.presets??{}};i.ready?.(Ke)!==!1&&(d=!1,Ce())}function ll(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}fn({defaults:{presets:[$a()]}});})();
8
+ `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},Ae=`
9
+ `,ve={insertLeft:!1,insertRight:!1,storeName:!1},st=class e{constructor(t,r={}){let n=new at(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new it},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new it(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new Lr(t.hires),i=Un(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?xs(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Ur(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=bs(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(vs(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(u=>{for(let p=u[0];p<u[1];p+=1)o[p]=!0});let i=r.indentStart!==!1,a=f=>i?`${t}${f}`:(i=!0,f);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let f=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
10
+ `));else for(s=c.start;s<f;){if(!o[s]){let u=this.original[s];u===`
11
+ `?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(t))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ve.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ve.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ve.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ve.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let f=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),f&&(f.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=f,i.next=c||null,f||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(typeof n!="string")throw new TypeError("replacement content must be a string");for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(ve.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ve.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let f=this.original.slice(t,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],c=this.byEnd[r];if(s){let f=s;for(;f!==c;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}s.edit(n,i,!a)}else{let f=new at(t,r,"").edit(n,i);c.next=f,f.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Ae);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Ae),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Ae),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Ae),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Ae),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length;let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?t-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=Un(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,c=[];for(;s=i.exec(a);)c.push(s);return c}if(t.global)o(t,this.original).forEach(a=>{a.index!=null&&this.overwrite(a.index,a.index+a[0].length,n(a,this.original))});else{let i=this.original.match(t);i&&i.index!=null&&this.overwrite(i.index,i.index+i[0].length,n(i,this.original))}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var ks=/theme\(\s*['"]?(.*?)['"]?\s*\)/g;function Ln(e){return e.includes("theme(")&&e.includes(")")}function Wn(e,t,r=!0){let n=Array.from(e.toString().matchAll(ks));if(!n.length)return e;let o=new st(e);for(let i of n){let a=i[1];if(!a)throw new Error("theme() expect exact one argument, but got 0");let[s,c]=a.split("/"),u=s.trim().split(".").reduce((p,d)=>p?.[d],t);if(typeof u=="string"){if(c){let p=G(u);p&&(u=V(p,c))}o.overwrite(i.index,i.index+i[0].length,u)}else if(r)throw new Error(`theme of "${a}" did not found`)}return o.toString()}var Dr={};La(Dr,{auto:()=>Cs,bracket:()=>Os,bracketOfColor:()=>As,bracketOfLength:()=>Vs,bracketOfPosition:()=>_s,cssvar:()=>Ps,degree:()=>Fs,fraction:()=>zs,global:()=>Us,number:()=>Es,numberWithUnit:()=>Ss,percent:()=>js,position:()=>Ws,properties:()=>Ls,px:()=>Ts,rem:()=>Rs,time:()=>Ms});var we=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Wr=/^(-?\d*(?:\.\d+)?)$/i,Nr=/^(px)$/i,ct=/^\[(color|length|position|quoted|string):/i;var $s=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","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 H(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Ss(e){let t=e.match(we);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${H(o)}${n}`}function Cs(e){if(e==="auto"||e==="a")return"auto"}function Rs(e){if(Nr.test(e))return`1${e}`;let t=e.match(we);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${H(o)}${n}`:`${H(o/4)}rem`}function Ts(e){if(Nr.test(e))return`1${e}`;let t=e.match(we);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${H(o)}${n}`:`${H(o)}px`}function Es(e){if(!Wr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return H(t)}function js(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Wr.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${H(t/100)}`}function zs(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${H(n*100)}%`}function lt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(ct);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,f)=>(s.push(f),c.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Os(e){return lt(e)}function As(e){return lt(e,"color")}function Vs(e){return lt(e,"length")}function _s(e){return lt(e,"position")}function Ps(e){if(/^\$[^\s'"`;{}]/.test(e))return`var(--${Q(e.slice(1))})`}function Ms(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${H(o)}${n}`:`${H(o)}ms`}function Fs(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${H(o)}${n}`:`${H(o)}deg`}function Us(e){if(k.includes(e))return e}function Ls(e){if(e.split(",").every(t=>$s.includes(t)))return e}function Ws(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ns=ot(Dr),l=Ns;var Nn={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(k.map(e=>[e,e]))},ft=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":Nn[e]??l.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Nn).join("|")})`,"(vertical|align|v)-<percentage>"]}]],ut=["center","left","right","justify","start","end"].map(e=>[`text-${e}`,{"text-align":e}]);var Bn="$$mini-no-negative";function O(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??l.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return F[r].map(a=>[`${e}${a}`,i])}}function Dn(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function pt(e,t,r){return Dn(e,t,r)||Dn(e,t,"colors")}function Br(e,t){let[r,n]=oe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ct)??[])[1];if(o==null||o===t)return[r,n]}}function ke(e,t,r){let n=Br(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,f=l.bracketOfColor(o),u=f||o;if(l.numberWithUnit(u))return;if(/^#[\da-fA-F]+/.test(u)?c=u:/^hex-[\da-fA-F]+/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=l.cssvar(o)),c=c||f,!c){let d=pt(t,[o],r);typeof d=="string"&&(c=d)}let p="DEFAULT";if(!c){let d,[h]=a.slice(-1);/^\d+$/.test(h)?(p=h,d=pt(t,a.slice(0,-1),r),!d||typeof d=="string"?c=void 0:c=d[p]):(d=pt(t,a,r),!d&&a.length<=2&&([,p=p]=a,d=pt(t,[s],r)),typeof d=="string"?c=d:p&&d&&(c=d[p]))}return{opacity:i,name:s,no:p,color:c,cssColor:G(c),alpha:l.bracket.cssvar.percent(i??"")}}function E(e,t,r,n){return([,o],{theme:i})=>{let a=ke(o,i,r);if(!a)return;let{alpha:s,color:c,cssColor:f}=a,u={};if(f?s!=null?u[e]=V(f,s):(u[`--un-${t}-opacity`]=ee(f),u[e]=V(f,`var(--un-${t}-opacity)`)):c&&(u[e]=V(c,s)),n?.(u)!==!1)return u}}function $e(e,t){let r=[];e=A(e);for(let n=0;n<e.length;n++){let o=le(e[n]," ",6);if(!o||o.length<3||G(o.at(0)))return e;let i="";if(G(o.at(-1))){let a=G(o.pop());a&&(i=`, ${V(a)}`)}r.push(`${o.join(" ")} var(${t}${i})`)}return r}function Se(e,t,r){return e!=null&&!!ke(e,t,r)?.color}function fe({theme:e,generator:t},r="breakpoints"){let n;return t.userConfig&&t.userConfig.theme&&(n=t.userConfig.theme[r]),n||(n=e[r]),n?Object.entries(n).sort((o,i)=>Number.parseInt(o[1].replace(/[a-z]+/gi,""))-Number.parseInt(i[1].replace(/[a-z]+/gi,""))).map(([o,i])=>({point:o,size:i})):void 0}function b(e,t){return k.map(r=>[`${e}-${r}`,{[t??e]:r}])}function q(e){return e!=null&&ze.test(e)}function In(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),ze.test(e)||we.test(e)}var dt=[[/^outline-(?:width-|size-)?(.+)$/,Kn,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Ds,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...k].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Kn([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function Ds(e,t){return q(l.bracket(e[1]))?Kn(e,t):E("outline-color","outline-color","borderColor")(e,t)}var mt=[["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Bs(e){return l.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var ht=[[/^will-change-(.+)/,([,e])=>({"will-change":Bs(e)})]];var ue=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...k],gt=[[/^(?:border|b)()(?:-(.+))?$/,X,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,X],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,X],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,X],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,X],[/^(?:border|b)-()(?:width|size)-(.+)$/,X,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,X],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,X],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,X],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,X],[/^(?:border|b)-()(?:color-)?(.+)$/,Ve,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ve],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ve],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ve],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ve],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,_e,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,_e],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,_e],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Pe,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Pe],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Pe],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Pe],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Pe],[/^(?:border|b)-(?:style-)?()(.+)$/,Me,{autocomplete:["(border|b)-style",`(border|b)-(${ue.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ue.join("|")})`,`(border|b)-<directions>-style-(${ue.join("|")})`,`(border|b)-style-(${ue.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Me],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Me],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Me],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Me]];function Is(e){return([,t],r)=>{let n=ke(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return o!=null?{[`border${e}-color`]:V(a,o)}:e===""?{"--un-border-opacity":ee(a),"border-color":V(a,"var(--un-border-opacity)")}:{"--un-border-opacity":ee(a),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:V(a,`var(--un-border${e}-opacity)`)};if(i)return{[`border${e}-color`]:V(i,o)}}}function X([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.global.px(t||"1");if(e in F&&n!=null)return F[e].map(o=>[`border${o}-width`,n])}function Ve([,e="",t],r){if(e in F){if(q(l.bracket(t)))return X(["",e,t],r);if(Se(t,r.theme,"borderColor"))return Object.assign({},...F[e].map(n=>Is(n)(["",t],r.theme)))}}function _e([,e="",t]){let r=l.bracket.percent.cssvar(t);if(e in F&&r!=null)return F[e].map(n=>[`--un-border${n}-opacity`,r])}function Pe([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(t||"1");if(e in Pr&&n!=null)return Pr[e].map(o=>[`border${o}-radius`,n])}function Me([,e="",t]){if(ue.includes(t)&&e in F)return F[e].map(r=>[`border${r}-style`,t])}var bt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:l.bracket.percent.cssvar(e)})]],Ks=/^\[url\(.+\)\]$/,Gs=/^\[length:.+\]$/,Hs=/^\[position:.+\]$/,xt=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];return Ks.test(t)?{"--un-url":l.bracket(t),"background-image":"var(--un-url)"}:Gs.test(t)&&l.bracketOfLength(t)!=null?{"background-size":l.bracketOfLength(t).split(" ").map(r=>l.fraction.auto.px.cssvar(r)??r).join(" ")}:(In(t)||Hs.test(t))&&l.bracketOfPosition(t)!=null?{"background-position":l.bracketOfPosition(t).split(" ").map(r=>l.position.fraction.auto.px.cssvar(r)??r).join(" ")}:E("background-color","bg","backgroundColor")(...e)}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Gn=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var yt=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>(ne("The container query rule is experimental and may not follow semver."),{"container-type":t??"inline-size","container-name":e})]];var Hn=["solid","double","dotted","dashed","wavy",...k],vt=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,qn,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,qs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??l.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Hn.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Hn.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function qn([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??l.bracket.cssvar.global.px(e)}}function qs(e,t){if(q(l.bracket(e[1])))return qn(e,t);let r=E("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var wt={all:"all",colors:["color","background-color","border-color","outline-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"};function Yn(e){return l.properties(e)??wt[e]}var kt=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{let n=e!=null?Yn(e):[wt.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(n){let o=r.duration?.[t||"DEFAULT"]??l.time(t||"150");return{"transition-property":n,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":o}}},{autocomplete:`transition-(${Object.keys(wt).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":l.bracket.global(e)||Yn(e)}),{autocomplete:[`transition-property-(${[...k,...Object.keys(wt)].join("|")})`]}],["transition-none",{transition:"none"}],...b("transition")];var $t=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:l.bracket(e)!=null?l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" "):l.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":l.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??l.bracket.cssvar.auto.fraction.rem(e)}),{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"}]];var St=[[/^text-(.+)$/,Xs,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Xn,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Ys,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,E("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>k.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${k.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||l.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":Ir(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["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-(.+)$/,([,e])=>({"font-synthesis":l.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||l.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||l.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Ct=[[/^tab(?:-(.+))?$/,([,e])=>{let t=l.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Rt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Tt=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,E("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Et=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":$e(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":l.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,E("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function Ir(e,t,r){return t[r]?.[e]||l.bracket.cssvar.global.rem(e)}function Xn([,e],{theme:t}){let n=A(t.fontSize?.[e])?.[0]??l.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Ys(e,t){return q(l.bracket(e[1]))?Xn(e,t):E("color","text","textColor")(e,t)}function Xs([,e="base"],{theme:t}){let r=Br(e,"length");if(!r)return;let[n,o]=r,i=A(t.fontSize?.[n]),a=o?Ir(o,t,"lineHeight"):void 0;if(i?.[0]){let[c,f,u]=i;return typeof f=="object"?{"font-size":c,...f}:{"font-size":c,"line-height":a??f??"1","letter-spacing":u?Ir(u,t,"letterSpacing"):void 0}}let s=l.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":l.bracketOfLength.rem(e)}}var Zs={"":"",x:"column-",y:"row-"};function Zn([,e="",t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Zs[e]}gap`]:n}}var jt=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Zn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Zn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];function J(e){return e.replace("col","column")}function Kr(e){return e[0]==="r"?"Row":"Column"}function Js(e,t,r){let n=t[`gridAuto${Kr(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return l.bracket.cssvar.auto.rem(r)}var zt=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${J(e)}`]:r[`grid${Kr(e)}`]?.[t]??l.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${J(e)}`]:"1/-1"};let r=l.bracket.number(t);if(r!=null)return{[`grid-${J(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${J(e)}-start`]:l.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${J(e)}-end`]:l.bracket.cssvar(t)??t}),{autocomplete:["grid-(row|col)-(start|end)-<num>"]}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${J(e)}`]:Js(e,r,t)}),{autocomplete:["grid-auto-(rows|cols)-<num>"]}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":l.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":J(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${J(e)}`]:r[`gridTemplate${Kr(e)}`]?.[t]??l.bracket.cssvar(t)})],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:["grid-(rows|cols)-<num>","grid-(rows|cols)-none"]}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":l.cssvar(t)??t.split("-").map(r=>`"${l.bracket(r)}"`).join(" ")}:{"grid-area":l.bracket.cssvar(t)}],["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"}]];var Ot=["auto","hidden","clip","visible","scroll","overlay",...k],At=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ot.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ot.join("|")})`,`(overflow|of)-(x|y)-(${Ot.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ot.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Vt=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>k.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ue=[["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"}],...b("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"}],...b("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"}],...b("justify-self")],_t=[[/^order-(.+)$/,([,e])=>({order:l.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Le=[["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"}],...b("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"}],...b("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"}],...b("self","align-self")],Pt=[["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"}],...b("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"}],...b("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"}],...b("place-self")],Mt=[...Ue,...Le].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Gr(e,{theme:t}){return t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e)}function Fe([,e,t],r){let n=Gr(t,r);if(n!=null&&e in _r)return _r[e].map(o=>[o.slice(1),n])}var Ft=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Gr(e,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)-(.+)$/,Fe],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Fe],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Fe],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Fe],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Fe],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Gr(t,r)})]],Ut=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...b("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...b("clear")],Lt=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":l.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??l.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Wt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...b("box","box-sizing")];var Qs=["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"],ec=["none","strict","content","size","inline-size","layout","style","paint"],R=" ",Nt=[["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-(.+)$/,([,e])=>({display:l.bracket.cssvar.global(e)})]],Dt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...b("backface","backface-visibility")],Bt=[[/^cursor-(.+)$/,([,e])=>({cursor:l.bracket.cssvar.global(e)})],...Qs.map(e=>[`cursor-${e}`,{cursor:e}])],It=[[/^contain-(.*)$/,([,e])=>l.bracket(e)!=null?{contain:l.bracket(e).split(" ").map(t=>l.cssvar.fraction(t)??t).join(" ")}:ec.includes(e)?{contain:e}:void 0]],Kt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...b("pointer-events")],Gt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...b("resize")],Ht=[["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"}],...b("select","user-select")],qt=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...k].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Yt=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":l.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...b("content-visibility")],Xt=[[/^content-(.+)$/,([,e])=>({content:l.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Zt=[["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"}]],Jt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Qt=[["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"}]],er=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...b("case","text-transform")],tr=[["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"}]],rr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]];var nr={"--un-ring-inset":R,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},or=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??l.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Jn,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??l.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,tc,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,E("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Jn([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??l.bracket.cssvar.px(e)}}function tc(e,t){return q(l.bracket(e[1]))?Jn(e,t):E("--un-ring-color","ring","borderColor")(e,t)}var ir={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":R,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},ar=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?l.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Se(i,n,"shadowColor")?{"--un-shadow":$e(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:E("--un-shadow-color","shadow","shadowColor")(e,t)},{autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var rc={h:"height",w:"width",inline:"inline-size",block:"block-size"};function We(e,t){return`${e||""}${rc[t]}`}function Qn(e,t,r,n){let o=We(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return l.bracket.cssvar.global.auto.fraction.rem(n)}var sr=[[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[We(e,t)]:Qn(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[We(e,t)]:Qn(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[We(e,t)]:eo(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[We(e,t)]:eo(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function eo(e,t,r="breakpoints"){let n=fe(e,r);if(n)return n.find(o=>o.point===t)?.size}function nc(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return l.bracket.cssvar.global.auto.number(e)}var cr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":nc(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var lr=[[/^pa?()-?(-?.+)$/,O("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,O("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,O("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,O("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,O("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,O("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],fr=[[/^ma?()-?(-?.+)$/,O("margin")],[/^m-?xy()()$/,O("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,O("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,O("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,O("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,O("margin")]];var ur=["translate","rotate","scale"],pe=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),oc=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),pr={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},dr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":M[e]??l.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(M).join("|")})`,`origin-(${Object.keys(M).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=l.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=l.bracket.cssvar(e)??(e.length>=3?M[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,to],[/^(?:transform-)?translate-([xyz])-(.+)$/,to],[/^(?:transform-)?rotate-()(.+)$/,no],[/^(?:transform-)?rotate-([xyz])-(.+)$/,no],[/^(?:transform-)?skew-()(.+)$/,oo],[/^(?:transform-)?skew-([xy])-(.+)$/,oo,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ro],[/^(?:transform-)?scale-([xyz])-(.+)$/,ro,{autocomplete:[`transform-(${ur.join("|")})-<percent>`,`transform-(${ur.join("|")})-(x|y|z)-<percent>`,`(${ur.join("|")})-<percent>`,`(${ur.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:pe}],["transform-cpu",{transform:pe}],["transform-gpu",{transform:oc}],["transform-none",{transform:"none"}],...b("transform")];function to([,e,t],{theme:r}){let n=r.spacing?.[t]??l.bracket.cssvar.fraction.rem(t);if(n!=null)return[...nt[e].map(o=>[`--un-translate${o}`,n]),["transform",pe]]}function ro([,e,t]){let r=l.bracket.cssvar.fraction.percent(t);if(r!=null)return[...nt[e].map(n=>[`--un-scale${n}`,r]),["transform",pe]]}function no([,e="",t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:pe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:pe}}function oo([,e,t]){let r=l.bracket.cssvar.degree(t);if(r!=null)return[...nt[e].map(n=>[`--un-skew${n}`,r]),["transform",pe]]}var ic={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"},mr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=ic[e];if(r)return{[r]:l.cssvar(t)}}]],hr=[[/^\[(.*)\]$/,([e,t],{theme:r})=>{if(!t.includes(":"))return;let[n,...o]=t.split(":"),i=o.join(":");if(!sc(t)&&/^[a-z-]+$/.test(n)&&ac(i)){let a;if(Ln(i)&&(a=Wn(i,r)),(!a||a===i)&&(a=l.bracket(`[${i}]`)),a)return{[n]:a}}}]];function ac(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function sc(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var gr=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.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}}
12
+ ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var br=[[/^fill-(.+)$/,E("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":l.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,io,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":l.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??l.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,cc,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":l.bracket.percent.cssvar(e)}),{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 io([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??l.bracket.cssvar.fraction.px.number(e)}}function cc(e,t){return q(l.bracket(e[1]))?io(e,t):E("stroke","stroke","borderColor")(e,t)}var ao=[mr,hr,lr,fr,Nt,bt,xt,Gn,br,gt,Yt,Xt,St,Ct,Rt,Qt,vt,Tt,Et,er,ut,tr,rr,ar,or,$t,zt,jt,Vt,sr,cr,Bt,Dt,Kt,Gt,ft,Ht,qt,Zt,At,dt,mt,_t,Ue,Le,Pt,Mt,Ft,Ut,Lt,Wt,kt,dr,ht,yt,It,Jt,gr].flat(1);var Hr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Hr).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var so={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(",")},co={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},lo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},fo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},uo={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},po={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},qr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},mo={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ho=qr;var Yr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},go={...Yr},bo={DEFAULT:"1px",none:"0"},xo={DEFAULT:"1rem",none:"0",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"},yo={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},vo={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},wo={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},ko={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},$o={DEFAULT:"1px",none:"0"},So={auto:"auto"},Co={mouse:"(hover) and (pointer: fine)"};var Ro={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},To={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var Ne={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Xr={auto:"auto",...Ne,screen:"100vw"},De={none:"none",...Ne,screen:"100vw"},Zr={auto:"auto",...Ne,screen:"100vh"},Be={none:"none",...Ne,screen:"100vh"},Eo=Object.fromEntries(Object.entries(Ne).map(([e,t])=>[e,`(min-width: ${t})`]));var jo={...pr,...ir,...nr};var zo={width:Xr,height:Zr,maxWidth:De,maxHeight:Be,minWidth:De,minHeight:Be,inlineSize:Xr,blockSize:Zr,maxInlineSize:De,maxBlockSize:Be,minInlineSize:De,minBlockSize:Be,colors:Hr,fontFamily:so,fontSize:co,fontWeight:mo,breakpoints:Yr,verticalBreakpoints:go,borderRadius:vo,lineHeight:po,letterSpacing:qr,wordSpacing:ho,boxShadow:wo,textIndent:lo,textShadow:uo,textStrokeWidth:fo,blur:Ro,dropShadow:To,easing:ko,lineWidth:bo,spacing:xo,duration:yo,ringWidth:$o,preflightBase:jo,containers:Eo,zIndex:So,media:Co};var Oo={name:"aria",match(e,t){let r=L("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}}};function Ao(e){let t=e.match(/^-?[0-9]+\.?[0-9]*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function Vo(){let e={};return{name:"breakpoints",match(t,r){let n=(fe(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,c]=s,f=t.slice(c.length);if(f==="container")continue;let u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),d=1e3;return u?(d-=a+1,{matcher:f,handle:(h,v)=>v({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Ao(i)})`,parentOrder:d})}):(d+=a+1,p&&a<n.length-1?{matcher:f,handle:(h,v)=>v({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ao(n[a+1][1])})`,parentOrder:d})}:{matcher:f,handle:(h,v)=>v({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}function Ie(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ie(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=l.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var _o=[Ie("all"," "),Ie("children",">"),Ie("next","+"),Ie("sibling","+"),Ie("siblings","~")];var Po={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=L("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=l.bracket(n),s;if(a){let c=l.numberWithUnit(a);c&&(s=`(min-width: ${c})`)}else s=t.theme.containers?.[n]??"";if(s)return ne("The container query variant is experimental and may not follow semver."),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}${s}`})}}},multiPass:!0};function Mo(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),I("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[U("dark","@media (prefers-color-scheme: dark)"),U("light","@media (prefers-color-scheme: light)")]}var Fo={name:"data",match(e,t){let r=L("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}}};function xr(e){return{name:`${e}-data`,match(t,r){let n=L(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i]=n,a=l.bracket(o)??r.theme.data?.[o]??"";if(a)return{matcher:`${e}-[[data-${a}]]:${i}`}}}}}var Uo=[xr("group"),xr("peer"),xr("parent"),xr("previous")];var Lo=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];var Wo={name:"selector",match(e,t){let r=ie("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},No={name:"layer",match(e,t){let r=L("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Do={name:"uno-layer",match(e,t){let r=L("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Bo={name:"scope",match(e,t){let r=ie("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Io={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=ye(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=l.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let f=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...f})}}},multiPass:!0};var Ko=/^-?[0-9.]+(?:[a-z]+|%)?$/,Go=/-?[0-9.]+(?:[a-z]+|%)?/,lc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function fc(e){let t=e.match(ze);if(t){let[r,n]=oe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var uc=/\b(hue-rotate)\s*(\(.*)/;function pc(e){let t=e.match(uc);if(t){let[r,n]=oe(t[2],"(",")"," ")??[];if(r){let o=Ko.test(r.slice(1,-1))?r.replace(Go,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Ho={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Bn))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||lc.some(s=>s.test(n[0])))return;let i=fc(o);if(i){n[1]=i,r=!0;return}let a=pc(o);if(a){n[1]=a,r=!0;return}Ko.test(o)&&(n[1]=o.replace(Go,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};function qo(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]&&(a[1]+=" !important")}),i)}}}}var Yo=U("print","@media print"),Xo={name:"media",match(e,t){let r=L("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Zo={name:"supports",match(e,t){let r=L("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=l.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};var Ce=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","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"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"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ei=Object.keys(Ce),Re=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ti=Object.keys(Re),dc=["not","is","where","has"],Jr=Object.entries(Ce).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Qr=Object.entries(Re).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),de=dc.join("|");function mc(e,t,r){let n=new RegExp(`^(${re(t)}:)(\\S+)${re(r)}\\1`),o,i,a,s,c=p=>{let d=ie(`${e}-`,p,[]);if(!d)return;let[h,v]=d,C=l.bracket(h);if(C==null)return;let x=v.split(o,1)?.[0]??"",S=`${t}${Q(x)}`;return[x,p.slice(p.length-(v.length-x.length-1)),C.includes("&")?C.replace(/&/g,S):`${S}${C}`]},f=p=>{let d=p.match(i)||p.match(a);if(!d)return;let[h,v,C]=d,x=d[3]??"",S=Ce[C]||Re[C]||`:${C}`;return v&&(S=`:${v}(${S})`),[x,p.slice(h.length),`${t}${Q(x)}${S}`,C]},u=p=>{let d=p.match(s);if(!d)return;let[h,v,C]=d,x=d[3]??"",S=`:${v}(${C})`;return[x,p.slice(h.length),`${t}${Q(x)}${S}`]};return{name:`pseudo:${e}`,match(p,d){if(o&&i&&a||(o=new RegExp(`(?:${d.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${de})-)?(${Jr}))(?:(/\\w+))?(?:${d.generator.config.separators.join("|")})`),a=new RegExp(`^${e}-(?:(?:(${de})-)?(${Qr}))(?:(/\\w+))?(?:${d.generator.config.separators.filter($=>$!=="-").join("|")})`),s=new RegExp(`^${e}-(?:(${de})-)?\\[(.+)\\](?:(/\\w+))?(?:${d.generator.config.separators.filter($=>$!=="-").join("|")})`)),!p.startsWith(e))return;let h=c(p)||f(p)||u(p);if(!h)return;let[v,C,x,S=""]=h;return v!==""&&ne("The labeled variant is experimental and may not follow semver."),{matcher:C,handle:($,j)=>j({...$,prefix:`${x}${r}${$.prefix}`.replace(n,"$1$2:"),sort:ei.indexOf(S)??ti.indexOf(S)})}},multiPass:!0}}var hc=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Jo=Object.entries(Ce).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Qo=Object.entries(Re).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function ri(){let e,t;return{name:"pseudo",match(r,n){e&&e||(e=new RegExp(`^(${Jo})(?:${n.generator.config.separators.join("|")})`),t=new RegExp(`^(${Qo})(?:${n.generator.config.separators.filter(i=>i!=="-").join("|")})`));let o=r.match(e)||r.match(t);if(o){let i=Ce[o[1]]||Re[o[1]]||`:${o[1]}`,a=ei.indexOf(o[1]);return a===-1&&(a=ti.indexOf(o[1])),a===-1&&(a=void 0),{matcher:r.slice(o[0].length),handle:(s,c)=>{let f=i.startsWith("::")&&!hc.includes(i)?{pseudo:`${s.pseudo}${i}`}:{selector:`${s.selector}${i}`};return c({...s,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Jo}|${Qo}):`}}function ni(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${de})-(${Jr})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${de})-(${Qr})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`),r=new RegExp(`^(${de})-(\\[.+\\])(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let a=i[1],c=ye(i[2],"[","]")?l.bracket(i[2]):Ce[i[2]]||Re[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:f=>`${f}:${a}(${c})`}}},multiPass:!0,autocomplete:`(${de})-(${Jr}|${Qr}):`}}function oi(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>mc(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+")]}var gc=/(part-\[(.+)]:)(.+)/,ii={match(e){let t=e.match(gc);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};function yr(e){return[Oo,Fo,No,Wo,Do,Ho,qo(),Zo,Yo,Xo,Vo(),..._o,ri(),ni(),...oi(e),ii,...Mo(e),...Lo,Bo,Po,Io,...Uo]}var ai={position:["relative","absolute","fixed","sticky","static"],globalKeyword:k};var si=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:zo,rules:ao,variants:yr(e),options:e,prefix:e.prefix,postprocess:bc(e.variablePrefix),preflights:e.preflight?xc(On,e.variablePrefix):[],extractorDefault:e.arbitraryVariants===!1?void 0:zn,autocomplete:{shorthands:ai}});function bc(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function xc(e,t){return t!=="un-"?e.map(r=>({...r,getCSS:async n=>{let o=await r.getCSS(n);if(o)return o.replace(/--un-/g,`--${t}`)}})):e}var ci=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:l.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":l.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??l.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??l.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?k:[]].includes(t)?{"animation-fill-mode":t}: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-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?k:[]].includes(t)?{"animation-direction":t}: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-)(.+)$/,([,e])=>({"animation-iteration-count":l.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?k:[]].includes(t)?{"animation-play-state":t}: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"}],...b("animate","animation")];function li(e){return e?V(e,0):"rgb(255 255 255 / 0)"}function yc(e,t,r,n){return t?n!=null?V(t,n):V(t,`var(--un-${e}-opacity, ${ee(t)})`):V(r,n)}function en(){return([,e,t],{theme:r})=>{let n=ke(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=yc(e,a,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${li(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":li(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function vc(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(l.bracket.cssvar.percent(t))*100}%`})}var fi=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":l.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":l.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,en()],[/^(?:bg-gradient-)?(via)-(.+)$/,en()],[/^(?:bg-gradient-)?(to)-(.+)$/,en()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:l.bracket.percent(t)})],[/^(from|via|to)-([\d\.]+)%$/,vc()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-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-to-([rltb]{1,2})$/,([,e])=>{if(e in M)return{"--un-gradient-shape":`to ${M[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(M).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in M?`to ${M[e]}`:l.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(M).join("|")})`,`shape-(${Object.keys(M).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...b("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["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"}],...k.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":M[e]})],["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"}],...b("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"}],...b("bg-origin","background-origin")];var tn={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"},ui=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=tn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(tn).join("|")})`,`list-(${Object.keys(tn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":l.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...b("list","list-style-type")],pi=[[/^accent-(.+)$/,E("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":l.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],di=[[/^caret-(.+)$/,E("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":l.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],mi=[["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"]]]],hi=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...b("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...b("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"}],...b("overscroll-y","overscroll-behavior-y")],gi=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...b("scroll","scroll-behavior")];var bi=[[/^columns-(.+)$/,([,e])=>({columns:l.bracket.global.number.auto.numberWithUnit(e)}),{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"}],...b("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"}],...b("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"}],...b("break-after")];var wc=/@media \(min-width: (.+)\)/,xi=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;z(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let f of n){let u=f.handle?.({},p=>p)?.parent;if(z(u)){let p=u.match(wc)?.[1];if(p){let h=(fe(t)??[]).find(v=>v.size===p)?.point;a?h&&(s=a?.[h]):s=p,h&&!z(o)&&(i=o?.[h]??i)}}}let c={"max-width":s};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],yi=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(fe(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var vi={"--un-blur":R,"--un-brightness":R,"--un-contrast":R,"--un-drop-shadow":R,"--un-grayscale":R,"--un-hue-rotate":R,"--un-invert":R,"--un-saturate":R,"--un-sepia":R},vr="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",wi={"--un-backdrop-blur":R,"--un-backdrop-brightness":R,"--un-backdrop-contrast":R,"--un-backdrop-grayscale":R,"--un-backdrop-hue-rotate":R,"--un-backdrop-invert":R,"--un-backdrop-opacity":R,"--un-backdrop-saturate":R,"--un-backdrop-sepia":R},wr="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)";function rn(e){let t=l.bracket.cssvar(e||"");if(t!=null||(t=e?l.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function te(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":wr,"backdrop-filter":wr}:{[`--un-${e}`]:`${e}(${i})`,filter:vr}}}function kc([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${$e(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:vr};if(r=l.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:vr}}var ki=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,te("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||l.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,te("brightness",e=>l.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,te("contrast",e=>l.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,kc,{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-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-(.+)$/,E("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":l.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,te("grayscale",rn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,te("hue-rotate",e=>l.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,te("invert",rn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,te("opacity",e=>l.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,te("saturate",e=>l.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,te("sepia",rn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:vr}],["backdrop-filter",{"-webkit-backdrop-filter":wr,"backdrop-filter":wr}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...k.map(e=>[`filter-${e}`,{filter:e}]),...k.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var Si=[[/^space-([xy])-(-?.+)$/,$i,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(-?.+)$/,$i],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function $i([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??l.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=F[e].map(i=>{let a=`margin${i}`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var Ci=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Ri=[...["manual","auto","none",...k].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Ti=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...b("write","writing-mode")],Ei=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...b("write-orient","text-orientation")],ji=[["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"}]],zi=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Oi=[["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-(.+)$/,([,e])=>{if(M[e])return{"object-position":M[e]};if(l.bracketOfPosition(e)!=null)return{"object-position":l.bracketOfPosition(e).split(" ").map(t=>l.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(M).join("|")})`}]],Ai=[["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"}],...b("bg-blend","background-blend")],Vi=[["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"}],...b("mix-blend")];var Pi={"--un-border-spacing-x":0,"--un-border-spacing-y":0},_i="var(--un-border-spacing-x) var(--un-border-spacing-y)",Mi=[["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-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??l.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":_i}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??l.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":_i}},{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"}]];var $c={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","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"},Fi=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=$c[e];if(r)return{[r]:l.cssvar(t)}}]];var Ui=[[/^divide-?([xy])$/,kr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,kr],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,kr],[/^divide-(block|inline)-(-?.+)$/,kr],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,E("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":l.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...ue.map(e=>[`divide-${e}`,{"border-style":e}])];function kr([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??l.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=F[e].map(i=>{let a=`border${i}-width`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var Li=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...k].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var Wi={"--un-ordinal":R,"--un-slashed-zero":R,"--un-numeric-figure":R,"--un-numeric-spacing":R,"--un-numeric-fraction":R};function ae(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Ni=[[/^ordinal$/,()=>ae({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ae({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ae({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ae({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ae({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ae({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ae({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ae({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Di={"--un-pan-x":R,"--un-pan-y":R,"--un-pinch-zoom":R},nn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Bi=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":nn}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":nn})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":nn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...b("touch","touch-action")];var Ii={"--un-scroll-snap-strictness":"proximity"},Ki=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"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?()-?(-?.+)$/,O("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])-?(-?.+)$/,O("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,O("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,O("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,O("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,O("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,O("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,O("scroll-padding")]];var Gi=[[/^\$ placeholder-(.+)$/,E("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":l.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Hi=[[/^view-transition-([\w_-]+)$/,([,e])=>({"view-transition-name":e})]];var qi=[mr,Fi,hr,xi,It,ji,Kt,Dt,Vt,Ft,Li,zi,Lt,_t,zt,Ut,fr,Wt,Nt,cr,sr,$t,Mi,dr,ci,Bt,Bi,Ht,Gt,Ki,ui,mt,bi,Pt,Le,Ue,jt,Mt,Si,Ui,At,hi,gi,Qt,qt,Zt,gt,xt,fi,br,Oi,lr,ut,Rt,Jt,ft,St,er,Ci,tr,Ni,vt,rr,Ct,Tt,Et,Ri,Ti,Ei,di,pi,bt,Ai,Vi,ar,dt,or,mi,ki,kt,ht,Yt,Xt,Gi,yt,Hi,gr].flat(1);var Yi=[...yi];var on={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(on).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Sc={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},hm={...Sc,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"]};var Sr={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Xi=["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"],Ke=Object.assign({},...Xi.map(e=>({[e.replace(/ /,"-")]:e})),...Xi.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),an=["inherit","initial","revert","revert-layer","unset"],Cc=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,sn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ji=/^(-?\d*(?:\.\d+)?)$/i,Qi=/^(px)$/i,ea=/^\[(color|length|position|quoted|string):/i,Rc=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","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 Y(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Tc(e){let t=e.match(sn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Y(o)}${n}`}function Ec(e){if(e==="auto"||e==="a")return"auto"}function jc(e){if(Qi.test(e))return`1${e}`;let t=e.match(sn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Y(o)}${n}`:`${Y(o/4)}rem`}function zc(e){if(Qi.test(e))return`1${e}`;let t=e.match(sn);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Y(o)}${n}`:`${Y(o)}px`}function Oc(e){if(!Ji.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return Y(t)}function Ac(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Ji.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${Y(t/100)}`}function Vc(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Y(n*100)}%`}function Cr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(ea);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){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=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,f)=>(s.push(f),c.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function _c(e){return Cr(e)}function Pc(e){return Cr(e,"color")}function Mc(e){return Cr(e,"length")}function Fc(e){return Cr(e,"position")}function Uc(e){if(/^\$[^\s'"`;{}]/.test(e))return`var(--${Q(e.slice(1))})`}function Lc(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${Y(o)}${n}`:`${Y(o)}ms`}function Wc(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Y(o)}${n}`:`${Y(o)}deg`}function Nc(e){if(an.includes(e))return e}function Dc(e){if(e.split(",").every(t=>Rc.includes(t)))return e}function Bc(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ic={__proto__:null,auto:Ec,bracket:_c,bracketOfColor:Pc,bracketOfLength:Mc,bracketOfPosition:Fc,cssvar:Uc,degree:Wc,fraction:Vc,global:Nc,number:Oc,numberWithUnit:Tc,percent:Ac,position:Bc,properties:Dc,px:zc,rem:jc,time:Lc},Kc=ot(Ic),P=Kc;function Zi(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function $r(e,t,r){return Zi(e,t,r)||Zi(e,t,"colors")}function Gc(e,t){let[r,n]=oe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ea)??[])[1];if(o==null||o===t)return[r,n]}}function Hc(e,t,r){let n=Gc(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,f=P.bracketOfColor(o),u=f||o;if(P.numberWithUnit(u))return;if(/^#[\da-fA-F]+/.test(u)?c=u:/^hex-[\da-fA-F]+/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=P.cssvar(o)),c=c||f,!c){let d=$r(t,[o],r);typeof d=="string"&&(c=d)}let p="DEFAULT";if(!c){let d,[h]=a.slice(-1);/^\d+$/.test(h)?(p=h,d=$r(t,a.slice(0,-1),r),!d||typeof d=="string"?c=void 0:c=d[p]):(d=$r(t,a,r),!d&&a.length<=2&&([,p=p]=a,d=$r(t,[s],r)),typeof d=="string"?c=d:p&&d&&(c=d[p]))}return{opacity:i,name:s,no:p,color:c,cssColor:G(c),alpha:P.bracket.cssvar.percent(i??"")}}function cn(e,t,r,n){return([,o],{theme:i})=>{let a=Hc(o,i,r);if(!a)return;let{alpha:s,color:c,cssColor:f}=a,u={};if(f?s!=null?u[e]=V(f,s):(u[`--un-${t}-opacity`]=ee(f),u[e]=V(f,`var(--un-${t}-opacity)`)):c&&(u[e]=V(c,s)),n?.(u)!==!1)return u}}function se(e,t){return an.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ta(e){return e!=null&&Cc.test(e)}var qc=["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"];var aa=" ";var wm=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...se("backface","backface-visibility")],km=[[/^cursor-(.+)$/,([,e])=>({cursor:P.bracket.cssvar.global(e)})],...qc.map(e=>[`cursor-${e}`,{cursor:e}])];var $m=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...se("pointer-events")],Sm=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...se("resize")],Cm=[["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"}],...se("select","user-select")];var Rm=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":P.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...se("content-visibility")];var Tm=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...se("case","text-transform")];var sa={"--un-ring-inset":aa,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Em=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??P.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,ca,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??P.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Yc,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":P.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,cn("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":P.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function ca([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??P.bracket.cssvar.px(e)}}function Yc(e,t){return ta(P.bracket(e[1]))?ca(e,t):cn("--un-ring-color","ring","borderColor")(e,t)}var la={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":aa,"--un-shadow":"0 0 rgb(0 0 0 / 0)"};var Rr=["translate","rotate","scale"],me=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Xc=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),fa={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},jm=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Ke[e]??P.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Ke).join("|")})`,`origin-(${Object.keys(Ke).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=P.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=P.bracket.cssvar(e)??(e.length>=3?Ke[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,ra],[/^(?:transform-)?translate-([xyz])-(.+)$/,ra],[/^(?:transform-)?rotate-()(.+)$/,oa],[/^(?:transform-)?rotate-([xyz])-(.+)$/,oa],[/^(?:transform-)?skew-()(.+)$/,ia],[/^(?:transform-)?skew-([xy])-(.+)$/,ia,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,na],[/^(?:transform-)?scale-([xyz])-(.+)$/,na,{autocomplete:[`transform-(${Rr.join("|")})-<percent>`,`transform-(${Rr.join("|")})-(x|y|z)-<percent>`,`(${Rr.join("|")})-<percent>`,`(${Rr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:me}],["transform-cpu",{transform:me}],["transform-gpu",{transform:Xc}],["transform-none",{transform:"none"}],...se("transform")];function ra([,e,t],{theme:r}){let n=r.spacing?.[t]??P.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Sr[e].map(o=>[`--un-translate${o}`,n]),["transform",me]]}function na([,e,t]){let r=P.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Sr[e].map(n=>[`--un-scale${n}`,r]),["transform",me]]}function oa([,e="",t]){let r=P.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:me}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:me}}function ia([,e,t]){let r=P.bracket.cssvar.degree(t);if(r!=null)return[...Sr[e].map(n=>[`--un-skew${n}`,r]),["transform",me]]}var Zc={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(",")},Jc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Qc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},el={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},tl={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},rl={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},da={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},nl={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ol=da,ma={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},il={...ma},al={DEFAULT:"1px",none:"0"},sl={DEFAULT:"1rem",none:"0",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"},cl={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ll={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},fl={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},ul={DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",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)"},pl={DEFAULT:"1px",none:"0"},dl={auto:"auto"},ml={mouse:"(hover) and (pointer: fine)"},hl={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},gl={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},Ge={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ua={auto:"auto",...Ge,screen:"100vw"},Tr={none:"none",...Ge,screen:"100vw"},pa={auto:"auto",...Ge,screen:"100vh"},Er={none:"none",...Ge,screen:"100vh"},bl=Object.fromEntries(Object.entries(Ge).map(([e,t])=>[e,`(min-width: ${t})`])),xl={...fa,...la,...sa},ha={width:ua,height:pa,maxWidth:Tr,maxHeight:Er,minWidth:Tr,minHeight:Er,inlineSize:ua,blockSize:pa,maxInlineSize:Tr,maxBlockSize:Er,minInlineSize:Tr,minBlockSize:Er,colors:on,fontFamily:Zc,fontSize:Jc,fontWeight:nl,breakpoints:ma,verticalBreakpoints:il,borderRadius:ll,lineHeight:rl,letterSpacing:da,wordSpacing:ol,boxShadow:fl,textIndent:Qc,textShadow:tl,textStrokeWidth:el,blur:hl,dropShadow:gl,easing:ul,lineWidth:al,spacing:sl,duration:cl,ringWidth:pl,preflightBase:xl,containers:bl,zIndex:dl,media:ml};var ga={...ha,aria:{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"'},animation:{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"}},media:{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)"},supports:{grid:"(display: grid)"},preflightBase:{...pr,...Di,...Ii,...Wi,...Pi,...ir,...nr,...vi,...wi}};var ba=[I("svg",e=>({selector:`${e.selector} svg`}))];var xa=[I(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),I(".light",e=>({prefix:`.light $$ ${e.prefix}`})),U("@dark","@media (prefers-color-scheme: dark)"),U("@light","@media (prefers-color-scheme: light)")];var ya=[U("contrast-more","@media (prefers-contrast: more)"),U("contrast-less","@media (prefers-contrast: less)")],va=[U("motion-reduce","@media (prefers-reduced-motion: reduce)"),U("motion-safe","@media (prefers-reduced-motion: no-preference)")],wa=[U("landscape","@media (orientation: landscape)"),U("portrait","@media (orientation: portrait)")];var ka=e=>{if(!e.startsWith("_")&&(/space-([xy])-(-?.+)$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},$a=[I("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];var Sa=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Se(i,t,"accentColor")||yl(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function yl(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?l.bracket.percent(t[1])!=null:!1}function Ca(e){return[Sa,ka,...yr(e),...ya,...wa,...va,...ba,...xa,...$a]}var Ra=(e={})=>({...si(e),name:"@unocss/preset-wind",theme:ga,rules:qi,shortcuts:Yi,variants:Ca(e)});function Ta(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Ea(e,t,r){let n=[e,t],o=[];for(let a=0;a<2;++a){let s=typeof n[a]=="string"?G(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;o.push(s)}let i=[];for(let a=0;a<3;++a)i.push(Ta(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:Ta(o[0].alpha??1,o[1].alpha??1,r)}}function ja(e,t){return Ea("#fff",e,t)}function za(e,t){return Ea("#000",e,t)}function vl(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?za(e,t):ja(e,-r)}var wl={tint:ja,shade:za,shift:vl};function Oa(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=G(`${i[1]}`);if(a){let s=wl[n[1]](a,n[2]);s&&(i[1]=V(s))}}}),o)}}}}var kl=(e={})=>{let t=Ra(e);return{...t,name:"@unocss/preset-uno",variants:[...t.variants,Oa()]}},Aa=kl;function $l(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Va(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _a(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pa=["Webkit","Moz","ms"];function Ma(e){let t={};function r(n){let o=t[n];if(o)return o;let i=$l(n);if(i!=="filter"&&i in e)return t[n]=_a(i);i=Va(i);for(let a=0;a<Pa.length;a++){let s=`${Pa[a]}${i}`;if(s in e)return t[n]=_a(Va(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Fa(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function ln(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=A(a.postprocess)).unshift(Ma(r.createElement("div").style)),i.configResolved?.(o,a);let c=Tn(o,a),f=g=>i.inject?i.inject(g):n().prepend(g),u=()=>i.rootElement?i.rootElement():r.body,p=new Map,d=!0,h=new Set,v,C,x=[],S=()=>new Promise(g=>{x.push(g),C!=null&&clearTimeout(C),C=setTimeout(()=>m().then(()=>{let w=x;x=[],w.forEach(T=>T())}),0)});function $(g){if(g.nodeType!==1)return;let w=g;w.hasAttribute(s)&&w.removeAttribute(s),w.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function j(g,w){let T=p.get(g);if(!T)if(T=r.createElement("style"),T.setAttribute("data-unocss-runtime-layer",g),p.set(g,T),w==null)f(T);else{let D=j(w),K=D.parentNode;K?K.insertBefore(T,D.nextSibling):f(T)}return T}async function m(){let g=await c.generate(h);return g.layers.reduce((w,T)=>(j(T,w).innerHTML=g.getLayer(T)??"",T),void 0),h=g.matched,{...g,getStyleElement:w=>p.get(w),getStyleElements:()=>p}}async function y(g){let w=h.size;await c.applyExtractors(g,void 0,h),w!==h.size&&await S()}async function _(g=u()){let w=g&&g.outerHTML;w&&(await y(`${w} ${Fa(w)}`),$(n()),$(g))}let W=new MutationObserver(g=>{d||g.forEach(async w=>{if(w.target.nodeType!==1)return;let T=w.target;for(let D of p)if(T===D[1])return;if(w.type==="childList")w.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let K=D;v&&!v(K)||(await y(K.outerHTML),$(K))});else{if(v&&!v(T))return;if(w.attributeName!==s){let D=Array.from(T.attributes).map(B=>B.value?`${B.name}="${B.value}"`:B.name).join(" "),K=`<${T.tagName.toLowerCase()} ${D}>`;await y(K)}T.hasAttribute(s)&&T.removeAttribute(s)}})}),N=!1;function ce(){if(N)return;let g=i.observer?.target?i.observer.target():u();g&&(W.observe(g,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),N=!0)}function he(){i.bypassDefined&&Sl(c.blocked),_(),ce()}function Te(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",he):he()}let He=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(g){z(g)||(g.forEach(w=>h.add(w)),g=""),await y(g)},extractAll:_,inspect(g){v=g},toggleObserver(g){g===void 0?d=!d:d=!!g,!N&&!d&&Te()},update:m,presets:t.__unocss_runtime?.presets??{}};i.ready?.(He)!==!1&&(d=!1,Te())}function Sl(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}ln({defaults:{presets:[Aa()]}});})();