@unocss/runtime 66.7.0 → 66.7.2
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/attributify.global.js +15 -11
- package/core.global.js +2 -2
- package/dist/index.d.ts +115 -114
- package/dist/index.js +214 -246
- package/full.global.js +15 -11
- package/mini.global.js +15 -11
- package/package.json +6 -12
- package/preset-attributify.global.js +1 -1
- package/preset-icons.global.js +1 -28
- package/preset-mini.global.js +14 -10
- package/preset-rem-to-px.global.js +1 -1
- package/preset-tagify.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +14 -10
- package/preset-web-fonts.global.js +5 -7
- package/preset-wind.global.js +14 -10
- package/preset-wind3.global.js +14 -10
- package/preset-wind4.global.js +18 -14
- package/uno.global.js +15 -11
package/uno.global.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
"use strict";(()=>{var Li=Object.defineProperty;var Fi=(t,e)=>{for(var r in e)Li(t,r,{get:e[r],enumerable:!0})};var Me="default",On="preflights",Bi="shortcuts",Ti="imports",Wi={[Ti]:-200,[On]:-100,[Bi]:-10,[Me]:0},Pe=/[\\:]?[\s'"`;{}]+/g;function Ni(t){return t.split(Pe)}var Ii={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ni(t)}};function j(t=[]){return Array.isArray(t)?t:[t]}function ct(t){return Array.from(new Set(t))}function zn(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function F(t){return typeof t=="string"}var Ln=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Ae(t){return t instanceof Ln}function K(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Z(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var Re=Z;function Ui(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Di=/[\w\u00A0-\uFFFF%-?]/;function Fn(t=""){return Di.test(t)}function Vi(t){return typeof t=="function"?{match:t}:t}function jn(t){return t.length===3}function Zt(t){return t!=null}function Gi(){}var Hi=class{_map=new Map;get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,o])=>t(o,e,n)))}},qi=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function ee(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Yi(t){return Array.isArray(t)?t.some(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>ee(e)):[t]:[ee(t)]}function Xi(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Ki="__virtual_key__";function Lt(t){return t==null?"":Xi(t).map(([e,r])=>r!=null&&typeof r!="function"?e!=="__virtual_key__"?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function Jt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Bn(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Jt(n)&&Jt(o)&&Object.keys(o).forEach(a=>{Jt(n[a])&&Jt(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=Bn(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function te(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?te(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:te(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?te(n):n;return r}return t}function Zi(t){return F(t[0])}function Ji(t){return F(t[0])}var Qt={};function Qi(t=["-",":"]){let e=t.join("|");return Qt[e]||(Qt[e]=new RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Qt[e].lastIndex=0,Qt[e]}function ta(t,e=["-",":"],r=5){let n=Qi(e),o,i=t.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(l,u,d,p,h)=>{if(!e.includes(d))return l;o=!0,a.add(u+d);let m=h+u.length+d.length+1,x={length:l.length,items:[]};s.set(h,x);for(let S of[...p.matchAll(/\S+/g)]){let v=m+S.index,y=s.get(v)?.items;y?s.delete(v):y=[{offset:v,length:S[0].length,className:S[0]}];for(let b of y)b.className=b.className==="~"?d===":"?`${u}${d}~`:u:b.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),x.items.push(b)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[u,d]of s)c+=t.slice(l,u),c+=d.items.map(p=>p.className).join(" "),l=u+d.length;c+=t.slice(l)}else{c=t;for(let[l,u]of s)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function ea(t,e=["-",":"],r=5){let n=ta(t,e,r);return typeof t=="string"?n.expanded:t}var _n=new Set;function ra(t){_n.has(t)||(console.warn("[unocss]",t),_n.add(t))}function Tn(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var An="_uno_resolved";async function na(t){let e=typeof t=="function"?await t():await t;if(An in e)return e;e={...e},Object.defineProperty(e,An,{value:!0,enumerable:!1});let r=e.shortcuts?Tn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=j(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Wn(t){let e=await na(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(j).flatMap(Wn))).flat()]:[e]}function oa(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let s of t){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&e.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}let a={pipeline:n?!1:{include:ct(Mn(...e)),exclude:ct(Mn(...r))}};return o.length&&(a.filesystem=ct(o.flat())),i.length&&(a.inline=ct(i.flat())),a}async function Rn(t={},e={}){let r=Object.assign({},e,t),n=zn((await Promise.all((r.presets||[]).flatMap(j).flatMap(Wn))).flat(),(g,$)=>g.name===$.name),o=[...n.filter(g=>g.enforce==="pre"),...n.filter(g=>!g.enforce),...n.filter(g=>g.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},Wi,...i.map(g=>g.layers));function c(g){return ct(i.flatMap($=>j($[g]||[])))}let l=c("extractors"),u=a.find(g=>g.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Ii),u&&!l.includes(u)&&l.unshift(u),l.sort((g,$)=>(g.order||0)-($.order||0));let d=c("rules"),p=d.length,h={},m=[];for(let[g,$]of d.entries()){let L=$[2]??($[2]={});L.__index=g,Zi($)?j(L.prefix??"").forEach(Y=>{h[Y+$[0]]=$}):m.unshift($)}let x={templates:ct(i.flatMap(g=>j(g.autocomplete?.templates))),extractors:i.flatMap(g=>j(g.autocomplete?.extractors)).sort((g,$)=>(g.order||0)-($.order||0)),shorthands:aa(i.map(g=>g.autocomplete?.shorthands||{}))},S=c("separators");S.length||(S=[":","-"]);let v=oa(c("content")),y={mergeSelectors:!0,warn:!0,sortLayers:g=>g,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:ia(i.map(g=>g.theme)),rules:d,rulesSize:p,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:x,variants:c("variants").map(Vi).sort((g,$)=>(g.order||0)-($.order||0)),shortcuts:Tn(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:S,details:r.details??r.envMode==="dev",content:v,transformers:zn(c("transformers"),(g,$)=>g.name===$.name)},b=c("extendTheme");for(let g of b)y.theme=g(y.theme,y)||y.theme;for(let g of i)g?.configResolved?.(y);return y}function ia(t){return t.map(e=>e?te(e):{}).reduce((e,r)=>Bn(e,r),{})}function aa(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Mn(...t){return t.flatMap(sa)}function sa(t){return Array.isArray(t)?t:t?[t]:[]}var ca="66.7.0",H={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",noScope:"$$symbol-no-scope",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},la=class Nn{userConfig;defaults;version=ca;events=Ui();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;constructor(e={},r={}){this.userConfig=e,this.defaults=r}static async create(e={},r={}){let n=new Nn(e,r);return n.config=await Rn(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Rn(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(Ae(a)&&Ae(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(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:H,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.flatMap(d=>this.stringifyUtil(d,l)).filter(Zt)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,l=F(e)?await this.applyExtractors(e,n,c?new Ln:new Set):Array.isArray(e)?new Set(e):e;if(a){let C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(C):E).forEach(E=>{let z=E.trim();z&&!l.has(z)&&l.add(z)})}let u=s?"":`
|
|
2
|
-
`,d=new Set([Me]),p=c?new Map:new Set,h=new Map,m={},x=Array.from(l).map(async C=>{if(p.has(C))return;let E=await this.parseToken(C);if(E!=null){p instanceof Map?p.set(C,{data:E,count:Ae(l)?l.getCount(C):-1}):p.add(C);for(let z of E){let V=z[3]||"",D=z[4]?.layer;h.has(V)||h.set(V,[]),h.get(V).push(z),D&&d.add(D)}}});await Promise.all(x),await(async()=>{if(!i)return;let C={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:z=On})=>{d.add(z),E.add(z)}),m=Object.fromEntries(await Promise.all(Array.from(E).map(async z=>[z,(await Promise.all(this.config.preflights.filter(V=>(V.layer||"preflights")===z).map(async V=>await V.getCSS(C)))).filter(Boolean).join(u)])))})();let S=C=>this.config.sortLayers(C.sort((E,z)=>(this.config.layers[E]??0)-(this.config.layers[z]??0)||E.localeCompare(z))),v=S(Array.from(d)),y={},b=this.config.outputToCssLayers,g=C=>{let E=C;return typeof b=="object"&&(E=b.cssLayerName?.(C)),E===null?null:E??C},$=(C=Me)=>{if(y[C])return y[C];let E=Array.from(h).sort((D,w)=>(this.parentOrders.get(D[0])??0)-(this.parentOrders.get(w[0])??0)||D[0]?.localeCompare(w[0]||"")||0).map(([D,w])=>{let _=w.length,O=w.filter(I=>(I[4]?.layer||"default")===C).sort((I,X)=>I[0]-X[0]||(I[4]?.sort||0)-(X[4]?.sort||0)||I[5]?.currentSelector?.localeCompare(X[5]?.currentSelector??"")||I[1]?.localeCompare(X[1]||"")||I[2]?.localeCompare(X[2]||"")||0).map(([,I,X,,Ot,,_e])=>[[[(I&&!Ot?.noScope?ua(I,o):I)??"",Ot?.sort??0]],X,!!(_e??Ot?.noMerge)]);if(!O.length)return;let T=O.reverse().map(([I,X,Ot],_e)=>{if(!Ot&&this.config.mergeSelectors)for(let dt=_e+1;dt<_;dt++){let et=O[dt];if(et&&!et[2]&&(I&&et[0]||I==null&&et[0]==null)&&et[1]===X)return I&&et[0]&&et[0].push(...I),null}let En=I?ct(I.sort((dt,et)=>dt[1]-et[1]||dt[0]?.localeCompare(et[0]||"")||0).map(dt=>dt[0]).filter(Boolean)):[];return En.length?`${En.join(`,${u}`)}{${X}}`:X}).filter(Boolean),G=Array.from(new Set(T)).reverse().join(u);if(!D)return G;let xt=D.split(" $$ ");return`${xt.join("{")}{${u}${G}${u}${"}".repeat(xt.length)}`}).filter(Boolean).join(u);i&&(E=[m[C],E].filter(Boolean).join(u));let z;b&&E&&(z=g(C),z!==null&&(E=`@layer ${z}{${u}${E}${u}}`));let V=s?"":`/* layer: ${C}${z&&z!==C?`, alias: ${z}`:""} */${u}`;return y[C]=E?V+E:""},L=(C=v,E)=>{let z=C.filter(D=>!E?.includes(D)),V=z.map($).filter(Boolean);if(b){let D=z;typeof b=="object"&&b.allLayers&&(D=S(Object.keys(this.config.layers))),D.length>0&&V.unshift(`@layer ${D.map(g).filter(Zt).join(", ")};`)}return V.join(u)};return{get css(){return L()},layers:v,matched:p,getLayers:L,getLayer:$,setLayer:async(C,E)=>{let z=await E($(C));return y[C]=z,z}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let a=!0,[,,s,c]=i;for(;a;){a=!1;let l=i[1];for(let u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(l,n);if(d){if(F(d)){if(d===l)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=d.map(h=>{let m=h.matcher??l,x=[h,...s],S=new Set(c);return S.add(u),[i[0],m,x,S]});return(await Promise.all(p.map(h=>o(h)))).flat()}}i[1]=d.matcher??l,s.unshift(d),c.add(u),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,l)=>(c.order||0)-(l.order||0)).reduceRight((c,l)=>u=>{let d=l.body?.(u.entries)||u.entries,p=Array.isArray(l.parent)?l.parent:[l.parent,void 0],h=l.selector?.(u.selector,d);return(l.handle??pa)({...u,entries:d,selector:h||u.selector,parent:p[0]||u.parent,parentOrder:p[1]||u.parentOrder,layer:l.layer||u.layer,sort:l.sort||u.sort},c)},c=>c)({prefix:"",selector:da(n),pseudo:"",entries:e[2]}),{parent:i,parentOrder:a}=o;i!=null&&a!=null&&this.parentOrders.set(i,a);let s={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:i,layer:o.layer,sort:o.sort,noMerge:o.noMerge};return this.config.postprocess.reduce((c,l)=>{let u=[];for(let d of c){let p=l(d);Array.isArray(p)?u.push(...p.filter(Zt)):u.push(p||d)}return u},[s])}constructCustomCSS(e,r,n){let o=ee(r);return F(o)?o:this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:a,parent:s})=>{let c=`${i}{${Lt(a)}}`;return s?`${s}{${c}}`:c}).join("")}async parseUtil(e,r,n=!1,o){let i=F(e)?await this.matchVariants(e):[e],a=async([c,l,u])=>{this.config.details&&(r.rules=r.rules??[]);let d={...r,variantHandlers:u},p=this.config.rulesStaticMap[l];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(c,p[1],p,d);for(let h of this.config.rulesDynamic){let[m,x,S]=h;if(S?.internal&&!n)continue;let v=l;if(S?.prefix){let $=j(S.prefix);if(o){let L=j(o);if(!$.some(Y=>L.includes(Y)))continue}else{let L=$.find(Y=>l.startsWith(Y));if(L==null)continue;v=l.slice(L.length)}}let y=v.match(m);if(!y)continue;let b=await x(y,d);if(!b)continue;if(typeof b!="string")if(Symbol.asyncIterator in b){let $=[];for await(let L of b)L&&$.push(L);b=$}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(Zt));let g=this.resolveCSSResult(c,b,h,d);if(g)return g}},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s.length)return s}resolveCSSResult=(e,r,n,o)=>{let i=Yi(r).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let a=n[2];return i.map(s=>{if(F(s))return[a.__index,s,a];let c=o.variantHandlers,l=a,u=p=>{c=[p,...c]},d=p=>{l={...l,...p}};for(let p of s)switch(p[0]){case H.variants:typeof p[1]=="function"?c=p[1](c)||c:c=[...j(p[1]),...c];break;case H.parent:u({parent:p[1]});break;case H.selector:u({selector:p[1]});break;case H.layer:u({layer:p[1]});break;case H.sort:d({sort:p[1]});break;case H.noMerge:d({noMerge:p[1]});break;case H.noScope:d({noScope:p[1]});break;case H.body:p[0]=Ki;break}return[a.__index,e,s,l,c]})}};stringifyUtil(e,r){if(!e)return;if(jn(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),o=[];for(let i of n){let{selector:a,entries:s,parent:c,layer:l,sort:u,noMerge:d}=i,p=Lt(s);if(!p)continue;let{layer:h,sort:m,...x}=e[3]??{},S={...x,layer:l??h,sort:u??m};o.push([e[0],a,p,c,S,this.config.details?r:void 0,d])}return o}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Gi,i,a,s,c;for(let l of this.config.shortcuts){let u=e;if(l[2]?.prefix){let d=j(l[2].prefix).find(p=>e.startsWith(p));if(d==null)continue;u=e.slice(d.length)}if(Ji(l)){if(l[0]===u){i=i||l[2],a=l[1],o(l);break}}else{let d=u.match(l[0]);if(d&&(a=l[1](d,r)),a){i=i||l[2],o(l);break}}}if(a&&(s=ct(j(a).filter(F).map(l=>ea(l.trim()).split(/\s+/g)).flat()),c=j(a).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!a){let l=F(e)?await this.matchVariants(e):[e];for(let u of l){let[d,p,h]=u;if(d!==p){let m=await this.expandShortcut(p,r,n-1);m&&(s=m[0].filter(F).map(x=>d.replace(p,x)),c=m[0].filter(x=>!F(x)).map(x=>({handles:[...x.handles,...h],value:x.value})))}}}if(!(!s?.length&&!c?.length))return[[await Promise.all(j(s).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new qi,a=(await Promise.all(ct(n).map(async u=>{let d=F(u)?await this.parseUtil(u,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ee(u.value),void 0,u.handles]];return!d&&this.config.warn&&ra(`unmatched utility "${u}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[s,,c]=e,l=[];for(let u of a){if(jn(u)){l.push([u[0],void 0,u[1],void 0,u[2],r,void 0]);continue}let d=Object.fromEntries(u[2])[H.shortcutsNoMerge],p=[...u[4],...d?[]:c];for(let{selector:h,entries:m,parent:x,sort:S,noMerge:v,layer:y}of this.applyVariants(u,p,s))i.getFallback(y??o.layer,new Hi).getFallback(h,x,[[],u[0]])[0].push([m,!!(v??u[3]?.noMerge),S??0])}return l.concat(i.flatMap((u,d)=>u.map(([p,h],m,x)=>{let S=(v,y,b)=>{let g=Math.max(...b.map(L=>L[1])),$=b.map(L=>L[0]);return(v?[$.flat(1)]:$).map(L=>{let Y=Lt(L);if(Y)return[h,m,Y,x,{...o,noMerge:y,sort:g,layer:d},r,void 0]})};return[[p.filter(([,v])=>v).map(([v,,y])=>[v,y]),!0],[p.filter(([,v])=>!v).map(([v,,y])=>[v,y]),!1]].map(([v,y])=>[...S(!1,y,v.filter(([b])=>b.some(g=>g[0]===H.shortcutsNoMerge))),...S(!0,y,v.filter(([b])=>b.every(g=>g[0]!==H.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):F(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):F(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function In(t,e){return await la.create(t,e)}var Un=/\s\$\$\s+/g;function fa(t){return Un.test(t)}function ua(t,e){return fa(t)?t.replace(Un,e?` ${e} `:" "):e?`${e} ${t}`:t}var Pn=/^\[(.+?)(~?=)"(.*)"\]$/;function da(t){return Pn.test(t)?t.replace(Pn,(e,r,n,o)=>`[${Re(r)}${n}"${Re(o)}"]`):`.${Re(t)}`}function pa(t,e){return e(t)}var Oe=Object.defineProperty,ma=Object.getOwnPropertyDescriptor,ha=Object.getOwnPropertyNames,ga=Object.prototype.hasOwnProperty,re=(t,e)=>{let r={};for(var n in t)Oe(r,n,{get:t[n],enumerable:!0});return e||Oe(r,Symbol.toStringTag,{value:"Module"}),r},Dn=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=ha(e),i=0,a=o.length,s;i<a;i++)s=o[i],!ga.call(t,s)&&s!==r&&Oe(t,s,{get:(c=>e[c]).bind(null,s),enumerable:!(n=ma(e,s))||n.enumerable});return t},Le=(t,e,r)=>(Dn(t,e,"default"),r&&Dn(r,e,"default"));var Ke={};Fi(Ke,{PseudoClassFunctions:()=>io,PseudoClassFunctionsStr:()=>pt,PseudoClasses:()=>$t,PseudoClassesAndElementsColonStr:()=>Ne,PseudoClassesAndElementsStr:()=>We,PseudoClassesColon:()=>wt,PseudoClassesColonKeys:()=>Ve,PseudoClassesColonStr:()=>se,PseudoClassesKeys:()=>De,PseudoClassesMulti:()=>Ge,PseudoClassesMultiStr:()=>Te,PseudoClassesStr:()=>ae,alphaPlaceholders:()=>Ie,alphaPlaceholdersRE:()=>to,calcMaxWidthBySize:()=>Ta,colorOpacityToString:()=>mt,colorToString:()=>W,createPartClasses:()=>Xe,createPseudoClassFunctions:()=>qe,createPseudoClassesAndElements:()=>He,createTaggedPseudoClassMatcher:()=>so,createTaggedPseudoClasses:()=>Ye,createValueHandler:()=>Ue,cssColorFunctions:()=>ce,excludedPseudo:()=>ao,getBracket:()=>Kn,getStringComponent:()=>vt,getStringComponents:()=>At,hasIconFn:()=>Na,hasThemeFn:()=>Fa,hex2rgba:()=>_a,hueInterpolationMethods:()=>Qn,iconFnRE:()=>Wa,isInterpolatedMethod:()=>ja,parseCssColor:()=>J,polarColorSpace:()=>Jn,rectangularColorSpace:()=>Zn,themeFnRE:()=>no,transformThemeFn:()=>Ba,transformThemeString:()=>oo,variantGetBracket:()=>co,variantGetParameter:()=>lo,variantMatcher:()=>kt,variantParentMatcher:()=>rt});var ba=44,ya=59,Vn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn=new Uint8Array(64),xa=new Uint8Array(128);for(let t=0;t<Vn.length;t++){let e=Vn.charCodeAt(t);qn[t]=e,xa[e]=t}function Ft(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(qn[o])}while(n>0);return e}var Gn=1024*16,Hn=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},va=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Gn)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Gn&&(this.out+=Hn.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Hn.decode(t.subarray(0,r)):e}};function Yn(t){let e=new va,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let s=t[a];if(a>0&&e.write(ya),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let u=s[l];l>0&&e.write(ba),c=Ft(e,u[0],c),u.length!==1&&(r=Ft(e,u[1],r),n=Ft(e,u[2],n),o=Ft(e,u[3],o),u.length!==4&&(i=Ft(e,u[4],i)))}}return e.flush()}var ne=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},oe=class t{constructor(e,r,n){this.start=e,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(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,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(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");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(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");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(e,""),this.outro.length)return!0}};function $a(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var wa=$a(),Fe=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Yn(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+wa(this.toString())}};function ka(t){let e=t.split(`
|
|
3
|
-
`),
|
|
4
|
-
`),
|
|
5
|
-
`,0),
|
|
6
|
-
`,a+1)}let
|
|
7
|
-
`)
|
|
8
|
-
`);if(
|
|
9
|
-
|
|
10
|
-
`));
|
|
11
|
-
`?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}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(e,r){return _t.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),_t.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return _t.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),_t.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(_t.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),_t.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],c=this.byEnd[r];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,i,!a)}else{let l=new oe(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Bt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Bt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Bt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Bt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Bt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(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?e-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(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=Xn(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\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(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\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(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,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(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(e);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function Kn(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function vt(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function At(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=vt(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var ce=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Zn=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Jn=["hsl","hwb","lch","oklch"],Qn=["shorter","longer","increasing","decreasing"],Ie=["%alpha","<alpha-value>"],to=new RegExp(Ie.map(t=>K(t)).join("|"),"g");function ja(t){return t?Zn.some(e=>t.includes(e))||Jn.some(e=>t.includes(e))||Qn.some(e=>t.includes(e)):!1}function _a(t=""){let e=eo(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function J(t=""){let e=Aa(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(ce.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 mt(t){let e=t.alpha??1;return typeof e=="string"&&Ie.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(to,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,ce.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Aa(t){if(!t)return;let e=eo(t);if(e!=null||(e=Ra(t),e!=null)||(e=Ma(t),e!=null)||(e=Oa(t),e!=null)||(e=La(t),e!=null))return e}function eo(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Ra(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ma(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=At(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 Pa=new RegExp(`^(${ce.join("|")})\\((.+)\\)$`,"i");function Oa(t){let e=t.match(Pa);if(!e)return;let[,r,n]=e,o=ro(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function La(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=ro(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function ro(t){let e=At(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=At(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var no=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Fa(t){return t.includes("theme(")&&t.includes(")")}function Ba(t,e,r=!0){let n=Array.from(t.toString().matchAll(no));if(!n.length)return t;let o=new ie(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=oo(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function oo(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((a,s)=>a?.[s],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let a=J(i);a&&(i=W(a,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function Ta(t){let e=t.match(/^-?\d+\.?\d*/)?.[0]||"",r=t.slice(e.length);if(r==="px"){let n=Number.parseFloat(e)-.1;return Number.isNaN(n)?t:`${n}${r}`}return`calc(${t} - 0.1px)`}function Ue(t){let e=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let a of i){let s=t[a](n,o);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Wa=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function Na(t){return t.includes("icon(")&&t.includes(")")}var Tt="__pseudo_placeholder__",$t=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Tt})`],["nth-last",`:nth-last-child(${Tt})`],["nth-last-of-type",`:nth-last-of-type(${Tt})`],["nth-of-type",`:nth-of-type(${Tt})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"],["details-content","::details-content"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),De=Object.keys($t),wt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Ve=Object.keys(wt),io=["not","is","where","has"],Ge=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ae=Object.entries($t).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),se=Object.entries(wt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),pt=io.join("|"),Te=Object.keys(Ge).sort((t,e)=>e.length-t.length).join("|"),ao=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],We=Object.entries($t).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Ne=Object.entries(wt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function so(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${K(e)}:)(\\S+)${K(r)}\\1`),s,c,l,u,d=m=>{let x=i(`${t}-`,m,[]);if(!x)return;let[S,v]=x,y=o.bracket(S);if(y==null)return;let b=v.split(s,1)?.[0]??"",g=`${e}${Z(b)}`;return[b,m.slice(m.length-(v.length-b.length-1)),y.includes("&")?y.replace(/&/g,g):`${g}${y}`]},p=m=>{let x=m.match(c)||m.match(l);if(!x)return;let[S,v,y]=x,b=x[3]??"",g=$t[y]||wt[y]||`:${y}`;return v&&(g=`:${v}(${g})`),[b,m.slice(S.length),`${e}${Z(b)}${g}`,y]},h=m=>{let x=m.match(u);if(!x)return;let[S,v,y]=x,b=x[3]??"",g=`:${v}(${y})`;return[b,m.slice(S.length),`${e}${Z(b)}${g}`]};return{name:`pseudo:${t}`,match(m,x){if(s&&c&&l||(s=new RegExp(`(?:${x.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${pt})-)?(${ae}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${pt})-)?(${se}))(?:(/[\\w-]+))?(?:${x.generator.config.separators.filter($=>$!=="-").join("|")})`),u=new RegExp(`^${t}-(?:(${pt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${x.generator.config.separators.filter($=>$!=="-").join("|")})`)),!m.startsWith(t))return;let S=d(m)||p(m)||h(m);if(!S)return;let[v,y,b,g=""]=S;return{matcher:y,handle:($,L)=>L({...$,prefix:`${b}${r}${$.prefix}`.replace(a,"$1$2:"),sort:De.indexOf(g)??Ve.indexOf(g)})}},multiPass:!0}}function He(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${We})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ne})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=$t[s[1]]||wt[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=e.bracket(s[2]):u=s[2],u&&(c=c.replace(Tt,u))}let l=De.indexOf(s[1]);return l===-1&&(l=Ve.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{let p=c.includes("::")&&!ao.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...p,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${We}|${Ne}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Te})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Ge[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Te}):`}]}function qe(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${pt})-(${ae})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${pt})-(${se})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${pt})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):$t[c[2]]||wt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:d=>`${d}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${pt})-(${ae}|${se}):`}}function Ye(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=Z((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>so(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Ia=/(part-\[(.+)\]:)(.+)/;function Xe(){return{match(t){let e=t.match(Ia);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function kt(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${K(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=j(e).map(l=>({matcher:s,handle:(u,d)=>d({...u,...l(u)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function rt(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${K(t)}(?:${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} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function co(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=Kn(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function lo(t,e,r){for(let n of j(t))if(e.startsWith(n)){let o=co(n,e,r);if(o){let[i="",a=o[1]]=lo("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}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"]},Rt={...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"]},Mt={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"]},le={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},fe=["x","y","z"],fo=["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"],N=Object.assign({},...fo.map(t=>({[t.replace(/ /,"-")]:t})),...fo.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),R=["inherit","initial","revert","revert-layer","unset"],St=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Wt=/^(var)\s*\((.+)\)(.*)/,ue=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,ho=/^(-?\d*(?:\.\d+)?)$/,go=/^(px|[sld]?v[wh])$/i,bo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},yo=/^\[(color|image|length|size|position|quoted|string):/i,Ua=/,(?![^()]*\))/g,de=re({auto:()=>Ga,bracket:()=>Za,bracketOfColor:()=>Ja,bracketOfLength:()=>Qa,bracketOfPosition:()=>ts,cssvar:()=>es,degree:()=>ns,fraction:()=>Ka,global:()=>os,number:()=>Ya,numberWithUnit:()=>Va,percent:()=>Xa,position:()=>as,properties:()=>is,px:()=>qa,rem:()=>Ha,time:()=>rs}),Da=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","grid","grid-template-columns","grid-template-rows","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function q(t){return+t.toFixed(10)}function Va(t){let e=t.match(ue);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${q(o)}${n}`}function Ga(t){if(t==="auto"||t==="a")return"auto"}function Ha(t){if(!t)return;if(go.test(t))return`${bo[t]}${t}`;let e=t.match(ue);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${q(o)}${n}`:`${q(o/4)}rem`}function qa(t){if(go.test(t))return`${bo[t]}${t}`;let e=t.match(ue);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${q(o)}${n}`:`${q(o)}px`}function Ya(t){if(!ho.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return q(e)}function Xa(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!ho.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${q(e/100)}`}function Ka(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${q(n*100)}%`}function pe(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(yo);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.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,l)=>(s.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Za(t){return pe(t)}function Ja(t){return pe(t,"color")}function Qa(t){return pe(t,"length")}function ts(t){return pe(t,"position")}function es(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${Z(e)}${r?`, ${r}`:""})`}}function rs(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${q(o)}${n}`:`${q(o)}ms`}function ns(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${q(o)}${n}`:`${q(o)}deg`}function os(t){if(R.includes(t))return t}function is(t){if(t.split(",").every(e=>Da.includes(e)))return t}function as(t){if(["top","left","right","bottom","center"].includes(t))return t}var me=Ue(de),f=me,Je="$$mini-no-negative";function M(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??f.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return U[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return U[r].map(s=>[`${t}${s}`,`calc(${a} * -1)`])}}}function uo(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){let c=a.slice(0,s).join("-"),l=i[c.replace(/(-[a-z])/g,u=>u.slice(1).toUpperCase())]??i[c];if(l!=null)return s===a.length?l:o(l,a.slice(s))}}return o(n,e)}function po(t,e,r){return uo(t,e,r)||uo(t,e,"colors")}function Pt(t,e){let[r,n]=vt(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(yo)??[])[1];if(o==null||o===e)return[r,n]}}function nt(t,e,r){let n=Pt(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let c,l=f.bracketOfColor(o),u=l||o;if(f.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:o.startsWith("$")&&(c=f.cssvar(o)),c=c||l,!c){let p=po(e,[o],r);typeof p=="string"&&(c=p)}let d="DEFAULT";if(!c){let p=a,h,[m]=a.slice(-1);/^\d+$/.test(m)&&(d=h=m,p=a.slice(0,-1));let x=po(e,p,r);typeof x=="object"?c=x[h??d]:typeof x=="string"&&!h&&(c=x)}return{opacity:i,name:s,no:d,color:c,cssColor:J(c),alpha:f.bracket.cssvar.percent(i??"")}}function B(t,e,r,n){return([,o],{theme:i,generator:a})=>{let s=nt(o??"",i,r);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=a.config.envMode==="dev"&&l?` /* ${l} */`:"",p={};if(u)if(c!=null)p[t]=W(u,c)+d;else{let h=`--un-${e}-opacity`,m=W(u,`var(${h})`);m.includes(h)&&(p[h]=mt(u)),p[t]=m+d}else if(l)if(c!=null)p[t]=W(l,c)+d;else{let h=`--un-${e}-opacity`,m=W(l,`var(${h})`);m.includes(h)&&(p[h]=1),p[t]=m+d}if(n?.(p)!==!1)return p}}function ht(t,e){let r=[];t=j(t);for(let n=0;n<t.length;n++){let o=At(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",c=o.at(-1);if(J(o.at(0))){let l=J(o.shift());l&&(s=`, ${W(l)}`)}else if(J(c)){let l=J(o.pop());l&&(s=`, ${W(l)}`)}else c&&c.startsWith("var(")&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${s})`)}return r}function gt(t,e,r){return t!=null&&!!nt(t,e,r)?.color}var mo=/[a-z]+/gi,Ze=new WeakMap;function Q({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(Ze.has(t))return Ze.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(mo,""))-Number.parseInt(a[1].replace(mo,""))).map(([i,a])=>({point:i,size:a}));return Ze.set(t,o),o}function Qe(t){return Q(t,"verticalBreakpoints")}function k(t,e){return R.map(r=>[`${t}-${r}`,{[e??t]:r}])}function ot(t){return t!=null&&St.test(t)}function Nt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),St.test(t)||ue.test(t)}function Ct(t,e,r){let n=e.split(Ua);return t||!t&&n.length===1?le[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${fe[i]}`,o])}var lt=re({CONTROL_MINI_NO_NEGATIVE:()=>Je,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>St,cssVarFnRE:()=>Wt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>R,h:()=>f,handler:()=>me,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Nt,makeGlobalStaticRules:()=>k,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>Qe,splitShorthand:()=>Pt,transformXYZ:()=>Ct,valueHandlers:()=>de,xyzArray:()=>fe,xyzMap:()=>le});Le(lt,Ke);var A=re({CONTROL_MINI_NO_NEGATIVE:()=>Je,colorResolver:()=>B,colorableShadows:()=>ht,cornerMap:()=>Mt,cssMathFnRE:()=>St,cssVarFnRE:()=>Wt,directionMap:()=>U,directionSize:()=>M,globalKeywords:()=>R,h:()=>f,handler:()=>me,hasParseableColor:()=>gt,insetMap:()=>Rt,isCSSMathFn:()=>ot,isSize:()=>Nt,makeGlobalStaticRules:()=>k,parseColor:()=>nt,positionMap:()=>N,resolveBreakpoints:()=>Q,resolveVerticalBreakpoints:()=>Qe,splitShorthand:()=>Pt,transformXYZ:()=>Ct,valueHandlers:()=>de,xyzArray:()=>fe,xyzMap:()=>le});Le(A,lt);var ss=/@media \(min-width: (.+)\)/,xo=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;F(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let l of n){let u=l.handle?.({},d=>d)?.parent;if(F(u)){let d=u.match(ss)?.[1];if(d){let p=(Q(e)??[]).find(h=>h.size===d)?.point;a?p&&(s=a?.[p]):s=d,p&&!F(o)&&(i=o?.[p]??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}]],tr=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Q(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var vo={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(R.map(t=>[t,t]))},ir=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":vo[t]??f.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(vo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],$o=["center","left","right","justify","start","end"],ar=[...$o.map(t=>[`text-${t}`,{"text-align":t}]),...[...R,...$o].map(t=>[`text-align-${t}`,{"text-align":t}])],sr=[[/^outline-(?:width-|size-)?(.+)$/,Ao,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,cs,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...R].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Ao([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function cs(t,e){return ot(f.bracket(t[1]))?Ao(t,e):B("outline-color","outline-color","borderColor")(t,e)}var cr=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function ls(t){return f.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var lr=[[/^will-change-(.+)/,([,t])=>({"will-change":ls(t)})]],zt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...R],fr=[[/^(?:border|b)()(?:-(.+))?$/,tt,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,tt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,tt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,tt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,tt],[/^(?:border|b)-()(?:width|size)-(.+)$/,tt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,tt],[/^(?:border|b)-()(?:color-)?(.+)$/,It,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,It],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,It],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,It],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,It],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ut,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ut],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Dt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Dt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Dt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Dt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Dt],[/^(?:border|b)-(?:style-)?()(.+)$/,Vt,{autocomplete:["(border|b)-style",`(border|b)-(${zt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${zt.join("|")})`,`(border|b)-<directions>-style-(${zt.join("|")})`,`(border|b)-style-(${zt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Vt]];function wo(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:mt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=W(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:mt(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function fs(t){return([,e],r)=>{let n=nt(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return wo(a,o,t);if(i)return wo(i,o,t)}}function tt([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.global.px(e||"1");if(t in U&&n!=null)return U[t].map(o=>[`border${o}-width`,n])}function It([,t="",e],r){if(t in U){if(ot(f.bracket(e)))return tt(["",t,e],r);if(gt(e,r.theme,"borderColor"))return Object.assign({},...U[t].map(n=>fs(n)(["",e],r.theme)))}}function Ut([,t="",e]){let r=f.bracket.percent.cssvar(e);if(t in U&&r!=null)return U[t].map(n=>[`--un-border${n}-opacity`,r])}function Dt([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(e||"1");if(t in Mt&&n!=null)return Mt[t].map(o=>[`border${o}-radius`,n])}function Vt([,t="",e]){if(zt.includes(e)&&t in U)return U[t].map(r=>[`border${r}-style`,e])}var ur=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:f.bracket.percent.cssvar(t)})]],us=/^\[url\(.+\)\]$/,ds=/^\[(?:length|size):.+\]$/,ps=/^\[position:.+\]$/,ms=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,hs=/^\[image:.+\]$/,dr=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(us.test(e))return{"--un-url":f.bracket(e),"background-image":"var(--un-url)"};if(ds.test(e)&&f.bracketOfLength(e)!=null)return{"background-size":f.bracketOfLength(e).split(" ").map(r=>f.fraction.auto.px.cssvar(r)??r).join(" ")};if((Nt(e)||ps.test(e))&&f.bracketOfPosition(e)!=null)return{"background-position":f.bracketOfPosition(e).split(" ").map(r=>f.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(ms.test(e)||hs.test(e)){let r=f.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:f.cssvar(r))??r}}return B("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],pr=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],mr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],ko=["solid","double","dotted","dashed","wavy",...R],hr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ro,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,gs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??f.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ko.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...ko.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Ro([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??f.bracket.cssvar.global.px(t)}}function gs(t,e){if(ot(f.bracket(t[1])))return Ro(t,e);let r=B("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var gr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:f.bracket(t)!=null?f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" "):f.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":f.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],bs={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function er([,t="",e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.global.rem(e);if(n!=null)return{[`${bs[t]}gap`]:n}}var br=[[/^(?:flex-|grid-)?gap-?()(.+)$/,er,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,er,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,er,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function it(t){return t.replace("col","column")}function rr(t){return t[0]==="r"?"Row":"Column"}function ys(t,e,r){let n=e[`gridAuto${rr(t)}`]?.[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 f.bracket.cssvar.auto.rem(r)}var yr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${it(t)}`]:r[`grid${rr(t)}`]?.[e]??f.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${it(t)}`]:"1/-1"};let r=f.bracket.number(e);if(r!=null)return{[`grid-${it(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${it(t)}-start`]:f.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${it(t)}-end`]:f.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${it(t)}`]:ys(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":f.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":it(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${it(t)}`]:r[`gridTemplate${rr(t)}`]?.[e]??f.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${it(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":f.cssvar(e)??e.split("-").map(r=>`"${f.bracket(r)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],he=["auto","hidden","clip","visible","scroll","overlay",...R],xr=[[/^(?:overflow|of)-(.+)$/,([,t])=>he.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${he.join("|")})`,`(overflow|of)-(x|y)-(${he.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>he.includes(e)?{[`overflow-${t}`]:e}:void 0]],vr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>R.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],ye=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...k("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...k("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...k("justify-self")],$r=[[/^order-(.+)$/,([,t])=>({order:f.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],xe=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...k("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...k("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...k("self","align-self")],ve=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...k("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...k("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...k("place-self")],wr=[...ye,...xe,...ve].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function nr(t,{theme:e}){return e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t)}function Gt([,t,e],r){let n=nr(e,r);if(n!=null&&t in Rt)return Rt[t].map(o=>[o.slice(1),n])}var kr=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:nr(t,e)}),{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)-(.+)$/,Gt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Gt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Gt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Gt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Gt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:nr(e,r)})]],Sr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...k("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...k("clear")],Cr=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":f.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??f.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Er=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...k("box","box-sizing")],zr=[[/^(where|\?)$/,(t,{constructCSS:e,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}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],xs=["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"],vs=["none","strict","content","size","inline-size","layout","style","paint"],P=" ",jr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:f.bracket.cssvar.global(t)})]],_r=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...k("backface","backface-visibility")],Ar=[[/^cursor-(.+)$/,([,t])=>({cursor:f.bracket.cssvar.global(t)})],...xs.map(t=>[`cursor-${t}`,{cursor:t}])],Rr=[[/^contain-(.*)$/,([,t])=>f.bracket(t)!=null?{contain:f.bracket(t).split(" ").map(e=>f.cssvar.fraction(e)??e).join(" ")}:vs.includes(t)?{contain:t}:void 0]],Mr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...k("pointer-events")],Pr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...k("resize")],Or=[["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"}],...k("select","user-select")],Lr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...R].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Fr=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...k("content-visibility")],Br=[[/^content-(.+)$/,([,t])=>({content:f.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Tr=[["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"}]],Wr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Nr=[["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"}]],Ir=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...k("case","text-transform")],Ur=[["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"}]],Dr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Vr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ht={"--un-ring-inset":" ","--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)"},Gr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??f.px(t||"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)"}},{custom:{preflightKeys:Object.keys(Ht)},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Mo,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??f.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,$s,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,B("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Mo([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??f.bracket.cssvar.px(t)}}function $s(t,e){return ot(f.bracket(t[1]))?Mo(t,e):B("--un-ring-color","ring","borderColor")(t,e)}var qt={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":" ","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Hr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?f.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!gt(i,n,"shadowColor")?{"--un-shadow":ht(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:B("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Object.keys(qt)},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],ws={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Et(t,e){return`${t||""}${ws[e]}`}function ge(t,e,r,n){let o=r[Et(t,e).replace(/-(\w)/g,(i,a)=>a.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return f.bracket.cssvar.global.auto.fraction.rem(n)}var qr=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[Et(t,"w")]:ge(t,"w",r,e),[Et(t,"h")]:ge(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[Et(t,e)]:ge(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[Et(t,e)]:ge(t,e,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-(.+)$/,([,t,e,r],n)=>({[Et(t,e)]:So(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[Et(t,e)]:So(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 So(t,e,r="breakpoints"){let n=Q(t,r);if(n)return n.find(o=>o.point===e)?.size}function ks(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(t)}var Yr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":ks(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Xr=[[/^pa?()-?(.+)$/,M("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,M("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,M("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,M("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Kr=[[/^ma?()-?(.+)$/,M("margin")],[/^m-?xy()()$/,M("margin")],[/^m-?([xy])(?:-?(.+))?$/,M("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,M("margin")],[/^m-(block|inline)(?:-(.+))?$/,M("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,M("margin")]],Zr=[[/^fill-(.+)$/,B("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Po,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":f.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??f.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Ss,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Po([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??f.bracket.cssvar.fraction.px.number(t)}}function Ss(t,e){return ot(f.bracket(t[1]))?Po(t,e):B("stroke","stroke","borderColor")(t,e)}var be=["translate","rotate","scale"],Cs=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","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))"].join(" "),jt=["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(" "),Es=["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(" "),Yt={"--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},at=Object.keys(Yt),Jr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??f.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,t,e])=>{let r=f.bracket.cssvar.px.numberWithUnit(e);if(r!=null)return t?{"--un-perspective":`perspective(${r})`,transform:`var(--un-perspective) ${jt}`}:{"-webkit-perspective":r,perspective:r}}],[/^perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=f.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Co,{custom:{preflightKeys:at}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Co,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-()(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,zo,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-()(.+)$/,jo,{custom:{preflightKeys:at}}],[/^(?:transform-)?skew-([xy])-(.+)$/,jo,{custom:{preflightKeys:at},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Eo,{custom:{preflightKeys:at}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Eo,{custom:{preflightKeys:at},autocomplete:[`transform-(${be.join("|")})-<percent>`,`transform-(${be.join("|")})-(x|y|z)-<percent>`,`(${be.join("|")})-<percent>`,`(${be.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:jt},{custom:{preflightKeys:at}}],["transform-cpu",{transform:Cs},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:Es},{custom:{preflightKeys:at}}],["transform-none",{transform:"none"}],...k("transform")];function Co([,t,e],{theme:r}){let n=r.spacing?.[e]??f.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Ct(t,n,"translate"),["transform",jt]]}function Eo([,t,e]){let r=f.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Ct(t,r,"scale"),["transform",jt]]}function zo([,t="",e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:jt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:jt}}function jo([,t,e]){let r=f.bracket.cssvar.degree(e);if(r!=null)return[...Ct(t,r,"skew"),["transform",jt]]}function _o(t,e){let r;if(f.cssvar(t)!=null)r=f.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??f.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Qr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??f.time("150")};if(t!=null){let n=_o(t,r),o=r.duration?.[e||"DEFAULT"]??f.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??f.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=f.global(t)||_o(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...R].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...k("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],tn=[[/^text-(.+)$/,js,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Oo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,zs,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,B("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>R.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${R.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||f.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":or(t,e,"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-(.+)$/,([,t])=>({"font-synthesis":f.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||f.bracket.cssvar.global.rem(t)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":f.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||f.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],en=[[/^tab(?:-(.+))?$/,([,t])=>{let e=f.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],rn=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||f.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],nn=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,B("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],on=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":ht(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":f.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,B("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function or(t,e,r){return e[r]?.[t]||f.bracket.cssvar.global.rem(t)}function Oo([,t],{theme:e}){let r=j(e.fontSize?.[t])?.[0]??f.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function zs(t,e){return ot(f.bracket(t[1]))?Oo(t,e):B("color","text","textColor")(t,e)}function js([,t="base"],{theme:e}){let r=Pt(t,"length");if(!r)return;let[n,o]=r,i=j(e.fontSize?.[n]),a=o?or(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,l,u]=i;return typeof l=="object"?{"font-size":c,...l}:{"font-size":c,"line-height":a??l??"1","letter-spacing":u?or(u,e,"letterSpacing"):void 0}}let s=f.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(t)}}var _s={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"},an=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=_s[t];if(r)return{[r]:f.cssvar(e)}}]],sn=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Rs(e)&&/^[\w-]+$/.test(r)&&As(o)){let i=f.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function As(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Rs(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var Lo=[an,sn,Rr,Mr,_r,vr,kr,Cr,$r,yr,Sr,Kr,Er,jr,Yr,qr,gr,Jr,Ar,Or,Pr,cr,ve,xe,ye,br,wr,xr,Nr,Lr,Tr,fr,dr,pr,Zr,Xr,ar,rn,Wr,ir,tn,Ir,Ur,hr,Dr,en,nn,on,ur,Hr,sr,Gr,Qr,lr,Fr,Br,mr,Vr,zr].flat(1);var Ps=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":f.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??f.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??f.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?R:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?R:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":f.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?R:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...k("animate","animation")];function Fo(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function Os(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${mt(e)})`):W(r,n)}function cn(){return([,t,e],{theme:r})=>{let n=nt(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=Os(t,a,i,o);switch(t){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":`${Fo(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":Fo(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 Ls(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(f.bracket.cssvar.percent(e))*100}%`})}var Fs=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":f.bracket(t)}),{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-(\[.+\])$/,([,t])=>({"--un-gradient-stops":f.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,cn()],[/^(?:bg-gradient-)?(via)-(.+)$/,cn()],[/^(?:bg-gradient-)?(to)-(.+)$/,cn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:f.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,Ls()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,t])=>{if(t in N)return{"--un-gradient-shape":`to ${N[t]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in N?`to ${N[t]}`:f.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(N).join("|")})`,`shape-(${Object.keys(N).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...k("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"}],...R.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":N[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...k("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"}],...k("bg-origin","background-origin")],ln={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"},Bs=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=ln[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(ln).join("|")})`,`list-(${Object.keys(ln).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":f.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...k("list","list-style-type")],Ts=[[/^accent-(.+)$/,B("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":f.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Ws=[[/^caret-(.+)$/,B("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":f.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ns=[["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"]]]],Is=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...k("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...k("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"}],...k("overscroll-y","overscroll-behavior-y")],Us=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...k("scroll","scroll-behavior")],Ds=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:f.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["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"}],...k("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"}],...k("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"}],...k("break-after")],Vs=[[/^divide-?([xy])$/,$e,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,$e],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,$e],[/^divide-(block|inline)-(.+)$/,$e],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,B("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":f.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...zt.map(t=>[`divide-${t}`,{"border-style":t}])];function $e([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??f.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var pn={"--un-blur":P,"--un-brightness":P,"--un-contrast":P,"--un-drop-shadow":P,"--un-grayscale":P,"--un-hue-rotate":P,"--un-invert":P,"--un-saturate":P,"--un-sepia":P},Uo=Object.keys(pn),Bo={preflightKeys:Uo},we="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)",mn={"--un-backdrop-blur":P,"--un-backdrop-brightness":P,"--un-backdrop-contrast":P,"--un-backdrop-grayscale":P,"--un-backdrop-hue-rotate":P,"--un-backdrop-invert":P,"--un-backdrop-opacity":P,"--un-backdrop-saturate":P,"--un-backdrop-sepia":P},Do=Object.keys(mn),Gs={preflightKeys:Do},ke="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)",ft={preflightKeys:[...Uo,...Do]};function fn(t){let e=f.bracket.cssvar(t||"");if(e!=null||(e=t?f.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function ut(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":ke,"backdrop-filter":ke}:{[`--un-${t}`]:`${t}(${i})`,filter:we}}}function Hs([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${ht(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:we};if(r=f.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:we}}var qs=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ut("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||f.bracket.cssvar.px(t)),{custom:ft,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ut("brightness",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ut("contrast",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Hs,{custom:Bo,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-(.+)$/,B("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":f.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ut("grayscale",fn),{custom:ft,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ut("hue-rotate",t=>f.bracket.cssvar.degree(t)),{custom:ft}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ut("invert",fn),{custom:ft,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ut("opacity",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ut("saturate",t=>f.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ut("sepia",fn),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:we},{custom:Bo}],["backdrop-filter",{"-webkit-backdrop-filter":ke,"backdrop-filter":ke},{custom:Gs}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...R.map(t=>[`filter-${t}`,{filter:t}]),...R.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Ys=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...R].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],Xs=[[/^\$ placeholder-(.+)$/,B("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":f.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],hn={"--un-scroll-snap-strictness":"proximity"},To={preflightKeys:Object.keys(hn)},Ks=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:To,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:To}],["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?()-?(.+)$/,M("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])-?(.+)$/,M("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,M("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,M("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,M("scroll-margin")],[/^scroll-pa?()-?(.+)$/,M("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,M("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,M("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,M("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,M("scroll-padding")]],Zs=[[/^space-([xy])-(.+)$/,Wo,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Wo],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function Wo([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??f.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=U[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var Js=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Qs=[...["manual","auto","none",...R].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],tc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...k("write","writing-mode")],ec=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...k("write-orient","text-orientation")],rc=[["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"}]],nc=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],oc=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(N[t])return{"object-position":N[t]};if(f.bracketOfPosition(t)!=null)return{"object-position":f.bracketOfPosition(t).split(" ").map(e=>f.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(N).join("|")})`}]],ic=[["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"}],...k("bg-blend","background-blend")],ac=[["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"}],...k("mix-blend")],sc=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],gn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},No={preflightKeys:Object.keys(gn)},Io="var(--un-border-spacing-x) var(--un-border-spacing-y)",cc=[["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-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??f.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Io}},{custom:No,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??f.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Io}},{custom:No,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"}]],bn={"--un-pan-x":P,"--un-pan-y":P,"--un-pinch-zoom":P},un={preflightKeys:Object.keys(bn)},dn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",lc=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":dn}),{custom:un,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":dn}),{custom:un}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":dn},{custom:un}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...k("touch","touch-action")],yn={"--un-ordinal":P,"--un-slashed-zero":P,"--un-numeric-figure":P,"--un-numeric-spacing":P,"--un-numeric-fraction":P},bt={preflightKeys:Object.keys(yn)};function yt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var fc=[[/^ordinal$/,()=>yt({"--un-ordinal":"ordinal"}),{custom:bt,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>yt({"--un-slashed-zero":"slashed-zero"}),{custom:bt,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>yt({"--un-numeric-figure":"lining-nums"}),{custom:bt,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>yt({"--un-numeric-figure":"oldstyle-nums"}),{custom:bt,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>yt({"--un-numeric-spacing":"proportional-nums"}),{custom:bt,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>yt({"--un-numeric-spacing":"tabular-nums"}),{custom:bt,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>yt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:bt,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>yt({"--un-numeric-fraction":"stacked-fractions"}),{custom:bt,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],uc={"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"},dc=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=uc[t];if(r)return{[r]:f.cssvar(e)}}]],pc=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Vo=[an,dc,sn,xo,Rr,rc,Mr,_r,vr,kr,Ys,nc,Cr,$r,yr,Sr,Kr,Er,jr,Yr,qr,gr,cc,Jr,Ps,Ar,lc,Or,Pr,Ks,Bs,cr,Ds,ve,xe,ye,br,wr,Zs,Vs,xr,Is,Us,Nr,Lr,Tr,fr,dr,Fs,pr,Zr,oc,Xr,ar,rn,Wr,ir,tn,Ir,Js,Ur,fc,hr,Dr,en,nn,on,Qs,tc,ec,Ws,Ts,ur,ic,ac,Hr,sr,Gr,Ns,qs,Qr,lr,Fr,Br,Xs,mr,pc,sc,Vr,zr].flat(1);var Go=[...tr];var Se={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(Se).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var Ho={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},qo={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)"},Yo={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(",")},Xo={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"]},Ko={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Zo={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Jo={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)"]},Qo={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},kn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ti={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ei=kn,Sn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ri={...Sn},ni={DEFAULT:"1px",none:"0"},oi={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"},ii={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ai={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},si={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)"},ci={DEFAULT:"3px",none:"0"},li={auto:"auto"},fi={mouse:"(hover) and (pointer: fine)"},ui={...Yt,...qt,...Ht},st={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},di={auto:"auto",...st,screen:"100vw"},xn={none:"none",...st,screen:"100vw"},pi={auto:"auto",...st,screen:"100vb"},mi={auto:"auto",...st,screen:"100vi"},hi={auto:"auto",...st,screen:"100vh"},vn={none:"none",...st,screen:"100vh"},$n={none:"none",...st,screen:"100vb"},wn={none:"none",...st,screen:"100vi"},gi={...st},Xt={width:di,height:hi,maxWidth:xn,maxHeight:vn,minWidth:xn,minHeight:vn,inlineSize:mi,blockSize:pi,maxInlineSize:wn,maxBlockSize:$n,minInlineSize:wn,minBlockSize:$n,colors:Se,fontFamily:Yo,fontSize:Xo,fontWeight:ti,breakpoints:Sn,verticalBreakpoints:ri,borderRadius:ai,lineHeight:Qo,letterSpacing:kn,wordSpacing:ei,boxShadow:si,textIndent:Ko,textShadow:Jo,textStrokeWidth:Zo,blur:Ho,dropShadow:qo,easing:{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)"},transitionProperty:{none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},lineWidth:ni,spacing:oi,duration:ii,ringWidth:ci,preflightBase:ui,containers:gi,zIndex:li,media:fi};var bi={...Xt,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"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},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:{...Yt,...bn,...hn,...yn,...gn,...qt,...Ht,...pn,...mn}};var mc={name:"aria",match(t,e){let r=(0,A.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function Ce(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,A.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.aria?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let S=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),v=m.prefix.match(S),y;if(v){let b=(v.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[aria-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[aria-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function hc(){return{name:"has-aria",match(t,e){let r=(0,A.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function gc(t={}){return[Ce("group"," ",t),Ce("peer","~",t),Ce("parent",">",t),Ce("previous","+",t),hc()]}var yi=/(max|min)-\[([^\]]*)\]:/;function bc(){let t={};return{name:"breakpoints",match(e,r){if(yi.test(e)){let o=e.match(yi);return{matcher:e.replace(o[0],""),handle:(i,a)=>a({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Q(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,c]=s,l=e.slice(c.length);if(l==="container")continue;let u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~"),p=3e3;return u?(p-=a+1,{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${(0,A.calcMaxWidthBySize)(i)})`,parentOrder:p})}):(p+=a+1,d&&a<n.length-1?{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,A.calcMaxWidthBySize)(n[a+1][1])})`,parentOrder:p})}:{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var yc=[(0,A.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function Kt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,A.variantGetBracket)(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var xc=[Kt("all"," "),Kt("children",">"),Kt("next","+"),Kt("sibling","+"),Kt("siblings","~")],vc={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,A.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=f.bracket(n),s;if(a?s=f.numberWithUnit(a):s=e.theme.containers?.[n]??"",s){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function $c(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,A.variantMatcher)("dark",j(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,A.variantMatcher)("light",j(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,A.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,A.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var wc={name:"data",match(t,e){let r=(0,A.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function Ee(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,A.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,s,c]=i,l=f.bracket(a)??o.theme.data?.[a]??"";if(l){let u=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let p=`${u?`[${d}${t}=""]`:`.${d}${t}`}`,h=Z(c?`/${c}`:"");return{matcher:s,handle:(m,x)=>{let S=new RegExp(`${K(p)}${K(h)}(?:\\[.+?\\])+`),v=m.prefix.match(S),y;if(v){let b=(v.index??0)+p.length+h.length;y=[m.prefix.slice(0,b),`[data-${l}]`,m.prefix.slice(b)].join("")}else{let b=Math.max(m.prefix.indexOf(p),0);y=[m.prefix.slice(0,b),p,h,`[data-${l}]`,e,m.prefix.slice(b)].join("")}return x({...m,prefix:y})}}}}},multiPass:!0}}function kc(){return{name:"has-data",match(t,e){let r=(0,A.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Sc(t={}){return[Ee("group"," ",t),Ee("peer","~",t),Ee("parent",">",t),Ee("previous","+",t),kc()]}var Cc=[(0,A.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,A.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Ec(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var zc=(0,A.variantParentMatcher)("print","@media print"),jc={name:"media",match(t,e){let r=(0,A.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},_c={name:"selector",match(t,e){let r=(0,A.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ac={name:"layer",match(t,e){let r=(0,A.variantGetParameter)("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Rc={name:"uno-layer",match(t,e){let r=(0,A.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Mc={name:"scope",match(t,e){let r=(0,A.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Pc={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,A.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=f.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},Oc={name:"theme-variables",match(t,e){if((0,A.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,A.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},xi=/^-?[0-9.]+(?:[a-z]+|%)?$/,vi=/-?[0-9.]+(?:[a-z]+|%)?/,Lc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Fc(t){let e=t.match(St)||t.match(Wt);if(e){let[r,n]=vt(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Bc=/\b(hue-rotate)\s*(\(.*)/;function Tc(t){let e=t.match(Bc);if(e){let[r,n]=vt(e[2],"(",")"," ")??[];if(r){let o=xi.test(r.slice(1,-1))?r.replace(vi,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Wc={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.some(n=>n[0]==="$$mini-no-negative"))return;let r=!1;return e.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=Tc(o);if(a){n[1]=a,r=!0;return}xi.test(o)&&(n[1]=o.replace(vi,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}};function Nc(){return He({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function Ic(){return qe({getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}function Uc(t={}){return Ye(t,{getBracket:lt.getBracket,h:f,variantGetBracket:lt.variantGetBracket})}var Dc=Xe(),Vc={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Gc={name:"supports",match(t,e){let r=(0,A.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=f.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function ze(t){return[mc,wc,Ac,_c,Rc,Wc,Vc,Ec(),Gc,zc,jc,bc(),...xc,...Nc(),Ic(),...Uc(t),Dc,...$c(t),...Cc,Mc,...yc,vc,Pc,...Sc(t),...gc(t),Oc]}var Hc=[kt("svg",t=>({selector:`${t.selector} svg`}))],qc=[kt(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),kt(".light",t=>({prefix:`.light $$ ${t.prefix}`})),rt("@dark","@media (prefers-color-scheme: dark)"),rt("@light","@media (prefers-color-scheme: light)")],Yc=[rt("contrast-more","@media (prefers-contrast: more)"),rt("contrast-less","@media (prefers-contrast: less)")],Xc=[rt("motion-reduce","@media (prefers-reduced-motion: reduce)"),rt("motion-safe","@media (prefers-reduced-motion: no-preference)")],Kc=[rt("landscape","@media (orientation: landscape)"),rt("portrait","@media (orientation: portrait)")],Zc=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},Jc=[kt("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function $i(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function wi(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?J(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($i(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:$i(o[0].alpha??1,o[1].alpha??1,r)}}function ki(t,e){return wi("#fff",t,e)}function Si(t,e){return wi("#000",t,e)}function Qc(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Si(t,e):ki(t,-r)}var tl={tint:ki,shade:Si,shift:Qc};function el(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=J(`${i[1]}`);if(a){let s=tl[n[1]](a,n[2]);s&&(i[1]=W(s))}}}),o)}}}}var rl=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(gt(i,e,"accentColor")||nl(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function nl(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?f.bracket.percent(e[1])!=null:!1}function Ci(t){return[rl,Zc,...ze(t),...Yc,...Kc,...Xc,...Hc,...qc,...Jc,el()]}function ol(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function il(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${ol(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function al(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var sl=/\/\/#\s*sourceMappingURL=.*\n?/g;function cl(t){return t.includes("sourceMappingURL=")?t.replace(sl,""):t}var ll=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,fl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,ul=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function dl(t){let e=[];for(let o of t.matchAll(fl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(ll))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=il(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Pe).forEach(o=>{o.includes(n)&&(o=al(o,r)),Fn(o)&&!ul.test(o)&&e.push(o)}),e}function Ei(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return dl(cl(t))}}}function zi(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Lt(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),j(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var ml={position:["relative","absolute","fixed","sticky","static"],globalKeyword:R},je=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Xt,rules:Lo,variants:ze(t),options:t,prefix:t.prefix,postprocess:hl(t.variablePrefix),preflights:zi(t),extractorDefault:t.arbitraryVariants===!1?void 0:Ei(),autocomplete:{shorthands:ml}});function hl(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function gl(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function bl(t){return[...j(je(t).postprocess),...gl(t.important)]}var ji=(t={})=>(t.important=t.important??!1,{...je(t),name:"@unocss/preset-wind3",theme:bi,rules:Vo,shortcuts:Go,variants:Ci(t),postprocess:bl(t)});var _i=(t={})=>({...ji(t),name:"@unocss/preset-uno"});function yl(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Ai(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ri(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Mi=["Webkit","Moz","ms"];function Pi(t){let e={};function r(n){let o=e[n];if(o)return o;let i=yl(n);if(i!=="filter"&&i in t)return e[n]=Ri(i);i=Ai(i);for(let a=0;a<Mi.length;a++){let s=`${Mi[a]}${i}`;if(s in t)return e[n]=Ri(Ai(s))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Oi(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Cn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=j(a.postprocess)).unshift(Pi(r.createElement("div").style)),i.configResolved?.(o,a);let c=await In(o,a),l=w=>{let _=t.rootElement?.();if(_){_.appendChild(w);return}i.inject?i.inject(w):n().prepend(w)},u=()=>i.rootElement?i.rootElement():r.body,d=new Map,p=!0,h=new Set,m,x,S=[],v=()=>new Promise(w=>{S.push(w),x!=null&&clearTimeout(x),x=setTimeout(()=>g().then(()=>{let _=S;S=[],_.forEach(O=>O())}),0)});function y(w,_=!1){if(w.nodeType!==1)return;let O=w;O.hasAttribute(s)&&O.removeAttribute(s),_&&O.querySelectorAll(`[${s}]`).forEach(T=>{T.removeAttribute(s)})}function b(w,_){let O=d.get(w);if(!O)if(O=r.createElement("style"),O.setAttribute("data-unocss-runtime-layer",w),d.set(w,O),_==null)l(O);else{let T=b(_),G=T.parentNode;G?G.insertBefore(O,T.nextSibling):l(O)}return O}async function g(){let w=[...h],_=await c.generate(w);return _.layers.reduce((T,G)=>(b(G,T).innerHTML=_.getLayer(G)??"",G),void 0),w.filter(T=>!_.matched.has(T)).forEach(T=>h.delete(T)),{..._,getStyleElement:T=>d.get(T),getStyleElements:()=>d}}async function $(w){let _=h.size;await c.applyExtractors(w,void 0,h),_!==h.size&&await v()}async function L(w=u()){let _=w&&w.outerHTML;_&&(await $(`${_} ${Oi(_)}`),y(n()),y(w,!0))}let Y=new MutationObserver(w=>{p||w.forEach(async _=>{if(_.target.nodeType!==1)return;let O=_.target;for(let T of d)if(O===T[1])return;if(_.type==="childList")_.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;let G=T;m&&!m(G)||(await $(G.outerHTML),y(G))});else{if(m&&!m(O))return;if(_.attributeName!==s){let T=Array.from(O.attributes).map(xt=>xt.value?`${xt.name}="${xt.value}"`:xt.name).join(" "),G=`<${O.tagName.toLowerCase()} ${T}>`;await $(G)}y(O)}})}),C=!1;function E(){if(C)return;let w=i.observer?.target?i.observer.target():u();w&&(Y.observe(w,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function z(){i.bypassDefined&&xl(c.blocked),L(),E()}function V(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",z):z()}let D=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract(w){F(w)||(w.forEach(_=>h.add(_)),w=""),await $(w)},extractAll:L,inspect(w){m=w},toggleObserver(w){w===void 0?p=!p:p=!!w,!C&&!p&&V()},update:g,presets:e.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(p=!1,V())}function xl(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],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)),t.add(o))})}catch{continue}}return t}Cn({defaults:{presets:[_i()]}});})();
|
|
1
|
+
(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};let n=`default`,r=`preflights`,i={imports:-200,[r]:-100,shortcuts:-10,[n]:0},a=/[\\:]?[\s'"`;{}]+/g;function o(e){return e.split(a)}let s={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return o(e)}};function c(e=[]){return Array.isArray(e)?e:[e]}function l(e){return Array.from(new Set(e))}function u(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function d(e){return typeof e==`string`}var f=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function p(e){return e instanceof f}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function h(e){let t=e.length,n=-1,r,i=``,a=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+=`�`;continue}if(r===37){i+=`\\%`;continue}if(r===44){i+=`\\,`;continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&a===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}let g=h;function _(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(e=>e(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(e=>e!==t)}}}let v=/[\w\u00A0-\uFFFF%-?]/;function ee(e=``){return v.test(e)}function te(e){return typeof e==`function`?{match:e}:e}function y(e){return e.length===3}function b(e){return e!=null}function x(){}var S=class{_map=new Map;get(e,t){let n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([n,r])=>e(r,t,n)))}},C=class extends Map{getFallback(e,t){let n=this.get(e);return n===void 0?(this.set(e,t),t):n}map(e){let t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){let t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function w(e){return d(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function ne(e){return Array.isArray(e)?e.some(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>w(e)):[e]:[w(e)]}function re(e){return e.filter(([t,n],r)=>{if(t.startsWith(`$$`))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}function ie(e){return e==null?``:re(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function ae(e){return e&&typeof e==`object`&&!Array.isArray(e)}function oe(e,t,n=!1){let r=e,i=t;if(Array.isArray(i))return n&&Array.isArray(i)?[...r,...i]:[...i];let a={...r};return ae(r)&&ae(i)&&Object.keys(i).forEach(e=>{ae(r[e])&&ae(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=oe(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function se(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r==`object`?se(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:se(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?se(r):r;return n}return e}function ce(e){return d(e[0])}function le(e){return d(e[0])}let ue={};function de(e=[`-`,`:`]){let t=e.map(e=>m(e)).join(`|`);return ue[t]||(ue[t]=RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),ue[t].lastIndex=0,ue[t]}function fe(e,t=[`-`,`:`],n=5){let r=de(t),i,a=e.toString(),o=new Set,s=new Map;do i=!1,a=a.replace(r,(e,n,r,a,c)=>{if(!t.includes(r))return e;i=!0,o.add(n+r);let l=c+n.length+r.length+1,u={length:e.length,items:[]};s.set(c,u);for(let e of[...a.matchAll(/\S+/g)]){let t=l+e.index,i=s.get(t)?.items;i?s.delete(t):i=[{offset:t,length:e[0].length,className:e[0]}];for(let e of i)e.className=e.className===`~`?r===`:`?`${n}${r}~`:n:e.className.replace(/^(!?)(.*)/,`$1${n}${r}$2`),u.items.push(e)}return`$`.repeat(e.length)}),--n;while(i&&n);let c;if(typeof e==`string`){c=``;let t=0;for(let[n,r]of s)c+=e.slice(t,n),c+=r.items.map(e=>e.className).join(` `),t=n+r.length;c+=e.slice(t)}else{c=e;for(let[e,t]of s)c.overwrite(e,e+t.length,t.items.map(e=>e.className).join(` `))}return{prefixes:Array.from(o),hasChanged:i,groupsByOffset:s,get expanded(){return c.toString()}}}function pe(e,t=[`-`,`:`],n=5){let r=fe(e,t,n);return typeof e==`string`?r.expanded:e}let me=new Set;function he(e){me.has(e)||(console.warn(`[unocss]`,e),me.add(e))}function ge(e){return c(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}let _e=`_uno_resolved`;async function ve(e){let t=typeof e==`function`?await e():await e;if(_e in t)return t;t={...t},Object.defineProperty(t,_e,{value:!0,enumerable:!1});let n=t.shortcuts?ge(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){let e=e=>{e[2]||={};let n=e[2];n.prefix==null&&t.prefix&&(n.prefix=c(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function ye(e){let t=await ve(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(c).flatMap(ye))).flat()]:[t]}function be(e){if(e.length===0)return{};let t=[],n=[],r=!1,i=[],a=[];for(let o of e){if(o.pipeline===!1){r=!0;break}else o.pipeline?.include&&t.push(o.pipeline.include),o.pipeline?.exclude&&n.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let o={pipeline:r?!1:{include:l(we(...t)),exclude:l(we(...n))}};return i.length&&(o.filesystem=l(i.flat())),a.length&&(o.inline=l(a.flat())),o}async function xe(e={},t={}){let n=Object.assign({},t,e),r=u((await Promise.all((n.presets||[]).flatMap(c).flatMap(ye))).flat(),(e,t)=>e.name===t.name),a=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],o=[...a,n],d=[...o].reverse(),f=Object.assign({},i,...o.map(e=>e.layers));function p(e){return l(o.flatMap(t=>c(t[e]||[])))}let m=p(`extractors`),h=d.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=s),h&&!m.includes(h)&&m.unshift(h),m.sort((e,t)=>(e.order||0)-(t.order||0));let g=p(`rules`),_=g.length,v={},ee=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ce(t)?c(n.prefix??``).forEach(e=>{v[e+t[0]]=t}):ee.unshift(t)}let y={templates:l(o.flatMap(e=>c(e.autocomplete?.templates))),extractors:o.flatMap(e=>c(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:Ce(o.map(e=>e.autocomplete?.shorthands||{}))},b=p(`separators`);b.length||(b=[`:`,`-`]);let x=be(p(`content`)),S={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:p(`blocklist`),presets:a,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:f,theme:Se(o.map(e=>e.theme)),rules:g,rulesSize:_,rulesDynamic:ee,rulesStaticMap:v,preprocess:p(`preprocess`),postprocess:p(`postprocess`),preflights:p(`preflights`),autocomplete:y,variants:p(`variants`).map(te).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:ge(p(`shortcuts`)).reverse(),extractors:m,safelist:p(`safelist`),separators:b,details:n.details??n.envMode===`dev`,content:x,transformers:u(p(`transformers`),(e,t)=>e.name===t.name)},C=p(`extendTheme`);for(let e of C)S.theme=e(S.theme,S)||S.theme;for(let e of o)e?.configResolved?.(S);return S}function Se(e){return e.map(e=>e?se(e):{}).reduce((e,t)=>oe(e,t),{})}function Ce(e){return e.reduce((e,t)=>{let n={};for(let e in t){let r=t[e];Array.isArray(r)?n[e]=`(${r.join(`|`)})`:n[e]=r}return{...e,...n}},{})}function we(...e){return e.flatMap(Te)}function Te(e){return Array.isArray(e)?e:e?[e]:[]}function Ee(e){return e}var De=`66.7.2`;let T={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,noScope:`$$symbol-no-scope`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`};var Oe=class e{userConfig;defaults;version=De;events=_();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;constructor(e={},t={}){this.userConfig=e,this.defaults=t}static async create(t={},n={}){let r=new e(t,n);return r.config=await xe(r.userConfig,r.defaults),r.events.emit(`config`,r.config),r}async setConfig(e,t){e&&(t&&(this.defaults=t),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await xe(e,this.defaults),this.events.emit(`config`,this.config))}async applyExtractors(e,t,n=new Set){let r={original:e,code:e,id:t,extracted:n,envMode:this.config.envMode};for(let e of this.config.extractors){let t=await e.extract?.(r);if(t)if(p(t)&&p(n))for(let e of t)n.setCount(e,n.getCount(e)+t.getCount(e));else for(let e of t)n.add(e)}return n}makeContext(e,t){let n={rawSelector:e,currentSelector:t[1],theme:this.config.theme,generator:this,symbols:T,variantHandlers:t[2],constructCSS:(...e)=>this.constructCustomCSS(n,...e),variantMatch:t};return n}async parseToken(e,t){if(this.blocked.has(e))return;let n=`${e}${t?` ${t}`:``}`;if(this.cache.has(n))return this.cache.get(n);let r=this.config.preprocess.reduce((e,t)=>t(e)??e,e);if(this.isBlocked(r)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,r);if(i.every(e=>!e||this.isBlocked(e[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async n=>{let r=this.makeContext(e,[t||n[0],n[1],n[2],n[3]]);this.config.details&&(r.variants=[...n[3]]);let i=await this.expandShortcut(r.currentSelector,r);return i?await this.stringifyShortcuts(r.variantMatch,r,i[0],i[1]):(await this.parseUtil(r.variantMatch,r))?.flatMap(e=>this.stringifyUtil(e,r)).filter(b)},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,t={}){let{id:i,scope:a,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:u=!1}=t,m=d(e)?await this.applyExtractors(e,i,u?new f:new Set):Array.isArray(e)?new Set(e):e;if(s){let e={generator:this,theme:this.config.theme};this.config.safelist.flatMap(t=>typeof t==`function`?t(e):t).forEach(e=>{let t=e.trim();t&&!m.has(t)&&m.add(t)})}let h=c?``:`
|
|
2
|
+
`,g=new Set([n]),_=u?new Map:new Set,v=new Map,ee={},te=Array.from(m).map(async e=>{if(_.has(e))return;let t=await this.parseToken(e);if(t!=null){_ instanceof Map?_.set(e,{data:t,count:p(m)?m.getCount(e):-1}):_.add(e);for(let e of t){let t=e[3]||``,n=e[4]?.layer;v.has(t)||v.set(t,[]),v.get(t).push(e),n&&g.add(n)}}});await Promise.all(te),await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=r})=>{g.add(e),t.add(e)}),ee=Object.fromEntries(await Promise.all(Array.from(t).map(async t=>[t,(await Promise.all(this.config.preflights.filter(e=>(e.layer||`preflights`)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(h)])))})();let y=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),x=y(Array.from(g)),S={},C=this.config.outputToCssLayers,w=e=>{let t=e;return typeof C==`object`&&(t=C.cssLayerName?.(e)),t===null?null:t??e},ne=(e=n)=>{if(S[e])return S[e];let t=Array.from(v).sort((e,t)=>(this.parentOrders.get(e[0])??0)-(this.parentOrders.get(t[0])??0)||e[0]?.localeCompare(t[0]||``)||0).map(([t,n])=>{let r=n.length,i=n.filter(t=>(t[4]?.layer||`default`)===e).sort((e,t)=>e[0]-t[0]||(e[4]?.sort||0)-(t[4]?.sort||0)||e[5]?.currentSelector?.localeCompare(t[5]?.currentSelector??``)||e[1]?.localeCompare(t[1]||``)||e[2]?.localeCompare(t[2]||``)||0).map(([,e,t,,n,,r])=>[[[(e&&!n?.noScope?Me(e,a):e)??``,n?.sort??0]],t,!!(r??n?.noMerge)]);if(!i.length)return;let o=i.reverse().map(([e,t,n],a)=>{if(!n&&this.config.mergeSelectors)for(let n=a+1;n<r;n++){let r=i[n];if(r&&!r[2]&&(e&&r[0]||e==null&&r[0]==null)&&r[1]===t)return e&&r[0]&&r[0].push(...e),null}let o=e?l(e.sort((e,t)=>e[1]-t[1]||e[0]?.localeCompare(t[0]||``)||0).map(e=>e[0]).filter(Boolean)):[];return o.length?`${o.join(`,${h}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(h);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${h}${s}${h}${`}`.repeat(c.length)}`}).filter(Boolean).join(h);o&&(t=[ee[e],t].filter(Boolean).join(h));let r;C&&t&&(r=w(e),r!==null&&(t=`@layer ${r}{${h}${t}${h}}`));let i=c?``:`/* layer: ${e}${r&&r!==e?`, alias: ${r}`:``} */${h}`;return S[e]=t?i+t:``},re=(e=x,t)=>{let n=e.filter(e=>!t?.includes(e)),r=n.map(ne).filter(Boolean);if(C){let e=n;typeof C==`object`&&C.allLayers&&(e=y(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(w).filter(b).join(`, `)};`)}return r.join(h)};return{get css(){return re()},layers:x,matched:_,getLayers:re,getLayer:ne,setLayer:async(e,t)=>{let n=await t(ne(e));return S[e]=n,n}}}async matchVariants(e,t){let n={rawSelector:e,theme:this.config.theme,generator:this},r=async t=>{let i=!0,[,,a,o]=t;for(;i;){i=!1;let s=t[1];for(let e of this.config.variants){if(!e.multiPass&&o.has(e))continue;let c=await e.match(s,n);if(c){if(d(c)){if(c===s)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(e.multiPass)throw Error(`multiPass can not be used together with array return variants`);let n=c.map(n=>{let r=n.matcher??s,i=[n,...a],c=new Set(o);return c.add(e),[t[0],r,i,c]});return(await Promise.all(n.map(e=>r(e)))).flat()}}t[1]=c.matcher??s,a.unshift(c),o.add(e),i=!0;break}}if(!i)break;if(a.length>500)throw Error(`Too many variants applied to "${e}"`)}return[t]};return await r([e,t||e,[],new Set])}applyVariants(e,t=e[4],n=e[1]){let r=t.slice().sort((e,t)=>(e.order||0)-(t.order||0)).reduceRight((e,t)=>n=>{let r=t.body?.(n.entries)||n.entries,i=Array.isArray(t.parent)?t.parent:[t.parent,void 0],a=t.selector?.(n.selector,r);return(t.handle??Fe)({...n,entries:r,selector:a||n.selector,parent:i[0]||n.parent,parentOrder:i[1]||n.parentOrder,layer:t.layer||n.layer,sort:t.sort||n.sort},e)},e=>e)({prefix:``,selector:Pe(n),pseudo:``,entries:e[2]}),{parent:i,parentOrder:a}=r;i!=null&&a!=null&&this.parentOrders.set(i,a);let o={selector:[r.prefix,r.selector,r.pseudo].join(``),entries:r.entries,parent:i,layer:r.layer,sort:r.sort,noMerge:r.noMerge};return this.config.postprocess.reduce((e,t)=>{let n=[];for(let r of e){let e=t(r);Array.isArray(e)?n.push(...e.filter(b)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=w(t);return d(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${ie(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=d(e)?await this.matchVariants(e):[e],a=async([e,i,a])=>{this.config.details&&(t.rules=t.rules??[]);let o={...t,variantHandlers:a},s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!s[2]?.internal))return this.resolveCSSResult(e,s[1],s,o);for(let t of this.config.rulesDynamic){let[a,s,l]=t;if(l?.internal&&!n)continue;let u=i;if(l?.prefix){let e=c(l.prefix);if(r){let t=c(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;u=i.slice(t.length)}}let d=u.match(a);if(!d)continue;let f=await s(d,o);if(!f)continue;if(typeof f!=`string`)if(Symbol.asyncIterator in f){let e=[];for await(let t of f)t&&e.push(t);f=e}else Symbol.iterator in f&&!Array.isArray(f)&&(f=Array.from(f).filter(b));let p=this.resolveCSSResult(e,f,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}resolveCSSResult=(e,t,n,r)=>{let i=ne(t).filter(e=>e.length);if(i.length){this.config.details&&r.rules.push(n),r.generator.activatedRules.add(n);let t=n[2];return i.map(n=>{if(d(n))return[t.__index,n,t];let i=r.variantHandlers,a=t,o=e=>{i=[e,...i]},s=e=>{a={...a,...e}};for(let e of n)switch(e[0]){case T.variants:i=typeof e[1]==`function`?e[1](i)||i:[...c(e[1]),...i];break;case T.parent:o({parent:e[1]});break;case T.selector:o({selector:e[1]});break;case T.layer:o({layer:e[1]});break;case T.sort:s({sort:e[1]});break;case T.noMerge:s({noMerge:e[1]});break;case T.noScope:s({noScope:e[1]});break;case T.body:e[0]=`__virtual_key__`;break}return[t.__index,e,n,a,i]})}};stringifyUtil(e,t){if(!e)return;if(y(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?t:void 0,void 0]];let n=this.applyVariants(e),r=[];for(let i of n){let{selector:n,entries:a,parent:o,layer:s,sort:c,noMerge:l}=i,u=ie(a);if(!u)continue;let{layer:d,sort:f,...p}=e[3]??{},m={...p,layer:s??d,sort:c??f};r.push([e[0],n,u,o,m,this.config.details?t:void 0,l])}return r}async expandShortcut(e,t,n=5){if(n===0)return;let r=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:x,i,a,o,s;for(let n of this.config.shortcuts){let o=e;if(n[2]?.prefix){let t=c(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;o=e.slice(t.length)}if(le(n)){if(n[0]===o){i||=n[2],a=n[1],r(n);break}}else{let e=o.match(n[0]);if(e&&(a=n[1](e,t)),a){i||=n[2],r(n);break}}}if(a&&(o=l(c(a).filter(d).map(e=>pe(e.trim()).split(/\s+/g)).flat()),s=c(a).filter(e=>!d(e)).map(e=>({handles:[],value:e}))),!a){let r=d(e)?await this.matchVariants(e):[e];for(let e of r){let[r,i,a]=e;if(r!==i){let e=await this.expandShortcut(i,t,n-1);e&&(o=e[0].filter(d).map(e=>r.replace(i,e)),s=e[0].filter(e=>!d(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!o?.length&&!s?.length))return[[await Promise.all(c(o).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),s].flat(2).filter(e=>!!e),i]}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){let i=new C,a=(await Promise.all(l(n).map(async n=>{let i=d(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,w(n.value),void 0,n.handles]];return!i&&this.config.warn&&he(`unmatched utility "${n}" in shortcut "${e[1]}"`),i||[]}))).flat(1).filter(Boolean).sort((e,t)=>e[0]-t[0]),[o,,s]=e,c=[];for(let e of a){if(y(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[T.shortcutsNoMerge],a=[...e[4],...n?[]:s];for(let{selector:t,entries:n,parent:s,sort:c,noMerge:l,layer:u}of this.applyVariants(e,a,o))i.getFallback(u??r.layer,new S).getFallback(t,s,[[],e[0]])[0].push([n,!!(l??e[3]?.noMerge),c??0])}return c.concat(i.flatMap((e,n)=>e.map(([e,i],a,o)=>{let s=(e,s,c)=>{let l=Math.max(...c.map(e=>e[1])),u=c.map(e=>e[0]);return(e?[u.flat(1)]:u).map(e=>{let c=ie(e);if(c)return[i,a,c,o,{...r,noMerge:s,sort:l,layer:n},t,void 0]})};return[[e.filter(([,e])=>e).map(([e,,t])=>[e,t]),!0],[e.filter(([,e])=>!e).map(([e,,t])=>[e,t]),!1]].map(([e,t])=>[...s(!1,t,e.filter(([e])=>e.some(e=>e[0]===T.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==T.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(e=>Array.isArray(e)?e[0]:e).some(t=>typeof t==`function`?t(e):d(t)?t===e:t.test(e))}getBlocked(e){let t=this.config.blocklist.find(t=>{let n=Array.isArray(t)?t[0]:t;return typeof n==`function`?n(e):d(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function ke(e,t){return await Oe.create(e,t)}let Ae=/\s\$\$\s+/g;function je(e){return Ae.test(e)}function Me(e,t){return je(e)?e.replace(Ae,t?` ${t} `:` `):t?`${t} ${e}`:e}let Ne=/^\[(.+?)(~?=)"(.*)"\]$/;function Pe(e){return Ne.test(e)?e.replace(Ne,(e,t,n,r)=>`[${g(t)}${n}"${g(r)}"]`):`.${g(e)}`}function Fe(e,t){return t(e)}var Ie=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,Re=Object.getOwnPropertyNames,ze=Object.prototype.hasOwnProperty,Be=(e,t)=>{let n={};for(var r in e)Ie(n,r,{get:e[r],enumerable:!0});return t||Ie(n,Symbol.toStringTag,{value:`Module`}),n},Ve=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Re(t),a=0,o=i.length,s;a<o;a++)s=i[a],!ze.call(e,s)&&s!==n&&Ie(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Le(t,s))||r.enumerable});return e},He=(e,t,n)=>(Ve(e,t,`default`),n&&Ve(n,t,`default`)),Ue=44,We=59,Ge=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Ke=new Uint8Array(64),qe=new Uint8Array(128);for(let e=0;e<Ge.length;e++){let t=Ge.charCodeAt(e);Ke[e]=t,qe[t]=e}function Je(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(Ke[t])}while(r>0);return t}var Ye=1024*16,Xe=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 n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},Ze=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(Ye)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===Ye&&(this.out+=Xe.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+Xe.decode(e.subarray(0,n)):t}};function Qe(e){let t=new Ze,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(We),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(Ue),c=Je(t,o[0],c),o.length!==1&&(n=Je(t,o[1],n),r=Je(t,o[2],r),i=Je(t,o[3],i),o.length!==4&&(a=Je(t,o[4],a)))}}return t.flush()}var $e=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},et=class e{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro=``,this.outro=``,this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}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(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro=``,this.outro=``),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro=``,this.outro=``,this.edited&&=(this.content=this.original,this.storeName=!1,!1)}split(t){let n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;let a=new e(t,this.end,i);return a.outro=this.outro,this.outro=``,this.end=t,this.edited?(a.edit(``,!1),this.content=``):this.content=r,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,``),this.outro.length)return!0;let t=this.content.replace(e,``);if(t.length)return t!==this.content&&(this.split(this.start+t.length).edit(``,void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0;if(this.edit(``,void 0,!0),this.intro=this.intro.replace(e,``),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,``),this.intro.length)return!0;let t=this.content.replace(e,``);if(t.length){if(t!==this.content){let e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit(``,void 0,!0)}return!0}else if(this.edit(``,void 0,!0),this.outro=this.outro.replace(e,``),this.outro.length)return!0}};function tt(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer==`function`?e=>Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}let nt=tt();var rt=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Qe(e.mappings),e.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=e.x_google_ignoreList),e.debugId!==void 0&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return`data:application/json;charset=utf-8;base64,`+nt(this.toString())}};function it(e){let t=e.split(`
|
|
3
|
+
`),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return` `;let i=r.reduce((e,t)=>{let n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return Array(i+1).join(` `)}function at(e,t){let n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=`..`}return n.concat(r).join(`/`)}let ot=Object.prototype.toString;function st(e){return ot.call(e)===`[object Object]`}function ct(e){let t=e.split(`
|
|
4
|
+
`),n=[];for(let e=0,r=0;e<t.length;e++)n.push(r),r+=t[e].length+1;return function(e){let t=0,r=n.length;for(;t<r;){let i=t+r>>1;e<n[i]?r=i:t=i+1}let i=t-1;return{line:i,column:e-n[i]}}}let lt=/\w/;var ut=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){let i=t.length-1,a=t.indexOf(`
|
|
5
|
+
`,0),o=-1;for(;a>=0&&i>a;){let i=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=a,a=t.indexOf(`
|
|
6
|
+
`,a+1)}let s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,i){let a=t.start,o=!0,s=!1;for(;a<t.end;){if(n[a]===`
|
|
7
|
+
`)r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,s=!1;else{if(this.hires||o||i.has(a)){let t=[this.generatedCodeColumn,e,r.line,r.column];this.hires===`boundary`?lt.test(n[a])?s||=(this.rawSegments.push(t),!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}a+=1}this.pending=null}advance(e){if(!e)return;let t=e.split(`
|
|
8
|
+
`);if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};let dt={insertLeft:!1,insertRight:!1,storeName:!1};var ft=class e{constructor(e,t={}){let n=new et(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},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:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new $e},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;let e=n.next,i=e&&e.clone();i&&(r.next=i,i.previous=r,r=i),n=e}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new $e(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new ut(e.hires),r=ct(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{let i=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,i,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,i,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?at(e.file||``,e.source):e.file||``],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new rt(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=it(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?` `:this.indentStr}indent(e,t){let n=/^[^\r\n]/gm;if(st(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t||={};let r={};t.exclude&&(typeof t.exclude[0]==`number`?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)r[t]=!0});let i=t.indentStart!==!1,a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let o=0,s=this.firstChunk;for(;s;){let t=s.end;if(s.edited)r[o]||(s.content=s.content.replace(n,a),s.content.length&&(i=s.content[s.content.length-1]===`
|
|
9
|
+
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
10
|
+
`?i=!0:t!==`\r`&&i&&(i=!1,o===s.start?s.prependRight(e):(this._splitChunk(s,o),s=s.next,s.prependRight(e)))}o+=1}o=s.end,s=s.next}return this.outro=this.outro.replace(n,a),this}insert(){throw Error(`magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)`)}insertLeft(e,t){return dt.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return dt.insertRight||=(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,n+=this.offset,n>=e&&n<=t)throw Error(`Cannot move a selection inside itself`);this._split(e),this._split(t),this._split(n);let r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;let c=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),c&&(c.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,i.next=s||null,c||(this.firstChunk=r),s||(this.lastChunk=i),this}overwrite(e,t,n,r){return r||={},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,typeof n!=`string`)throw TypeError(`replacement content must be a string`);if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw Error(`end is out of bounds`);if(e===t)throw Error(`Cannot overwrite a zero-length range – use appendLeft or prependRight instead`);this._split(e),this._split(t),r===!0&&(dt.storeName||=(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),!0),r={storeName:!0});let i=r===void 0?!1:r.storeName,a=r===void 0?!1:r.overwrite;if(i){let n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],s=this.byEnd[t];if(o){let e=o;for(;e!==s;){if(e.next!==this.byStart[e.end])throw Error(`Cannot overwrite across a split point`);e=e.next,e.edit(``,!1)}o.edit(n,i,!a)}else{let r=new et(e,t,``).edit(n,i);s.next=r,r.previous=s}return this}prepend(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro=``,n.outro=``,n.edit(``),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:``}lastLine(){let e=this.outro.lastIndexOf(`
|
|
11
|
+
`);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(`
|
|
12
|
+
`),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(`
|
|
13
|
+
`),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(`
|
|
14
|
+
`),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(`
|
|
15
|
+
`),e===-1?this.intro+t:this.intro.substr(e+1)+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n=``,r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=r;for(;r;){r.intro&&(i!==r||r.start===e)&&(n+=r.intro);let a=r.start<t&&r.end>=t;if(a&&r.edited&&r.end!==t)throw Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),r.outro&&(!a||r.end===t)&&(n+=r.outro),a)break;r=r.next}return n}snip(e,t){let n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t,r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){let n=ct(this.original)(t);throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}let n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t}trimLines(){return this.trim(`[\\r\\n]`)}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let t=RegExp((e||`\\s`)+`+$`);if(this.outro=this.outro.replace(t,``),this.outro.length)return!0;let n=this.lastChunk;do{let e=n.end,r=n.trimEnd(t);if(n.end!==e&&(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),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=RegExp(`^`+(e||`\\s`)+`+`);if(this.intro=this.intro.replace(t,``),this.intro.length)return!0;let n=this.firstChunk;do{let e=n.end,r=n.trimStart(t);if(n.end!==e&&(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),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return typeof t==`string`?t.replace(/\$(\$|&|\d+)/g,(t,n)=>n===`$`?`$`:n===`&`?e[0]:+n<e.length?e[+n]:`$${n}`):t(...e,e.index,n,e.groups)}function r(e,t){let n,r=[];for(;n=e.exec(t);)r.push(n);return r}if(e.global)r(e,this.original).forEach(e=>{if(e.index!=null){let t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}});else{let t=this.original.match(e);if(t&&t.index!=null){let e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){let{original:n}=this,r=n.indexOf(e);return r!==-1&&(typeof t==`function`&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return typeof e==`string`?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:n}=this,r=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+r)){let e=n.slice(i,i+r),a=t;typeof t==`function`&&(a=t(e,i,n)),e!==a&&this.overwrite(i,i+r,a)}return this}replaceAll(e,t){if(typeof e==`string`)return this._replaceAllString(e,t);if(!e.global)throw TypeError(`MagicString.prototype.replaceAll called with a non-global RegExp argument`);return this._replaceRegexp(e,t)}},pt=t({PseudoClassFunctions:()=>Gt,PseudoClassFunctionsStr:()=>A,PseudoClasses:()=>O,PseudoClassesAndElementsColonStr:()=>Qt,PseudoClassesAndElementsStr:()=>Zt,PseudoClassesColon:()=>k,PseudoClassesColonKeys:()=>Wt,PseudoClassesColonStr:()=>Jt,PseudoClassesKeys:()=>Ut,PseudoClassesMulti:()=>Kt,PseudoClassesMultiStr:()=>Yt,PseudoClassesStr:()=>qt,alphaPlaceholders:()=>xt,alphaPlaceholdersRE:()=>St,calcMaxWidthBySize:()=>Rt,colorOpacityToString:()=>Tt,colorToString:()=>D,createPartClasses:()=>an,createPseudoClassFunctions:()=>tn,createPseudoClassesAndElements:()=>en,createTaggedPseudoClassMatcher:()=>$t,createTaggedPseudoClasses:()=>nn,createValueHandler:()=>zt,cssColorFunctions:()=>_t,excludedPseudo:()=>Xt,getBracket:()=>mt,getStringComponent:()=>ht,getStringComponents:()=>gt,hasIconFn:()=>Vt,hasThemeFn:()=>Ft,hex2rgba:()=>wt,hueInterpolationMethods:()=>bt,iconFnRE:()=>Bt,isInterpolatedMethod:()=>Ct,parseCssColor:()=>E,polarColorSpace:()=>yt,rectangularColorSpace:()=>vt,themeFnRE:()=>Pt,transformThemeFn:()=>It,transformThemeString:()=>Lt,variantGetBracket:()=>sn,variantGetParameter:()=>cn,variantMatcher:()=>on,variantParentMatcher:()=>j});function mt(e,t,n){if(e===``)return;let r=e.length,i=0,a=!1,o=0;for(let s=0;s<r;s++)switch(e[s]){case t:a||(a=!0,o=s),i++;break;case n:if(--i,i<0)return;if(i===0)return[e.slice(o,s+1),e.slice(s+1),e.slice(0,o)];break}}function ht(e,t,n,r){if(e===``||(d(r)&&(r=[r]),r.length===0))return;let i=e.length,a=0;for(let o=0;o<i;o++)switch(e[o]){case t:a++;break;case n:if(--a<0)return;break;default:for(let t of r){let n=t.length;if(n&&t===e.slice(o,o+n)&&a===0)return o===0||o===i-n?void 0:[e.slice(0,o),e.slice(o+n)]}}return[e,``]}function gt(e,t,n,r=`(`,i=`)`){n??=10;let a=[],o=0;for(;e!==``;){if(++o>n)return;let s=ht(e,r,i,t);if(!s)return;let[c,l]=s;a.push(c),e=l}if(a.length>0)return a}let _t=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],vt=[`srgb`,`srgb-linear`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec2020`,`lab`,`oklab`,`xyz`,`xyz-d50`,`xyz-d65`],yt=[`hsl`,`hwb`,`lch`,`oklch`],bt=[`shorter`,`longer`,`increasing`,`decreasing`],xt=[`%alpha`,`<alpha-value>`],St=new RegExp(xt.map(e=>m(e)).join(`|`),`g`);function Ct(e){return e?vt.some(t=>e.includes(t))||yt.some(t=>e.includes(t))||bt.some(t=>e.includes(t)):!1}function wt(e=``){let t=Dt(e);if(t!=null){let{components:e,alpha:n}=t;return n==null?e:[...e,n]}}function E(e=``){let t=Et(e);if(t==null||t===!1)return;let{type:n,components:r,alpha:i}=t,a=n.toLowerCase();if(r.length!==0&&!(_t.includes(a)&&![1,3].includes(r.length)))return{type:a,components:r.map(e=>typeof e==`string`?e.trim():e),alpha:typeof i==`string`?i.trim():i}}function Tt(e){let t=e.alpha??1;return typeof t==`string`&&xt.includes(t)?1:t}function D(e,t){if(typeof e==`string`)return e.replace(St,`${t??1}`);let{components:n}=e,{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),[`hsla`,`rgba`].includes(i)?`${i}(${n.join(`, `)}${r==null?``:`, ${r}`})`:(r=r==null?``:` / ${r}`,_t.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}function Et(e){if(!e)return;let t=Dt(e);if(t!=null||(t=Ot(e),t!=null)||(t=kt(e),t!=null)||(t=jt(e),t!=null)||(t=Mt(e),t!=null))return t}function Dt(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let e=Array.from(t,e=>Number.parseInt(e,16)).map(e=>e<<4|e);return{type:`rgb`,components:e.slice(0,3),alpha:t.length===3?void 0:Math.round(e[3]/255*100)/100}}case 6:case 8:{let e=Number.parseInt(t,16);return{type:`rgb`,components:t.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:t.length===6?void 0:Math.round((e&255)/255*100)/100}}}}function Ot(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:`rgb`,components:t.slice(0,3),alpha:t[3]}}function kt(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,n,r]=t,i=gt(r,`,`,5);if(i){if([3,4].includes(i.length))return{type:n,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}let At=RegExp(`^(${_t.join(`|`)})\\((.+)\\)$`,`i`);function jt(e){let t=e.match(At);if(!t)return;let[,n,r]=t,i=Nt(`${n} ${r}`);if(i){let{alpha:e,components:[t,...n]}=i;return{type:t,components:n,alpha:e}}}function Mt(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let n=Nt(t[1]);if(n){let{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}function Nt(e){let t=gt(e,` `);if(!t)return;let n=t.length;if(t[n-2]===`/`)return{components:t.slice(0,n-2),alpha:t[n-1]};if(t[n-2]!=null&&(t[n-2].endsWith(`/`)||t[n-1].startsWith(`/`))){let e=t.splice(n-2);t.push(e.join(` `)),--n}let r=gt(t[n-1],`/`,2);if(!r)return;if(r.length===1||r[r.length-1]===``)return{components:t};let i=r.pop();return t[n-1]=r.join(`/`),{components:t,alpha:i}}let Pt=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ft(e){return e.includes(`theme(`)&&e.includes(`)`)}function It(e,t,n=!0){let r=Array.from(e.toString().matchAll(Pt));if(!r.length)return e;let i=new ft(e);for(let e of r){let r=e[2];if(!r)throw Error(`theme() expect exact one argument, but got 0`);let a=Lt(r,t,n);a&&i.overwrite(e.index,e.index+e[0].length,a)}return i.toString()}function Lt(e,t,n=!0){let[r,i]=e.split(`/`),a=r.trim().split(`.`).reduce((e,t)=>e?.[t],t);if(typeof a==`object`&&(a=a.DEFAULT),typeof a==`string`){if(i){let e=E(a);e&&(a=D(e,i))}return a}else if(n)throw Error(`theme of "${e}" did not found`)}function Rt(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||``,n=e.slice(t.length);if(n===`px`){let r=Number.parseFloat(t)-.1;return Number.isNaN(r)?e:`${r}${n}`}return`calc(${e} - 0.1px)`}function zt(e){let t=function(t,n){let r=this.__options?.sequence||[];this.__options.sequence=[];for(let i of r){let r=e[i](t,n);if(r!=null)return r}};function n(e,t){return e.__options||={sequence:[]},e.__options.sequence.push(t),e}for(let r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}let Bt=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function Vt(e){return e.includes(`icon(`)&&e.includes(`)`)}let Ht=`__pseudo_placeholder__`,O=Object.fromEntries([[`first-letter`,`::first-letter`],[`first-line`,`::first-line`],`any-link`,`link`,`visited`,`target`,[`open`,`[open]`],`default`,`checked`,`indeterminate`,`placeholder-shown`,`autofill`,`optional`,`required`,`valid`,`invalid`,`user-valid`,`user-invalid`,`in-range`,`out-of-range`,`read-only`,`read-write`,`empty`,`focus-within`,`hover`,`focus`,`focus-visible`,`active`,`enabled`,`disabled`,`popover-open`,`root`,`empty`,[`even-of-type`,`:nth-of-type(even)`],[`even`,`:nth-child(even)`],[`odd-of-type`,`:nth-of-type(odd)`],[`odd`,`:nth-child(odd)`],[`nth`,`:nth-child(${Ht})`],[`nth-last`,`:nth-last-child(${Ht})`],[`nth-last-of-type`,`:nth-last-of-type(${Ht})`],[`nth-of-type`,`:nth-of-type(${Ht})`],`first-of-type`,[`first`,`:first-child`],`last-of-type`,[`last`,`:last-child`],`only-child`,`only-of-type`,[`backdrop-element`,`::backdrop`],[`placeholder`,`::placeholder`],[`before`,`::before`],[`after`,`::after`],[`file`,`::file-selector-button`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ut=Object.keys(O),k=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Wt=Object.keys(k),Gt=[`not`,`is`,`where`,`has`],Kt=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]),qt=Object.entries(O).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Jt=Object.entries(k).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),A=Gt.join(`|`),Yt=Object.keys(Kt).sort((e,t)=>t.length-e.length).join(`|`),Xt=[`::-webkit-resizer`,`::-webkit-scrollbar`,`::-webkit-scrollbar-button`,`::-webkit-scrollbar-corner`,`::-webkit-scrollbar-thumb`,`::-webkit-scrollbar-track`,`::-webkit-scrollbar-track-piece`,`::file-selector-button`],Zt=Object.entries(O).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Qt=Object.entries(k).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);function $t(e,t,n,r){let{h:i,variantGetBracket:a}=r,o=RegExp(`^(${m(t)}:)(\\S+)${m(n)}\\1`),s,c,l,u,d=n=>{let r=a(`${e}-`,n,[]);if(!r)return;let[o,c]=r,l=i.bracket(o);if(l==null)return;let u=c.split(s,1)?.[0]??``,d=`${t}${h(u)}`;return[u,n.slice(n.length-(c.length-u.length-1)),l.includes(`&`)?l.replace(/&/g,d):`${d}${l}`]},f=e=>{let n=e.match(c)||e.match(l);if(!n)return;let[r,i,a]=n,o=n[3]??``,s=O[a]||k[a]||`:${a}`;return i&&(s=`:${i}(${s})`),[o,e.slice(r.length),`${t}${h(o)}${s}`,a]},p=e=>{let n=e.match(u);if(!n)return;let[r,i,a]=n,o=n[3]??``,s=`:${i}(${a})`;return[o,e.slice(r.length),`${t}${h(o)}${s}`]};return{name:`pseudo:${e}`,match(t,r){if(s&&c&&l||(s=RegExp(`(?:${r.generator.config.separators.join(`|`)})`),c=RegExp(`^${e}-(?:(?:(${A})-)?(${qt}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join(`|`)})`),l=RegExp(`^${e}-(?:(?:(${A})-)?(${Jt}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),u=RegExp(`^${e}-(?:(${A})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`)),!t.startsWith(e))return;let i=d(t)||f(t)||p(t);if(!i)return;let[a,m,h,g=``]=i;return{matcher:m,handle:(e,t)=>t({...e,prefix:`${h}${n}${e.prefix}`.replace(o,`$1$2:`),sort:Ut.indexOf(g)??Wt.indexOf(g)})}},multiPass:!0}}function en(e){let{h:t}=e,n,r,i;return[{name:`pseudo`,match(e,i){n&&r||(n=RegExp(`^(${Zt})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join(`|`)})`),r=RegExp(`^(${Qt})(?:${i.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let a=e.match(n)||e.match(r);if(a){let n=O[a[1]]||k[a[1]]||`:${a[1]}`;if(a[2]){let e;e=a[2].startsWith(`[`)&&a[2].endsWith(`]`)?t.bracket(a[2]):a[2],e&&(n=n.replace(Ht,e))}let r=Ut.indexOf(a[1]);return r===-1&&(r=Wt.indexOf(a[1])),r===-1&&(r=void 0),{matcher:e.slice(a[0].length),handle:(e,t)=>{let i=n.includes(`::`)&&!Xt.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...i,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Zt}|${Qt}):`},{name:`pseudo:multi`,match(e,t){i||=RegExp(`^(${Yt})(?:${t.generator.config.separators.join(`|`)})`);let n=e.match(i);if(n)return Kt[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${Yt}):`}]}function tn(e){let{getBracket:t,h:n}=e,r,i,a;return{match(e,o){r&&i||(r=RegExp(`^(${A})-(${qt})(?:${o.generator.config.separators.join(`|`)})`),i=RegExp(`^(${A})-(${Jt})(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),a=RegExp(`^(${A})-(\\[.+\\])(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let s=e.match(r)||e.match(i)||e.match(a);if(s){let r=s[1],i=t(s[2],`[`,`]`)?n.bracket(s[2]):O[s[2]]||k[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${i})`}}},multiPass:!0,autocomplete:`(${A})-(${qt}|${Jt}):`}}function nn(e,t){let n=!!e?.attributifyPseudo,r=e?.prefix??``;r=h((Array.isArray(r)?r:[r]).filter(Boolean)[0]??``);let i=(e,i)=>$t(e,n?`[${r}${e}=""]`:`.${r}${e}`,i,t);return[i(`group`,` `),i(`peer`,`~`),i(`parent`,`>`),i(`previous`,`+`)]}let rn=/(part-\[(.+)\]:)(.+)/;function an(){return{match(e){let t=e.match(rn);if(t){let n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0}}function on(e,t,n={}){let r;return{name:e,match(i,a){r||=RegExp(`^${m(e)}(?:${a.generator.config.separators.join(`|`)})`);let o=i.match(r);if(o){let e=i.slice(o[0].length),r=c(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return r.length===1?r[0]:r}},autocomplete:`${e}:`}}function j(e,t){let n;return{name:e,match(r,i){n||=RegExp(`^${m(e)}(?:${i.generator.config.separators.join(`|`)})`);let a=r.match(n);if(a)return{matcher:r.slice(a[0].length),handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:``}${t}`})}},autocomplete:`${e}:`}}function sn(e,t,n){if(t.startsWith(`${e}[`)){let[r,i]=mt(t.slice(e.length),`[`,`]`)??[];if(r&&i){for(let e of n)if(i.startsWith(e))return[r,i.slice(e.length),e];return[r,i,``]}}}function cn(e,t,n){for(let r of c(e))if(t.startsWith(r)){let e=sn(r,t,n);if(e){let[t=``,r=e[1]]=cn(`/`,e[1],n)??[];return[e[0],r,t]}for(let e of n.filter(e=>e!==`/`)){let n=t.indexOf(e,r.length);if(n!==-1){let i=t.indexOf(`/`,r.length),a=i===-1||n<=i;return[t.slice(r.length,a?n:i),t.slice(n+e.length),a?``:t.slice(i+1,n)]}}}}let M={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`]},ln={...M,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`]},un={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`]},dn={x:[`-x`],y:[`-y`],z:[`-z`],"":[`-x`,`-y`]},fn=[`x`,`y`,`z`],pn=[`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`],N=Object.assign({},...pn.map(e=>({[e.replace(/ /,`-`)]:e})),...pn.map(e=>({[e.replace(/\b(\w)\w+/g,`$1`).replace(/ /,``)]:e}))),P=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],mn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,hn=/^(var)\s*\((.+)\)(.*)/,gn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,_n=/^(-?\d*(?:\.\d+)?)$/,vn=/^(px|[sld]?v[wh])$/i,yn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},bn=/^\[(color|image|length|size|position|quoted|string):/i,xn=/,(?![^()]*\))/g;var Sn=Be({auto:()=>Tn,bracket:()=>Mn,bracketOfColor:()=>Nn,bracketOfLength:()=>Pn,bracketOfPosition:()=>Fn,cssvar:()=>In,degree:()=>Rn,fraction:()=>An,global:()=>zn,number:()=>On,numberWithUnit:()=>wn,percent:()=>kn,position:()=>Vn,properties:()=>Bn,px:()=>Dn,rem:()=>En,time:()=>Ln});let Cn=`color.border-color.background-color.outline-color.text-decoration-color.flex-grow.flex.flex-shrink.grid.grid-template-columns.grid-template-rows.caret-color.font.gap.opacity.visibility.z-index.font-weight.zoom.text-shadow.transform.box-shadow.border.background-position.left.right.top.bottom.object-position.max-height.min-height.max-width.min-width.height.width.border-width.margin.padding.outline-width.outline-offset.font-size.line-height.text-indent.vertical-align.border-spacing.letter-spacing.word-spacing.stroke.filter.backdrop-filter.fill.mask.mask-size.mask-border.clip-path.clip.border-radius`.split(`.`);function F(e){return+e.toFixed(10)}function wn(e){let t=e.match(gn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${F(i)}${r}`}function Tn(e){if(e===`auto`||e===`a`)return`auto`}function En(e){if(!e)return;if(vn.test(e))return`${yn[e]}${e}`;let t=e.match(gn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0`:r?`${F(i)}${r}`:`${F(i/4)}rem`}function Dn(e){if(vn.test(e))return`${yn[e]}${e}`;let t=e.match(gn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${F(i)}${r}`:`${F(i)}px`}function On(e){if(!_n.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return F(t)}function kn(e){if(e.endsWith(`%`)&&(e=e.slice(0,-1)),!_n.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${F(t/100)}`}function An(e){if(!e)return;if(e===`full`)return`100%`;let[t,n]=e.split(`/`),r=Number.parseFloat(t)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?`0`:`${F(r*100)}%`}function jn(e,t){if(e&&e.startsWith(`[`)&&e.endsWith(`]`)){let n,r,i=e.match(bn);if(i?(t||(r=i[1]),n=e.slice(i[0].length,-1)):n=e.slice(1,-1),!n||n===`=""`)return;n.startsWith(`--`)&&(n=`var(${n})`);let a=0;for(let e of n)if(e===`[`)a+=1;else if(e===`]`&&(--a,a<0))return;if(a)return;switch(r){case`string`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`);case`quoted`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(["\\])/g,`\\$1`).replace(/^(.+)$/,`"$1"`)}return n.replace(/(url\(.*?\))/g,e=>e.replace(/_/g,`\\_`)).replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(?:calc|clamp|max|min)\((.*)/g,e=>{let t=[];return e.replace(/var\((--.+?)[,)]/g,(e,n)=>(t.push(n),e.replace(n,`--un-calc`))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,`$1 $2 `).replace(/--un-calc/g,()=>t.shift())})}}function Mn(e){return jn(e)}function Nn(e){return jn(e,`color`)}function Pn(e){return jn(e,`length`)}function Fn(e){return jn(e,`position`)}function In(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,n]=e.slice(1).split(`,`);return`var(--${h(t)}${n?`, ${n}`:``})`}}function Ln(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0&&!r?`0s`:r?`${F(i)}${r}`:`${F(i)}ms`}function Rn(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0deg`:r?`${F(i)}${r}`:`${F(i)}deg`}function zn(e){if(P.includes(e))return e}function Bn(e){if(e.split(`,`).every(e=>Cn.includes(e)))return e}function Vn(e){if([`top`,`left`,`right`,`bottom`,`center`].includes(e))return e}let Hn=zt(Sn),I=Hn,Un=`$$mini-no-negative`;function L(e){return([t,n,r],{theme:i})=>{let a=i.spacing?.[r||`DEFAULT`]??I.bracket.cssvar.global.auto.fraction.rem(r);if(a!=null)return M[n].map(t=>[`${e}${t}`,a]);if(r?.startsWith(`-`)){let t=i.spacing?.[r.slice(1)];if(t!=null)return M[n].map(n=>[`${e}${n}`,`calc(${t} * -1)`])}}}function Wn(e,t,n=`colors`){let r=e[n];function i(e,t){if(t.length===0)return e;if(!(!e||typeof e!=`object`))for(let n=t.length;n>0;n--){let r=t.slice(0,n).join(`-`),a=e[r.replace(/(-[a-z])/g,e=>e.slice(1).toUpperCase())]??e[r];if(a!=null)return n===t.length?a:i(a,t.slice(n))}}return i(r,t)}function Gn(e,t,n){return Wn(e,t,n)||Wn(e,t,`colors`)}function Kn(e,t){let[n,r]=ht(e,`[`,`]`,[`/`,`:`])??[];if(n!=null){let e=(n.match(bn)??[])[1];if(e==null||e===t)return[n,r]}}function qn(e,t,n){let r=Kn(e,`color`);if(!r)return;let[i,a]=r,o=i.replace(/([a-z])(\d)/g,`$1-$2`).split(/-/g),[s]=o;if(!s)return;let c,l=I.bracketOfColor(i),u=l||i;if(I.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:i.startsWith(`$`)&&(c=I.cssvar(i)),c||=l,!c){let e=Gn(t,[i],n);typeof e==`string`&&(c=e)}let d=`DEFAULT`;if(!c){let e=o,r,[i]=o.slice(-1);/^\d+$/.test(i)&&(d=r=i,e=o.slice(0,-1));let a=Gn(t,e,n);typeof a==`object`?c=a[r??d]:typeof a==`string`&&!r&&(c=a)}return{opacity:a,name:s,no:d,color:c,cssColor:E(c),alpha:I.bracket.cssvar.percent(a??``)}}function R(e,t,n,r){return([,i],{theme:a,generator:o})=>{let s=qn(i??``,a,n);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=o.config.envMode===`dev`&&l?` /* ${l} */`:``,f={};if(u)if(c!=null)f[e]=D(u,c)+d;else{let n=`--un-${t}-opacity`,r=D(u,`var(${n})`);r.includes(n)&&(f[n]=Tt(u)),f[e]=r+d}else if(l)if(c!=null)f[e]=D(l,c)+d;else{let n=`--un-${t}-opacity`,r=D(l,`var(${n})`);r.includes(n)&&(f[n]=1),f[e]=r+d}if(r?.(f)!==!1)return f}}function Jn(e,t){let n=[];e=c(e);for(let r=0;r<e.length;r++){let i=gt(e[r],` `,6);if(!i||i.length<3)return e;let a=!1,o=i.indexOf(`inset`);o!==-1&&(i.splice(o,1),a=!0);let s=``,c=i.at(-1);if(E(i.at(0))){let e=E(i.shift());e&&(s=`, ${D(e)}`)}else if(E(c)){let e=E(i.pop());e&&(s=`, ${D(e)}`)}else c&&c.startsWith(`var(`)&&(s=`, ${i.pop()}`);n.push(`${a?`inset `:``}${i.join(` `)} var(${t}${s})`)}return n}function Yn(e,t,n){return e!=null&&!!qn(e,t,n)?.color}let Xn=/[a-z]+/gi,Zn=new WeakMap;function z({theme:e,generator:t},n=`breakpoints`){let r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(Zn.has(e))return Zn.get(e);let i=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(Xn,``))-Number.parseInt(t[1].replace(Xn,``))).map(([e,t])=>({point:e,size:t}));return Zn.set(e,i),i}function Qn(e){return z(e,`verticalBreakpoints`)}function B(e,t){return P.map(n=>[`${e}-${n}`,{[t??e]:n}])}function V(e){return e!=null&&mn.test(e)}function $n(e){return e[0]===`[`&&e.slice(-1)===`]`&&(e=e.slice(1,-1)),mn.test(e)||gn.test(e)}function er(e,t,n){let r=t.split(xn);return e||!e&&r.length===1?dn[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${fn[t]}`,e])}var H=Be({CONTROL_MINI_NO_NEGATIVE:()=>Un,colorResolver:()=>R,colorableShadows:()=>Jn,cornerMap:()=>un,cssMathFnRE:()=>mn,cssVarFnRE:()=>hn,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>Hn,hasParseableColor:()=>Yn,insetMap:()=>ln,isCSSMathFn:()=>V,isSize:()=>$n,makeGlobalStaticRules:()=>B,parseColor:()=>qn,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>Qn,splitShorthand:()=>Kn,transformXYZ:()=>er,valueHandlers:()=>Sn,xyzArray:()=>fn,xyzMap:()=>dn});He(H,pt);var U=Be({CONTROL_MINI_NO_NEGATIVE:()=>Un,colorResolver:()=>R,colorableShadows:()=>Jn,cornerMap:()=>un,cssMathFnRE:()=>mn,cssVarFnRE:()=>hn,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>Hn,hasParseableColor:()=>Yn,insetMap:()=>ln,isCSSMathFn:()=>V,isSize:()=>$n,makeGlobalStaticRules:()=>B,parseColor:()=>qn,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>Qn,splitShorthand:()=>Kn,transformXYZ:()=>er,valueHandlers:()=>Sn,xyzArray:()=>fn,xyzMap:()=>dn});He(U,H);let tr=/@media \(min-width: (.+)\)/,nr=[[/^__container$/,(e,t)=>{let{theme:n,variantHandlers:r}=t,i=n.container?.padding,a;a=d(i)?i:i?.DEFAULT;let o=n.container?.maxWidth,s;for(let e of r){let n=e.handle?.({},e=>e)?.parent;if(d(n)){let e=n.match(tr)?.[1];if(e){let n=(z(t)??[]).find(t=>t.size===e)?.point;o?n&&(s=o?.[n]):s=e,n&&!d(i)&&(a=i?.[n]??a)}}}let c={"max-width":s};return r.length||(c.width=`100%`),n.container?.center&&(c[`margin-left`]=`auto`,c[`margin-right`]=`auto`),i&&(c[`padding-left`]=a,c[`padding-right`]=a),c},{internal:!0}]],rr=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(z(t)??[]).map(e=>e.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}let r=n.map(e=>`${e}:__container`);return e||r.unshift(`__container`),r}]],ir={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(P.map(e=>[e,e]))},ar=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ir[e]??I.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ir).join(`|`)})`,`(vertical|align|v)-<percentage>`]}]],or=[`center`,`left`,`right`,`justify`,`start`,`end`],sr=[...or.map(e=>[`text-${e}`,{"text-align":e}]),...[...P,...or].map(e=>[`text-align-${e}`,{"text-align":e}])],cr=[[/^outline-(?:width-|size-)?(.+)$/,lr,{autocomplete:`outline-(width|size)-<num>`}],[/^outline-(?:color-)?(.+)$/,ur,{autocomplete:`outline-$colors`}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}),{autocomplete:`outline-(offset)-<num>`}],[`outline`,{"outline-style":`solid`}],...[`auto`,`dashed`,`dotted`,`double`,`hidden`,`solid`,`groove`,`ridge`,`inset`,`outset`,...P].map(e=>[`outline-${e}`,{"outline-style":e}]),[`outline-none`,{outline:`2px solid transparent`,"outline-offset":`2px`}]];function lr([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function ur(e,t){return V(I.bracket(e[1]))?lr(e,t):R(`outline-color`,`outline-color`,`borderColor`)(e,t)}let dr=[[`appearance-auto`,{"-webkit-appearance":`auto`,appearance:`auto`}],[`appearance-none`,{"-webkit-appearance":`none`,appearance:`none`}]];function fr(e){return I.properties.auto.global(e)??{contents:`contents`,scroll:`scroll-position`}[e]}let pr=[[/^will-change-(.+)/,([,e])=>({"will-change":fr(e)})]],mr=[`solid`,`dashed`,`dotted`,`double`,`hidden`,`none`,`groove`,`ridge`,`inset`,`outset`,...P],hr=[[/^(?:border|b)()(?:-(.+))?$/,W,{autocomplete:`(border|b)-<directions>`}],[/^(?:border|b)-([xy])(?:-(.+))?$/,W],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,W],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,W],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,W],[/^(?:border|b)-()(?:width|size)-(.+)$/,W,{autocomplete:[`(border|b)-<num>`,`(border|b)-<directions>-<num>`]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-()(?:color-)?(.+)$/,vr,{autocomplete:[`(border|b)-$colors`,`(border|b)-<directions>-$colors`]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,vr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,vr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,vr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,vr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,yr,{autocomplete:`(border|b)-(op|opacity)-<percent>`}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,yr],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,yr],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,yr],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,yr],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,br,{autocomplete:[`(border|b)-(rounded|rd)`,`(border|b)-(rounded|rd)-$borderRadius`,`(rounded|rd)`,`(rounded|rd)-$borderRadius`]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,br],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,br],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,br],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,br],[/^(?:border|b)-(?:style-)?()(.+)$/,xr,{autocomplete:[`(border|b)-style`,`(border|b)-(${mr.join(`|`)})`,`(border|b)-<directions>-style`,`(border|b)-<directions>-(${mr.join(`|`)})`,`(border|b)-<directions>-style-(${mr.join(`|`)})`,`(border|b)-style-(${mr.join(`|`)})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,xr],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,xr],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,xr],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,xr]];function gr(e,t,n){if(t!=null)return{[`border${n}-color`]:D(e,t)};if(n===``){let t={},n=`--un-border-opacity`,r=D(e,`var(${n})`);return r.includes(n)&&(t[n]=typeof e==`string`?1:Tt(e)),t[`border-color`]=r,t}else{let t={},r=`--un-border-opacity`,i=`--un-border${n}-opacity`,a=D(e,`var(${i})`);return a.includes(i)&&(t[r]=typeof e==`string`?1:Tt(e),t[i]=`var(${r})`),t[`border${n}-color`]=a,t}}function _r(e){return([,t],n)=>{let r=qn(t,n,`borderColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(o)return gr(o,i,e);if(a)return gr(a,i,e)}}function W([,e=``,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.global.px(t||`1`);if(e in M&&r!=null)return M[e].map(e=>[`border${e}-width`,r])}function vr([,e=``,t],n){if(e in M){if(V(I.bracket(t)))return W([``,e,t],n);if(Yn(t,n.theme,`borderColor`))return Object.assign({},...M[e].map(e=>_r(e)([``,t],n.theme)))}}function yr([,e=``,t]){let n=I.bracket.percent.cssvar(t);if(e in M&&n!=null)return M[e].map(e=>[`--un-border${e}-opacity`,n])}function br([,e=``,t],{theme:n}){let r=n.borderRadius?.[t||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(t||`1`);if(e in un&&r!=null)return un[e].map(e=>[`border${e}-radius`,r])}function xr([,e=``,t]){if(mr.includes(t)&&e in M)return M[e].map(e=>[`border${e}-style`,t])}let Sr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:I.bracket.percent.cssvar(e)})]],Cr=/^\[url\(.+\)\]$/,wr=/^\[(?:length|size):.+\]$/,Tr=/^\[position:.+\]$/,Er=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Dr=/^\[image:.+\]$/,Or=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Cr.test(t))return{"--un-url":I.bracket(t),"background-image":`var(--un-url)`};if(wr.test(t)&&I.bracketOfLength(t)!=null)return{"background-size":I.bracketOfLength(t).split(` `).map(e=>I.fraction.auto.px.cssvar(e)??e).join(` `)};if(($n(t)||Tr.test(t))&&I.bracketOfPosition(t)!=null)return{"background-position":I.bracketOfPosition(t).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)};if(Er.test(t)||Dr.test(t)){let e=I.bracket(t);if(e)return{"background-image":(e.startsWith(`http`)?`url(${e})`:I.cssvar(e))??e}}return R(`background-color`,`bg`,`backgroundColor`)(...e)},{autocomplete:`bg-$colors`}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`bg-(op|opacity)-<percent>`}]],kr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Ar=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??`inline-size`,"container-name":e})]],jr=[`solid`,`double`,`dotted`,`dashed`,`wavy`,...P],Mr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:`decoration-(underline|overline|line-through)`}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Nr,{autocomplete:`(underline|decoration)-<num>`}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:`(underline|decoration)-(auto|from-font)`}],[/^(?:underline|decoration)-(.+)$/,Pr,{autocomplete:`(underline|decoration)-$colors`}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(underline|decoration)-(op|opacity)-<percent>`}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??I.auto.bracket.cssvar.global.px(e)}),{autocomplete:`(underline|decoration)-(offset)-<num>`}],...jr.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...jr.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),[`no-underline`,{"text-decoration":`none`}],[`decoration-none`,{"text-decoration":`none`}]];function Nr([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function Pr(e,t){if(V(I.bracket(e[1])))return Nr(e,t);let n=R(`text-decoration-color`,`line`,`borderColor`)(e,t);if(n)return{"-webkit-text-decoration-color":n[`text-decoration-color`],...n}}let Fr=[[`flex`,{display:`flex`}],[`inline-flex`,{display:`inline-flex`}],[`flex-inline`,{display:`inline-flex`}],[/^flex-(.*)$/,([,e])=>({flex:I.bracket(e)==null?I.cssvar.fraction(e):I.bracket(e).split(` `).map(e=>I.cssvar.fraction(e)??e).join(` `)})],[`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":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-shrink-<num>`,`shrink-<num>`]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=``])=>({"flex-grow":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-grow-<num>`,`grow-<num>`]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??I.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`}]],Ir={"":``,x:`column-`,y:`row-`,col:`column-`,row:`row-`};function Lr([,e=``,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.global.rem(t);if(r!=null)return{[`${Ir[e]}gap`]:r}}let Rr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Lr,{autocomplete:[`gap-$spacing`,`gap-<num>`]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Lr,{autocomplete:[`gap-(x|y)-$spacing`,`gap-(x|y)-<num>`]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Lr,{autocomplete:[`gap-(col|row)-$spacing`,`gap-(col|row)-<num>`]}]];function G(e){return e.replace(`col`,`column`)}function zr(e){return e[0]===`r`?`Row`:`Column`}function Br(e,t,n){let r=t[`gridAuto${zr(e)}`]?.[n];if(r!=null)return r;switch(n){case`min`:return`min-content`;case`max`:return`max-content`;case`fr`:return`minmax(0,1fr)`}return I.bracket.cssvar.auto.rem(n)}let Vr=[[`grid`,{display:`grid`}],[`inline-grid`,{display:`inline-grid`}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:n})=>({[`grid-${G(e)}`]:n[`grid${zr(e)}`]?.[t]??I.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t===`full`)return{[`grid-${G(e)}`]:`1/-1`};let n=I.bracket.number(t);if(n!=null)return{[`grid-${G(e)}`]:`span ${n}/span ${n}`}},{autocomplete:`(grid-row|grid-col|row|col)-span-<num>`}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${G(e)}-start`]:I.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${G(e)}-end`]:I.bracket.cssvar(t)??t}),{autocomplete:`(grid-row|grid-col|row|col)-(start|end)-<num>`}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-auto-${G(e)}`]:Br(e,n,t)}),{autocomplete:`(grid-auto|auto)-(rows|cols)-<num>`}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":I.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":G(e).replace(`-`,` `)}),{autocomplete:[`(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)`]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-template-${G(e)}`]:n[`gridTemplate${zr(e)}`]?.[t]??I.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:`(grid-rows|grid-cols|rows|cols)-<num>`}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e==null?{"grid-area":I.bracket.cssvar(t)}:{"grid-template-areas":I.cssvar(t)??t.split(`-`).map(e=>`"${I.bracket(e)}"`).join(` `)}],[`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`}]],Hr=[`auto`,`hidden`,`clip`,`visible`,`scroll`,`overlay`,...P],Ur=[[/^(?:overflow|of)-(.+)$/,([,e])=>Hr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Hr.join(`|`)})`,`(overflow|of)-(x|y)-(${Hr.join(`|`)})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Hr.includes(t)?{[`overflow-${e}`]:t}:void 0]],Wr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:[`(position|pos)-<position>`,`(position|pos)-<globalKeyword>`,`<position>`]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>P.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Gr=[[`justify-start`,{"justify-content":`flex-start`}],[`justify-end`,{"justify-content":`flex-end`}],[`justify-center`,{"justify-content":`center`}],[`justify-between`,{"justify-content":`space-between`}],[`justify-around`,{"justify-content":`space-around`}],[`justify-evenly`,{"justify-content":`space-evenly`}],[`justify-stretch`,{"justify-content":`stretch`}],[`justify-left`,{"justify-content":`left`}],[`justify-right`,{"justify-content":`right`}],[`justify-center-safe`,{"justify-content":`safe center`}],[`justify-end-safe`,{"justify-content":`safe flex-end`}],[`justify-normal`,{"justify-content":`normal`}],...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`}],[`justify-items-center-safe`,{"justify-items":`safe center`}],[`justify-items-end-safe`,{"justify-items":`safe flex-end`}],...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`}],[`justify-self-baseline`,{"justify-self":`baseline`}],[`justify-self-center-safe`,{"justify-self":`safe center`}],[`justify-self-end-safe`,{"justify-self":`safe flex-end`}],...B(`justify-self`)],Kr=[[/^order-(.+)$/,([,e])=>({order:I.bracket.cssvar.number(e)})],[`order-first`,{order:`-9999`}],[`order-last`,{order:`9999`}],[`order-none`,{order:`0`}]],qr=[[`content-center`,{"align-content":`center`}],[`content-start`,{"align-content":`flex-start`}],[`content-end`,{"align-content":`flex-end`}],[`content-between`,{"align-content":`space-between`}],[`content-around`,{"align-content":`space-around`}],[`content-evenly`,{"align-content":`space-evenly`}],[`content-baseline`,{"align-content":`baseline`}],[`content-center-safe`,{"align-content":`safe center`}],[`content-end-safe`,{"align-content":`safe flex-end`}],[`content-stretch`,{"align-content":`stretch`}],[`content-normal`,{"align-content":`normal`}],...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`}],[`items-baseline-last`,{"align-items":`last baseline`}],[`items-center-safe`,{"align-items":`safe center`}],[`items-end-safe`,{"align-items":`safe flex-end`}],...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`}],[`self-baseline-last`,{"align-self":`last baseline`}],[`self-center-safe`,{"align-self":`safe center`}],[`self-end-safe`,{"align-self":`safe flex-end`}],...B(`self`,`align-self`)],Jr=[[`place-content-center`,{"place-content":`center`}],[`place-content-start`,{"place-content":`start`}],[`place-content-end`,{"place-content":`end`}],[`place-content-between`,{"place-content":`space-between`}],[`place-content-around`,{"place-content":`space-around`}],[`place-content-evenly`,{"place-content":`space-evenly`}],[`place-content-stretch`,{"place-content":`stretch`}],[`place-content-baseline`,{"place-content":`baseline`}],[`place-content-center-safe`,{"place-content":`safe center`}],[`place-content-end-safe`,{"place-content":`safe flex-end`}],...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`}],[`place-items-baseline`,{"place-items":`baseline`}],[`place-items-center-safe`,{"place-items":`safe center`}],[`place-items-end-safe`,{"place-items":`safe flex-end`}],...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`}],[`place-self-center-safe`,{"place-self":`safe center`}],[`place-self-end-safe`,{"place-self":`safe flex-end`}],...B(`place-self`)],Yr=[...Gr,...qr,...Jr].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Xr(e,{theme:t}){return t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e)}function Zr([,e,t],n){let r=Xr(t,n);if(r!=null&&e in ln)return ln[e].map(e=>[e.slice(1),r])}let Qr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Xr(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)-(.+)$/,Zr],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Zr],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Zr],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Zr],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Zr],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],n)=>({[e]:Xr(t,n)})]],$r=[[`float-left`,{float:`left`}],[`float-right`,{float:`right`}],[`float-start`,{float:`inline-start`}],[`float-end`,{float:`inline-end`}],[`float-none`,{float:`none`}],...B(`float`),[`clear-left`,{clear:`left`}],[`clear-right`,{clear:`right`}],[`clear-both`,{clear:`both`}],[`clear-start`,{clear:`inline-start`}],[`clear-end`,{clear:`inline-end`}],[`clear-none`,{clear:`none`}],...B(`clear`)],ei=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":I.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??I.bracket.cssvar.global.auto.number(e)}),{autocomplete:`z-<num>`}]],ti=[[`box-border`,{"box-sizing":`border-box`}],[`box-content`,{"box-sizing":`content-box`}],...B(`box`,`box-sizing`)],ni=[[/^(where|\?)$/,(e,{constructCSS:t,generator:n})=>{if(n.userConfig.envMode===`dev`)return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:`__un_qm 0.5s ease-in-out alternate infinite`})}`}]],ri=`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`.split(`.`),ii=[`none`,`strict`,`content`,`size`,`inline-size`,`layout`,`style`,`paint`],ai=[[`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:I.bracket.cssvar.global(e)})]],oi=[[`visible`,{visibility:`visible`}],[`invisible`,{visibility:`hidden`}],[`backface-visible`,{"backface-visibility":`visible`}],[`backface-hidden`,{"backface-visibility":`hidden`}],...B(`backface`,`backface-visibility`)],si=[[/^cursor-(.+)$/,([,e])=>({cursor:I.bracket.cssvar.global(e)})],...ri.map(e=>[`cursor-${e}`,{cursor:e}])],ci=[[/^contain-(.*)$/,([,e])=>I.bracket(e)==null?ii.includes(e)?{contain:e}:void 0:{contain:I.bracket(e).split(` `).map(e=>I.cssvar.fraction(e)??e).join(` `)}]],li=[[`pointer-events-auto`,{"pointer-events":`auto`}],[`pointer-events-none`,{"pointer-events":`none`}],...B(`pointer-events`)],ui=[[`resize-x`,{resize:`horizontal`}],[`resize-y`,{resize:`vertical`}],[`resize`,{resize:`both`}],[`resize-none`,{resize:`none`}],...B(`resize`)],di=[[`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`)],fi=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`,...P].includes(e)?{"white-space":e}:void 0,{autocomplete:`(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)`}]],pi=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:`block-size`,inline:`inline-size`,w:`width`,h:`height`}[e]??`size`}`]:I.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:[`intrinsic-size-<num>`,`intrinsic-<num>`,`intrinsic-(block|inline|w|h)-<num>`]}],[`content-visibility-visible`,{"content-visibility":`visible`}],[`content-visibility-hidden`,{"content-visibility":`hidden`}],[`content-visibility-auto`,{"content-visibility":`auto`}],...B(`content-visibility`)],mi=[[/^content-(.+)$/,([,e])=>({content:I.bracket.cssvar(e)})],[`content-empty`,{content:`""`}],[`content-none`,{content:`none`}]],hi=[[`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`}]],gi=[[`text-wrap`,{"text-wrap":`wrap`}],[`text-nowrap`,{"text-wrap":`nowrap`}],[`text-balance`,{"text-wrap":`balance`}],[`text-pretty`,{"text-wrap":`pretty`}]],_i=[[`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`}]],vi=[[`case-upper`,{"text-transform":`uppercase`}],[`case-lower`,{"text-transform":`lowercase`}],[`case-capital`,{"text-transform":`capitalize`}],[`case-normal`,{"text-transform":`none`}],...B(`case`,`text-transform`)],yi=[[`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`}]],bi=[[`antialiased`,{"-webkit-font-smoothing":`antialiased`,"-moz-osx-font-smoothing":`grayscale`}],[`subpixel-antialiased`,{"-webkit-font-smoothing":`auto`,"-moz-osx-font-smoothing":`auto`}]],xi=[[`field-sizing-fixed`,{"field-sizing":`fixed`}],[`field-sizing-content`,{"field-sizing":`content`}]],Si={"--un-ring-inset":` `,"--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)`},Ci=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.ringWidth?.[e||`DEFAULT`]??I.px(e||`1`);if(n)return{"--un-ring-width":n,"--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)`}},{custom:{preflightKeys:Object.keys(Si)},autocomplete:`ring-$ringWidth`}],[/^ring-(?:width-|size-)(.+)$/,wi,{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]??I.bracket.cssvar.px(e)}),{autocomplete:`ring-offset-(width|size)-$lineWidth`}],[/^ring-(.+)$/,Ti,{autocomplete:`ring-$colors`}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-(op|opacity)-<percent>`}],[/^ring-offset-(.+)$/,R(`--un-ring-offset-color`,`ring-offset`,`borderColor`),{autocomplete:`ring-offset-$colors`}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-offset-(op|opacity)-<percent>`}],[`ring-inset`,{"--un-ring-inset":`inset`}]];function wi([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??I.bracket.cssvar.px(e)}}function Ti(e,t){return V(I.bracket(e[1]))?wi(e,t):R(`--un-ring-color`,`ring`,`borderColor`)(e,t)}let Ei={"--un-ring-offset-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-ring-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-shadow-inset":` `,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Di=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,n]=e,{theme:r}=t,i=r.boxShadow?.[n||`DEFAULT`],a=n?I.bracket.cssvar(n):void 0;return(i!=null||a!=null)&&!Yn(a,r,`shadowColor`)?{"--un-shadow":Jn(i||a,`--un-shadow-color`).join(`,`),"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}:R(`--un-shadow-color`,`shadow`,`shadowColor`)(e,t)},{custom:{preflightKeys:Object.keys(Ei)},autocomplete:[`shadow-$colors`,`shadow-$boxShadow`]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}],[`shadow-inset`,{"--un-shadow-inset":`inset`}]],Oi={h:`height`,w:`width`,inline:`inline-size`,block:`block-size`};function K(e,t){return`${e||``}${Oi[t]}`}function ki(e,t,n,r){let i=n[K(e,t).replace(/-(\w)/g,(e,t)=>t.toUpperCase())]?.[r];if(i!=null)return i;switch(r){case`fit`:case`max`:case`min`:return`${r}-content`;case`stretch`:return`stretch`}return I.bracket.cssvar.global.auto.fraction.rem(r)}let Ai=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[K(e,`w`)]:ki(e,`w`,n,t),[K(e,`h`)]:ki(e,`h`,n,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:ki(e,t,r,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:ki(e,t,r,n)}),{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,n],r)=>({[K(e,t)]:ji(r,n,`verticalBreakpoints`)})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:ji(r,n)}),{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 ji(e,t,n=`breakpoints`){let r=z(e,n);if(r)return r.find(e=>e.point===t)?.size}function Mi(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case`square`:return`1/1`;case`video`:return`16/9`}return I.bracket.cssvar.global.auto.number(e)}let Ni=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Mi(e)}),{autocomplete:[`aspect-(square|video|ratio)`,`aspect-ratio-(square|video)`]}]],Pi=[[/^pa?()-?(.+)$/,L(`padding`),{autocomplete:[`(m|p)<num>`,`(m|p)-<num>`]}],[/^p-?xy()()$/,L(`padding`),{autocomplete:`(m|p)-(xy)`}],[/^p-?([xy])(?:-?(.+))?$/,L(`padding`)],[/^p-?([rltbse])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)<directions>-<num>`}],[/^p-(block|inline)(?:-(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(block|inline)-<num>`}],[/^p-?([bi][se])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(bs|be|is|ie)-<num>`}]],Fi=[[/^ma?()-?(.+)$/,L(`margin`)],[/^m-?xy()()$/,L(`margin`)],[/^m-?([xy])(?:-?(.+))?$/,L(`margin`)],[/^m-?([rltbse])(?:-?(.+))?$/,L(`margin`)],[/^m-(block|inline)(?:-(.+))?$/,L(`margin`)],[/^m-?([bi][se])(?:-?(.+))?$/,L(`margin`)]],Ii=[[/^fill-(.+)$/,R(`fill`,`fill`,`backgroundColor`),{autocomplete:`fill-$colors`}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`fill-(op|opacity)-<percent>`}],[`fill-none`,{fill:`none`}],[/^stroke-(?:width-|size-)?(.+)$/,Li,{autocomplete:[`stroke-width-$lineWidth`,`stroke-size-$lineWidth`]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":I.bracket.cssvar.number(e)}),{autocomplete:`stroke-dash-<num>`}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??I.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:`stroke-offset-$lineWidth`}],[/^stroke-(.+)$/,Ri,{autocomplete:`stroke-$colors`}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":I.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 Li([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??I.bracket.cssvar.fraction.px.number(e)}}function Ri(e,t){return V(I.bracket(e[1]))?Li(e,t):R(`stroke`,`stroke`,`borderColor`)(e,t)}let zi=[`translate`,`rotate`,`scale`],Bi=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`rotate(var(--un-rotate))`,`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))`].join(` `),q=[`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(` `),Vi=[`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(` `),Hi={"--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},J=Object.keys(Hi),Ui=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":N[e]??I.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(N).join(`|`)})`,`origin-(${Object.keys(N).join(`|`)})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t])=>{let n=I.bracket.cssvar.px.numberWithUnit(t);if(n!=null)return e?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${q}`}:{"-webkit-perspective":n,perspective:n}}],[/^perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=I.bracket.cssvar(e)??(e.length>=3?N[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Wi,{custom:{preflightKeys:J}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Wi,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-()(.+)$/,Ki,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ki,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-()(.+)$/,qi,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-([xy])-(.+)$/,qi,{custom:{preflightKeys:J},autocomplete:[`transform-skew-(x|y)-<percent>`,`skew-(x|y)-<percent>`]}],[/^(?:transform-)?scale-()(.+)$/,Gi,{custom:{preflightKeys:J}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Gi,{custom:{preflightKeys:J},autocomplete:[`transform-(${zi.join(`|`)})-<percent>`,`transform-(${zi.join(`|`)})-(x|y|z)-<percent>`,`(${zi.join(`|`)})-<percent>`,`(${zi.join(`|`)})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":`preserve-3d`})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":`flat`})],[`transform`,{transform:q},{custom:{preflightKeys:J}}],[`transform-cpu`,{transform:Bi},{custom:{preflightKeys:[`--un-translate-x`,`--un-translate-y`,`--un-rotate`,`--un-rotate-z`,`--un-skew-x`,`--un-skew-y`,`--un-scale-x`,`--un-scale-y`]}}],[`transform-gpu`,{transform:Vi},{custom:{preflightKeys:J}}],[`transform-none`,{transform:`none`}],...B(`transform`)];function Wi([,e,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.fraction.rem(t);if(r!=null)return[...er(e,r,`translate`),[`transform`,q]]}function Gi([,e,t]){let n=I.bracket.cssvar.fraction.percent(t);if(n!=null)return[...er(e,n,`scale`),[`transform`,q]]}function Ki([,e=``,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:n,transform:q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":n,transform:q}}function qi([,e,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return[...er(e,n,`skew`),[`transform`,q]]}function Ji(e,t){let n;if(I.cssvar(e)!=null)n=I.cssvar(e);else{e.startsWith(`[`)&&e.endsWith(`]`)&&(e=e.slice(1,-1));let r=e.split(`,`).map(e=>t.transitionProperty?.[e]??I.properties(e));r.every(Boolean)&&(n=r.join(`,`))}return n}let Yi=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{if(!e&&!t)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.DEFAULT??I.time(`150`)};if(e!=null){let r=Ji(e,n),i=n.duration?.[t||`DEFAULT`]??I.time(t||`150`);if(r)return{"transition-property":r,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":i}}else if(t!=null)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.[t]??I.time(t)}},{autocomplete:`transition-$transitionProperty-$duration`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-duration-$duration`,`duration-$duration`]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-delay-$duration`,`delay-$duration`]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`transition-ease-(linear|in|out|in-out|DEFAULT)`,`ease-(linear|in|out|in-out|DEFAULT)`]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let n=I.global(e)||Ji(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...P].join(`|`)})`,`transition-property-$transitionProperty`,`property-$transitionProperty`]}],[`transition-none`,{transition:`none`}],...B(`transition`),[`transition-discrete`,{"transition-behavior":`allow-discrete`}],[`transition-normal`,{"transition-behavior":`normal`}]],Xi=[[/^text-(.+)$/,ia,{autocomplete:`text-$fontSize`}],[/^(?:text|font)-size-(.+)$/,na,{autocomplete:`text-size-$fontSize`}],[/^text-(?:color-)?(.+)$/,ra,{autocomplete:`text-$colors`}],[/^(?:color|c)-(.+)$/,R(`color`,`text`,`textColor`),{autocomplete:`(color|c)-$colors`}],[/^(?:text|color|c)-(.+)$/,([,e])=>P.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${P.join(`|`)})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(text|color|c)-(op|opacity)-<percent>`}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||I.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":ta(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":I.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`tracking-$letterSpacing`}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`word-spacing-$wordSpacing`}],[`font-stretch-normal`,{"font-stretch":`normal`}],[`font-stretch-ultra-condensed`,{"font-stretch":`ultra-condensed`}],[`font-stretch-extra-condensed`,{"font-stretch":`extra-condensed`}],[`font-stretch-condensed`,{"font-stretch":`condensed`}],[`font-stretch-semi-condensed`,{"font-stretch":`semi-condensed`}],[`font-stretch-semi-expanded`,{"font-stretch":`semi-expanded`}],[`font-stretch-expanded`,{"font-stretch":`expanded`}],[`font-stretch-extra-expanded`,{"font-stretch":`extra-expanded`}],[`font-stretch-ultra-expanded`,{"font-stretch":`ultra-expanded`}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":I.bracket.cssvar.fraction.global(e)}),{autocomplete:`font-stretch-<percentage>`}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||I.bracket.cssvar.global(e)}),{autocomplete:`font-$fontFamily`}]],Zi=[[/^tab(?:-(.+))?$/,([,e])=>{let t=I.bracket.cssvar.global.number(e||`4`);if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Qi=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:`indent-$textIndent`}]],$i=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)}),{autocomplete:`text-stroke-$textStrokeWidth`}],[/^text-stroke-(.+)$/,R(`-webkit-text-stroke-color`,`text-stroke`,`borderColor`),{autocomplete:`text-stroke-$colors`}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-stroke-(op|opacity)-<percent>`}]],ea=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.textShadow?.[e||`DEFAULT`];return n==null?{"text-shadow":I.bracket.cssvar.global(e)}:{"--un-text-shadow":Jn(n,`--un-text-shadow-color`).join(`,`),"text-shadow":`var(--un-text-shadow)`}},{autocomplete:`text-shadow-$textShadow`}],[/^text-shadow-color-(.+)$/,R(`--un-text-shadow-color`,`text-shadow`,`shadowColor`),{autocomplete:`text-shadow-color-$colors`}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-shadow-color-(op|opacity)-<percent>`}]];function ta(e,t,n){return t[n]?.[e]||I.bracket.cssvar.global.rem(e)}function na([,e],{theme:t}){let n=c(t.fontSize?.[e])?.[0]??I.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function ra(e,t){return V(I.bracket(e[1]))?na(e,t):R(`color`,`text`,`textColor`)(e,t)}function ia([,e=`base`],{theme:t}){let n=Kn(e,`length`);if(!n)return;let[r,i]=n,a=c(t.fontSize?.[r]),o=i?ta(i,t,`lineHeight`):void 0;if(a?.[0]){let[e,n,r]=a;return typeof n==`object`?{"font-size":e,...n}:{"font-size":e,"line-height":o??n??`1`,"letter-spacing":r?ta(r,t,`letterSpacing`):void 0}}let s=I.bracketOfLength.rem(r);return o&&s?{"font-size":s,"line-height":o}:{"font-size":I.bracketOfLength.rem(e)}}let aa={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`},oa=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=aa[e];if(n)return{[n]:I.cssvar(t)}}]],sa=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(`:`))return;let[n,...r]=t.split(`:`),i=r.join(`:`);if(!la(t)&&/^[\w-]+$/.test(n)&&ca(i)){let e=I.bracket(`[${i}]`);if(e)return{[n]:e}}}]];function ca(e){let t=0;function n(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let r=e[t];if(`"\`'`.includes(r)){if(!n(r))return!1}else if(r===`(`){if(!n(`)`))return!1}else if(`[]{}:`.includes(r))return!1}return!0}function la(e){if(!e.includes(`://`))return!1;try{return new URL(e).host!==``}catch{return!1}}let ua=[oa,sa,ci,li,oi,Wr,Qr,ei,Kr,Vr,$r,Fi,ti,ai,Ni,Ai,Fr,Ui,si,di,ui,dr,Jr,qr,Gr,Rr,Yr,Ur,_i,fi,hi,hr,Or,kr,Ii,Pi,sr,Qi,gi,ar,Xi,vi,yi,Mr,bi,Zi,$i,ea,Sr,Di,cr,Ci,Yi,pr,pi,mi,Ar,xi,ni].flat(1),da=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let n=t.animation?.keyframes?.[e];if(n)return[`@keyframes ${e}${n}`,{animation:e}]},{autocomplete:[`animate-keyframes-$animation.keyframes`,`keyframes-$animation.keyframes`]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let n=t.animation?.keyframes?.[e];if(n){let r=t.animation?.durations?.[e]??`1s`,i=t.animation?.timingFns?.[e]??`linear`,a=t.animation?.counts?.[e]??1,o=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${i} ${a}`,...o}]}return{animation:I.bracket.cssvar(e)}},{autocomplete:`animate-$animation.keyframes`}],[/^animate-name-(.+)/,([,e])=>({"animation-name":I.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-duration`,`animate-duration-$duration`]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-delay`,`animate-delay-$duration`]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`animate-ease`,`animate-ease-$easing`]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>[`none`,`forwards`,`backwards`,`both`,e?P:[]].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?P:[]].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":I.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?P:[]].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 fa(e){return e?D(e,0):`rgb(255 255 255 / 0)`}function pa(e,t,n,r){return t?r==null?D(t,`var(--un-${e}-opacity, ${Tt(t)})`):D(t,r):D(n,r)}function ma(){return([,e,t],{theme:n})=>{let r=qn(t,n,`backgroundColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(!a)return;let s=pa(e,o,a,i);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":`${fa(o)} 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":fa(o),"--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 ha(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(I.bracket.cssvar.percent(t))*100}%`})}let ga=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":I.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":I.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ma()],[/^(?:bg-gradient-)?(via)-(.+)$/,ma()],[/^(?:bg-gradient-)?(to)-(.+)$/,ma()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:I.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,ha()],[/^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 N)return{"--un-gradient-shape":`to ${N[e]} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`,"background-image":`linear-gradient(var(--un-gradient))`}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(e=>e.length<=2&&Array.from(e).every(e=>`rltb`.includes(e))).join(`|`)})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in N?`to ${N[e]}`:I.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`}},{autocomplete:[`bg-gradient-shape`,`bg-gradient-shape-(${Object.keys(N).join(`|`)})`,`shape-(${Object.keys(N).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`}],...P.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":N[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`)],_a={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`},va=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let n=_a[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(_a).join(`|`)})`,`list-(${Object.keys(_a).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":I.bracket(e)}}],[`list-image-none`,{"list-style-image":`none`}],...B(`list`,`list-style-type`)],ya=[[/^accent-(.+)$/,R(`accent-color`,`accent`,`accentColor`),{autocomplete:`accent-$colors`}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":I.bracket.percent(e)}),{autocomplete:[`accent-(op|opacity)`,`accent-(op|opacity)-<percent>`]}]],ba=[[/^caret-(.+)$/,R(`caret-color`,`caret`,`textColor`),{autocomplete:`caret-$colors`}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":I.bracket.percent(e)}),{autocomplete:[`caret-(op|opacity)`,`caret-(op|opacity)-<percent>`]}]],xa=[[`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`]]]],Sa=[[`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`)],Ca=[[`scroll-auto`,{"scroll-behavior":`auto`}],[`scroll-smooth`,{"scroll-behavior":`smooth`}],...B(`scroll`,`scroll-behavior`)],wa=[[/^columns-(.+)$/,([,e],{theme:t})=>t.containers&&e in t.containers?{columns:t.containers[e]}:{columns:I.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:[`columns-<num>`,`columns-$containers`]}],[`columns-auto`,{columns:`auto`}],[`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`)],Ta=[[/^divide-?([xy])$/,Ea,{autocomplete:[`divide-(x|y|block|inline)`,`divide-(x|y|block|inline)-reverse`,`divide-(x|y|block|inline)-$lineWidth`]}],[/^divide-?([xy])-?(.+)$/,Ea],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ea],[/^divide-(block|inline)-(.+)$/,Ea],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,R(`border-color`,`divide`,`borderColor`),{autocomplete:`divide-$colors`}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":I.bracket.percent(e)}),{autocomplete:[`divide-(op|opacity)`,`divide-(op|opacity)-<percent>`]}],...mr.map(e=>[`divide-${e}`,{"border-style":e}])];function Ea([,e,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.px(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`border${t}-width`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-divide-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-divide-${e}-reverse)))`]);if(t)return[[`--un-divide-${e}-reverse`,0],...t]}}let Da={"--un-blur":` `,"--un-brightness":` `,"--un-contrast":` `,"--un-drop-shadow":` `,"--un-grayscale":` `,"--un-hue-rotate":` `,"--un-invert":` `,"--un-saturate":` `,"--un-sepia":` `},Oa=Object.keys(Da),ka={preflightKeys:Oa},Aa=`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)`,ja={"--un-backdrop-blur":` `,"--un-backdrop-brightness":` `,"--un-backdrop-contrast":` `,"--un-backdrop-grayscale":` `,"--un-backdrop-hue-rotate":` `,"--un-backdrop-invert":` `,"--un-backdrop-opacity":` `,"--un-backdrop-saturate":` `,"--un-backdrop-sepia":` `},Ma=Object.keys(ja),Na={preflightKeys:Ma},Pa=`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)`,Y={preflightKeys:[...Oa,...Ma]};function Fa(e){let t=I.bracket.cssvar(e||``);if(t!=null||(t=e?I.percent(e):`1`,t!=null&&Number.parseFloat(t)<=1))return t}function X(e,t){return([,n,r],{theme:i})=>{let a=t(r,i)??(r===`none`?`0`:``);if(a!==``)return n?{[`--un-${n}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":Pa,"backdrop-filter":Pa}:{[`--un-${e}`]:`${e}(${a})`,filter:Aa}}}function Ia([,e],{theme:t}){let n=t.dropShadow?.[e||`DEFAULT`];if(n!=null)return{"--un-drop-shadow":`drop-shadow(${Jn(n,`--un-drop-shadow-color`).join(`) drop-shadow(`)})`,filter:Aa};if(n=I.bracket.cssvar(e),n!=null)return{"--un-drop-shadow":`drop-shadow(${n})`,filter:Aa}}let La=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X(`blur`,(e,t)=>t.blur?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)),{custom:Y,autocomplete:[`(backdrop|filter)-blur-$blur`,`blur-$blur`,`filter-blur`]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X(`brightness`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-brightness-<percent>`,`brightness-<percent>`]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X(`contrast`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-contrast-<percent>`,`contrast-<percent>`]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ia,{custom:ka,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-(.+)$/,R(`--un-drop-shadow-color`,`drop-shadow`,`shadowColor`)],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":I.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X(`grayscale`,Fa),{custom:Y,autocomplete:[`(backdrop|filter)-grayscale`,`(backdrop|filter)-grayscale-<percent>`,`grayscale-<percent>`]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X(`hue-rotate`,e=>I.bracket.cssvar.degree(e)),{custom:Y}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X(`invert`,Fa),{custom:Y,autocomplete:[`(backdrop|filter)-invert`,`(backdrop|filter)-invert-<percent>`,`invert-<percent>`]}],[/^(backdrop-)op(?:acity)?-(.+)$/,X(`opacity`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`backdrop-(op|opacity)`,`backdrop-(op|opacity)-<percent>`]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X(`saturate`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-saturate`,`(backdrop|filter)-saturate-<percent>`,`saturate-<percent>`]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X(`sepia`,Fa),{custom:Y,autocomplete:[`(backdrop|filter)-sepia`,`(backdrop|filter)-sepia-<percent>`,`sepia-<percent>`]}],[`filter`,{filter:Aa},{custom:ka}],[`backdrop-filter`,{"-webkit-backdrop-filter":Pa,"backdrop-filter":Pa},{custom:Na}],[`filter-none`,{filter:`none`}],[`backdrop-filter-none`,{"-webkit-backdrop-filter":`none`,"backdrop-filter":`none`}],...P.map(e=>[`filter-${e}`,{filter:e}]),...P.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Ra=[[/^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`,...P].map(e=>[`line-clamp-${e}`,{overflow:`visible`,display:`block`,"-webkit-box-orient":`horizontal`,"-webkit-line-clamp":e,"line-clamp":e}])],za=[[/^\$ placeholder-(.+)$/,R(`color`,`placeholder`,`accentColor`),{autocomplete:`placeholder-$colors`}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":I.bracket.percent(e)}),{autocomplete:[`placeholder-(op|opacity)`,`placeholder-(op|opacity)-<percent>`]}]],Ba={"--un-scroll-snap-strictness":`proximity`},Va={preflightKeys:Object.keys(Ba)},Ha=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:Va,autocomplete:`snap-(x|y|both)`}],[/^snap-both$/,()=>({"scroll-snap-type":`both var(--un-scroll-snap-strictness)`}),{custom:Va}],[`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?()-?(.+)$/,L(`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])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([rltb])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-(block|inline)-(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([bi][se])-?(.+)$/,L(`scroll-margin`)],[/^scroll-pa?()-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([xy])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([rltb])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-(block|inline)-(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([bi][se])-?(.+)$/,L(`scroll-padding`)]],Ua=[[/^space-([xy])-(.+)$/,Wa,{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)-(.+)$/,Wa],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Wa([,e,t],{theme:n}){let r=n.spacing?.[t||`DEFAULT`]??I.bracket.cssvar.auto.fraction.rem(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`margin${t}`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-space-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-space-${e}-reverse)))`]);if(t)return[[`--un-space-${e}-reverse`,0],...t]}}let Ga=[[`uppercase`,{"text-transform":`uppercase`}],[`lowercase`,{"text-transform":`lowercase`}],[`capitalize`,{"text-transform":`capitalize`}],[`normal-case`,{"text-transform":`none`}]],Ka=[...[`manual`,`auto`,`none`,...P].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],qa=[[`write-vertical-right`,{"writing-mode":`vertical-rl`}],[`write-vertical-left`,{"writing-mode":`vertical-lr`}],[`write-normal`,{"writing-mode":`horizontal-tb`}],...B(`write`,`writing-mode`)],Ja=[[`write-orient-mixed`,{"text-orientation":`mixed`}],[`write-orient-sideways`,{"text-orientation":`sideways`}],[`write-orient-upright`,{"text-orientation":`upright`}],...B(`write-orient`,`text-orientation`)],Ya=[[`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`}]],Xa=[[`isolate`,{isolation:`isolate`}],[`isolate-auto`,{isolation:`auto`}],[`isolation-auto`,{isolation:`auto`}]],Za=[[`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(N[e])return{"object-position":N[e]};if(I.bracketOfPosition(e)!=null)return{"object-position":I.bracketOfPosition(e).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)}},{autocomplete:`object-(${Object.keys(N).join(`|`)})`}]],Qa=[[`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`)],$a=[[`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`)],eo=[[`min-h-dvh`,{"min-height":`100dvh`}],[`min-h-svh`,{"min-height":`100svh`}],[`min-h-lvh`,{"min-height":`100lvh`}],[`h-dvh`,{height:`100dvh`}],[`h-svh`,{height:`100svh`}],[`h-lvh`,{height:`100lvh`}],[`max-h-dvh`,{"max-height":`100dvh`}],[`max-h-svh`,{"max-height":`100svh`}],[`max-h-lvh`,{"max-height":`100lvh`}]],to={"--un-border-spacing-x":0,"--un-border-spacing-y":0},no={preflightKeys:Object.keys(to)},ro=`var(--un-border-spacing-x) var(--un-border-spacing-y)`,io=[[`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 n=t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":ro}},{custom:no,autocomplete:[`border-spacing`,`border-spacing-$spacing`]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:n})=>{let r=n.spacing?.[t]??I.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{[`--un-border-spacing-${e}`]:r,"border-spacing":ro}},{custom:no,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`}]],ao={"--un-pan-x":` `,"--un-pan-y":` `,"--un-pinch-zoom":` `},oo={preflightKeys:Object.keys(ao)},so=`var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)`,co=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":so}),{custom:oo,autocomplete:[`touch-pan`,`touch-pan-(x|left|right|y|up|down)`]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":so}),{custom:oo}],[`touch-pinch-zoom`,{"--un-pinch-zoom":`pinch-zoom`,"touch-action":so},{custom:oo}],[`touch-auto`,{"touch-action":`auto`}],[`touch-manipulation`,{"touch-action":`manipulation`}],[`touch-none`,{"touch-action":`none`}],...B(`touch`,`touch-action`)],lo={"--un-ordinal":` `,"--un-slashed-zero":` `,"--un-numeric-figure":` `,"--un-numeric-spacing":` `,"--un-numeric-fraction":` `},Z={preflightKeys:Object.keys(lo)};function Q(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)`}}let uo=[[/^ordinal$/,()=>Q({"--un-ordinal":`ordinal`}),{custom:Z,autocomplete:`ordinal`}],[/^slashed-zero$/,()=>Q({"--un-slashed-zero":`slashed-zero`}),{custom:Z,autocomplete:`slashed-zero`}],[/^lining-nums$/,()=>Q({"--un-numeric-figure":`lining-nums`}),{custom:Z,autocomplete:`lining-nums`}],[/^oldstyle-nums$/,()=>Q({"--un-numeric-figure":`oldstyle-nums`}),{custom:Z,autocomplete:`oldstyle-nums`}],[/^proportional-nums$/,()=>Q({"--un-numeric-spacing":`proportional-nums`}),{custom:Z,autocomplete:`proportional-nums`}],[/^tabular-nums$/,()=>Q({"--un-numeric-spacing":`tabular-nums`}),{custom:Z,autocomplete:`tabular-nums`}],[/^diagonal-fractions$/,()=>Q({"--un-numeric-fraction":`diagonal-fractions`}),{custom:Z,autocomplete:`diagonal-fractions`}],[/^stacked-fractions$/,()=>Q({"--un-numeric-fraction":`stacked-fractions`}),{custom:Z,autocomplete:`stacked-fractions`}],[`normal-nums`,{"font-variant-numeric":`normal`}]],fo={"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`},po=[oa,[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=fo[e];if(n)return{[n]:I.cssvar(t)}}]],sa,nr,ci,Ya,li,oi,Wr,Qr,Ra,Xa,ei,Kr,Vr,$r,Fi,ti,ai,Ni,Ai,Fr,io,Ui,da,si,co,di,ui,Ha,va,dr,wa,Jr,qr,Gr,Rr,Yr,Ua,Ta,Ur,Sa,Ca,_i,fi,hi,hr,Or,ga,kr,Ii,Za,Pi,sr,Qi,gi,ar,Xi,vi,Ga,yi,uo,Mr,bi,Zi,$i,ea,Ka,qa,Ja,ba,ya,Sr,Qa,$a,Di,cr,Ci,xa,La,Yi,pr,pi,mi,za,Ar,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],eo,xi,ni].flat(1),mo=[...rr],ho={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(ho).forEach(e=>{typeof e!=`string`&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let n=t/100;n===Math.round(n)&&(e[n]=e[t])}))});let go={DEFAULT:`8px`,0:`0`,sm:`4px`,md:`12px`,lg:`16px`,xl:`24px`,"2xl":`40px`,"3xl":`64px`},_o={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)`},vo={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(`,`)},yo={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`]},bo={DEFAULT:`1.5rem`,xs:`0.5rem`,sm:`1rem`,md:`1.5rem`,lg:`2rem`,xl:`2.5rem`,"2xl":`3rem`,"3xl":`4rem`},xo={DEFAULT:`1.5rem`,none:`0`,sm:`thin`,md:`medium`,lg:`thick`},So={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)`]},Co={none:`1`,tight:`1.25`,snug:`1.375`,normal:`1.5`,relaxed:`1.625`,loose:`2`},wo={tighter:`-0.05em`,tight:`-0.025em`,normal:`0em`,wide:`0.025em`,wider:`0.05em`,widest:`0.1em`},To={thin:`100`,extralight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extrabold:`800`,black:`900`},Eo=wo,Do={sm:`640px`,md:`768px`,lg:`1024px`,xl:`1280px`,"2xl":`1536px`},Oo={...Do},ko={DEFAULT:`1px`,none:`0`},Ao={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`},jo={DEFAULT:`150ms`,none:`0s`,75:`75ms`,100:`100ms`,150:`150ms`,200:`200ms`,300:`300ms`,500:`500ms`,700:`700ms`,1e3:`1000ms`},Mo={DEFAULT:`0.25rem`,none:`0`,sm:`0.125rem`,md:`0.375rem`,lg:`0.5rem`,xl:`0.75rem`,"2xl":`1rem`,"3xl":`1.5rem`,full:`9999px`},No={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)`},Po={DEFAULT:`3px`,none:`0`},Fo={auto:`auto`},Io={mouse:`(hover) and (pointer: fine)`},Lo={...Hi,...Ei,...Si},$={xs:`20rem`,sm:`24rem`,md:`28rem`,lg:`32rem`,xl:`36rem`,"2xl":`42rem`,"3xl":`48rem`,"4xl":`56rem`,"5xl":`64rem`,"6xl":`72rem`,"7xl":`80rem`,prose:`65ch`},Ro={auto:`auto`,...$,screen:`100vw`},zo={none:`none`,...$,screen:`100vw`},Bo={auto:`auto`,...$,screen:`100vb`},Vo={auto:`auto`,...$,screen:`100vi`},Ho={auto:`auto`,...$,screen:`100vh`},Uo={none:`none`,...$,screen:`100vh`},Wo={none:`none`,...$,screen:`100vb`},Go={none:`none`,...$,screen:`100vi`},Ko={...$},qo={width:Ro,height:Ho,maxWidth:zo,maxHeight:Uo,minWidth:zo,minHeight:Uo,inlineSize:Vo,blockSize:Bo,maxInlineSize:Go,maxBlockSize:Wo,minInlineSize:Go,minBlockSize:Wo,colors:ho,fontFamily:vo,fontSize:yo,fontWeight:To,breakpoints:Do,verticalBreakpoints:Oo,borderRadius:Mo,lineHeight:Co,letterSpacing:wo,wordSpacing:Eo,boxShadow:No,textIndent:bo,textShadow:So,textStrokeWidth:xo,blur:go,dropShadow:_o,easing:{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)`},transitionProperty:{none:`none`,all:`all`,colors:[`color`,`background-color`,`border-color`,`text-decoration-color`,`fill`,`stroke`].join(`,`),opacity:`opacity`,shadow:`box-shadow`,transform:`transform`,get DEFAULT(){return[this.colors,`opacity`,`box-shadow`,`transform`,`filter`,`backdrop-filter`].join(`,`)}},lineWidth:ko,spacing:Ao,duration:jo,ringWidth:Po,preflightBase:Lo,containers:Ko,zIndex:Fo,media:Io},Jo={...qo,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`},category:{pulse:`Attention Seekers`,bounce:`Attention Seekers`,spin:`Attention Seekers`,ping:`Attention Seekers`,"bounce-alt":`Attention Seekers`,flash:`Attention Seekers`,"pulse-alt":`Attention Seekers`,"rubber-band":`Attention Seekers`,"shake-x":`Attention Seekers`,"shake-y":`Attention Seekers`,"head-shake":`Attention Seekers`,swing:`Attention Seekers`,tada:`Attention Seekers`,wobble:`Attention Seekers`,jello:`Attention Seekers`,"heart-beat":`Attention Seekers`,hinge:`Specials`,"jack-in-the-box":`Specials`,"light-speed-in-left":`Lightspeed`,"light-speed-in-right":`Lightspeed`,"light-speed-out-left":`Lightspeed`,"light-speed-out-right":`Lightspeed`,flip:`Flippers`,"flip-in-x":`Flippers`,"flip-in-y":`Flippers`,"flip-out-x":`Flippers`,"flip-out-y":`Flippers`,"rotate-in":`Rotating Entrances`,"rotate-in-down-left":`Rotating Entrances`,"rotate-in-down-right":`Rotating Entrances`,"rotate-in-up-left":`Rotating Entrances`,"rotate-in-up-right":`Rotating Entrances`,"rotate-out":`Rotating Exits`,"rotate-out-down-left":`Rotating Exits`,"rotate-out-down-right":`Rotating Exits`,"rotate-out-up-left":`Rotating Exits`,"rotate-out-up-right":`Rotating Exits`,"roll-in":`Specials`,"roll-out":`Specials`,"zoom-in":`Zooming Entrances`,"zoom-in-down":`Zooming Entrances`,"zoom-in-left":`Zooming Entrances`,"zoom-in-right":`Zooming Entrances`,"zoom-in-up":`Zooming Entrances`,"zoom-out":`Zooming Exits`,"zoom-out-down":`Zooming Exits`,"zoom-out-left":`Zooming Exits`,"zoom-out-right":`Zooming Exits`,"zoom-out-up":`Zooming Exits`,"bounce-in":`Bouncing Entrances`,"bounce-in-down":`Bouncing Entrances`,"bounce-in-left":`Bouncing Entrances`,"bounce-in-right":`Bouncing Entrances`,"bounce-in-up":`Bouncing Entrances`,"bounce-out":`Bouncing Exits`,"bounce-out-down":`Bouncing Exits`,"bounce-out-left":`Bouncing Exits`,"bounce-out-right":`Bouncing Exits`,"bounce-out-up":`Bouncing Exits`,"slide-in-down":`Sliding Entrances`,"slide-in-left":`Sliding Entrances`,"slide-in-right":`Sliding Entrances`,"slide-in-up":`Sliding Entrances`,"slide-out-down":`Sliding Exits`,"slide-out-left":`Sliding Exits`,"slide-out-right":`Sliding Exits`,"slide-out-up":`Sliding Exits`,"fade-in":`Fading Entrances`,"fade-in-down":`Fading Entrances`,"fade-in-down-big":`Fading Entrances`,"fade-in-left":`Fading Entrances`,"fade-in-left-big":`Fading Entrances`,"fade-in-right":`Fading Entrances`,"fade-in-right-big":`Fading Entrances`,"fade-in-up":`Fading Entrances`,"fade-in-up-big":`Fading Entrances`,"fade-in-top-left":`Fading Entrances`,"fade-in-top-right":`Fading Entrances`,"fade-in-bottom-left":`Fading Entrances`,"fade-in-bottom-right":`Fading Entrances`,"fade-out":`Fading Exits`,"fade-out-down":`Fading Exits`,"fade-out-down-big":`Fading Exits`,"fade-out-left":`Fading Exits`,"fade-out-left-big":`Fading Exits`,"fade-out-right":`Fading Exits`,"fade-out-right-big":`Fading Exits`,"fade-out-up":`Fading Exits`,"fade-out-up-big":`Fading Exits`,"fade-out-top-left":`Fading Exits`,"fade-out-top-right":`Fading Exits`,"fade-out-bottom-left":`Fading Exits`,"fade-out-bottom-right":`Fading Exits`,"back-in-up":`Back Entrances`,"back-in-down":`Back Entrances`,"back-in-right":`Back Entrances`,"back-in-left":`Back Entrances`,"back-out-up":`Back Exits`,"back-out-down":`Back Exits`,"back-out-right":`Back Exits`,"back-out-left":`Back Exits`}},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:{...Hi,...ao,...Ba,...lo,...to,...Ei,...Si,...Da,...ja}},Yo={name:`aria`,match(e,t){let n=(0,U.variantGetParameter)(`aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[aria-${i}]`}}},multiPass:!0};function Xo(e,t,n={}){return{name:`${e}-aria`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-aria-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.aria?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[aria-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[aria-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function Zo(){return{name:`has-aria`,match(e,t){let n=(0,U.variantGetParameter)(`has-aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Qo(e={}){return[Xo(`group`,` `,e),Xo(`peer`,`~`,e),Xo(`parent`,`>`,e),Xo(`previous`,`+`,e),Zo()]}let $o=/(max|min)-\[([^\]]*)\]:/;function es(){let e={};return{name:`breakpoints`,match(t,n){if($o.test(t)){let e=t.match($o);return{matcher:t.replace(e[0],``),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (${e[1]}-width: ${e[2]})`})}}let r=(z(n)??[]).map(({point:e,size:t},n)=>[e,t,n]);for(let[i,a,o]of r){e[i]||(e[i]=RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${n.generator.config.separators.join(`|`)}))`));let s=t.match(e[i]);if(!s)continue;let[,c]=s,l=t.slice(c.length);if(l===`container`)continue;let u=c.startsWith(`lt-`)||c.startsWith(`<`)||c.startsWith(`max-`),d=c.startsWith(`at-`)||c.startsWith(`~`),f=3e3;return u?(f-=o+1,{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (max-width: ${(0,U.calcMaxWidthBySize)(a)})`,parentOrder:f})}):(f+=o+1,d&&o<r.length-1?{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a}) and (max-width: ${(0,U.calcMaxWidthBySize)(r[o+1][1])})`,parentOrder:f})}:{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a})`,parentOrder:f})})}},multiPass:!0,autocomplete:`(at-|lt-|max-|)$breakpoints:`}}let ts=[(0,U.variantMatcher)(`*`,e=>({selector:`${e.selector} > *`}),{order:-1})];function ns(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;let i=r.generator.config.separators,a=(0,U.variantGetBracket)(`${e}-`,n,i);if(!a){for(let t of i)if(n.startsWith(`${e}${t}`)){a=[``,n.slice(e.length+t.length)];break}if(!a)return}let o=I.bracket(a[0])??``;return o===``&&(o=`*`),{matcher:a[1],selector:e=>`${e}${t}${o}`}},multiPass:!0}}let rs=[ns(`all`,` `),ns(`children`,`>`),ns(`next`,`+`),ns(`sibling`,`+`),ns(`siblings`,`~`)],is={name:`@`,match(e,t){if(e.startsWith(`@container`))return;let n=(0,U.variantGetParameter)(`@`,e,t.generator.config.separators);if(n){let[e,r,i]=n,a=I.bracket(e),o;if(o=a?I.numberWithUnit(a):t.theme.containers?.[e]??``,o){let n=1e3+Object.keys(t.theme.containers??{}).indexOf(e);return i&&(n+=1e3),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@container${i?` ${i} `:` `}(min-width: ${o})`,parentOrder:n})}}}},multiPass:!0};function as(e={}){if(e?.dark===`class`||typeof e.dark==`object`){let{dark:t=`.dark`,light:n=`.light`}=typeof e.dark==`string`?{}:e.dark;return[(0,U.variantMatcher)(`dark`,c(t).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`}))),(0,U.variantMatcher)(`light`,c(n).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`})))]}return[(0,U.variantParentMatcher)(`dark`,`@media (prefers-color-scheme: dark)`),(0,U.variantParentMatcher)(`light`,`@media (prefers-color-scheme: light)`)]}let os={name:`data`,match(e,t){let n=(0,U.variantGetParameter)(`data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[data-${i}]`}}},multiPass:!0};function ss(e,t,n={}){return{name:`${e}-data`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-data-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.data?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[data-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[data-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function cs(){return{name:`has-data`,match(e,t){let n=(0,U.variantGetParameter)(`has-data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function ls(e={}){return[ss(`group`,` `,e),ss(`peer`,`~`,e),ss(`parent`,`>`,e),ss(`previous`,`+`,e),cs()]}let us=[(0,U.variantMatcher)(`rtl`,e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),(0,U.variantMatcher)(`ltr`,e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ds(){let e;return{name:`important`,match(t,n){e||=RegExp(`^(important(?:${n.generator.config.separators.join(`|`)})|!)`);let r,i=t.match(e);if(i?r=t.slice(i[0].length):t.endsWith(`!`)&&(r=t.slice(0,-1)),r)return{matcher:r,body:e=>(e.forEach(e=>{e[1]!=null&&(e[1]+=` !important`)}),e)}}}}let fs=(0,U.variantParentMatcher)(`print`,`@media print`),ps={name:`media`,match(e,t){let n=(0,U.variantGetParameter)(`media-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??``;if(i===``&&(i=t.theme.media?.[e]??``),i)return{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media ${i}`})}}},multiPass:!0},ms={name:`selector`,match(e,t){let n=(0,U.variantGetBracket)(`selector-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},hs={name:`layer`,match(e,t){let n=(0,U.variantGetParameter)(`layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@layer ${r}`})}}}},gs={name:`uno-layer`,match(e,t){let n=(0,U.variantGetParameter)(`uno-layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},_s={name:`scope`,match(e,t){let n=(0,U.variantGetBracket)(`scope-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},vs={name:`variables`,match(e,t){if(!e.startsWith(`[`))return;let[n,r]=(0,U.getBracket)(e,`[`,`]`)??[];if(!(n&&r))return;let i;for(let e of t.generator.config.separators)if(r.startsWith(e)){i=r.slice(e.length);break}if(i==null)return;let a=I.bracket(n)??``,o=a.startsWith(`@`);if(o||a.includes(`&`))return{matcher:i,handle(e,t){let n=o?{parent:`${e.parent?`${e.parent} $$ `:``}${a}`}:{selector:a.replace(/&/g,e.selector)};return t({...e,...n})}}},multiPass:!0},ys={name:`theme-variables`,match(e,t){if((0,U.hasThemeFn)(e))return{matcher:e,handle(e,n){return n({...e,entries:JSON.parse((0,U.transformThemeFn)(JSON.stringify(e.entries),t.theme))})}}}},bs=/^-?[0-9.]+(?:[a-z]+|%)?$/,xs=/-?[0-9.]+(?:[a-z]+|%)?/,Ss=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Cs(e){let t=e.match(mn)||e.match(hn);if(t){let[e,n]=ht(`(${t[2]})${t[3]}`,`(`,`)`,` `)??[];if(e)return`calc(${t[1]}${e} * -1)${n?` ${n}`:``}`}}let ws=/\b(hue-rotate)\s*(\(.*)/;function Ts(e){let t=e.match(ws);if(t){let[e,n]=ht(t[2],`(`,`)`,` `)??[];if(e){let r=bs.test(e.slice(1,-1))?e.replace(xs,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:``}`}}}let Es={name:`negative`,match(e){if(e.startsWith(`-`))return{matcher:e.slice(1),body:e=>{if(e.some(e=>e[0]===`$$mini-no-negative`))return;let t=!1;return e.forEach(e=>{let n=e[1]?.toString();if(!n||n===`0`||Ss.some(t=>t.test(e[0])))return;let r=Cs(n);if(r){e[1]=r,t=!0;return}let i=Ts(n);if(i){e[1]=i,t=!0;return}bs.test(n)&&(e[1]=n.replace(xs,e=>e.startsWith(`-`)?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}};function Ds(){return en({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function Os(){return tn({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function ks(e={}){return nn(e,{getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}let As=an(),js={name:`starting`,match(e){if(e.startsWith(`starting:`))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:`@starting-style`})}}},Ms={name:`supports`,match(e,t){let n=(0,U.variantGetParameter)(`supports-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??``;if(i===``&&(i=t.theme.supports?.[e]??``),i)return/^[\w-]+$/.test(i)&&(i=`(${i}: var(--un))`),i=i.replace(/\b(and|or|not)\b/gi,` $1 `).replace(/\s+/g,` `).trim(),!(i.startsWith(`(`)&&i.endsWith(`)`))&&!/^not\b/i.test(i)&&(i=`(${i})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@supports ${i}`})}}},multiPass:!0};function Ns(e){return[Yo,os,hs,ms,gs,Es,js,ds(),Ms,fs,ps,es(),...rs,...Ds(),Os(),...ks(e),As,...as(e),...us,_s,...ts,is,vs,...ls(e),...Qo(e),ys]}let Ps=[on(`svg`,e=>({selector:`${e.selector} svg`}))],Fs=[on(`.dark`,e=>({prefix:`.dark $$ ${e.prefix}`})),on(`.light`,e=>({prefix:`.light $$ ${e.prefix}`})),j(`@dark`,`@media (prefers-color-scheme: dark)`),j(`@light`,`@media (prefers-color-scheme: light)`)],Is=[j(`contrast-more`,`@media (prefers-contrast: more)`),j(`contrast-less`,`@media (prefers-contrast: less)`)],Ls=[j(`motion-reduce`,`@media (prefers-reduced-motion: reduce)`),j(`motion-safe`,`@media (prefers-reduced-motion: no-preference)`)],Rs=[j(`landscape`,`@media (orientation: landscape)`),j(`portrait`,`@media (orientation: portrait)`)],zs=e=>{if(!e.startsWith(`_`)&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:e=>{let t=`>:not([hidden])~:not([hidden])`;return e.includes(t)?e:`${e}${t}`}}},Bs=[on(`@hover`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||``}:hover`}))];function Vs(e,t,n){return`calc(${t} + (${e} - ${t}) * ${n} / 100)`}function Hs(e,t,n){let r=[e,t],i=[];for(let e=0;e<2;e++){let t=typeof r[e]==`string`?E(r[e]):r[e];if(!t||![`rgb`,`rgba`].includes(t.type))return;i.push(t)}let a=[];for(let e=0;e<3;e++)a.push(Vs(i[0].components[e],i[1].components[e],n));return{type:`rgb`,components:a,alpha:Vs(i[0].alpha??1,i[1].alpha??1,n)}}function Us(e,t){return Hs(`#fff`,e,t)}function Ws(e,t){return Hs(`#000`,e,t)}function Gs(e,t){let n=Number.parseFloat(`${t}`);if(!Number.isNaN(n))return n>0?Ws(e,t):Us(e,-n)}let Ks={tint:Us,shade:Ws,shift:Gs};function qs(){let e;return{name:`mix`,match(t,n){e||=RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${n.generator.config.separators.join(`|`)})`);let r=t.match(e);if(r)return{matcher:t.slice(r[0].length),body:e=>(e.forEach(e=>{if(e[1]){let t=E(`${e[1]}`);if(t){let n=Ks[r[1]](t,r[2]);n&&(e[1]=D(n))}}}),e)}}}}let Js=(e,{theme:t})=>{let n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){let[,e=``,r,i]=n;if(Yn(i,t,`accentColor`)||Ys(i))return{matcher:`${e}placeholder-$ ${r}${i}`}}};function Ys(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?I.bracket.percent(t[1])!=null:!1}function Xs(e){return[Js,zs,...Ns(e),...Is,...Rs,...Ls,...Ps,...Fs,...Bs,qs()]}function Zs(e){let t,n,r=2166136261;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}function Qs(e,t,n,r){for(let i of Array.from(e.matchAll(n)))if(i!=null){let n=i[0],a=`${r}${Zs(n)}`;t.set(a,n),e=e.replace(n,a)}return e}function $s(e,t){for(let[n,r]of t.entries())e=e.replaceAll(n,r);return e}let ec=/\/\/#\s*sourceMappingURL=.*\n?/g;function tc(e){return e.includes(`sourceMappingURL=`)?e.replace(ec,``):e}let nc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,rc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,ic=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function ac(e){let t=[];for(let n of e.matchAll(rc))n.index!==0&&!/^[\s'"`]/.test(e[n.index-1]??``)||t.push(n[0]);for(let n of e.matchAll(nc))t.push(n[0]);let n=new Map,r=`@unocss-skip-arbitrary-brackets`;return e=Qs(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(a).forEach(e=>{e.includes(r)&&(e=$s(e,n)),ee(e)&&!ic.test(e)&&t.push(e)}),t}function oc(){return{name:`@unocss/extractor-arbitrary-variants`,order:0,extract({code:e}){return ac(tc(e))}}}function sc(e){if(e.preflight)return[{layer:`preflights`,getCSS({theme:t,generator:n}){if(t.preflightBase){let r=Object.entries(t.preflightBase);if(e.preflight===`on-demand`){let e=new Set(Array.from(n.activatedRules).map(e=>e[2]?.custom?.preflightKeys).filter(Boolean).flat());r=r.filter(([t])=>e.has(t))}if(r.length>0){let n=ie(r);return e.variablePrefix!==`un-`&&(n=n.replace(/--un-/g,`--${e.variablePrefix}`)),c(t.preflightRoot??[`*,::before,::after`,`::backdrop`]).map(e=>`${e}{${n}}`).join(``)}}}}]}let cc={position:[`relative`,`absolute`,`fixed`,`sticky`,`static`],globalKeyword:P},lc=Ee((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:qo,rules:ua,variants:Ns(e),options:e,prefix:e.prefix,postprocess:uc(e.variablePrefix),preflights:sc(e),extractorDefault:e.arbitraryVariants===!1?void 0:oc(),autocomplete:{shorthands:cc}}));function uc(e){if(e!==`un-`)return t=>{t.entries.forEach(t=>{t[0]=t[0].replace(/^--un-/,`--${e}`),typeof t[1]==`string`&&(t[1]=t[1].replace(/var\(--un-/g,`var(--${e}`))})}}function dc(e){if(e==null||e===!1)return[];let t=e=>e.startsWith(`:is(`)&&e.endsWith(`)`)?e:e.includes(`::`)?e.replace(/(.*?)((?:\s\*)?::.*)/,`:is($1)$2`):`:is(${e})`;return[e===!0?e=>{e.entries.forEach(e=>{e[1]!=null&&!String(e[1]).endsWith(`!important`)&&(e[1]+=` !important`)})}:n=>{n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`)}]}function fc(e){return[...c(lc(e).postprocess),...dc(e.important)]}let pc=Ee((e={})=>(e.important=e.important??!1,{...lc(e),name:`@unocss/preset-wind3`,theme:Jo,rules:po,shortcuts:mo,variants:Xs(e),postprocess:fc(e)})),mc=Ee((e={})=>({...pc(e),name:`@unocss/preset-uno`}));function hc(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function gc(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _c(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}let vc=[`Webkit`,`Moz`,`ms`];function yc(e){let t={};function n(n){let r=t[n];if(r)return r;let i=hc(n);if(i!==`filter`&&i in e)return t[n]=_c(i);i=gc(i);for(let r=0;r<vc.length;r++){let a=`${vc[r]}${i}`;if(a in e)return t[n]=_c(gc(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function bc(e){return e.replace(/&/g,`&`).replace(/>/g,`>`).replace(/</g,`<`)}async function xc(e={}){if(typeof window>`u`){console.warn(`@unocss/runtime been used in non-browser environment, skipped.`);return}let t=window,n=window.document,r=()=>n.documentElement,i=t.__unocss||{},a=Object.assign({},e,i.runtime),o=a.defaults||{},s=a.cloakAttribute??`un-cloak`;a.autoPrefix&&(o.postprocess=c(o.postprocess)).unshift(yc(n.createElement(`div`).style)),a.configResolved?.(i,o);let l=await ke(i,o),u=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},f=()=>a.rootElement?a.rootElement():n.body,p=new Map,m=!0,h=new Set,g,_,v=[],ee=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>b().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function te(e,t=!1){if(e.nodeType!==1)return;let n=e;n.hasAttribute(s)&&n.removeAttribute(s),t&&n.querySelectorAll(`[${s}]`).forEach(e=>{e.removeAttribute(s)})}function y(e,t){let r=p.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),p.set(e,r),t==null)u(r);else{let e=y(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):u(r)}return r}async function b(){let e=[...h],t=await l.generate(e);return t.layers.reduce((e,n)=>(y(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function x(e){let t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await ee()}async function S(e=f()){let t=e&&e.outerHTML;t&&(await x(`${t} ${bc(t)}`),te(r()),te(e,!0))}let C=new MutationObserver(e=>{m||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of p)if(t===e[1])return;if(e.type===`childList`)e.addedNodes.forEach(async e=>{if(e.nodeType!==1)return;let t=e;g&&!g(t)||(await x(t.outerHTML),te(t))});else{if(g&&!g(t))return;if(e.attributeName!==s){let e=Array.from(t.attributes).map(e=>e.value?`${e.name}="${e.value}"`:e.name).join(` `);await x(`<${t.tagName.toLowerCase()} ${e}>`)}te(t)}})}),w=!1;function ne(){if(w)return;let e=a.observer?.target?a.observer.target():f();e&&(C.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),w=!0)}function re(){a.bypassDefined&&Sc(l.blocked),S(),ne()}function ie(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,re):re()}let ae=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){d(e)||(e.forEach(e=>h.add(e)),e=``),await x(e)},extractAll:S,inspect(e){g=e},toggleObserver(e){m=e===void 0?!m:!!e,!w&&!m&&ie()},update:b,presets:t.__unocss_runtime?.presets??{}};a.ready?.(ae)!==!1&&(m=!1,ie())}function Sc(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let n=document.styleSheets[t],r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(e=>e.selectorText?.split(/,/g)||[]).forEach(t=>{t&&(t=t.trim(),t.startsWith(`.`)&&(t=t.slice(1)),e.add(t))})}catch{continue}}return e}xc({defaults:{presets:[mc()]}})})();
|