@unocss/runtime 66.1.2 → 66.1.4
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 +8 -8
- package/core.global.js +1 -1
- package/full.global.js +8 -8
- package/mini.global.js +3 -3
- package/package.json +4 -4
- package/preset-icons.global.js +4 -4
- package/preset-mini.global.js +6 -6
- package/preset-uno.global.js +7 -7
- package/preset-wind.global.js +7 -7
- package/uno.global.js +8 -8
package/full.global.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var pf=Object.defineProperty;var df=(e,t)=>{for(var r in t)pf(e,r,{get:t[r],enumerable:!0})};var Je="default",Gt="preflights",mf="shortcuts",hf="imports",Io={[hf]:-200,[Gt]:-100,[mf]:-10,[Je]:0};var Ht=/[\\:]?[\s'"`;{}]+/g;function gf(e){return e.split(Ht)}var qt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return gf(e)}};function E(e=[]){return Array.isArray(e)?e:[e]}function ne(e){return Array.from(new Set(e))}function kn(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function V(e){return typeof e=="string"}var Qe=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}};function Yt(e){return e instanceof Qe}function ue(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var Xt=Q;function Ko(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var bf=/^\[(.+?)~?="(.*)"\]$/;var xf=/[\w\u00A0-\uFFFF%-?]/;function Go(e){return e.match(bf)}function et(e=""){return xf.test(e)}function Ho(e){return typeof e=="function"?{match:e}:e}function Sn(e){return e.length===3}function Zt(e){return e!=null}function qo(){}var Jt=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}},Qt=class extends Map{getFallback(t,r){let n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){let r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){let r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}};function rt(e){return V(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Cn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>rt(t)):[e]:[rt(e)]}function yf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Le(e){return e==null?"":yf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function er(e){return e&&typeof e=="object"&&!Array.isArray(e)}function nt(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return er(n)&&er(o)&&Object.keys(o).forEach(s=>{er(n[s])&&er(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=nt(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function tt(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?tt(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:tt(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?tt(n):n;return r}return e}function Yo(e){return V(e[0])}function Xo(e){return V(e[0])}var tr={};function $f(e=["-",":"]){let t=e.join("|");return tr[t]||(tr[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),tr[t].lastIndex=0,tr[t]}function vf(e,t=["-",":"],r=5){let n=$f(t),o,i=e.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(c,f,d,m,h)=>{if(!t.includes(d))return c;o=!0,s.add(f+d);let g=h+f.length+d.length+1,b={length:c.length,items:[]};a.set(h,b);for(let y of[...m.matchAll(/\S+/g)]){let w=g+y.index,v=a.get(w)?.items;v?a.delete(w):v=[{offset:w,length:y[0].length,className:y[0]}];for(let k of v)k.className=k.className==="~"?f:k.className.replace(/^(!?)(.*)/,`$1${f}${d}$2`),b.items.push(k)}return"$".repeat(c.length)}),r-=1;while(o&&r);let l;if(typeof e=="string"){l="";let c=0;for(let[f,d]of a)l+=e.slice(c,f),l+=d.items.map(m=>m.className).join(" "),c=f+d.length;l+=e.slice(c)}else{l=e;for(let[c,f]of a)l.overwrite(c,c+f.length,f.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return l.toString()}}}function Zo(e,t=["-",":"],r=5){let n=vf(e,t,r);return typeof e=="string"?n.expanded:e}var Jo=new Set;function Qo(e){Jo.has(e)||(console.warn("[unocss]",e),Jo.add(e))}function ri(e){return E(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var ei="_uno_resolved";async function wf(e){let t=typeof e=="function"?await e():await e;if(ei in t)return t;t={...t},Object.defineProperty(t,ei,{value:!0,enumerable:!1});let r=t.shortcuts?ri(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=E(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function ni(e){let t=await wf(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(E).flatMap(ni))).flat();return[t,...r]}function kf(e){if(e.length===0)return{};let t=[],r=[],n=!1,o=[],i=[],s=[];for(let l of e){if(l.pipeline===!1){n=!0;break}else l.pipeline?.include&&t.push(l.pipeline.include),l.pipeline?.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline),l.plain&&s.push(l.plain)}let a={pipeline:n?!1:{include:ne(ti(...t)),exclude:ne(ti(...r))}};return o.length&&(a.filesystem=ne(o.flat())),i.length&&(a.inline=ne(i.flat())),s.length&&(a.plain=ne(s.flat())),a}async function Rn(e={},t={}){let r=Object.assign({},t,e),n=kn((await Promise.all((r.presets||[]).flatMap(E).flatMap(ni))).flat(),($,x)=>$.name===x.name),o=[...n.filter($=>$.enforce==="pre"),...n.filter($=>!$.enforce),...n.filter($=>$.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Io,...i.map($=>$.layers));function l($){return ne(i.flatMap(x=>E(x[$]||[])))}let c=l("extractors"),f=s.find($=>$.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=qt),f&&!c.includes(f)&&c.unshift(f),c.sort(($,x)=>($.order||0)-(x.order||0));let d=l("rules"),m={},h=d.length,g=d.filter($=>Yo($)?(E($[2]?.prefix||"").forEach(S=>{m[S+$[0]]=$}),!1):!0).reverse(),b=Sf(i.map($=>$.theme)),y=l("extendTheme");for(let $ of y)b=$(b)||b;let w={templates:ne(i.flatMap($=>E($.autocomplete?.templates))),extractors:i.flatMap($=>E($.autocomplete?.extractors)).sort(($,x)=>($.order||0)-(x.order||0)),shorthands:Cf(i.map($=>$.autocomplete?.shorthands||{}))},v=l("separators");v.length||(v=[":","-"]);let k=l("content"),U=kf(k),j={mergeSelectors:!0,warn:!0,sortLayers:$=>$,...r,blocklist:l("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:b,rules:d,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:w,variants:l("variants").map(Ho).sort(($,x)=>($.order||0)-(x.order||0)),shortcuts:ri(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:v,details:r.details??r.envMode==="dev",content:U,transformers:kn(l("transformers"),($,x)=>$.name===x.name)};for(let $ of i)$?.configResolved?.(j);return j}function Sf(e){return e.map(t=>t?tt(t):{}).reduce((t,r)=>nt(t,r),{})}function Cf(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ti(...e){return e.flatMap(Rf)}function Rf(e){return Array.isArray(e)?e:e?[e]:[]}var oi="66.1.2";var $e={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},En=class e{constructor(t={},r={}){this.userConfig=t;this.defaults=r}version=oi;events=Ko();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){let n=new e(t,r);return n.config=await Rn(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Rn(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(Yt(s)&&Yt(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:$e,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=t;for(let l of this.config.preprocess)o=l(t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}let i=await this.matchVariants(t,o);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(t,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let f=await this.expandShortcut(c.currentSelector,c);return f?await this.stringifyShortcuts(c.variantMatch,c,f[0],f[1]):(await this.parseUtil(c.variantMatch,c))?.map(m=>this.stringifyUtil(m,c)).filter(Zt)},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=V(t)?await this.applyExtractors(t,n,l?new Qe:new Set):Array.isArray(t)?new Set(t):t;if(s){let x={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(x):S).forEach(S=>{let R=S.trim();R&&!c.has(R)&&c.add(R)})}let f=a?"":`
|
|
2
|
-
`,d=new Set([Je]),m=l?new Map:new Set,h=new Map,g={},b=Array.from(c).map(async x=>{if(m.has(x))return;let S=await this.parseToken(x);if(S!=null){m instanceof Map?m.set(x,{data:S,count:Yt(c)?c.getCount(x):-1}):m.add(x);for(let R of S){let Z=R[3]||"",J=R[4]?.layer;h.has(Z)||h.set(Z,[]),h.get(Z).push(R),J&&d.add(J)}}});await Promise.all(b),await(async()=>{if(!i)return;let x={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:R=Gt})=>{d.add(R),S.add(R)}),g=Object.fromEntries(await Promise.all(Array.from(S).map(async R=>{let J=(await Promise.all(this.config.preflights.filter(le=>(le.layer||Gt)===R).map(async le=>await le.getCSS(x)))).filter(Boolean).join(f);return[R,J]})))})();let y=this.config.sortLayers(Array.from(d).sort((x,S)=>(this.config.layers[x]??0)-(this.config.layers[S]??0)||x.localeCompare(S))),w={},v=this.config.outputToCssLayers,k=x=>{let S=x;return typeof v=="object"&&(S=v.cssLayerName?.(x)),S===null?null:S??x},U=(x=Je)=>{if(w[x])return w[x];let S=Array.from(h).sort((J,le)=>(this.parentOrders.get(J[0])??0)-(this.parentOrders.get(le[0])??0)||J[0]?.localeCompare(le[0]||"")||0).map(([J,le])=>{let T=le.length,O=le.filter(N=>(N[4]?.layer||Je)===x).sort((N,ce)=>N[0]-ce[0]||(N[4]?.sort||0)-(ce[4]?.sort||0)||N[5]?.currentSelector?.localeCompare(ce[5]?.currentSelector??"")||N[1]?.localeCompare(ce[1]||"")||N[2]?.localeCompare(ce[2]||"")||0).map(([,N,ce,,Kt,,vn])=>[[[(N&&jf(N,o))??"",Kt?.sort??0]],ce,!!(vn??Kt?.noMerge)]);if(!O.length)return;let B=O.reverse().map(([N,ce,Kt],vn)=>{if(!Kt&&this.config.mergeSelectors)for(let Re=vn+1;Re<T;Re++){let me=O[Re];if(me&&!me[2]&&(N&&me[0]||N==null&&me[0]==null)&&me[1]===ce)return N&&me[0]&&me[0].push(...N),null}let wn=N?ne(N.sort((Re,me)=>Re[1]-me[1]||Re[0]?.localeCompare(me[0]||"")||0).map(Re=>Re[0]).filter(Boolean)):[];return wn.length?`${wn.join(`,${f}`)}{${ce}}`:ce}).filter(Boolean),D=Array.from(new Set(B)).reverse().join(f);if(!J)return D;let X=J.split(" $$ ");return`${X.join("{")}{${f}${D}${f}${"}".repeat(X.length)}`}).filter(Boolean).join(f);i&&(S=[g[x],S].filter(Boolean).join(f));let R;v&&S&&(R=k(x),R!==null&&(S=`@layer ${R}{${f}${S}${f}}`));let Z=a?"":`/* layer: ${x}${R&&R!==x?`, alias: ${R}`:""} */${f}`;return w[x]=S?Z+S:""},j=(x=y,S)=>{let R=x.filter(Z=>!S?.includes(Z));return[v&&R.length>0?`@layer ${R.map(k).filter(Zt).join(", ")};`:void 0,...R.map(Z=>U(Z)||"")].filter(Boolean).join(f)};return{get css(){return j()},layers:y,matched:m,getLayers:j,getLayer:U,setLayer:async(x,S)=>{let R=await S(U(x));return w[x]=R,R}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,l]=i;for(;s;){s=!1;let c=i[1];for(let f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let d=await f.match(c,n);if(d){if(V(d)){if(d===c)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=d.map(h=>{let g=h.matcher??c,b=[h,...a],y=new Set(l);return y.add(f),[i[0],g,b,y]});return(await Promise.all(m.map(h=>o(h)))).flat()}}i[1]=d.matcher??c,a.unshift(d),l.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((c,f)=>(c.order||0)-(f.order||0)).reduceRight((c,f)=>d=>{let m=f.body?.(d.entries)||d.entries,h=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(d.selector,m);return(f.handle??zf)({...d,entries:m,selector:g||d.selector,parent:h[0]||d.parent,parentOrder:h[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},c)},c=>c)({prefix:"",selector:Tn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let c of this.config.postprocess)c(l);return l}constructCustomCSS(t,r,n){let o=rt(r);if(V(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${Le(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,n=!1,o){let i=V(t)?await this.matchVariants(t):[t],s=async([l,c,f])=>{this.config.details&&(r.rules=r.rules??[]);let d=this.config.rulesStaticMap[c];if(d&&d[1]&&(n||!d[2]?.internal)){this.config.details&&r.rules.push(d);let h=this.config.rules.indexOf(d),g=Cn(d[1]).filter(y=>y.length),b=d[2];if(g.length)return r.generator.activatedRules.add(d),g.map(y=>V(y)?[h,y,b]:[h,l,y,b,f])}r.variantHandlers=f;let{rulesDynamic:m}=this.config;for(let h of m){let[g,b,y]=h;if(y?.internal&&!n)continue;let w=c;if(y?.prefix){let j=E(y.prefix);if(o){let $=E(o);if(!j.some(x=>$.includes(x)))continue}else{let $=j.find(x=>c.startsWith(x));if($==null)continue;w=c.slice($.length)}}let v=w.match(g);if(!v)continue;let k=await b(v,r);if(!k)continue;if(this.config.details&&r.rules.push(h),typeof k!="string")if(Symbol.asyncIterator in k){let j=[];for await(let $ of k)$&&j.push($);k=j}else Symbol.iterator in k&&!Array.isArray(k)&&(k=Array.from(k).filter(Zt));let U=Cn(k).filter(j=>j.length);if(U.length){r.generator.activatedRules.add(h);let j=this.config.rules.indexOf(h);return U.map($=>{if(V($))return[j,$,y];let x=f,S=y;for(let R of $)R[0]===$e.variants?typeof R[1]=="function"?x=R[1](x)||x:x=[...E(R[1]),...x]:R[0]===$e.parent?x=[{parent:R[1]},...x]:R[0]===$e.selector?x=[{selector:R[1]},...x]:R[0]===$e.layer?x=[{layer:R[1]},...x]:R[0]===$e.sort?S={...S,sort:R[1]}:R[0]===$e.noMerge&&(S={...S,noMerge:R[1]});return[j,l,$,S,x]})}}},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(Sn(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:l}=this.applyVariants(t),c=Le(o);if(!c)return;let{layer:f,sort:d,...m}=t[3]??{},h={...m,layer:s??f,sort:a??d};return[t[0],n,c,i,h,this.config.details?r:void 0,l]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:qo,i,s,a,l;for(let c of this.config.shortcuts){let f=t;if(c[2]?.prefix){let m=E(c[2].prefix).find(h=>t.startsWith(h));if(m==null)continue;f=t.slice(m.length)}if(Xo(c)){if(c[0]===f){i=i||c[2],s=c[1],o(c);break}}else{let d=f.match(c[0]);if(d&&(s=c[1](d,r)),s){i=i||c[2],o(c);break}}}if(s&&(a=ne(E(s).filter(V).map(c=>Zo(c.trim()).split(/\s+/g)).flat()),l=E(s).filter(c=>!V(c)).map(c=>({handles:[],value:c}))),!s){let c=V(t)?await this.matchVariants(t):[t];for(let f of c){let[d,m,h]=f;if(d!==m){let g=await this.expandShortcut(m,r,n-1);g&&(a=g[0].filter(V).map(b=>d.replace(m,b)),l=g[0].filter(b=>!V(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(E(a).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new Qt,s=(await Promise.all(ne(n).map(async f=>{let d=V(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",rt(f.value),void 0,f.handles]];return!d&&this.config.warn&&Qo(`unmatched utility "${f}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=t,c=[];for(let f of s){if(Sn(f)){c.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:d,entries:m,parent:h,sort:g,noMerge:b,layer:y}=this.applyVariants(f,[...f[4],...l],a);i.getFallback(y??o.layer,new Jt).getFallback(d,h,[[],f[0]])[0].push([m,!!(b??f[3]?.noMerge),g??0])}return c.concat(i.flatMap((f,d)=>f.map(([m,h],g,b)=>{let y=(v,k,U)=>{let j=Math.max(...U.map(x=>x[1])),$=U.map(x=>x[0]);return(v?[$.flat(1)]:$).map(x=>{let S=Le(x);if(S)return[h,g,S,b,{...o,noMerge:k,sort:j,layer:d},r,void 0]})};return[[m.filter(([,v])=>v).map(([v,,k])=>[v,k]),!0],[m.filter(([,v])=>!v).map(([v,,k])=>[v,k]),!1]].map(([v,k])=>[...y(!1,k,v.filter(([U])=>U.some(j=>j[0]===$e.shortcutsNoMerge))),...y(!0,k,v.filter(([U])=>U.every(j=>j[0]!==$e.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):V(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):V(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function si(e,t){return await En.create(e,t)}var ai=/\s\$\$\s+/g;function Tf(e){return ai.test(e)}function jf(e,t){return Tf(e)?e.replace(ai,t?` ${t} `:" "):t?`${t} ${e}`:e}var ii=/^\[(.+?)(~?=)"(.*)"\]$/;function Tn(e){return ii.test(e)?e.replace(ii,(t,r,n,o)=>`[${Xt(r)}${n}"${Xt(o)}"]`):`.${Xt(e)}`}function zf(e,t){return t(e)}var jn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function li(e={}){let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:s}){let a=Go(i);if(!a)return;let l=a[1];if(l.startsWith(t))l=l.slice(t.length);else if(r)return;let c=a[2],[,f="",d=c]=c.match(jn)||[];if(d==="~"||n&&d==="true"||!d)return`${f}${l}`;if(o==null){let m=s?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,h]=c.match(o)||[];if(h)return`${m}${f}${l}-${h}`}if(f&&d.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),h=m.pop()+d,g=m.join("");return[{matcher:`${f}${l}-${d}`},{matcher:`${g}${l}-${h}`}]}return`${f}${l}-${d}`}}}var Af=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Of=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,ci=/[\s'"`;>]+/;function ui(e){return{name:"attributify",extract:({content:t,cursor:r})=>{let n=t.matchAll(Af),o,i=0;for(let v of n){let[,k,U]=v,j=v.index+k.length;if(r>j&&r<=j+U.length){i=j,o=U;break}}if(!o)return null;let s=o.matchAll(Of),a=0,l,c;for(let v of s){let[k,U,j]=v,$=i+v.index;if(r>$&&r<=$+k.length){a=$,l=U,c=j?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;let f=!!e?.prefix&&l.startsWith(e.prefix);if(e?.prefixedOnly&&!f)return null;let d=f?l.slice(e.prefix.length):l;if(c===void 0)return{extracted:d,resolveReplacement(v){let k=f?e.prefix.length:0;return{start:a+k,end:a+l.length,replacement:v}}};let m=a+l.length+2,h=ci.exec(c),g=0,b;for(;h;){let[v]=h;if(r>m+g&&r<=m+g+h.index){b=c.slice(g,g+h.index);break}g+=h.index+v.length,h=ci.exec(c.slice(g))}b===void 0&&(b=c.slice(g));let[,y="",w]=b.match(jn)||[];return{extracted:`${y}${d}-${w}`,transformSuggestions(v){return v.filter(k=>k.startsWith(`${y}${d}-`)).map(k=>y+k.slice(y.length+d.length+1))},resolveReplacement(v){return{start:g+m,end:g+m+b.length,replacement:y+v.slice(y.length+d.length+1)}}}}}}var Pf=["v-bind:",":"],fi=/[\s'"`;]+/g,zn=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Vf=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,An=["placeholder","fill","opacity","stroke-opacity"];function pi(e){let t=e?.ignoreAttributes??An,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(zn)).flatMap(i=>Array.from((i[1]||"").matchAll(Vf))).flatMap(([,i,...s])=>{let a=s.filter(Boolean).join("");if(t.includes(i))return[];for(let l of Pf)if(i.startsWith(l)){i=i.slice(l.length);break}if(!a){if(et(i)&&r!==!1){let l=[`[${i}=""]`];return n&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?a.split(fi).filter(et):zn.test(a)?(zn.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(fi).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}var Mf=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??An;let t=[li(e)],r=[pi(e)],n=[ui(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},di=Mf;var rr="__TAGIFY__",Ff=/<([\w:-]+)/g;function mi(e){let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Ff)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${rr}${o}`)}}}function hi(e){let{extraProperties:t}=e,r=`${rr}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(rr.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}var _f=(e={})=>{let{defaultExtractor:t=!0}=e,r=[hi(e)],n=[mi(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}},gi=_f;function ve(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function fe(e,t,r,n){if(e===""||(V(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let l=a.length;if(l&&a===e.slice(s,s+l)&&i===0)return s===0||s===o-l?void 0:[e.slice(0,s),e.slice(s+l)]}}return[e,""]}function Ee(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=fe(e,"(",")",t);if(!i)return;let[s,a]=i;n.push(s),e=a}if(n.length>0)return n}var On=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],nr=["%alpha","<alpha-value>"],Wf=new RegExp(nr.map(e=>ue(e)).join("|"),"g");function q(e=""){let t=Lf(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(On.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function oe(e){let t=e.alpha??1;return typeof t=="string"&&nr.includes(t)?1:t}function A(e,t){if(typeof e=="string")return e.replace(Wf,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,On.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Lf(e){if(!e)return;let t=Uf(e);if(t!=null||(t=Bf(e),t!=null)||(t=Nf(e),t!=null)||(t=If(e),t!=null)||(t=Kf(e),t!=null))return t}function Uf(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Bf(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Nf(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=Ee(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 Df=new RegExp(`^(${On.join("|")})\\((.+)\\)$`,"i");function If(e){let t=e.match(Df);if(!t)return;let[,r,n]=t,o=bi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Kf(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=bi(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function bi(e){let t=Ee(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=Ee(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function or(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);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(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vi=new Uint8Array(64),Gf=new Uint8Array(128);for(let e=0;e<xi.length;e++){let t=xi.charCodeAt(e);vi[e]=t,Gf[t]=e}function ot(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(vi[o])}while(n>0);return t}var yi=1024*16,$i=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Pn=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(yi)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===yi&&(this.out+=$i.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+$i.decode(t.subarray(0,n)):r}};function wi(e){let t=new Pn,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(s>0&&t.write(59),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){let f=a[c];c>0&&t.write(44),l=ot(t,f[0],l),f.length!==1&&(r=ot(t,f[1],r),n=ot(t,f[2],n),o=ot(t,f[3],o),f.length!==4&&(i=ot(t,f[4],i)))}}return t.flush()}var ir=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},sr=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Hf(){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 new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var qf=Hf(),Vn=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=wi(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+qf(this.toString())}};function Yf(e){let t=e.split(`
|
|
3
|
-
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function
|
|
4
|
-
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let c=i+s>>1;o<r[c]?s=c:i=c+1}let a=i-1,l=o-r[a];return{line:a,column:l}}}var
|
|
1
|
+
"use strict";(()=>{var ff=Object.defineProperty;var pf=(e,t)=>{for(var r in t)ff(e,r,{get:t[r],enumerable:!0})};var Qe="default",Ht="preflights",df="shortcuts",mf="imports",Io={[mf]:-200,[Ht]:-100,[df]:-10,[Qe]:0};var qt=/[\\:]?[\s'"`;{}]+/g;function hf(e){return e.split(qt)}var Yt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return hf(e)}};function E(e=[]){return Array.isArray(e)?e:[e]}function ne(e){return Array.from(new Set(e))}function Sn(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function V(e){return typeof e=="string"}var et=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}};function Xt(e){return e instanceof et}function ue(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var Zt=Q;function Ko(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var gf=/^\[(.+?)~?="(.*)"\]$/;var bf=/[\w\u00A0-\uFFFF%-?]/;function Go(e){return e.match(gf)}function tt(e=""){return bf.test(e)}function Ho(e){return typeof e=="function"?{match:e}:e}function Cn(e){return e.length===3}function Jt(e){return e!=null}function qo(){}var Qt=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}},er=class extends Map{getFallback(t,r){let n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){let r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){let r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}};function nt(e){return V(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Rn(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>nt(t)):[e]:[nt(e)]}function xf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function Le(e){return e==null?"":xf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function tr(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ot(e,t,r=!1){let n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return tr(n)&&tr(o)&&Object.keys(o).forEach(s=>{tr(n[s])&&tr(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=ot(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function rt(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?rt(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:rt(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?rt(n):n;return r}return e}function Yo(e){return V(e[0])}function Xo(e){return V(e[0])}var rr={};function yf(e=["-",":"]){let t=e.join("|");return rr[t]||(rr[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),rr[t].lastIndex=0,rr[t]}function $f(e,t=["-",":"],r=5){let n=yf(t),o,i=e.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(c,f,d,m,h)=>{if(!t.includes(d))return c;o=!0,s.add(f+d);let g=h+f.length+d.length+1,b={length:c.length,items:[]};a.set(h,b);for(let y of[...m.matchAll(/\S+/g)]){let w=g+y.index,v=a.get(w)?.items;v?a.delete(w):v=[{offset:w,length:y[0].length,className:y[0]}];for(let k of v)k.className=k.className==="~"?f:k.className.replace(/^(!?)(.*)/,`$1${f}${d}$2`),b.items.push(k)}return"$".repeat(c.length)}),r-=1;while(o&&r);let l;if(typeof e=="string"){l="";let c=0;for(let[f,d]of a)l+=e.slice(c,f),l+=d.items.map(m=>m.className).join(" "),c=f+d.length;l+=e.slice(c)}else{l=e;for(let[c,f]of a)l.overwrite(c,c+f.length,f.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return l.toString()}}}function Zo(e,t=["-",":"],r=5){let n=$f(e,t,r);return typeof e=="string"?n.expanded:e}var Jo=new Set;function Qo(e){Jo.has(e)||(console.warn("[unocss]",e),Jo.add(e))}function ri(e){return E(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var ei="_uno_resolved";async function vf(e){let t=typeof e=="function"?await e():await e;if(ei in t)return t;t={...t},Object.defineProperty(t,ei,{value:!0,enumerable:!1});let r=t.shortcuts?ri(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&t.prefix&&(i.prefix=E(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function ni(e){let t=await vf(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(E).flatMap(ni))).flat();return[t,...r]}function wf(e){if(e.length===0)return{};let t=[],r=[],n=!1,o=[],i=[],s=[];for(let l of e){if(l.pipeline===!1){n=!0;break}else l.pipeline?.include&&t.push(l.pipeline.include),l.pipeline?.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline),l.plain&&s.push(l.plain)}let a={pipeline:n?!1:{include:ne(ti(...t)),exclude:ne(ti(...r))}};return o.length&&(a.filesystem=ne(o.flat())),i.length&&(a.inline=ne(i.flat())),s.length&&(a.plain=ne(s.flat())),a}async function En(e={},t={}){let r=Object.assign({},t,e),n=Sn((await Promise.all((r.presets||[]).flatMap(E).flatMap(ni))).flat(),($,x)=>$.name===x.name),o=[...n.filter($=>$.enforce==="pre"),...n.filter($=>!$.enforce),...n.filter($=>$.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Io,...i.map($=>$.layers));function l($){return ne(i.flatMap(x=>E(x[$]||[])))}let c=l("extractors"),f=s.find($=>$.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Yt),f&&!c.includes(f)&&c.unshift(f),c.sort(($,x)=>($.order||0)-(x.order||0));let d=l("rules"),m={},h=d.length,g=d.filter($=>Yo($)?(E($[2]?.prefix||"").forEach(S=>{m[S+$[0]]=$}),!1):!0).reverse(),b=kf(i.map($=>$.theme)),y=l("extendTheme");for(let $ of y)b=$(b)||b;let w={templates:ne(i.flatMap($=>E($.autocomplete?.templates))),extractors:i.flatMap($=>E($.autocomplete?.extractors)).sort(($,x)=>($.order||0)-(x.order||0)),shorthands:Sf(i.map($=>$.autocomplete?.shorthands||{}))},v=l("separators");v.length||(v=[":","-"]);let k=l("content"),U=wf(k),j={mergeSelectors:!0,warn:!0,sortLayers:$=>$,...r,blocklist:l("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:b,rules:d,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:w,variants:l("variants").map(Ho).sort(($,x)=>($.order||0)-(x.order||0)),shortcuts:ri(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:v,details:r.details??r.envMode==="dev",content:U,transformers:Sn(l("transformers"),($,x)=>$.name===x.name)};for(let $ of i)$?.configResolved?.(j);return j}function kf(e){return e.map(t=>t?rt(t):{}).reduce((t,r)=>ot(t,r),{})}function Sf(e){return e.reduce((t,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function ti(...e){return e.flatMap(Cf)}function Cf(e){return Array.isArray(e)?e:e?[e]:[]}var oi="66.1.4";var $e={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},Tn=class e{constructor(t={},r={}){this.userConfig=t;this.defaults=r}version=oi;events=Ko();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){let n=new e(t,r);return n.config=await En(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await En(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(Xt(s)&&Xt(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:$e,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=t;for(let l of this.config.preprocess)o=l(t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}let i=await this.matchVariants(t,o);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(t,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let f=await this.expandShortcut(c.currentSelector,c);return f?await this.stringifyShortcuts(c.variantMatch,c,f[0],f[1]):(await this.parseUtil(c.variantMatch,c))?.map(m=>this.stringifyUtil(m,c)).filter(Jt)},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=V(t)?await this.applyExtractors(t,n,l?new et:new Set):Array.isArray(t)?new Set(t):t;if(s){let x={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(x):S).forEach(S=>{let R=S.trim();R&&!c.has(R)&&c.add(R)})}let f=a?"":`
|
|
2
|
+
`,d=new Set([Qe]),m=l?new Map:new Set,h=new Map,g={},b=Array.from(c).map(async x=>{if(m.has(x))return;let S=await this.parseToken(x);if(S!=null){m instanceof Map?m.set(x,{data:S,count:Xt(c)?c.getCount(x):-1}):m.add(x);for(let R of S){let Z=R[3]||"",J=R[4]?.layer;h.has(Z)||h.set(Z,[]),h.get(Z).push(R),J&&d.add(J)}}});await Promise.all(b),await(async()=>{if(!i)return;let x={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:R=Ht})=>{d.add(R),S.add(R)}),g=Object.fromEntries(await Promise.all(Array.from(S).map(async R=>{let J=(await Promise.all(this.config.preflights.filter(le=>(le.layer||Ht)===R).map(async le=>await le.getCSS(x)))).filter(Boolean).join(f);return[R,J]})))})();let y=this.config.sortLayers(Array.from(d).sort((x,S)=>(this.config.layers[x]??0)-(this.config.layers[S]??0)||x.localeCompare(S))),w={},v=this.config.outputToCssLayers,k=x=>{let S=x;return typeof v=="object"&&(S=v.cssLayerName?.(x)),S===null?null:S??x},U=(x=Qe)=>{if(w[x])return w[x];let S=Array.from(h).sort((J,le)=>(this.parentOrders.get(J[0])??0)-(this.parentOrders.get(le[0])??0)||J[0]?.localeCompare(le[0]||"")||0).map(([J,le])=>{let T=le.length,O=le.filter(N=>(N[4]?.layer||Qe)===x).sort((N,ce)=>N[0]-ce[0]||(N[4]?.sort||0)-(ce[4]?.sort||0)||N[5]?.currentSelector?.localeCompare(ce[5]?.currentSelector??"")||N[1]?.localeCompare(ce[1]||"")||N[2]?.localeCompare(ce[2]||"")||0).map(([,N,ce,,Gt,,wn])=>[[[(N&&Tf(N,o))??"",Gt?.sort??0]],ce,!!(wn??Gt?.noMerge)]);if(!O.length)return;let B=O.reverse().map(([N,ce,Gt],wn)=>{if(!Gt&&this.config.mergeSelectors)for(let Re=wn+1;Re<T;Re++){let me=O[Re];if(me&&!me[2]&&(N&&me[0]||N==null&&me[0]==null)&&me[1]===ce)return N&&me[0]&&me[0].push(...N),null}let kn=N?ne(N.sort((Re,me)=>Re[1]-me[1]||Re[0]?.localeCompare(me[0]||"")||0).map(Re=>Re[0]).filter(Boolean)):[];return kn.length?`${kn.join(`,${f}`)}{${ce}}`:ce}).filter(Boolean),D=Array.from(new Set(B)).reverse().join(f);if(!J)return D;let X=J.split(" $$ ");return`${X.join("{")}{${f}${D}${f}${"}".repeat(X.length)}`}).filter(Boolean).join(f);i&&(S=[g[x],S].filter(Boolean).join(f));let R;v&&S&&(R=k(x),R!==null&&(S=`@layer ${R}{${f}${S}${f}}`));let Z=a?"":`/* layer: ${x}${R&&R!==x?`, alias: ${R}`:""} */${f}`;return w[x]=S?Z+S:""},j=(x=y,S)=>{let R=x.filter(Z=>!S?.includes(Z));return[v&&R.length>0?`@layer ${R.map(k).filter(Jt).join(", ")};`:void 0,...R.map(Z=>U(Z)||"")].filter(Boolean).join(f)};return{get css(){return j()},layers:y,matched:m,getLayers:j,getLayer:U,setLayer:async(x,S)=>{let R=await S(U(x));return w[x]=R,R}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,l]=i;for(;s;){s=!1;let c=i[1];for(let f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let d=await f.match(c,n);if(d){if(V(d)){if(d===c)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=d.map(h=>{let g=h.matcher??c,b=[h,...a],y=new Set(l);return y.add(f),[i[0],g,b,y]});return(await Promise.all(m.map(h=>o(h)))).flat()}}i[1]=d.matcher??c,a.unshift(d),l.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){let i=r.slice().sort((c,f)=>(c.order||0)-(f.order||0)).reduceRight((c,f)=>d=>{let m=f.body?.(d.entries)||d.entries,h=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(d.selector,m);return(f.handle??jf)({...d,entries:m,selector:g||d.selector,parent:h[0]||d.parent,parentOrder:h[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},c)},c=>c)({prefix:"",selector:jn(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let c of this.config.postprocess)c(l);return l}constructCustomCSS(t,r,n){let o=nt(r);if(V(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${Le(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,n=!1,o){let i=V(t)?await this.matchVariants(t):[t],s=async([l,c,f])=>{this.config.details&&(r.rules=r.rules??[]);let d=this.config.rulesStaticMap[c];if(d&&d[1]&&(n||!d[2]?.internal)){this.config.details&&r.rules.push(d);let h=this.config.rules.indexOf(d),g=Rn(d[1]).filter(y=>y.length),b=d[2];if(g.length)return r.generator.activatedRules.add(d),g.map(y=>V(y)?[h,y,b]:[h,l,y,b,f])}r.variantHandlers=f;let{rulesDynamic:m}=this.config;for(let h of m){let[g,b,y]=h;if(y?.internal&&!n)continue;let w=c;if(y?.prefix){let j=E(y.prefix);if(o){let $=E(o);if(!j.some(x=>$.includes(x)))continue}else{let $=j.find(x=>c.startsWith(x));if($==null)continue;w=c.slice($.length)}}let v=w.match(g);if(!v)continue;let k=await b(v,r);if(!k)continue;if(this.config.details&&r.rules.push(h),typeof k!="string")if(Symbol.asyncIterator in k){let j=[];for await(let $ of k)$&&j.push($);k=j}else Symbol.iterator in k&&!Array.isArray(k)&&(k=Array.from(k).filter(Jt));let U=Rn(k).filter(j=>j.length);if(U.length){r.generator.activatedRules.add(h);let j=this.config.rules.indexOf(h);return U.map($=>{if(V($))return[j,$,y];let x=f,S=y;for(let R of $)R[0]===$e.variants?typeof R[1]=="function"?x=R[1](x)||x:x=[...E(R[1]),...x]:R[0]===$e.parent?x=[{parent:R[1]},...x]:R[0]===$e.selector?x=[{selector:R[1]},...x]:R[0]===$e.layer?x=[{layer:R[1]},...x]:R[0]===$e.sort?S={...S,sort:R[1]}:R[0]===$e.noMerge&&(S={...S,noMerge:R[1]});return[j,l,$,S,x]})}}},a=(await Promise.all(i.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}stringifyUtil(t,r){if(!t)return;if(Cn(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:l}=this.applyVariants(t),c=Le(o);if(!c)return;let{layer:f,sort:d,...m}=t[3]??{},h={...m,layer:s??f,sort:a??d};return[t[0],n,c,i,h,this.config.details?r:void 0,l]}async expandShortcut(t,r,n=5){if(n===0)return;let o=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:qo,i,s,a,l;for(let c of this.config.shortcuts){let f=t;if(c[2]?.prefix){let m=E(c[2].prefix).find(h=>t.startsWith(h));if(m==null)continue;f=t.slice(m.length)}if(Xo(c)){if(c[0]===f){i=i||c[2],s=c[1],o(c);break}}else{let d=f.match(c[0]);if(d&&(s=c[1](d,r)),s){i=i||c[2],o(c);break}}}if(s&&(a=ne(E(s).filter(V).map(c=>Zo(c.trim()).split(/\s+/g)).flat()),l=E(s).filter(c=>!V(c)).map(c=>({handles:[],value:c}))),!s){let c=V(t)?await this.matchVariants(t):[t];for(let f of c){let[d,m,h]=f;if(d!==m){let g=await this.expandShortcut(m,r,n-1);g&&(a=g[0].filter(V).map(b=>d.replace(m,b)),l=g[0].filter(b=>!V(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(E(a).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new er,s=(await Promise.all(ne(n).map(async f=>{let d=V(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",nt(f.value),void 0,f.handles]];return!d&&this.config.warn&&Qo(`unmatched utility "${f}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=t,c=[];for(let f of s){if(Cn(f)){c.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:d,entries:m,parent:h,sort:g,noMerge:b,layer:y}=this.applyVariants(f,[...f[4],...l],a);i.getFallback(y??o.layer,new Qt).getFallback(d,h,[[],f[0]])[0].push([m,!!(b??f[3]?.noMerge),g??0])}return c.concat(i.flatMap((f,d)=>f.map(([m,h],g,b)=>{let y=(v,k,U)=>{let j=Math.max(...U.map(x=>x[1])),$=U.map(x=>x[0]);return(v?[$.flat(1)]:$).map(x=>{let S=Le(x);if(S)return[h,g,S,b,{...o,noMerge:k,sort:j,layer:d},r,void 0]})};return[[m.filter(([,v])=>v).map(([v,,k])=>[v,k]),!0],[m.filter(([,v])=>!v).map(([v,,k])=>[v,k]),!1]].map(([v,k])=>[...y(!1,k,v.filter(([U])=>U.some(j=>j[0]===$e.shortcutsNoMerge))),...y(!0,k,v.filter(([U])=>U.every(j=>j[0]!==$e.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):V(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):V(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function si(e,t){return await Tn.create(e,t)}var ai=/\s\$\$\s+/g;function Ef(e){return ai.test(e)}function Tf(e,t){return Ef(e)?e.replace(ai,t?` ${t} `:" "):t?`${t} ${e}`:e}var ii=/^\[(.+?)(~?=)"(.*)"\]$/;function jn(e){return ii.test(e)?e.replace(ii,(t,r,n,o)=>`[${Zt(r)}${n}"${Zt(o)}"]`):`.${Zt(e)}`}function jf(e,t){return t(e)}var zn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function li(e={}){let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:s}){let a=Go(i);if(!a)return;let l=a[1];if(l.startsWith(t))l=l.slice(t.length);else if(r)return;let c=a[2],[,f="",d=c]=c.match(zn)||[];if(d==="~"||n&&d==="true"||!d)return`${f}${l}`;if(o==null){let m=s?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,h]=c.match(o)||[];if(h)return`${m}${f}${l}-${h}`}if(f&&d.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),h=m.pop()+d,g=m.join("");return[{matcher:`${f}${l}-${d}`},{matcher:`${g}${l}-${h}`}]}return`${f}${l}-${d}`}}}var zf=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Af=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,ci=/[\s'"`;>]+/;function ui(e){return{name:"attributify",extract:({content:t,cursor:r})=>{let n=t.matchAll(zf),o,i=0;for(let v of n){let[,k,U]=v,j=v.index+k.length;if(r>j&&r<=j+U.length){i=j,o=U;break}}if(!o)return null;let s=o.matchAll(Af),a=0,l,c;for(let v of s){let[k,U,j]=v,$=i+v.index;if(r>$&&r<=$+k.length){a=$,l=U,c=j?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;let f=!!e?.prefix&&l.startsWith(e.prefix);if(e?.prefixedOnly&&!f)return null;let d=f?l.slice(e.prefix.length):l;if(c===void 0)return{extracted:d,resolveReplacement(v){let k=f?e.prefix.length:0;return{start:a+k,end:a+l.length,replacement:v}}};let m=a+l.length+2,h=ci.exec(c),g=0,b;for(;h;){let[v]=h;if(r>m+g&&r<=m+g+h.index){b=c.slice(g,g+h.index);break}g+=h.index+v.length,h=ci.exec(c.slice(g))}b===void 0&&(b=c.slice(g));let[,y="",w]=b.match(zn)||[];return{extracted:`${y}${d}-${w}`,transformSuggestions(v){return v.filter(k=>k.startsWith(`${y}${d}-`)).map(k=>y+k.slice(y.length+d.length+1))},resolveReplacement(v){return{start:g+m,end:g+m+b.length,replacement:y+v.slice(y.length+d.length+1)}}}}}}var Of=["v-bind:",":"],fi=/[\s'"`;]+/g,An=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Pf=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,On=["placeholder","fill","opacity","stroke-opacity"];function pi(e){let t=e?.ignoreAttributes??On,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(An)).flatMap(i=>Array.from((i[1]||"").matchAll(Pf))).flatMap(([,i,...s])=>{let a=s.filter(Boolean).join("");if(t.includes(i))return[];for(let l of Of)if(i.startsWith(l)){i=i.slice(l.length);break}if(!a){if(tt(i)&&r!==!1){let l=[`[${i}=""]`];return n&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?a.split(fi).filter(tt):An.test(a)?(An.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(fi).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}var Vf=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??On;let t=[li(e)],r=[pi(e)],n=[ui(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},di=Vf;var nr="__TAGIFY__",Mf=/<([\w:-]+)/g;function mi(e){let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Mf)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${nr}${o}`)}}}function hi(e){let{extraProperties:t}=e,r=`${nr}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(nr.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}var Ff=(e={})=>{let{defaultExtractor:t=!0}=e,r=[hi(e)],n=[mi(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}},gi=Ff;function ve(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function fe(e,t,r,n){if(e===""||(V(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let l=a.length;if(l&&a===e.slice(s,s+l)&&i===0)return s===0||s===o-l?void 0:[e.slice(0,s),e.slice(s+l)]}}return[e,""]}function Ee(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=fe(e,"(",")",t);if(!i)return;let[s,a]=i;n.push(s),e=a}if(n.length>0)return n}var Pn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],or=["%alpha","<alpha-value>"],_f=new RegExp(or.map(e=>ue(e)).join("|"),"g");function q(e=""){let t=Wf(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Pn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function oe(e){let t=e.alpha??1;return typeof t=="string"&&or.includes(t)?1:t}function A(e,t){if(typeof e=="string")return e.replace(_f,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Pn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Wf(e){if(!e)return;let t=Lf(e);if(t!=null||(t=Uf(e),t!=null)||(t=Bf(e),t!=null)||(t=Df(e),t!=null)||(t=If(e),t!=null))return t}function Lf(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Uf(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Bf(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=Ee(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 Nf=new RegExp(`^(${Pn.join("|")})\\((.+)\\)$`,"i");function Df(e){let t=e.match(Nf);if(!t)return;let[,r,n]=t,o=bi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function If(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=bi(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function bi(e){let t=Ee(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=Ee(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}var xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vi=new Uint8Array(64),Kf=new Uint8Array(128);for(let e=0;e<xi.length;e++){let t=xi.charCodeAt(e);vi[e]=t,Kf[t]=e}function it(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(vi[o])}while(n>0);return t}var yi=1024*16,$i=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Vn=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(yi)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===yi&&(this.out+=$i.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+$i.decode(t.subarray(0,n)):r}};function wi(e){let t=new Vn,r=0,n=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(s>0&&t.write(59),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){let f=a[c];c>0&&t.write(44),l=it(t,f[0],l),f.length!==1&&(r=it(t,f[1],r),n=it(t,f[2],n),o=it(t,f[3],o),f.length!==4&&(i=it(t,f[4],i)))}}return t.flush()}var ir=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},sr=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Gf(){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 new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Hf=Gf(),Mn=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=wi(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Hf(this.toString())}};function qf(e){let t=e.split(`
|
|
3
|
+
`),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Yf(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Xf=Object.prototype.toString;function Zf(e){return Xf.call(e)==="[object Object]"}function ki(e){let t=e.split(`
|
|
4
|
+
`),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let c=i+s>>1;o<r[c]?s=c:i=c+1}let a=i-1,l=o-r[a];return{line:a,column:l}}}var Jf=/\w/,Fn=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
|
|
5
5
|
`,0),a=-1;for(;s>=0&&i>s;){let c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
|
|
6
6
|
`,s+1)}let l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let s=r.start,a=!0,l=!1;for(;s<r.end;){if(n[s]===`
|
|
7
|
-
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,l=!1;else{if(this.hires||a||i.has(s)){let c=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?
|
|
8
|
-
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},
|
|
9
|
-
`,Ue={insertLeft:!1,insertRight:!1,storeName:!1},ar=class e{constructor(t,r={}){let n=new sr(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ir},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new ir(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new
|
|
7
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,l=!1;else{if(this.hires||a||i.has(s)){let c=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?Jf.test(n[s])?l||(this.rawSegments.push(c),l=!0):(this.rawSegments.push(c),l=!1):this.rawSegments.push(c)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
8
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},st=`
|
|
9
|
+
`,Ue={insertLeft:!1,insertRight:!1,storeName:!1},ar=class e{constructor(t,r={}){let n=new sr(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ir},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new ir(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new Fn(t.hires),i=ki(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{let a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Yf(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Mn(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=qf(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(Zf(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let d=f[0];d<f[1];d+=1)o[d]=!0});let i=r.indentStart!==!1,s=c=>i?`${t}${c}`:(i=!0,c);this.intro=this.intro.replace(n,s);let a=0,l=this.firstChunk;for(;l;){let c=l.end;if(l.edited)o[a]||(l.content=l.content.replace(n,s),l.content.length&&(i=l.content[l.content.length-1]===`
|
|
10
10
|
`));else for(a=l.start;a<c;){if(!o[a]){let f=this.original[a];f===`
|
|
11
|
-
`?i=!0:f!=="\r"&&i&&(i=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(t))}a+=1}a=l.end,l=l.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return Ue.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ue.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return Ue.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ue.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let c=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=c,i.next=l||null,c||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(Ue.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ue.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let c=this.original.slice(t,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[t],l=this.byEnd[r];if(a){let c=a;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}a.edit(n,i,!s)}else{let c=new sr(t,r,"").edit(n,i);l.next=c,c.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.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 t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(it);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(it),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(it),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(it),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(it),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?t-o.start:0,l=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,l),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=ki(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,l=[];for(;a=i.exec(s);)l.push(a);return l}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(t);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var ep=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function lr(e){return e.includes("theme(")&&e.includes(")")}function cr(e,t,r=!0){let n=Array.from(e.toString().matchAll(ep));if(!n.length)return e;let o=new ar(e);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=tp(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function tp(e,t,r=!0){let[n,o]=e.split("/"),s=n.trim().split(".").reduce((a,l)=>a?.[l],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=q(s);a&&(s=A(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function I(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${ue(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i){let s=n.slice(i[0].length),a=E(t).map(l=>({matcher:s,handle:(c,f)=>f({...c,...l(c)})}));return a.length===1?a[0]:a}},autocomplete:`${e}:`}}function K(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${ue(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function ee(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=ve(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function M(e,t,r){for(let n of E(e))if(t.startsWith(n)){let o=ee(n,t,r);if(o){let[i="",s=o[1]]=M("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=t.indexOf(i,n.length);if(s!==-1){let a=t.indexOf("/",n.length),l=a===-1||s<=a;return[t.slice(n.length,l?s:a),t.slice(s+i.length),l?"":t.slice(a+1,s)]}}}}function Fn(e){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":e.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var rp=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function _n(e){for(let[t,...r]of rp)if(t===e)return r.length>0?r:[t]}function Si(e){let t="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(let l in o){let c=o[l],f=`:not(:where(.not-${n},.not-${n} *))`,d=l.split(",").map(m=>{let h=m.match(/:[():\-\w]+$/g);if(h){let g=h[0];return m=m.replace(g,""),r.map(b=>a?`${b} ${m}${g}`:`${b} :where(${m})${f}${g}`).join(",")}return null}).filter(m=>m);d.length?t+=d.join(","):t+=r.map(m=>a?l.split(",").map(h=>`${m} ${h}`).join(","):`${m} :where(${l})${f}`).join(","),t+="{";for(let m in c){let h=c[m];t+=`${m}:${h}${s?" !important":""};`}t+="}"}return t}function Ci(e,t){let{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend,s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),Si(i?{escapedSelector:s,selectorName:n,preflights:nt(Fn(e.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:Fn(e.theme),compatibility:r,important:o===!0})}var np=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:l})=>(t.add(Tn(l)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:l})=>{let c=l.colors?.[a];if(c==null)return;let f=typeof c=="object"?c:{},d={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},m={};for(let h in d){let g=d[h],b=f[g]??c,y=!1;for(let w of nr)if(b.includes(w)){y=!0,m[`--un-prose-${h}-opacity`]=1,m[`--un-prose-${h}`]=b.replace(w,`var(--un-prose-${h}-opacity)`);break}y||(m[`--un-prose-${h}`]=b)}return m},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let l=new RegExp(`^${r}-(\\w+)[:-].+$`),c=a.match(l)?.[1];if(c){let f=_n(c);if(f?.length)return{matcher:a.slice(r.length+c.length+2),selector:d=>{let m=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(g=>`${d} ${g}`).join(","):`${d} :is(:where(${f})${m})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return Ci(a,{escapedSelectors:t,...e,selectorName:r})}}]}},Ri=np;function op(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Ei(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${op(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Ti(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var ip=/\/\/#\s*sourceMappingURL=.*\n?/g;function ji(e){return e.includes("sourceMappingURL=")?e.replace(ip,""):e}var sp=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,ap=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,lp=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function cp(e){let t=[];for(let o of e.matchAll(ap))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(sp))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Ei(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Ht).forEach(o=>{o.includes(n)&&(o=Ti(o,r)),et(o)&&!lp.test(o)&&t.push(o)}),t}function zi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return cp(ji(e))}}}function Ai(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.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=Le(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),E(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}var Dn={};df(Dn,{auto:()=>pp,bracket:()=>xp,bracketOfColor:()=>yp,bracketOfLength:()=>$p,bracketOfPosition:()=>vp,cssvar:()=>wp,degree:()=>Sp,fraction:()=>bp,global:()=>Cp,number:()=>hp,numberWithUnit:()=>fp,percent:()=>gp,position:()=>Ep,properties:()=>Rp,px:()=>mp,rem:()=>dp,time:()=>kp});var te={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"]},Wn={...te,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"]},Ln={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"]},Pi={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Vi=["x","y","z"],Oi=["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"],st=Object.assign({},...Oi.map(e=>({[e.replace(/ /,"-")]:e})),...Oi.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),F=["inherit","initial","revert","revert-layer","unset"],at=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,ur=/^(var)\s*\((.+)\)(.*)/;var Be=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Un=/^(-?\d*(?:\.\d+)?)$/,Bn=/^(px|[sld]?v[wh])$/i,Nn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},fr=/^\[(color|image|length|size|position|quoted|string):/i,Mi=/,(?![^()]*\))/g;var up=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ie(e){return+e.toFixed(10)}function fp(e){let t=e.match(Be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ie(o)}${n}`}function pp(e){if(e==="auto"||e==="a")return"auto"}function dp(e){if(!e)return;if(Bn.test(e))return`${Nn[e]}${e}`;let t=e.match(Be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ie(o)}${n}`:`${ie(o/4)}rem`}function mp(e){if(Bn.test(e))return`${Nn[e]}${e}`;let t=e.match(Be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ie(o)}${n}`:`${ie(o)}px`}function hp(e){if(!Un.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ie(t)}function gp(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Un.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ie(t/100)}`}function bp(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ie(n*100)}%`}function pr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(fr);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function xp(e){return pr(e)}function yp(e){return pr(e,"color")}function $p(e){return pr(e,"length")}function vp(e){return pr(e,"position")}function wp(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${Q(t)}${r?`, ${r}`:""})`}}function kp(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ie(o)}${n}`:`${ie(o)}ms`}function Sp(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ie(o)}${n}`:`${ie(o)}deg`}function Cp(e){if(F.includes(e))return e}function Rp(e){if(e.split(",").every(t=>up.includes(t)))return e}function Ep(e){if(["top","left","right","bottom","center"].includes(e))return e}var Tp=or(Dn),p=Tp;var Fi={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(F.map(e=>[e,e]))},Wi=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":Fi[e]??p.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Fi).join("|")})`,"(vertical|align|v)-<percentage>"]}]],_i=["center","left","right","justify","start","end"],Li=[..._i.map(e=>[`text-${e}`,{"text-align":e}]),...[...F,..._i].map(e=>[`text-align-${e}`,{"text-align":e}])];var Di="$$mini-no-negative";function re(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??p.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return te[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return te[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function Ui(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function Bi(e,t,r){return Ui(e,t,r)||Ui(e,t,"colors")}function Kn(e,t){let[r,n]=fe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(fr)??[])[1];if(o==null||o===t)return[r,n]}}function dr(e,t,r){let n=Kn(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let l,c=p.bracketOfColor(o),f=c||o;if(p.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?l=f:/^hex-[\da-fA-F]+$/.test(f)?l=`#${f.slice(4)}`:o.startsWith("$")&&(l=p.cssvar(o)),l=l||c,!l){let m=Bi(t,[o],r);typeof m=="string"&&(l=m)}let d="DEFAULT";if(!l){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(d=h=g,m=s.slice(0,-1));let b=Bi(t,m,r);typeof b=="object"?l=b[h??d]:typeof b=="string"&&!h&&(l=b)}return{opacity:i,name:a,no:d,color:l,cssColor:q(l),alpha:p.bracket.cssvar.percent(i??"")}}function G(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=dr(o??"",i,r);if(!a)return;let{alpha:l,color:c,cssColor:f}=a,m=s.config.envMode==="dev"&&c?` /* ${c} */`:"",h={};if(f)if(l!=null)h[e]=A(f,l)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=oe(f)),h[e]=b+m}else if(c)if(l!=null)h[e]=A(c,l)+m;else{let g=`--un-${t}-opacity`,b=A(c,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function mr(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",l=o.at(-1);if(q(o.at(0))){let c=q(o.shift());c&&(a=`, ${A(c)}`)}else if(q(l)){let c=q(o.pop());c&&(a=`, ${A(c)}`)}else l&&ur.test(l)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function hr(e,t,r){return e!=null&&!!dr(e,t,r)?.color}var Ni=/[a-z]+/gi,In=new WeakMap;function gr({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(In.has(e))return In.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Ni,""))-Number.parseInt(s[1].replace(Ni,""))).map(([i,s])=>({point:i,size:s}));return In.set(e,o),o}function W(e,t){return F.map(r=>[`${e}-${r}`,{[t??e]:r}])}function se(e){return e!=null&&at.test(e)}function Ii(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),at.test(e)||Be.test(e)}function br(e,t,r){let n=t.split(Mi);return e||!e&&n.length===1?Pi[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Vi[i]}`,o])}var Ki=[[/^outline-(?:width-|size-)?(.+)$/,Gi,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,jp,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...F].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Gi([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}}function jp(e,t){return se(p.bracket(e[1]))?Gi(e,t):G("outline-color","outline-color","borderColor")(e,t)}var Hi=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function zp(e){return p.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var qi=[[/^will-change-(.+)/,([,e])=>({"will-change":zp(e)})]];var pt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...F],Xi=[[/^(?:border|b)()(?:-(.+))?$/,pe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,pe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,pe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,pe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,pe],[/^(?:border|b)-()(?:width|size)-(.+)$/,pe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-()(?:color-)?(.+)$/,lt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,lt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,lt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ct,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ct],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ct],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ut,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,ut],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ut],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,ut],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ut],[/^(?:border|b)-(?:style-)?()(.+)$/,ft,{autocomplete:["(border|b)-style",`(border|b)-(${pt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${pt.join("|")})`,`(border|b)-<directions>-style-(${pt.join("|")})`,`(border|b)-style-(${pt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ft],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ft],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ft],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ft]];function Yi(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:oe(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:oe(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Ap(e){return([,t],r)=>{let n=dr(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Yi(s,o,e);if(i)return Yi(i,o,e)}}function pe([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??p.bracket.cssvar.global.px(t||"1");if(e in te&&n!=null)return te[e].map(o=>[`border${o}-width`,n])}function lt([,e="",t],r){if(e in te){if(se(p.bracket(t)))return pe(["",e,t],r);if(hr(t,r.theme,"borderColor"))return Object.assign({},...te[e].map(n=>Ap(n)(["",t],r.theme)))}}function ct([,e="",t]){let r=p.bracket.percent.cssvar(t);if(e in te&&r!=null)return te[e].map(n=>[`--un-border${n}-opacity`,r])}function ut([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||p.bracket.cssvar.global.fraction.rem(t||"1");if(e in Ln&&n!=null)return Ln[e].map(o=>[`border${o}-radius`,n])}function ft([,e="",t]){if(pt.includes(t)&&e in te)return te[e].map(r=>[`border${r}-style`,t])}var Zi=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:p.bracket.percent.cssvar(e)})]],Op=/^\[url\(.+\)\]$/,Pp=/^\[(?:length|size):.+\]$/,Vp=/^\[position:.+\]$/,Mp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Fp=/^\[image:.+\]$/,Ji=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Op.test(t))return{"--un-url":p.bracket(t),"background-image":"var(--un-url)"};if(Pp.test(t)&&p.bracketOfLength(t)!=null)return{"background-size":p.bracketOfLength(t).split(" ").map(r=>p.fraction.auto.px.cssvar(r)??r).join(" ")};if((Ii(t)||Vp.test(t))&&p.bracketOfPosition(t)!=null)return{"background-position":p.bracketOfPosition(t).split(" ").map(r=>p.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Mp.test(t)||Fp.test(t)){let r=p.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:p.cssvar(r))??r}}return G("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Qi=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var es=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var ts=["solid","double","dotted","dashed","wavy",...F],rs=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ns,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,_p,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??p.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ts.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...ts.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ns([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}}function _p(e,t){if(se(p.bracket(e[1])))return ns(e,t);let r=G("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var os=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:p.bracket(e)!=null?p.bracket(e).split(" ").map(t=>p.cssvar.fraction(t)??t).join(" "):p.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":p.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":p.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??p.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Wp={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Gn([,e="",t],{theme:r}){let n=r.spacing?.[t]??p.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Wp[e]}gap`]:n}}var is=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Gn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Gn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Gn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function he(e){return e.replace("col","column")}function Hn(e){return e[0]==="r"?"Row":"Column"}function Lp(e,t,r){let n=t[`gridAuto${Hn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return p.bracket.cssvar.auto.rem(r)}var ss=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${he(e)}`]:r[`grid${Hn(e)}`]?.[t]??p.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${he(e)}`]:"1/-1"};let r=p.bracket.number(t);if(r!=null)return{[`grid-${he(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${he(e)}-start`]:p.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${he(e)}-end`]:p.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${he(e)}`]:Lp(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":p.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":he(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${he(e)}`]:r[`gridTemplate${Hn(e)}`]?.[t]??p.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${he(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${he(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":p.cssvar(t)??t.split("-").map(r=>`"${p.bracket(r)}"`).join(" ")}:{"grid-area":p.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]];var xr=["auto","hidden","clip","visible","scroll","overlay",...F],as=[[/^(?:overflow|of)-(.+)$/,([,e])=>xr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${xr.join("|")})`,`(overflow|of)-(x|y)-(${xr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>xr.includes(t)?{[`overflow-${e}`]:t}:void 0]];var ls=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>F.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Yn=[["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"}],...W("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"}],...W("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"}],...W("justify-self")],cs=[[/^order-(.+)$/,([,e])=>({order:p.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Xn=[["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"}],...W("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"}],...W("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"}],...W("self","align-self")],Zn=[["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"}],...W("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"}],...W("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"}],...W("place-self")],us=[...Yn,...Xn,...Zn].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function qn(e,{theme:t}){return t.spacing?.[e]??p.bracket.cssvar.global.auto.fraction.rem(e)}function dt([,e,t],r){let n=qn(t,r);if(n!=null&&e in Wn)return Wn[e].map(o=>[o.slice(1),n])}var fs=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:qn(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)-(.+)$/,dt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,dt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,dt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,dt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,dt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:qn(t,r)})]],ps=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...W("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"}],...W("clear")],ds=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":p.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??p.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],ms=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...W("box","box-sizing")];var hs=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Up=["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"],Bp=["none","strict","content","size","inline-size","layout","style","paint"],yr=" ",gs=[["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:p.bracket.cssvar.global(e)})]],bs=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...W("backface","backface-visibility")],xs=[[/^cursor-(.+)$/,([,e])=>({cursor:p.bracket.cssvar.global(e)})],...Up.map(e=>[`cursor-${e}`,{cursor:e}])],ys=[[/^contain-(.*)$/,([,e])=>p.bracket(e)!=null?{contain:p.bracket(e).split(" ").map(t=>p.cssvar.fraction(t)??t).join(" ")}:Bp.includes(e)?{contain:e}:void 0]],$s=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...W("pointer-events")],vs=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...W("resize")],ws=[["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"}],...W("select","user-select")],ks=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...F].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Ss=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":p.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...W("content-visibility")],Cs=[[/^content-(.+)$/,([,e])=>({content:p.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Rs=[["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"}]],Es=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Ts=[["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"}]],js=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...W("case","text-transform")],zs=[["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"}]],As=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Os=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var Jn={"--un-ring-inset":yr,"--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)"},Np=Object.keys(Jn),Ps=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??p.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Np},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Vs,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??p.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Dp,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,G("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Vs([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??p.bracket.cssvar.px(e)}}function Dp(e,t){return se(p.bracket(e[1]))?Vs(e,t):G("--un-ring-color","ring","borderColor")(e,t)}var Qn={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":yr,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ip=Object.keys(Qn),Ms=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?p.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!hr(i,n,"shadowColor")?{"--un-shadow":mr(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:G("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Ip},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Kp={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Oe(e,t){return`${e||""}${Kp[t]}`}function $r(e,t,r,n){let o=Oe(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return p.bracket.cssvar.global.auto.fraction.rem(n)}var _s=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[Oe(e,"w")]:$r(e,"w",r,t),[Oe(e,"h")]:$r(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Oe(e,t)]:$r(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Oe(e,t)]:$r(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Oe(e,t)]:Fs(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Oe(e,t)]:Fs(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 Fs(e,t,r="breakpoints"){let n=gr(e,r);if(n)return n.find(o=>o.point===t)?.size}function Gp(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return p.bracket.cssvar.global.auto.number(e)}var Ws=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Gp(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Ls=[[/^pa?()-?(.+)$/,re("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,re("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,re("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,re("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,re("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,re("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Us=[[/^ma?()-?(.+)$/,re("margin")],[/^m-?xy()()$/,re("margin")],[/^m-?([xy])(?:-?(.+))?$/,re("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,re("margin")],[/^m-(block|inline)(?:-(.+))?$/,re("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,re("margin")]];var Bs=[[/^fill-(.+)$/,G("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Ns,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":p.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??p.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Hp,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":p.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 Ns([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??p.bracket.cssvar.fraction.px.number(e)}}function Hp(e,t){return se(p.bracket(e[1]))?Ns(e,t):G("stroke","stroke","borderColor")(e,t)}var vr=["translate","rotate","scale"],qp=["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(" "),Ne=["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(" "),Yp=["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(" "),eo={"--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},ge=Object.keys(eo),Hs=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":st[e]??p.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(st).join("|")})`,`origin-(${Object.keys(st).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=p.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=p.bracket.cssvar(e)??(e.length>=3?st[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ds,{custom:{preflightKeys:ge}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ds,{custom:{preflightKeys:ge}}],[/^(?:transform-)?rotate-()(.+)$/,Ks,{custom:{preflightKeys:ge}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ks,{custom:{preflightKeys:ge}}],[/^(?:transform-)?skew-()(.+)$/,Gs,{custom:{preflightKeys:ge}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Gs,{custom:{preflightKeys:ge},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Is,{custom:{preflightKeys:ge}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Is,{custom:{preflightKeys:ge},autocomplete:[`transform-(${vr.join("|")})-<percent>`,`transform-(${vr.join("|")})-(x|y|z)-<percent>`,`(${vr.join("|")})-<percent>`,`(${vr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ne},{custom:{preflightKeys:ge}}],["transform-cpu",{transform:qp},{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:Yp},{custom:{preflightKeys:ge}}],["transform-none",{transform:"none"}],...W("transform")];function Ds([,e,t],{theme:r}){let n=r.spacing?.[t]??p.bracket.cssvar.fraction.rem(t);if(n!=null)return[...br(e,n,"translate"),["transform",Ne]]}function Is([,e,t]){let r=p.bracket.cssvar.fraction.percent(t);if(r!=null)return[...br(e,r,"scale"),["transform",Ne]]}function Ks([,e="",t]){let r=p.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ne}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ne}}function Gs([,e,t]){let r=p.bracket.cssvar.degree(t);if(r!=null)return[...br(e,r,"skew"),["transform",Ne]]}function qs(e,t){let r;if(p.cssvar(e)!=null)r=p.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??p.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Ys=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??p.time("150")};if(e!=null){let n=qs(e,r),o=r.duration?.[t||"DEFAULT"]??p.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??p.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??p.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??p.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??p.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 r=p.global(e)||qs(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...F].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...W("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var Xs=[[/^text-(.+)$/,Zp,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,ta,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Xp,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,G("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>F.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${F.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||p.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":to(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":p.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||p.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||p.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":p.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||p.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Zs=[[/^tab(?:-(.+))?$/,([,e])=>{let t=p.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Js=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||p.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Qs=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||p.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,G("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],ea=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":mr(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":p.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,G("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function to(e,t,r){return t[r]?.[e]||p.bracket.cssvar.global.rem(e)}function ta([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??p.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Xp(e,t){return se(p.bracket(e[1]))?ta(e,t):G("color","text","textColor")(e,t)}function Zp([,e="base"],{theme:t}){let r=Kn(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),s=o?to(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,c,f]=i;return typeof c=="object"?{"font-size":l,...c}:{"font-size":l,"line-height":s??c??"1","letter-spacing":f?to(f,t,"letterSpacing"):void 0}}let a=p.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":p.bracketOfLength.rem(e)}}var Jp={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"},ra=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Jp[e];if(r)return{[r]:p.cssvar(t)}}]],na=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!ed(t)&&/^[a-z-_]+$/i.test(r)&&Qp(o)){let i=p.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Qp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function ed(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var oa=[ra,na,ys,$s,bs,ls,fs,ds,cs,ss,ps,Us,ms,gs,Ws,_s,os,Hs,xs,ws,vs,Hi,Zn,Xn,Yn,is,us,as,Ts,ks,Rs,Xi,Ji,Qi,Bs,Ls,Li,Js,Es,Wi,Xs,js,zs,rs,As,Zs,Qs,ea,Zi,Ms,Ki,Ps,Ys,qi,Ss,Cs,es,Os,hs].flat(1);var ia={position:["relative","absolute","fixed","sticky","static"],globalKeyword:F};var ro={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(ro).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var sa={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},aa={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var la={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(",")},ca={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"]},ua={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},fa={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},pa={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)"]},da={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},no={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ma={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ha=no;var oo={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ga={...oo},ba={DEFAULT:"1px",none:"0"},xa={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"},ya={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},$a={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},va={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)"},wa={DEFAULT:"3px",none:"0"},ka={auto:"auto"},Sa={mouse:"(hover) and (pointer: fine)"};var Ca={...eo,...Qn,...Jn};var we={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ra={auto:"auto",...we,screen:"100vw"},io={none:"none",...we,screen:"100vw"},Ea={auto:"auto",...we,screen:"100vb"},Ta={auto:"auto",...we,screen:"100vi"},ja={auto:"auto",...we,screen:"100vh"},so={none:"none",...we,screen:"100vh"},ao={none:"none",...we,screen:"100vb"},lo={none:"none",...we,screen:"100vi"},za={...we};var Aa={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)"},Oa={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(",")}};var Pa={width:Ra,height:ja,maxWidth:io,maxHeight:so,minWidth:io,minHeight:so,inlineSize:Ta,blockSize:Ea,maxInlineSize:lo,maxBlockSize:ao,minInlineSize:lo,minBlockSize:ao,colors:ro,fontFamily:la,fontSize:ca,fontWeight:ma,breakpoints:oo,verticalBreakpoints:ga,borderRadius:$a,lineHeight:da,letterSpacing:no,wordSpacing:ha,boxShadow:va,textIndent:ua,textShadow:pa,textStrokeWidth:fa,blur:sa,dropShadow:aa,easing:Aa,transitionProperty:Oa,lineWidth:ba,spacing:xa,duration:ya,ringWidth:wa,preflightBase:Ca,containers:za,zIndex:ka,media:Sa};var Va={name:"aria",match(e,t){let r=M("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function wr(e){return{name:`${e}-aria`,match(t,r){let n=M(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,s=p.bracket(o)??r.theme.aria?.[o]??"";if(s)return{matcher:`${e}-[[aria-${s}]]:${i}`}}}}}var Ma=[wr("group"),wr("peer"),wr("parent"),wr("previous")];function Fa(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}var _a=/(max|min)-\[([^\]]*)\]:/;function Wa(){let e={};return{name:"breakpoints",match(t,r){if(_a.test(t)){let o=t.match(_a);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(gr(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,l]=a,c=t.slice(l.length);if(c==="container")continue;let f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Fa(i)})`,parentOrder:m})}):(m+=s+1,d&&s<n.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Fa(n[s+1][1])})`,parentOrder:m})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var La=[I("*",e=>({selector:`${e.selector} > *`}))];function mt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ee(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=p.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var Ua=[mt("all"," "),mt("children",">"),mt("next","+"),mt("sibling","+"),mt("siblings","~")];var Ba={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=M("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=p.bracket(n),a;if(s?a=p.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function Na(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),I("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var Da={name:"data",match(e,t){let r=M("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function kr(e){return{name:`${e}-data`,match(t,r){let n=M(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.data?.[o]??"";if(a)return{matcher:`${e}-[[data-${a}]]${s?`/${s}`:""}:${i}`}}}}}var Ia=[kr("group"),kr("peer"),kr("parent"),kr("previous")];var Ka=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Ga(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Ha=K("print","@media print"),qa={name:"media",match(e,t){let r=M("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Ya={name:"selector",match(e,t){let r=ee("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Xa={name:"layer",match(e,t){let r=M("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Za={name:"uno-layer",match(e,t){let r=M("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Ja={name:"scope",match(e,t){let r=ee("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Qa={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=ve(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=p.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},el={name:"theme-variables",match(e,t){if(lr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(cr(JSON.stringify(r.entries),t.theme))})}}}};var tl=/^-?[0-9.]+(?:[a-z]+|%)?$/,rl=/-?[0-9.]+(?:[a-z]+|%)?/,td=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function rd(e){let t=e.match(at)||e.match(ur);if(t){let[r,n]=fe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var nd=/\b(hue-rotate)\s*(\(.*)/;function od(e){let t=e.match(nd);if(t){let[r,n]=fe(t[2],"(",")"," ")??[];if(r){let o=tl.test(r.slice(1,-1))?r.replace(rl,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var nl={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Di))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||td.some(a=>a.test(n[0])))return;let i=rd(o);if(i){n[1]=i,r=!0;return}let s=od(o);if(s){n[1]=s,r=!0;return}tl.test(o)&&(n[1]=o.replace(rl,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};var al="__pseudo_placeholder__",De=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(${al})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ll=Object.keys(De),Ie=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),cl=Object.keys(Ie),id=["not","is","where","has"],ul=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),co=Object.entries(De).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),uo=Object.entries(Ie).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Pe=id.join("|"),ol=Object.keys(ul).sort((e,t)=>t.length-e.length).join("|");function sd(e,t,r){let n=new RegExp(`^(${ue(t)}:)(\\S+)${ue(r)}\\1`),o,i,s,a,l=d=>{let m=ee(`${e}-`,d,[]);if(!m)return;let[h,g]=m,b=p.bracket(h);if(b==null)return;let y=g.split(o,1)?.[0]??"",w=`${t}${Q(y)}`;return[y,d.slice(d.length-(g.length-y.length-1)),b.includes("&")?b.replace(/&/g,w):`${w}${b}`]},c=d=>{let m=d.match(i)||d.match(s);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=De[b]||Ie[b]||`:${b}`;return g&&(w=`:${g}(${w})`),[y,d.slice(h.length),`${t}${Q(y)}${w}`,b]},f=d=>{let m=d.match(a);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=`:${g}(${b})`;return[y,d.slice(h.length),`${t}${Q(y)}${w}`]};return{name:`pseudo:${e}`,match(d,m){if(o&&i&&s||(o=new RegExp(`(?:${m.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${Pe})-)?(${co}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.join("|")})`),s=new RegExp(`^${e}-(?:(?:(${Pe})-)?(${uo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`),a=new RegExp(`^${e}-(?:(${Pe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!d.startsWith(e))return;let h=l(d)||c(d)||f(d);if(!h)return;let[g,b,y,w=""]=h;return{matcher:b,handle:(v,k)=>k({...v,prefix:`${y}${r}${v.prefix}`.replace(n,"$1$2:"),sort:ll.indexOf(w)??cl.indexOf(w)})}},multiPass:!0}}var ad=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],il=Object.entries(De).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),sl=Object.entries(Ie).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function fl(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${il})(?:-(\\[\\w+\\]))?(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${sl})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let s=De[i[1]]||Ie[i[1]]||`:${i[1]}`;if(i[2]){let l=p.bracket(i[2]);l&&(s=s.replace(al,l))}let a=ll.indexOf(i[1]);return a===-1&&(a=cl.indexOf(i[1])),a===-1&&(a=void 0),{matcher:n.slice(i[0].length),handle:(l,c)=>{let f=s.includes("::")&&!ad.includes(s)?{pseudo:`${l.pseudo}${s}`}:{selector:`${l.selector}${s}`};return c({...l,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${il}|${sl}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${ol})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return ul[i[1]].map(a=>({matcher:n.slice(i[0].length),handle:(l,c)=>c({...l,pseudo:`${l.pseudo}${a}`})}))},multiPass:!1,autocomplete:`(${ol}):`}]}function pl(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${Pe})-(${co})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${Pe})-(${uo})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`),r=new RegExp(`^(${Pe})-(\\[.+\\])(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let s=i[1],l=ve(i[2],"[","]")?p.bracket(i[2]):De[i[2]]||Ie[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:c=>`${c}:${s}(${l})`}}},multiPass:!0,autocomplete:`(${Pe})-(${co}|${uo}):`}}function dl(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>sd(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var ld=/(part-\[(.+)\]:)(.+)/,ml={match(e){let t=e.match(ld);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var hl={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var gl={name:"supports",match(e,t){let r=M("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function bl(e){return[Va,Da,Xa,Ya,Za,nl,hl,Ga(),gl,Ha,qa,Wa(),...Ua,...fl(),pl(),...dl(e),ml,...Na(e),...Ka,Ja,...La,Ba,Qa,...Ia,...Ma,el]}var fo=(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:Pa,rules:oa,variants:bl(e),options:e,prefix:e.prefix,postprocess:cd(e.variablePrefix),preflights:Ai(e),extractorDefault:e.arbitraryVariants===!1?void 0:zi(),autocomplete:{shorthands:ia}}),xl=fo;function cd(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function yl(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function $l(e){return[...E(xl(e).postprocess),...yl(e.important)]}var Y={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"]},Sr={...Y,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"]},Cr={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"]},Cl={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Rl=["x","y","z"],vl=["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"],H=Object.assign({},...vl.map(e=>({[e.replace(/ /,"-")]:e})),...vl.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),P=["inherit","initial","revert","revert-layer","unset"],ht=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Rr=/^(var)\s*\((.+)\)(.*)/,Er=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,El=/^(-?\d*(?:\.\d+)?)$/,Tl=/^(px|[sld]?v[wh])$/i,jl={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},zl=/^\[(color|image|length|size|position|quoted|string):/i,ud=/,(?![^()]*\))/g,fd=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ae(e){return+e.toFixed(10)}function pd(e){let t=e.match(Er);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ae(o)}${n}`}function dd(e){if(e==="auto"||e==="a")return"auto"}function md(e){if(!e)return;if(Tl.test(e))return`${jl[e]}${e}`;let t=e.match(Er);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ae(o)}${n}`:`${ae(o/4)}rem`}function hd(e){if(Tl.test(e))return`${jl[e]}${e}`;let t=e.match(Er);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ae(o)}${n}`:`${ae(o)}px`}function gd(e){if(!El.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ae(t)}function bd(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!El.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ae(t/100)}`}function xd(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ae(n*100)}%`}function Tr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(zl);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function yd(e){return Tr(e)}function $d(e){return Tr(e,"color")}function vd(e){return Tr(e,"length")}function wd(e){return Tr(e,"position")}function kd(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${Q(t)}${r?`, ${r}`:""})`}}function Sd(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ae(o)}${n}`:`${ae(o)}ms`}function Cd(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ae(o)}${n}`:`${ae(o)}deg`}function Rd(e){if(P.includes(e))return e}function Ed(e){if(e.split(",").every(t=>fd.includes(t)))return e}function Td(e){if(["top","left","right","bottom","center"].includes(e))return e}var Al={__proto__:null,auto:dd,bracket:yd,bracketOfColor:$d,bracketOfLength:vd,bracketOfPosition:wd,cssvar:kd,degree:Cd,fraction:xd,global:Rd,number:gd,numberWithUnit:pd,percent:bd,position:Td,properties:Ed,px:hd,rem:md,time:Sd},Ol=or(Al),u=Ol,mo="$$mini-no-negative";function _(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return Y[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return Y[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function wl(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function kl(e,t,r){return wl(e,t,r)||wl(e,t,"colors")}function jr(e,t){let[r,n]=fe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(zl)??[])[1];if(o==null||o===t)return[r,n]}}function Ve(e,t,r){let n=jr(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let l,c=u.bracketOfColor(o),f=c||o;if(u.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?l=f:/^hex-[\da-fA-F]+$/.test(f)?l=`#${f.slice(4)}`:o.startsWith("$")&&(l=u.cssvar(o)),l=l||c,!l){let m=kl(t,[o],r);typeof m=="string"&&(l=m)}let d="DEFAULT";if(!l){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(d=h=g,m=s.slice(0,-1));let b=kl(t,m,r);typeof b=="object"?l=b[h??d]:typeof b=="string"&&!h&&(l=b)}return{opacity:i,name:a,no:d,color:l,cssColor:q(l),alpha:u.bracket.cssvar.percent(i??"")}}function L(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=Ve(o??"",i,r);if(!a)return;let{alpha:l,color:c,cssColor:f}=a,m=s.config.envMode==="dev"&&c?` /* ${c} */`:"",h={};if(f)if(l!=null)h[e]=A(f,l)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=oe(f)),h[e]=b+m}else if(c)if(l!=null)h[e]=A(c,l)+m;else{let g=`--un-${t}-opacity`,b=A(c,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function Me(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",l=o.at(-1);if(q(o.at(0))){let c=q(o.shift());c&&(a=`, ${A(c)}`)}else if(q(l)){let c=q(o.pop());c&&(a=`, ${A(c)}`)}else l&&Rr.test(l)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Fe(e,t,r){return e!=null&&!!Ve(e,t,r)?.color}var Sl=/[a-z]+/gi,po=new WeakMap;function Te({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(po.has(e))return po.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Sl,""))-Number.parseInt(s[1].replace(Sl,""))).map(([i,s])=>({point:i,size:s}));return po.set(e,o),o}function C(e,t){return P.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ke(e){return e!=null&&ht.test(e)}function ho(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),ht.test(e)||Er.test(e)}function gt(e,t,r){let n=t.split(ud);return e||!e&&n.length===1?Cl[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Rl[i]}`,o])}var Pl=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:u.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":u.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??u.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":u.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"}],...C("animate","animation")];function Vl(e){return e?A(e,0):"rgb(255 255 255 / 0)"}function jd(e,t,r,n){return t?n!=null?A(t,n):A(t,`var(--un-${e}-opacity, ${oe(t)})`):A(r,n)}function go(){return([,e,t],{theme:r})=>{let n=Ve(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let a=jd(e,s,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${a} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Vl(s)} 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":Vl(s),"--un-gradient-stops":`var(--un-gradient-from), ${a} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${a} var(--un-gradient-to-position)`}}}}function zd(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(u.bracket.cssvar.percent(t))*100}%`})}var Ml=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":u.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":u.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,go()],[/^(?:bg-gradient-)?(via)-(.+)$/,go()],[/^(?:bg-gradient-)?(to)-(.+)$/,go()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:u.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,zd()],[/^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 H)return{"--un-gradient-shape":`to ${H[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(H).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in H?`to ${H[e]}`:u.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(H).join("|")})`,`shape-(${Object.keys(H).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...C("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":H[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"}],...C("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"}],...C("bg-origin","background-origin")];var bo={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"},Fl=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=bo[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(bo).join("|")})`,`list-(${Object.keys(bo).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":u.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...C("list","list-style-type")],_l=[[/^accent-(.+)$/,L("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":u.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Wl=[[/^caret-(.+)$/,L("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":u.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ll=[["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"]]]],Ul=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...C("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...C("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"}],...C("overscroll-y","overscroll-behavior-y")],Bl=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...C("scroll","scroll-behavior")];var Nl=[[/^columns-(.+)$/,([,e])=>({columns:u.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...C("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"}],...C("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"}],...C("break-after")];var Ad=/@media \(min-width: (.+)\)/,Dl=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;V(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,a;for(let c of n){let f=c.handle?.({},d=>d)?.parent;if(V(f)){let d=f.match(Ad)?.[1];if(d){let h=(Te(t)??[]).find(g=>g.size===d)?.point;s?h&&(a=s?.[h]):a=d,h&&!V(o)&&(i=o?.[h]??i)}}}let l={"max-width":a};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],Il=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(Te(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Od=["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"],Pd=["none","strict","content","size","inline-size","layout","style","paint"],z=" ",bt=[["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:u.bracket.cssvar.global(e)})]],xt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...C("backface","backface-visibility")],yt=[[/^cursor-(.+)$/,([,e])=>({cursor:u.bracket.cssvar.global(e)})],...Od.map(e=>[`cursor-${e}`,{cursor:e}])],$t=[[/^contain-(.*)$/,([,e])=>u.bracket(e)!=null?{contain:u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" ")}:Pd.includes(e)?{contain:e}:void 0]],vt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...C("pointer-events")],wt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...C("resize")],kt=[["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"}],...C("select","user-select")],St=[[/^(?: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)"}]],Ct=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...C("content-visibility")],Rt=[[/^content-(.+)$/,([,e])=>({content:u.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Et=[["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"}]],Tt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],jt=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],zt=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...C("case","text-transform")],At=[["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"}]],Ot=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Pt=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ge={"--un-ring-inset":z,"--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)"},Vd=Object.keys(Ge),Vt=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??u.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Vd},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Yl,{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]??u.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Md,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,L("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Yl([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??u.bracket.cssvar.px(e)}}function Md(e,t){return ke(u.bracket(e[1]))?Yl(e,t):L("--un-ring-color","ring","borderColor")(e,t)}var He={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":z,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Fd=Object.keys(He),Mt=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Fe(i,n,"shadowColor")?{"--un-shadow":Me(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:L("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Fd},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],zr=["translate","rotate","scale"],_d=["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(" "),Ke=["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(" "),Wd=["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(" "),qe={"--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},be=Object.keys(qe),Ft=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":H[e]??u.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(H).join("|")})`,`origin-(${Object.keys(H).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=u.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=u.bracket.cssvar(e)??(e.length>=3?H[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Kl,{custom:{preflightKeys:be}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Kl,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-()(.+)$/,Hl,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Hl,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-()(.+)$/,ql,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-([xy])-(.+)$/,ql,{custom:{preflightKeys:be},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Gl,{custom:{preflightKeys:be}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Gl,{custom:{preflightKeys:be},autocomplete:[`transform-(${zr.join("|")})-<percent>`,`transform-(${zr.join("|")})-(x|y|z)-<percent>`,`(${zr.join("|")})-<percent>`,`(${zr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ke},{custom:{preflightKeys:be}}],["transform-cpu",{transform:_d},{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:Wd},{custom:{preflightKeys:be}}],["transform-none",{transform:"none"}],...C("transform")];function Kl([,e,t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.fraction.rem(t);if(n!=null)return[...gt(e,n,"translate"),["transform",Ke]]}function Gl([,e,t]){let r=u.bracket.cssvar.fraction.percent(t);if(r!=null)return[...gt(e,r,"scale"),["transform",Ke]]}function Hl([,e="",t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ke}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ke}}function ql([,e,t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return[...gt(e,r,"skew"),["transform",Ke]]}var Xl={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]))},Pr=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":Xl[e]??u.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Xl).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Zl=["center","left","right","justify","start","end"],Vr=[...Zl.map(e=>[`text-${e}`,{"text-align":e}]),...[...P,...Zl].map(e=>[`text-align-${e}`,{"text-align":e}])],Mr=[[/^outline-(?:width-|size-)?(.+)$/,rc,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Ld,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??u.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 rc([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Ld(e,t){return ke(u.bracket(e[1]))?rc(e,t):L("outline-color","outline-color","borderColor")(e,t)}var Fr=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Ud(e){return u.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var _r=[[/^will-change-(.+)/,([,e])=>({"will-change":Ud(e)})]],je=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...P],Wr=[[/^(?:border|b)()(?:-(.+))?$/,de,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,de],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,de],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,de],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,de],[/^(?:border|b)-()(?:width|size)-(.+)$/,de,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-()(?:color-)?(.+)$/,_t,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,_t],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,_t],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,_t],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,_t],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Wt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Wt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Wt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Wt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Wt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Lt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Lt],[/^(?:border|b)-(?:style-)?()(.+)$/,Ye,{autocomplete:["(border|b)-style",`(border|b)-(${je.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${je.join("|")})`,`(border|b)-<directions>-style-(${je.join("|")})`,`(border|b)-style-(${je.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ye],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ye]];function Jl(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:oe(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:oe(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Bd(e){return([,t],r)=>{let n=Ve(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Jl(s,o,e);if(i)return Jl(i,o,e)}}function de([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.global.px(t||"1");if(e in Y&&n!=null)return Y[e].map(o=>[`border${o}-width`,n])}function _t([,e="",t],r){if(e in Y){if(ke(u.bracket(t)))return de(["",e,t],r);if(Fe(t,r.theme,"borderColor"))return Object.assign({},...Y[e].map(n=>Bd(n)(["",t],r.theme)))}}function Wt([,e="",t]){let r=u.bracket.percent.cssvar(t);if(e in Y&&r!=null)return Y[e].map(n=>[`--un-border${n}-opacity`,r])}function Lt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t||"1");if(e in Cr&&n!=null)return Cr[e].map(o=>[`border${o}-radius`,n])}function Ye([,e="",t]){if(je.includes(t)&&e in Y)return Y[e].map(r=>[`border${r}-style`,t])}var Lr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:u.bracket.percent.cssvar(e)})]],Nd=/^\[url\(.+\)\]$/,Dd=/^\[(?:length|size):.+\]$/,Id=/^\[position:.+\]$/,Kd=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Gd=/^\[image:.+\]$/,Ur=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Nd.test(t))return{"--un-url":u.bracket(t),"background-image":"var(--un-url)"};if(Dd.test(t)&&u.bracketOfLength(t)!=null)return{"background-size":u.bracketOfLength(t).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((ho(t)||Id.test(t))&&u.bracketOfPosition(t)!=null)return{"background-position":u.bracketOfPosition(t).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Kd.test(t)||Gd.test(t)){let r=u.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return L("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Br=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Nr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Ql=["solid","double","dotted","dashed","wavy",...P],Dr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,nc,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Hd,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??u.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ql.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ql.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function nc([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Hd(e,t){if(ke(u.bracket(e[1])))return nc(e,t);let r=L("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Ir=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:u.bracket(e)!=null?u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" "):u.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??u.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"}]],qd={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function xo([,e="",t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.global.rem(t);if(n!=null)return{[`${qd[e]}gap`]:n}}var Kr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,xo,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,xo,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,xo,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function xe(e){return e.replace("col","column")}function yo(e){return e[0]==="r"?"Row":"Column"}function Yd(e,t,r){let n=t[`gridAuto${yo(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var Gr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${xe(e)}`]:r[`grid${yo(e)}`]?.[t]??u.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${xe(e)}`]:"1/-1"};let r=u.bracket.number(t);if(r!=null)return{[`grid-${xe(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${xe(e)}-start`]:u.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${xe(e)}-end`]:u.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${xe(e)}`]:Yd(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":u.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":xe(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${xe(e)}`]:r[`gridTemplate${yo(e)}`]?.[t]??u.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${xe(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${xe(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":u.cssvar(t)??t.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Ar=["auto","hidden","clip","visible","scroll","overlay",...P],Hr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ar.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ar.join("|")})`,`(overflow|of)-(x|y)-(${Ar.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ar.includes(t)?{[`overflow-${e}`]:t}:void 0]],qr=[[/^(?: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})]],Bt=[["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"}],...C("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"}],...C("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"}],...C("justify-self")],Yr=[[/^order-(.+)$/,([,e])=>({order:u.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Nt=[["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"}],...C("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"}],...C("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"}],...C("self","align-self")],Dt=[["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"}],...C("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"}],...C("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"}],...C("place-self")],Xr=[...Bt,...Nt,...Dt].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function $o(e,{theme:t}){return t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e)}function Ut([,e,t],r){let n=$o(t,r);if(n!=null&&e in Sr)return Sr[e].map(o=>[o.slice(1),n])}var Zr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:$o(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)-(.+)$/,Ut],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ut],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ut],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ut],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ut],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:$o(t,r)})]],Jr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...C("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"}],...C("clear")],Qr=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":u.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??u.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],en=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...C("box","box-sizing")],tn=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Xd={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _e(e,t){return`${e||""}${Xd[t]}`}function Or(e,t,r,n){let o=_e(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return u.bracket.cssvar.global.auto.fraction.rem(n)}var rn=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[_e(e,"w")]:Or(e,"w",r,t),[_e(e,"h")]:Or(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Or(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Or(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:ec(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:ec(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 ec(e,t,r="breakpoints"){let n=Te(e,r);if(n)return n.find(o=>o.point===t)?.size}function Zd(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(e)}var nn=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Zd(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],on=[[/^pa?()-?(.+)$/,_("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,_("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,_("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,_("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,_("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,_("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],sn=[[/^ma?()-?(.+)$/,_("margin")],[/^m-?xy()()$/,_("margin")],[/^m-?([xy])(?:-?(.+))?$/,_("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,_("margin")],[/^m-(block|inline)(?:-(.+))?$/,_("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,_("margin")]],an=[[/^fill-(.+)$/,L("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,oc,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":u.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??u.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Jd,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":u.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 oc([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??u.bracket.cssvar.fraction.px.number(e)}}function Jd(e,t){return ke(u.bracket(e[1]))?oc(e,t):L("stroke","stroke","borderColor")(e,t)}function tc(e,t){let r;if(u.cssvar(e)!=null)r=u.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var ln=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(e!=null){let n=tc(e,r),o=r.duration?.[t||"DEFAULT"]??u.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??u.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??u.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 r=u.global(e)||tc(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...P].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...C("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],cn=[[/^text-(.+)$/,em,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,ic,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Qd,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,L("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":u.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||u.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":vo(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":u.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||u.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":u.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||u.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],un=[[/^tab(?:-(.+))?$/,([,e])=>{let t=u.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],fn=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],pn=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,L("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],dn=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Me(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,L("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function vo(e,t,r){return t[r]?.[e]||u.bracket.cssvar.global.rem(e)}function ic([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??u.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Qd(e,t){return ke(u.bracket(e[1]))?ic(e,t):L("color","text","textColor")(e,t)}function em([,e="base"],{theme:t}){let r=jr(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),s=o?vo(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,c,f]=i;return typeof c=="object"?{"font-size":l,...c}:{"font-size":l,"line-height":s??c??"1","letter-spacing":f?vo(f,t,"letterSpacing"):void 0}}let a=u.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":u.bracketOfLength.rem(e)}}var tm={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"},mn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=tm[e];if(r)return{[r]:u.cssvar(t)}}]],hn=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!nm(t)&&/^[a-z-_]+$/i.test(r)&&rm(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function rm(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function nm(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var om=[mn,hn,$t,vt,xt,qr,Zr,Qr,Yr,Gr,Jr,sn,en,bt,nn,rn,Ir,Ft,yt,kt,wt,Fr,Dt,Nt,Bt,Kr,Xr,Hr,jt,St,Et,Wr,Ur,Br,an,on,Vr,fn,Tt,Pr,cn,zt,At,Dr,Ot,un,pn,dn,Lr,Mt,Mr,Vt,ln,_r,Ct,Rt,Nr,Pt,tn].flat(1);var sc=[[/^divide-?([xy])$/,gn,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,gn],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,gn],[/^divide-(block|inline)-(.+)$/,gn],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,L("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":u.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...je.map(e=>[`divide-${e}`,{"border-style":e}])];function gn([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Y[e].map(i=>{let s=`border${i}-width`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var ko={"--un-blur":z,"--un-brightness":z,"--un-contrast":z,"--un-drop-shadow":z,"--un-grayscale":z,"--un-hue-rotate":z,"--un-invert":z,"--un-saturate":z,"--un-sepia":z},lc=Object.keys(ko),ac={preflightKeys:lc},bn="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)",So={"--un-backdrop-blur":z,"--un-backdrop-brightness":z,"--un-backdrop-contrast":z,"--un-backdrop-grayscale":z,"--un-backdrop-hue-rotate":z,"--un-backdrop-invert":z,"--un-backdrop-opacity":z,"--un-backdrop-saturate":z,"--un-backdrop-sepia":z},cc=Object.keys(So),sm={preflightKeys:cc},xn="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)",Se={preflightKeys:[...lc,...cc]};function wo(e){let t=u.bracket.cssvar(e||"");if(t!=null||(t=e?u.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function Ce(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":xn,"backdrop-filter":xn}:{[`--un-${e}`]:`${e}(${i})`,filter:bn}}}function am([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Me(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:bn};if(r=u.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:bn}}var uc=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ce("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)),{custom:Se,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ce("brightness",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ce("contrast",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,am,{custom:ac,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-(.+)$/,L("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":u.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ce("grayscale",wo),{custom:Se,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ce("hue-rotate",e=>u.bracket.cssvar.degree(e)),{custom:Se}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ce("invert",wo),{custom:Se,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ce("opacity",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ce("saturate",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ce("sepia",wo),{custom:Se,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:bn},{custom:ac}],["backdrop-filter",{"-webkit-backdrop-filter":xn,"backdrop-filter":xn},{custom:sm}],["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}])];var fc=[[/^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}])];var pc=[[/^\$ placeholder-(.+)$/,L("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":u.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Co={"--un-scroll-snap-strictness":"proximity"},dc={preflightKeys:Object.keys(Co)},mc=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:dc,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:dc}],["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?()-?(.+)$/,_("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])-?(.+)$/,_("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,_("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,_("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,_("scroll-margin")],[/^scroll-pa?()-?(.+)$/,_("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,_("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,_("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,_("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,_("scroll-padding")]];var gc=[[/^space-([xy])-(.+)$/,hc,{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)-(.+)$/,hc],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function hc([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Y[e].map(i=>{let s=`margin${i}`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var bc=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],xc=[...["manual","auto","none",...P].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],yc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...C("write","writing-mode")],$c=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...C("write-orient","text-orientation")],vc=[["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"}]],wc=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],kc=[["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(H[e])return{"object-position":H[e]};if(u.bracketOfPosition(e)!=null)return{"object-position":u.bracketOfPosition(e).split(" ").map(t=>u.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(H).join("|")})`}]],Sc=[["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"}],...C("bg-blend","background-blend")],Cc=[["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"}],...C("mix-blend")],Rc=[["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"}]];var Ro={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Ec={preflightKeys:Object.keys(Ro)},Tc="var(--un-border-spacing-x) var(--un-border-spacing-y)",jc=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Tc}},{custom:Ec,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Tc}},{custom:Ec,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];var jo={"--un-pan-x":z,"--un-pan-y":z,"--un-pinch-zoom":z},Eo={preflightKeys:Object.keys(jo)},To="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",zc=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":To}),{custom:Eo,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":To}),{custom:Eo}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":To},{custom:Eo}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...C("touch","touch-action")];var zo={"--un-ordinal":z,"--un-slashed-zero":z,"--un-numeric-figure":z,"--un-numeric-spacing":z,"--un-numeric-fraction":z},ze={preflightKeys:Object.keys(zo)};function Ae(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Ac=[[/^ordinal$/,()=>Ae({"--un-ordinal":"ordinal"}),{custom:ze,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Ae({"--un-slashed-zero":"slashed-zero"}),{custom:ze,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Ae({"--un-numeric-figure":"lining-nums"}),{custom:ze,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Ae({"--un-numeric-figure":"oldstyle-nums"}),{custom:ze,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Ae({"--un-numeric-spacing":"proportional-nums"}),{custom:ze,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Ae({"--un-numeric-spacing":"tabular-nums"}),{custom:ze,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Ae({"--un-numeric-fraction":"diagonal-fractions"}),{custom:ze,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Ae({"--un-numeric-fraction":"stacked-fractions"}),{custom:ze,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var lm={"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"},Oc=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=lm[e];if(r)return{[r]:u.cssvar(t)}}]];var Pc=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var Vc=[mn,Oc,hn,Dl,$t,vc,vt,xt,qr,Zr,fc,wc,Qr,Yr,Gr,Jr,sn,en,bt,nn,rn,Ir,jc,Ft,Pl,yt,zc,kt,wt,mc,Fl,Fr,Nl,Dt,Nt,Bt,Kr,Xr,gc,sc,Hr,Ul,Bl,jt,St,Et,Wr,Ur,Ml,Br,an,kc,on,Vr,fn,Tt,Pr,cn,zt,bc,At,Ac,Dr,Ot,un,pn,dn,xc,yc,$c,Wl,_l,Lr,Sc,Cc,Mt,Mr,Vt,Ll,uc,ln,_r,Ct,Rt,pc,Nr,Pc,Rc,Pt,tn].flat(1);var Mc=[...Il];var Ao={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(Ao).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Fc={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},_c={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)"},Wc={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(",")},Lc={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"]},Uc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Bc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Nc={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},Dc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Fo={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Ic={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Kc=Fo,_o={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Gc={..._o},Hc={DEFAULT:"1px",none:"0"},qc={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"},Yc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Xc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Zc={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)"},Jc={DEFAULT:"3px",none:"0"},Qc={auto:"auto"},eu={mouse:"(hover) and (pointer: fine)"},tu={...qe,...He,...Ge},ye={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ru={auto:"auto",...ye,screen:"100vw"},Oo={none:"none",...ye,screen:"100vw"},nu={auto:"auto",...ye,screen:"100vb"},ou={auto:"auto",...ye,screen:"100vi"},iu={auto:"auto",...ye,screen:"100vh"},Po={none:"none",...ye,screen:"100vh"},Vo={none:"none",...ye,screen:"100vb"},Mo={none:"none",...ye,screen:"100vi"},su={...ye},cm={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)"},um={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(",")}},Wo={width:ru,height:iu,maxWidth:Oo,maxHeight:Po,minWidth:Oo,minHeight:Po,inlineSize:ou,blockSize:nu,maxInlineSize:Mo,maxBlockSize:Vo,minInlineSize:Mo,minBlockSize:Vo,colors:Ao,fontFamily:Wc,fontSize:Lc,fontWeight:Ic,breakpoints:_o,verticalBreakpoints:Gc,borderRadius:Xc,lineHeight:Dc,letterSpacing:Fo,wordSpacing:Kc,boxShadow:Zc,textIndent:Uc,textShadow:Nc,textStrokeWidth:Bc,blur:Fc,dropShadow:_c,easing:cm,transitionProperty:um,lineWidth:Hc,spacing:qc,duration:Yc,ringWidth:Jc,preflightBase:tu,containers:su,zIndex:Qc,media:eu};var au={...Wo,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:{...qe,...jo,...Co,...zo,...Ro,...He,...Ge,...ko,...So}};var lu=[I("svg",e=>({selector:`${e.selector} svg`}))];var cu=[I(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),I(".light",e=>({prefix:`.light $$ ${e.prefix}`})),K("@dark","@media (prefers-color-scheme: dark)"),K("@light","@media (prefers-color-scheme: light)")];var mu={name:"aria",match(e,t){let r=M("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function yn(e){return{name:`${e}-aria`,match(t,r){let n=M(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,s=u.bracket(o)??r.theme.aria?.[o]??"";if(s)return{matcher:`${e}-[[aria-${s}]]:${i}`}}}}}var hu=[yn("group"),yn("peer"),yn("parent"),yn("previous")];function Lo(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}var uu=/(max|min)-\[([^\]]*)\]:/;function gu(){let e={};return{name:"breakpoints",match(t,r){if(uu.test(t)){let o=t.match(uu);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Te(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,l]=a,c=t.slice(l.length);if(c==="container")continue;let f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Lo(i)})`,parentOrder:m})}):(m+=s+1,d&&s<n.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Lo(n[s+1][1])})`,parentOrder:m})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var bu=[I("*",e=>({selector:`${e.selector} > *`}))];function It(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ee(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=u.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var xu=[It("all"," "),It("children",">"),It("next","+"),It("sibling","+"),It("siblings","~")],yu={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=M("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=u.bracket(n),a;if(s?a=u.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function $u(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),I("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var vu={name:"data",match(e,t){let r=M("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function $n(e){return{name:`${e}-data`,match(t,r){let n=M(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,s]=n,a=u.bracket(o)??r.theme.data?.[o]??"";if(a)return{matcher:`${e}-[[data-${a}]]${s?`/${s}`:""}:${i}`}}}}}var wu=[$n("group"),$n("peer"),$n("parent"),$n("previous")],ku=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Su(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Cu=K("print","@media print"),Ru={name:"media",match(e,t){let r=M("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Eu={name:"selector",match(e,t){let r=ee("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Tu={name:"layer",match(e,t){let r=M("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},ju={name:"uno-layer",match(e,t){let r=M("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},zu={name:"scope",match(e,t){let r=ee("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Au={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=ve(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=u.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},Ou={name:"theme-variables",match(e,t){if(lr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(cr(JSON.stringify(r.entries),t.theme))})}}}},Pu=/^-?[0-9.]+(?:[a-z]+|%)?$/,Vu=/-?[0-9.]+(?:[a-z]+|%)?/,fm=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function pm(e){let t=e.match(ht)||e.match(Rr);if(t){let[r,n]=fe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var dm=/\b(hue-rotate)\s*(\(.*)/;function mm(e){let t=e.match(dm);if(t){let[r,n]=fe(t[2],"(",")"," ")??[];if(r){let o=Pu.test(r.slice(1,-1))?r.replace(Vu,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Mu={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===mo))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||fm.some(a=>a.test(n[0])))return;let i=pm(o);if(i){n[1]=i,r=!0;return}let s=mm(o);if(s){n[1]=s,r=!0;return}Pu.test(o)&&(n[1]=o.replace(Vu,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}},Fu="__pseudo_placeholder__",Xe=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(${Fu})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),_u=Object.keys(Xe),Ze=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Wu=Object.keys(Ze),hm=["not","is","where","has"],Lu=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Uo=Object.entries(Xe).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Bo=Object.entries(Ze).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),We=hm.join("|"),fu=Object.keys(Lu).sort((e,t)=>t.length-e.length).join("|");function gm(e,t,r){let n=new RegExp(`^(${ue(t)}:)(\\S+)${ue(r)}\\1`),o,i,s,a,l=d=>{let m=ee(`${e}-`,d,[]);if(!m)return;let[h,g]=m,b=u.bracket(h);if(b==null)return;let y=g.split(o,1)?.[0]??"",w=`${t}${Q(y)}`;return[y,d.slice(d.length-(g.length-y.length-1)),b.includes("&")?b.replace(/&/g,w):`${w}${b}`]},c=d=>{let m=d.match(i)||d.match(s);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=Xe[b]||Ze[b]||`:${b}`;return g&&(w=`:${g}(${w})`),[y,d.slice(h.length),`${t}${Q(y)}${w}`,b]},f=d=>{let m=d.match(a);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=`:${g}(${b})`;return[y,d.slice(h.length),`${t}${Q(y)}${w}`]};return{name:`pseudo:${e}`,match(d,m){if(o&&i&&s||(o=new RegExp(`(?:${m.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${We})-)?(${Uo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.join("|")})`),s=new RegExp(`^${e}-(?:(?:(${We})-)?(${Bo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`),a=new RegExp(`^${e}-(?:(${We})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!d.startsWith(e))return;let h=l(d)||c(d)||f(d);if(!h)return;let[g,b,y,w=""]=h;return{matcher:b,handle:(v,k)=>k({...v,prefix:`${y}${r}${v.prefix}`.replace(n,"$1$2:"),sort:_u.indexOf(w)??Wu.indexOf(w)})}},multiPass:!0}}var bm=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],pu=Object.entries(Xe).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),du=Object.entries(Ze).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Uu(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${pu})(?:-(\\[\\w+\\]))?(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${du})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let s=Xe[i[1]]||Ze[i[1]]||`:${i[1]}`;if(i[2]){let l=u.bracket(i[2]);l&&(s=s.replace(Fu,l))}let a=_u.indexOf(i[1]);return a===-1&&(a=Wu.indexOf(i[1])),a===-1&&(a=void 0),{matcher:n.slice(i[0].length),handle:(l,c)=>{let f=s.includes("::")&&!bm.includes(s)?{pseudo:`${l.pseudo}${s}`}:{selector:`${l.selector}${s}`};return c({...l,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${pu}|${du}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${fu})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return Lu[i[1]].map(a=>({matcher:n.slice(i[0].length),handle:(l,c)=>c({...l,pseudo:`${l.pseudo}${a}`})}))},multiPass:!1,autocomplete:`(${fu}):`}]}function Bu(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${We})-(${Uo})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${We})-(${Bo})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`),r=new RegExp(`^(${We})-(\\[.+\\])(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let s=i[1],l=ve(i[2],"[","]")?u.bracket(i[2]):Xe[i[2]]||Ze[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:c=>`${c}:${s}(${l})`}}},multiPass:!0,autocomplete:`(${We})-(${Uo}|${Bo}):`}}function Nu(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>gm(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var xm=/(part-\[(.+)\]:)(.+)/,Du={match(e){let t=e.match(xm);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0},Iu={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Ku={name:"supports",match(e,t){let r=M("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function No(e){return[mu,vu,Tu,Eu,ju,Mu,Iu,Su(),Ku,Cu,Ru,gu(),...xu,...Uu(),Bu(),...Nu(e),Du,...$u(e),...ku,zu,...bu,yu,Au,...wu,...hu,Ou]}var Gu=[K("contrast-more","@media (prefers-contrast: more)"),K("contrast-less","@media (prefers-contrast: less)")],Hu=[K("motion-reduce","@media (prefers-reduced-motion: reduce)"),K("motion-safe","@media (prefers-reduced-motion: no-preference)")],qu=[K("landscape","@media (orientation: landscape)"),K("portrait","@media (orientation: portrait)")];var Yu=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},Xu=[I("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function Zu(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Ju(e,t,r){let n=[e,t],o=[];for(let s=0;s<2;s++){let a=typeof n[s]=="string"?q(n[s]):n[s];if(!a||!["rgb","rgba"].includes(a.type))return;o.push(a)}let i=[];for(let s=0;s<3;s++)i.push(Zu(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Zu(o[0].alpha??1,o[1].alpha??1,r)}}function Qu(e,t){return Ju("#fff",e,t)}function ef(e,t){return Ju("#000",e,t)}function ym(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?ef(e,t):Qu(e,-r)}var $m={tint:Qu,shade:ef,shift:ym};function tf(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let s=q(`${i[1]}`);if(s){let a=$m[n[1]](s,n[2]);a&&(i[1]=A(a))}}}),o)}}}}var rf=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Fe(i,t,"accentColor")||vm(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function vm(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?u.bracket.percent(t[1])!=null:!1}function nf(e){return[rf,Yu,...No(e),...Gu,...qu,...Hu,...lu,...cu,...Xu,tf()]}var of=(e={})=>(e.important=e.important??!1,{...fo(e),name:"@unocss/preset-wind3",theme:au,rules:Vc,shortcuts:Mc,variants:nf(e),postprocess:$l(e)});var wm=(e={})=>({...of(e),name:"@unocss/preset-uno"}),sf=wm;function km(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function af(e){return e.charAt(0).toUpperCase()+e.slice(1)}function lf(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var cf=["Webkit","Moz","ms"];function uf(e){let t={};function r(n){let o=t[n];if(o)return o;let i=km(n);if(i!=="filter"&&i in e)return t[n]=lf(i);i=af(i);for(let s=0;s<cf.length;s++){let a=`${cf[s]}${i}`;if(a in e)return t[n]=lf(af(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function ff(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Do(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=E(s.postprocess)).unshift(uf(r.createElement("div").style)),i.configResolved?.(o,s);let l=await si(o,s),c=T=>i.inject?i.inject(T):n().prepend(T),f=()=>i.rootElement?i.rootElement():r.body,d=new Map,m=!0,h=new Set,g,b,y=[],w=()=>new Promise(T=>{y.push(T),b!=null&&clearTimeout(b),b=setTimeout(()=>U().then(()=>{let O=y;y=[],O.forEach(B=>B())}),0)});function v(T,O=!1){if(T.nodeType!==1)return;let B=T;B.hasAttribute(a)&&B.removeAttribute(a),O&&B.querySelectorAll(`[${a}]`).forEach(D=>{D.removeAttribute(a)})}function k(T,O){let B=d.get(T);if(!B)if(B=r.createElement("style"),B.setAttribute("data-unocss-runtime-layer",T),d.set(T,B),O==null)c(B);else{let D=k(O),X=D.parentNode;X?X.insertBefore(B,D.nextSibling):c(B)}return B}async function U(){let T=[...h],O=await l.generate(T);return O.layers.reduce((D,X)=>(k(X,D).innerHTML=O.getLayer(X)??"",X),void 0),T.filter(D=>!O.matched.has(D)).forEach(D=>h.delete(D)),{...O,getStyleElement:D=>d.get(D),getStyleElements:()=>d}}async function j(T){let O=h.size;await l.applyExtractors(T,void 0,h),O!==h.size&&await w()}async function $(T=f()){let O=T&&T.outerHTML;O&&(await j(`${O} ${ff(O)}`),v(n()),v(T,!0))}let x=new MutationObserver(T=>{m||T.forEach(async O=>{if(O.target.nodeType!==1)return;let B=O.target;for(let D of d)if(B===D[1])return;if(O.type==="childList")O.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let X=D;g&&!g(X)||(await j(X.outerHTML),v(X))});else{if(g&&!g(B))return;if(O.attributeName!==a){let D=Array.from(B.attributes).map(N=>N.value?`${N.name}="${N.value}"`:N.name).join(" "),X=`<${B.tagName.toLowerCase()} ${D}>`;await j(X)}v(B)}})}),S=!1;function R(){if(S)return;let T=i.observer?.target?i.observer.target():f();T&&(x.observe(T,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),S=!0)}function Z(){i.bypassDefined&&Sm(l.blocked),$(),R()}function J(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",Z):Z()}let le=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(T){V(T)||(T.forEach(O=>h.add(O)),T=""),await j(T)},extractAll:$,inspect(T){g=T},toggleObserver(T){T===void 0?m=!m:m=!!T,!S&&!m&&J()},update:U,presets:t.__unocss_runtime?.presets??{}};i.ready?.(le)!==!1&&(m=!1,J())}function Sm(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}Do({defaults:{presets:[di(),sf(),Ri(),gi()]}});})();
|
|
11
|
+
`?i=!0:f!=="\r"&&i&&(i=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(t))}a+=1}a=l.end,l=l.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return Ue.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ue.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return Ue.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ue.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let c=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=c,i.next=l||null,c||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(Ue.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ue.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let c=this.original.slice(t,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[t],l=this.byEnd[r];if(a){let c=a;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}a.edit(n,i,!s)}else{let c=new sr(t,r,"").edit(n,i);l.next=c,c.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.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 t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(st);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(st),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(st),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(st),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(st),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?t-o.start:0,l=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,l),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=ki(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,l=[];for(;a=i.exec(s);)l.push(a);return l}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(t);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var Qf=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function lr(e){return e.includes("theme(")&&e.includes(")")}function cr(e,t,r=!0){let n=Array.from(e.toString().matchAll(Qf));if(!n.length)return e;let o=new ar(e);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=ep(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function ep(e,t,r=!0){let[n,o]=e.split("/"),s=n.trim().split(".").reduce((a,l)=>a?.[l],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=q(s);a&&(s=A(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function Be(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function ur(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=e[i](n);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(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}function I(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${ue(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i){let s=n.slice(i[0].length),a=E(t).map(l=>({matcher:s,handle:(c,f)=>f({...c,...l(c)})}));return a.length===1?a[0]:a}},autocomplete:`${e}:`}}function K(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${ue(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function ee(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=ve(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function M(e,t,r){for(let n of E(e))if(t.startsWith(n)){let o=ee(n,t,r);if(o){let[i="",s=o[1]]=M("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=t.indexOf(i,n.length);if(s!==-1){let a=t.indexOf("/",n.length),l=a===-1||s<=a;return[t.slice(n.length,l?s:a),t.slice(s+i.length),l?"":t.slice(a+1,s)]}}}}function _n(e){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":e.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var tp=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Wn(e){for(let[t,...r]of tp)if(t===e)return r.length>0?r:[t]}function Si(e){let t="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(let l in o){let c=o[l],f=`:not(:where(.not-${n},.not-${n} *))`,d=l.split(",").map(m=>{let h=m.match(/:[():\-\w]+$/g);if(h){let g=h[0];return m=m.replace(g,""),r.map(b=>a?`${b} ${m}${g}`:`${b} :where(${m})${f}${g}`).join(",")}return null}).filter(m=>m);d.length?t+=d.join(","):t+=r.map(m=>a?l.split(",").map(h=>`${m} ${h}`).join(","):`${m} :where(${l})${f}`).join(","),t+="{";for(let m in c){let h=c[m];t+=`${m}:${h}${s?" !important":""};`}t+="}"}return t}function Ci(e,t){let{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend,s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),Si(i?{escapedSelector:s,selectorName:n,preflights:ot(_n(e.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:_n(e.theme),compatibility:r,important:o===!0})}var rp=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:l})=>(t.add(jn(l)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:l})=>{let c=l.colors?.[a];if(c==null)return;let f=typeof c=="object"?c:{},d={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},m={};for(let h in d){let g=d[h],b=f[g]??c,y=!1;for(let w of or)if(b.includes(w)){y=!0,m[`--un-prose-${h}-opacity`]=1,m[`--un-prose-${h}`]=b.replace(w,`var(--un-prose-${h}-opacity)`);break}y||(m[`--un-prose-${h}`]=b)}return m},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let l=new RegExp(`^${r}-(\\w+)[:-].+$`),c=a.match(l)?.[1];if(c){let f=Wn(c);if(f?.length)return{matcher:a.slice(r.length+c.length+2),selector:d=>{let m=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(g=>`${d} ${g}`).join(","):`${d} :is(:where(${f})${m})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return Ci(a,{escapedSelectors:t,...e,selectorName:r})}}]}},Ri=rp;function np(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Ei(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${np(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function Ti(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var op=/\/\/#\s*sourceMappingURL=.*\n?/g;function ji(e){return e.includes("sourceMappingURL=")?e.replace(op,""):e}var ip=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,sp=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,ap=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function lp(e){let t=[];for(let o of e.matchAll(sp))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(ip))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Ei(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(qt).forEach(o=>{o.includes(n)&&(o=Ti(o,r)),tt(o)&&!ap.test(o)&&t.push(o)}),t}function zi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return lp(ji(e))}}}function Ai(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.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=Le(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),E(t.preflightRoot??["*,::before,::after","::backdrop"]).map(s=>`${s}{${o}}`).join("")}}}}]}var In={};pf(In,{auto:()=>fp,bracket:()=>bp,bracketOfColor:()=>xp,bracketOfLength:()=>yp,bracketOfPosition:()=>$p,cssvar:()=>vp,degree:()=>kp,fraction:()=>gp,global:()=>Sp,number:()=>mp,numberWithUnit:()=>up,percent:()=>hp,position:()=>Rp,properties:()=>Cp,px:()=>dp,rem:()=>pp,time:()=>wp});var te={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={...te,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"]},Pi={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Vi=["x","y","z"],Oi=["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"],at=Object.assign({},...Oi.map(e=>({[e.replace(/ /,"-")]:e})),...Oi.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),F=["inherit","initial","revert","revert-layer","unset"],lt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,fr=/^(var)\s*\((.+)\)(.*)/;var Ne=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Bn=/^(-?\d*(?:\.\d+)?)$/,Nn=/^(px|[sld]?v[wh])$/i,Dn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},pr=/^\[(color|image|length|size|position|quoted|string):/i,Mi=/,(?![^()]*\))/g;var cp=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ie(e){return+e.toFixed(10)}function up(e){let t=e.match(Ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ie(o)}${n}`}function fp(e){if(e==="auto"||e==="a")return"auto"}function pp(e){if(!e)return;if(Nn.test(e))return`${Dn[e]}${e}`;let t=e.match(Ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ie(o)}${n}`:`${ie(o/4)}rem`}function dp(e){if(Nn.test(e))return`${Dn[e]}${e}`;let t=e.match(Ne);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ie(o)}${n}`:`${ie(o)}px`}function mp(e){if(!Bn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ie(t)}function hp(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Bn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ie(t/100)}`}function gp(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ie(n*100)}%`}function dr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(pr);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function bp(e){return dr(e)}function xp(e){return dr(e,"color")}function yp(e){return dr(e,"length")}function $p(e){return dr(e,"position")}function vp(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${Q(t)}${r?`, ${r}`:""})`}}function wp(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ie(o)}${n}`:`${ie(o)}ms`}function kp(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ie(o)}${n}`:`${ie(o)}deg`}function Sp(e){if(F.includes(e))return e}function Cp(e){if(e.split(",").every(t=>cp.includes(t)))return e}function Rp(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ep=ur(In),p=Ep;var Fi={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(F.map(e=>[e,e]))},Wi=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Fi[e]??p.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Fi).join("|")})`,"(vertical|align|v)-<percentage>"]}]],_i=["center","left","right","justify","start","end"],Li=[..._i.map(e=>[`text-${e}`,{"text-align":e}]),...[...F,..._i].map(e=>[`text-align-${e}`,{"text-align":e}])];var Di="$$mini-no-negative";function re(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??p.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return te[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return te[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function Ui(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function Bi(e,t,r){return Ui(e,t,r)||Ui(e,t,"colors")}function Gn(e,t){let[r,n]=fe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(pr)??[])[1];if(o==null||o===t)return[r,n]}}function mr(e,t,r){let n=Gn(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let l,c=p.bracketOfColor(o),f=c||o;if(p.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?l=f:/^hex-[\da-fA-F]+$/.test(f)?l=`#${f.slice(4)}`:o.startsWith("$")&&(l=p.cssvar(o)),l=l||c,!l){let m=Bi(t,[o],r);typeof m=="string"&&(l=m)}let d="DEFAULT";if(!l){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(d=h=g,m=s.slice(0,-1));let b=Bi(t,m,r);typeof b=="object"?l=b[h??d]:typeof b=="string"&&!h&&(l=b)}return{opacity:i,name:a,no:d,color:l,cssColor:q(l),alpha:p.bracket.cssvar.percent(i??"")}}function G(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=mr(o??"",i,r);if(!a)return;let{alpha:l,color:c,cssColor:f}=a,m=s.config.envMode==="dev"&&c?` /* ${c} */`:"",h={};if(f)if(l!=null)h[e]=A(f,l)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=oe(f)),h[e]=b+m}else if(c)if(l!=null)h[e]=A(c,l)+m;else{let g=`--un-${t}-opacity`,b=A(c,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function hr(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",l=o.at(-1);if(q(o.at(0))){let c=q(o.shift());c&&(a=`, ${A(c)}`)}else if(q(l)){let c=q(o.pop());c&&(a=`, ${A(c)}`)}else l&&fr.test(l)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function gr(e,t,r){return e!=null&&!!mr(e,t,r)?.color}var Ni=/[a-z]+/gi,Kn=new WeakMap;function br({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Kn.has(e))return Kn.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Ni,""))-Number.parseInt(s[1].replace(Ni,""))).map(([i,s])=>({point:i,size:s}));return Kn.set(e,o),o}function W(e,t){return F.map(r=>[`${e}-${r}`,{[t??e]:r}])}function se(e){return e!=null&<.test(e)}function Ii(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),lt.test(e)||Ne.test(e)}function xr(e,t,r){let n=t.split(Mi);return e||!e&&n.length===1?Pi[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Vi[i]}`,o])}var Ki=[[/^outline-(?:width-|size-)?(.+)$/,Gi,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Tp,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...F].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Gi([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}}function Tp(e,t){return se(p.bracket(e[1]))?Gi(e,t):G("outline-color","outline-color","borderColor")(e,t)}var Hi=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function jp(e){return p.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var qi=[[/^will-change-(.+)/,([,e])=>({"will-change":jp(e)})]];var dt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...F],Xi=[[/^(?:border|b)()(?:-(.+))?$/,pe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,pe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,pe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,pe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,pe],[/^(?:border|b)-()(?:width|size)-(.+)$/,pe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,pe],[/^(?:border|b)-()(?:color-)?(.+)$/,ct,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ct],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ct],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ct],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ct],[/^(?: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)()(?:-(.+))?$/,ft,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,ft],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ft],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,ft],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ft],[/^(?:border|b)-(?:style-)?()(.+)$/,pt,{autocomplete:["(border|b)-style",`(border|b)-(${dt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${dt.join("|")})`,`(border|b)-<directions>-style-(${dt.join("|")})`,`(border|b)-style-(${dt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,pt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,pt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,pt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,pt]];function Yi(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:oe(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:oe(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function zp(e){return([,t],r)=>{let n=mr(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Yi(s,o,e);if(i)return Yi(i,o,e)}}function pe([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??p.bracket.cssvar.global.px(t||"1");if(e in te&&n!=null)return te[e].map(o=>[`border${o}-width`,n])}function ct([,e="",t],r){if(e in te){if(se(p.bracket(t)))return pe(["",e,t],r);if(gr(t,r.theme,"borderColor"))return Object.assign({},...te[e].map(n=>zp(n)(["",t],r.theme)))}}function ut([,e="",t]){let r=p.bracket.percent.cssvar(t);if(e in te&&r!=null)return te[e].map(n=>[`--un-border${n}-opacity`,r])}function ft([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||p.bracket.cssvar.global.fraction.rem(t||"1");if(e in Un&&n!=null)return Un[e].map(o=>[`border${o}-radius`,n])}function pt([,e="",t]){if(dt.includes(t)&&e in te)return te[e].map(r=>[`border${r}-style`,t])}var Zi=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:p.bracket.percent.cssvar(e)})]],Ap=/^\[url\(.+\)\]$/,Op=/^\[(?:length|size):.+\]$/,Pp=/^\[position:.+\]$/,Vp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Mp=/^\[image:.+\]$/,Ji=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Ap.test(t))return{"--un-url":p.bracket(t),"background-image":"var(--un-url)"};if(Op.test(t)&&p.bracketOfLength(t)!=null)return{"background-size":p.bracketOfLength(t).split(" ").map(r=>p.fraction.auto.px.cssvar(r)??r).join(" ")};if((Ii(t)||Pp.test(t))&&p.bracketOfPosition(t)!=null)return{"background-position":p.bracketOfPosition(t).split(" ").map(r=>p.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Vp.test(t)||Mp.test(t)){let r=p.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:p.cssvar(r))??r}}return G("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Qi=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var es=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var ts=["solid","double","dotted","dashed","wavy",...F],rs=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ns,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Fp,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??p.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ts.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...ts.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ns([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??p.bracket.cssvar.global.px(e)}}function Fp(e,t){if(se(p.bracket(e[1])))return ns(e,t);let r=G("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var os=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:p.bracket(e)!=null?p.bracket(e).split(" ").map(t=>p.cssvar.fraction(t)??t).join(" "):p.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":p.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":p.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??p.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var _p={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Hn([,e="",t],{theme:r}){let n=r.spacing?.[t]??p.bracket.cssvar.global.rem(t);if(n!=null)return{[`${_p[e]}gap`]:n}}var is=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Hn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Hn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Hn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function he(e){return e.replace("col","column")}function qn(e){return e[0]==="r"?"Row":"Column"}function Wp(e,t,r){let n=t[`gridAuto${qn(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return p.bracket.cssvar.auto.rem(r)}var ss=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${he(e)}`]:r[`grid${qn(e)}`]?.[t]??p.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${he(e)}`]:"1/-1"};let r=p.bracket.number(t);if(r!=null)return{[`grid-${he(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${he(e)}-start`]:p.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${he(e)}-end`]:p.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${he(e)}`]:Wp(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":p.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":he(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${he(e)}`]:r[`gridTemplate${qn(e)}`]?.[t]??p.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${he(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${he(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":p.cssvar(t)??t.split("-").map(r=>`"${p.bracket(r)}"`).join(" ")}:{"grid-area":p.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]];var yr=["auto","hidden","clip","visible","scroll","overlay",...F],as=[[/^(?:overflow|of)-(.+)$/,([,e])=>yr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${yr.join("|")})`,`(overflow|of)-(x|y)-(${yr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>yr.includes(t)?{[`overflow-${e}`]:t}:void 0]];var ls=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>F.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Xn=[["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"}],...W("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"}],...W("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"}],...W("justify-self")],cs=[[/^order-(.+)$/,([,e])=>({order:p.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Zn=[["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"}],...W("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"}],...W("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"}],...W("self","align-self")],Jn=[["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"}],...W("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"}],...W("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"}],...W("place-self")],us=[...Xn,...Zn,...Jn].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Yn(e,{theme:t}){return t.spacing?.[e]??p.bracket.cssvar.global.auto.fraction.rem(e)}function mt([,e,t],r){let n=Yn(t,r);if(n!=null&&e in Ln)return Ln[e].map(o=>[o.slice(1),n])}var fs=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Yn(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)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,mt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,mt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,mt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,mt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Yn(t,r)})]],ps=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...W("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"}],...W("clear")],ds=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":p.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??p.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],ms=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...W("box","box-sizing")];var hs=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Lp=["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"],Up=["none","strict","content","size","inline-size","layout","style","paint"],$r=" ",gs=[["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:p.bracket.cssvar.global(e)})]],bs=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...W("backface","backface-visibility")],xs=[[/^cursor-(.+)$/,([,e])=>({cursor:p.bracket.cssvar.global(e)})],...Lp.map(e=>[`cursor-${e}`,{cursor:e}])],ys=[[/^contain-(.*)$/,([,e])=>p.bracket(e)!=null?{contain:p.bracket(e).split(" ").map(t=>p.cssvar.fraction(t)??t).join(" ")}:Up.includes(e)?{contain:e}:void 0]],$s=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...W("pointer-events")],vs=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...W("resize")],ws=[["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"}],...W("select","user-select")],ks=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...F].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Ss=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":p.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...W("content-visibility")],Cs=[[/^content-(.+)$/,([,e])=>({content:p.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Rs=[["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"}]],Es=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Ts=[["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"}]],js=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...W("case","text-transform")],zs=[["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"}]],As=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Os=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var Qn={"--un-ring-inset":$r,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Bp=Object.keys(Qn),Ps=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??p.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Bp},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Vs,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??p.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Np,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,G("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Vs([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??p.bracket.cssvar.px(e)}}function Np(e,t){return se(p.bracket(e[1]))?Vs(e,t):G("--un-ring-color","ring","borderColor")(e,t)}var eo={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":$r,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Dp=Object.keys(eo),Ms=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?p.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!gr(i,n,"shadowColor")?{"--un-shadow":hr(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:G("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Dp},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Ip={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Oe(e,t){return`${e||""}${Ip[t]}`}function vr(e,t,r,n){let o=Oe(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return p.bracket.cssvar.global.auto.fraction.rem(n)}var _s=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[Oe(e,"w")]:vr(e,"w",r,t),[Oe(e,"h")]:vr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Oe(e,t)]:vr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Oe(e,t)]:vr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Oe(e,t)]:Fs(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Oe(e,t)]:Fs(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 Fs(e,t,r="breakpoints"){let n=br(e,r);if(n)return n.find(o=>o.point===t)?.size}function Kp(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return p.bracket.cssvar.global.auto.number(e)}var Ws=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Kp(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Ls=[[/^pa?()-?(.+)$/,re("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,re("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,re("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,re("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,re("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,re("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Us=[[/^ma?()-?(.+)$/,re("margin")],[/^m-?xy()()$/,re("margin")],[/^m-?([xy])(?:-?(.+))?$/,re("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,re("margin")],[/^m-(block|inline)(?:-(.+))?$/,re("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,re("margin")]];var Bs=[[/^fill-(.+)$/,G("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Ns,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":p.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??p.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Gp,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":p.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 Ns([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??p.bracket.cssvar.fraction.px.number(e)}}function Gp(e,t){return se(p.bracket(e[1]))?Ns(e,t):G("stroke","stroke","borderColor")(e,t)}var wr=["translate","rotate","scale"],Hp=["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(" "),De=["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(" "),qp=["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(" "),to={"--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},ge=Object.keys(to),Hs=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":at[e]??p.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(at).join("|")})`,`origin-(${Object.keys(at).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=p.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=p.bracket.cssvar(e)??(e.length>=3?at[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ds,{custom:{preflightKeys:ge}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ds,{custom:{preflightKeys:ge}}],[/^(?:transform-)?rotate-()(.+)$/,Ks,{custom:{preflightKeys:ge}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ks,{custom:{preflightKeys:ge}}],[/^(?:transform-)?skew-()(.+)$/,Gs,{custom:{preflightKeys:ge}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Gs,{custom:{preflightKeys:ge},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Is,{custom:{preflightKeys:ge}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Is,{custom:{preflightKeys:ge},autocomplete:[`transform-(${wr.join("|")})-<percent>`,`transform-(${wr.join("|")})-(x|y|z)-<percent>`,`(${wr.join("|")})-<percent>`,`(${wr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:De},{custom:{preflightKeys:ge}}],["transform-cpu",{transform:Hp},{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:qp},{custom:{preflightKeys:ge}}],["transform-none",{transform:"none"}],...W("transform")];function Ds([,e,t],{theme:r}){let n=r.spacing?.[t]??p.bracket.cssvar.fraction.rem(t);if(n!=null)return[...xr(e,n,"translate"),["transform",De]]}function Is([,e,t]){let r=p.bracket.cssvar.fraction.percent(t);if(r!=null)return[...xr(e,r,"scale"),["transform",De]]}function Ks([,e="",t]){let r=p.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:De}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:De}}function Gs([,e,t]){let r=p.bracket.cssvar.degree(t);if(r!=null)return[...xr(e,r,"skew"),["transform",De]]}function qs(e,t){let r;if(p.cssvar(e)!=null)r=p.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??p.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Ys=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??p.time("150")};if(e!=null){let n=qs(e,r),o=r.duration?.[t||"DEFAULT"]??p.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??p.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??p.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??p.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??p.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 r=p.global(e)||qs(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...F].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...W("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var Xs=[[/^text-(.+)$/,Xp,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,ta,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Yp,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,G("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>F.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${F.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||p.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":ro(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":p.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||p.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||p.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":p.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||p.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Zs=[[/^tab(?:-(.+))?$/,([,e])=>{let t=p.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Js=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||p.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Qs=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||p.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,G("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],ea=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":hr(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":p.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,G("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":p.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function ro(e,t,r){return t[r]?.[e]||p.bracket.cssvar.global.rem(e)}function ta([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??p.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Yp(e,t){return se(p.bracket(e[1]))?ta(e,t):G("color","text","textColor")(e,t)}function Xp([,e="base"],{theme:t}){let r=Gn(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),s=o?ro(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,c,f]=i;return typeof c=="object"?{"font-size":l,...c}:{"font-size":l,"line-height":s??c??"1","letter-spacing":f?ro(f,t,"letterSpacing"):void 0}}let a=p.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":p.bracketOfLength.rem(e)}}var Zp={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"},ra=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Zp[e];if(r)return{[r]:p.cssvar(t)}}]],na=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Qp(t)&&/^[a-z-_]+$/i.test(r)&&Jp(o)){let i=p.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Jp(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Qp(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var oa=[ra,na,ys,$s,bs,ls,fs,ds,cs,ss,ps,Us,ms,gs,Ws,_s,os,Hs,xs,ws,vs,Hi,Jn,Zn,Xn,is,us,as,Ts,ks,Rs,Xi,Ji,Qi,Bs,Ls,Li,Js,Es,Wi,Xs,js,zs,rs,As,Zs,Qs,ea,Zi,Ms,Ki,Ps,Ys,qi,Ss,Cs,es,Os,hs].flat(1);var ia={position:["relative","absolute","fixed","sticky","static"],globalKeyword:F};var no={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(no).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var sa={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},aa={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var la={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(",")},ca={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"]},ua={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},fa={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},pa={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)"]},da={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},oo={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ma={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ha=oo;var io={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ga={...io},ba={DEFAULT:"1px",none:"0"},xa={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"},ya={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},$a={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},va={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)"},wa={DEFAULT:"3px",none:"0"},ka={auto:"auto"},Sa={mouse:"(hover) and (pointer: fine)"};var Ca={...to,...eo,...Qn};var we={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ra={auto:"auto",...we,screen:"100vw"},so={none:"none",...we,screen:"100vw"},Ea={auto:"auto",...we,screen:"100vb"},Ta={auto:"auto",...we,screen:"100vi"},ja={auto:"auto",...we,screen:"100vh"},ao={none:"none",...we,screen:"100vh"},lo={none:"none",...we,screen:"100vb"},co={none:"none",...we,screen:"100vi"},za={...we};var Aa={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)"},Oa={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(",")}};var Pa={width:Ra,height:ja,maxWidth:so,maxHeight:ao,minWidth:so,minHeight:ao,inlineSize:Ta,blockSize:Ea,maxInlineSize:co,maxBlockSize:lo,minInlineSize:co,minBlockSize:lo,colors:no,fontFamily:la,fontSize:ca,fontWeight:ma,breakpoints:io,verticalBreakpoints:ga,borderRadius:$a,lineHeight:da,letterSpacing:oo,wordSpacing:ha,boxShadow:va,textIndent:ua,textShadow:pa,textStrokeWidth:fa,blur:sa,dropShadow:aa,easing:Aa,transitionProperty:Oa,lineWidth:ba,spacing:xa,duration:ya,ringWidth:wa,preflightBase:Ca,containers:za,zIndex:ka,media:Sa};var Va={name:"aria",match(e,t){let r=M("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function kr(e){return{name:`${e}-aria`,match(t,r){let n=M(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,s=p.bracket(o)??r.theme.aria?.[o]??"";if(s)return{matcher:`${e}-[[aria-${s}]]:${i}`}}}}}var Ma=[kr("group"),kr("peer"),kr("parent"),kr("previous")];var Fa=/(max|min)-\[([^\]]*)\]:/;function _a(){let e={};return{name:"breakpoints",match(t,r){if(Fa.test(t)){let o=t.match(Fa);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(br(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,l]=a,c=t.slice(l.length);if(c==="container")continue;let f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Be(i)})`,parentOrder:m})}):(m+=s+1,d&&s<n.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Be(n[s+1][1])})`,parentOrder:m})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Wa=[I("*",e=>({selector:`${e.selector} > *`}))];function ht(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ee(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=p.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var La=[ht("all"," "),ht("children",">"),ht("next","+"),ht("sibling","+"),ht("siblings","~")];var Ua={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=M("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=p.bracket(n),a;if(s?a=p.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function Ba(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),I("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var Na={name:"data",match(e,t){let r=M("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Sr(e){return{name:`${e}-data`,match(t,r){let n=M(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.data?.[o]??"";if(a)return{matcher:`${e}-[[data-${a}]]${s?`/${s}`:""}:${i}`}}}}}var Da=[Sr("group"),Sr("peer"),Sr("parent"),Sr("previous")];var Ia=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Ka(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Ga=K("print","@media print"),Ha={name:"media",match(e,t){let r=M("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var qa={name:"selector",match(e,t){let r=ee("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ya={name:"layer",match(e,t){let r=M("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Xa={name:"uno-layer",match(e,t){let r=M("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Za={name:"scope",match(e,t){let r=ee("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Ja={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=ve(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=p.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},Qa={name:"theme-variables",match(e,t){if(lr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(cr(JSON.stringify(r.entries),t.theme))})}}}};var el=/^-?[0-9.]+(?:[a-z]+|%)?$/,tl=/-?[0-9.]+(?:[a-z]+|%)?/,ed=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function td(e){let t=e.match(lt)||e.match(fr);if(t){let[r,n]=fe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var rd=/\b(hue-rotate)\s*(\(.*)/;function nd(e){let t=e.match(rd);if(t){let[r,n]=fe(t[2],"(",")"," ")??[];if(r){let o=el.test(r.slice(1,-1))?r.replace(tl,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var rl={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===Di))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||ed.some(a=>a.test(n[0])))return;let i=td(o);if(i){n[1]=i,r=!0;return}let s=nd(o);if(s){n[1]=s,r=!0;return}el.test(o)&&(n[1]=o.replace(tl,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}};var sl="__pseudo_placeholder__",Ie=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(${sl})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),al=Object.keys(Ie),Ke=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ll=Object.keys(Ke),od=["not","is","where","has"],cl=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),uo=Object.entries(Ie).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),fo=Object.entries(Ke).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Pe=od.join("|"),nl=Object.keys(cl).sort((e,t)=>t.length-e.length).join("|");function id(e,t,r){let n=new RegExp(`^(${ue(t)}:)(\\S+)${ue(r)}\\1`),o,i,s,a,l=d=>{let m=ee(`${e}-`,d,[]);if(!m)return;let[h,g]=m,b=p.bracket(h);if(b==null)return;let y=g.split(o,1)?.[0]??"",w=`${t}${Q(y)}`;return[y,d.slice(d.length-(g.length-y.length-1)),b.includes("&")?b.replace(/&/g,w):`${w}${b}`]},c=d=>{let m=d.match(i)||d.match(s);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=Ie[b]||Ke[b]||`:${b}`;return g&&(w=`:${g}(${w})`),[y,d.slice(h.length),`${t}${Q(y)}${w}`,b]},f=d=>{let m=d.match(a);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=`:${g}(${b})`;return[y,d.slice(h.length),`${t}${Q(y)}${w}`]};return{name:`pseudo:${e}`,match(d,m){if(o&&i&&s||(o=new RegExp(`(?:${m.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${Pe})-)?(${uo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.join("|")})`),s=new RegExp(`^${e}-(?:(?:(${Pe})-)?(${fo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`),a=new RegExp(`^${e}-(?:(${Pe})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!d.startsWith(e))return;let h=l(d)||c(d)||f(d);if(!h)return;let[g,b,y,w=""]=h;return{matcher:b,handle:(v,k)=>k({...v,prefix:`${y}${r}${v.prefix}`.replace(n,"$1$2:"),sort:al.indexOf(w)??ll.indexOf(w)})}},multiPass:!0}}var sd=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ol=Object.entries(Ie).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),il=Object.entries(Ke).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function ul(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${ol})(?:-(\\[\\w+\\]))?(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${il})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let s=Ie[i[1]]||Ke[i[1]]||`:${i[1]}`;if(i[2]){let l=p.bracket(i[2]);l&&(s=s.replace(sl,l))}let a=al.indexOf(i[1]);return a===-1&&(a=ll.indexOf(i[1])),a===-1&&(a=void 0),{matcher:n.slice(i[0].length),handle:(l,c)=>{let f=s.includes("::")&&!sd.includes(s)?{pseudo:`${l.pseudo}${s}`}:{selector:`${l.selector}${s}`};return c({...l,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ol}|${il}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${nl})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return cl[i[1]].map(a=>({matcher:n.slice(i[0].length),handle:(l,c)=>c({...l,pseudo:`${l.pseudo}${a}`})}))},multiPass:!1,autocomplete:`(${nl}):`}]}function fl(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${Pe})-(${uo})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${Pe})-(${fo})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`),r=new RegExp(`^(${Pe})-(\\[.+\\])(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let s=i[1],l=ve(i[2],"[","]")?p.bracket(i[2]):Ie[i[2]]||Ke[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:c=>`${c}:${s}(${l})`}}},multiPass:!0,autocomplete:`(${Pe})-(${uo}|${fo}):`}}function pl(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>id(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var ad=/(part-\[(.+)\]:)(.+)/,dl={match(e){let t=e.match(ad);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var ml={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var hl={name:"supports",match(e,t){let r=M("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function gl(e){return[Va,Na,Ya,qa,Xa,rl,ml,Ka(),hl,Ga,Ha,_a(),...La,...ul(),fl(),...pl(e),dl,...Ba(e),...Ia,Za,...Wa,Ua,Ja,...Da,...Ma,Qa]}var po=(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:Pa,rules:oa,variants:gl(e),options:e,prefix:e.prefix,postprocess:ld(e.variablePrefix),preflights:Ai(e),extractorDefault:e.arbitraryVariants===!1?void 0:zi(),autocomplete:{shorthands:ia}}),bl=po;function ld(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function xl(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function yl(e){return[...E(bl(e).postprocess),...xl(e.important)]}var Y={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"]},Cr={...Y,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"]},Rr={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"]},Sl={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Cl=["x","y","z"],$l=["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"],H=Object.assign({},...$l.map(e=>({[e.replace(/ /,"-")]:e})),...$l.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),P=["inherit","initial","revert","revert-layer","unset"],gt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Er=/^(var)\s*\((.+)\)(.*)/,Tr=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Rl=/^(-?\d*(?:\.\d+)?)$/,El=/^(px|[sld]?v[wh])$/i,Tl={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},jl=/^\[(color|image|length|size|position|quoted|string):/i,cd=/,(?![^()]*\))/g,ud=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ae(e){return+e.toFixed(10)}function fd(e){let t=e.match(Tr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ae(o)}${n}`}function pd(e){if(e==="auto"||e==="a")return"auto"}function dd(e){if(!e)return;if(El.test(e))return`${Tl[e]}${e}`;let t=e.match(Tr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ae(o)}${n}`:`${ae(o/4)}rem`}function md(e){if(El.test(e))return`${Tl[e]}${e}`;let t=e.match(Tr);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ae(o)}${n}`:`${ae(o)}px`}function hd(e){if(!Rl.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ae(t)}function gd(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Rl.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ae(t/100)}`}function bd(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ae(n*100)}%`}function jr(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(jl);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function xd(e){return jr(e)}function yd(e){return jr(e,"color")}function $d(e){return jr(e,"length")}function vd(e){return jr(e,"position")}function wd(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${Q(t)}${r?`, ${r}`:""})`}}function kd(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ae(o)}${n}`:`${ae(o)}ms`}function Sd(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ae(o)}${n}`:`${ae(o)}deg`}function Cd(e){if(P.includes(e))return e}function Rd(e){if(e.split(",").every(t=>ud.includes(t)))return e}function Ed(e){if(["top","left","right","bottom","center"].includes(e))return e}var zl={__proto__:null,auto:pd,bracket:xd,bracketOfColor:yd,bracketOfLength:$d,bracketOfPosition:vd,cssvar:wd,degree:Sd,fraction:bd,global:Cd,number:hd,numberWithUnit:fd,percent:gd,position:Ed,properties:Rd,px:md,rem:dd,time:kd},Al=ur(zl),u=Al,ho="$$mini-no-negative";function _(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return Y[r].map(s=>[`${e}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return Y[r].map(a=>[`${e}${a}`,`calc(${s} * -1)`])}}}function vl(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let s=t.slice(o).join("-").replace(/(-[a-z])/g,a=>a.slice(1).toUpperCase());if(n[s])return n[s];if(n[i]){n=n[i];continue}}return}return n}function wl(e,t,r){return vl(e,t,r)||vl(e,t,"colors")}function zr(e,t){let[r,n]=fe(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(jl)??[])[1];if(o==null||o===t)return[r,n]}}function Ve(e,t,r){let n=zr(e,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[a]=s;if(!a)return;let l,c=u.bracketOfColor(o),f=c||o;if(u.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?l=f:/^hex-[\da-fA-F]+$/.test(f)?l=`#${f.slice(4)}`:o.startsWith("$")&&(l=u.cssvar(o)),l=l||c,!l){let m=wl(t,[o],r);typeof m=="string"&&(l=m)}let d="DEFAULT";if(!l){let m=s,h,[g]=s.slice(-1);/^\d+$/.test(g)&&(d=h=g,m=s.slice(0,-1));let b=wl(t,m,r);typeof b=="object"?l=b[h??d]:typeof b=="string"&&!h&&(l=b)}return{opacity:i,name:a,no:d,color:l,cssColor:q(l),alpha:u.bracket.cssvar.percent(i??"")}}function L(e,t,r,n){return([,o],{theme:i,generator:s})=>{let a=Ve(o??"",i,r);if(!a)return;let{alpha:l,color:c,cssColor:f}=a,m=s.config.envMode==="dev"&&c?` /* ${c} */`:"",h={};if(f)if(l!=null)h[e]=A(f,l)+m;else{let g=`--un-${t}-opacity`,b=A(f,`var(${g})`);b.includes(g)&&(h[g]=oe(f)),h[e]=b+m}else if(c)if(l!=null)h[e]=A(c,l)+m;else{let g=`--un-${t}-opacity`,b=A(c,`var(${g})`);b.includes(g)&&(h[g]=1),h[e]=b+m}if(n?.(h)!==!1)return h}}function Me(e,t){let r=[];e=E(e);for(let n=0;n<e.length;n++){let o=Ee(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",l=o.at(-1);if(q(o.at(0))){let c=q(o.shift());c&&(a=`, ${A(c)}`)}else if(q(l)){let c=q(o.pop());c&&(a=`, ${A(c)}`)}else l&&Er.test(l)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Fe(e,t,r){return e!=null&&!!Ve(e,t,r)?.color}var kl=/[a-z]+/gi,mo=new WeakMap;function Te({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(mo.has(e))return mo.get(e);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(kl,""))-Number.parseInt(s[1].replace(kl,""))).map(([i,s])=>({point:i,size:s}));return mo.set(e,o),o}function C(e,t){return P.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ke(e){return e!=null&>.test(e)}function go(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),gt.test(e)||Tr.test(e)}function bt(e,t,r){let n=t.split(cd);return e||!e&&n.length===1?Sl[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Cl[i]}`,o])}var Ol=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:u.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":u.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??u.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":u.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"}],...C("animate","animation")];function Pl(e){return e?A(e,0):"rgb(255 255 255 / 0)"}function Td(e,t,r,n){return t?n!=null?A(t,n):A(t,`var(--un-${e}-opacity, ${oe(t)})`):A(r,n)}function bo(){return([,e,t],{theme:r})=>{let n=Ve(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let a=Td(e,s,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${a} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Pl(s)} 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":Pl(s),"--un-gradient-stops":`var(--un-gradient-from), ${a} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${a} var(--un-gradient-to-position)`}}}}function jd(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(u.bracket.cssvar.percent(t))*100}%`})}var Vl=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":u.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":u.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,bo()],[/^(?:bg-gradient-)?(via)-(.+)$/,bo()],[/^(?:bg-gradient-)?(to)-(.+)$/,bo()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:u.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,jd()],[/^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 H)return{"--un-gradient-shape":`to ${H[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(H).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in H?`to ${H[e]}`:u.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(H).join("|")})`,`shape-(${Object.keys(H).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...C("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":H[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"}],...C("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"}],...C("bg-origin","background-origin")];var xo={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"},Ml=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=xo[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(xo).join("|")})`,`list-(${Object.keys(xo).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":u.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...C("list","list-style-type")],Fl=[[/^accent-(.+)$/,L("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":u.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],_l=[[/^caret-(.+)$/,L("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":u.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Wl=[["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"]]]],Ll=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...C("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...C("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"}],...C("overscroll-y","overscroll-behavior-y")],Ul=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...C("scroll","scroll-behavior")];var Bl=[[/^columns-(.+)$/,([,e])=>({columns:u.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...C("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"}],...C("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"}],...C("break-after")];var zd=/@media \(min-width: (.+)\)/,Nl=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;V(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,a;for(let c of n){let f=c.handle?.({},d=>d)?.parent;if(V(f)){let d=f.match(zd)?.[1];if(d){let h=(Te(t)??[]).find(g=>g.size===d)?.point;s?h&&(a=s?.[h]):a=d,h&&!V(o)&&(i=o?.[h]??i)}}}let l={"max-width":a};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],Dl=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(Te(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var Ad=["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"],Od=["none","strict","content","size","inline-size","layout","style","paint"],z=" ",xt=[["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:u.bracket.cssvar.global(e)})]],yt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...C("backface","backface-visibility")],$t=[[/^cursor-(.+)$/,([,e])=>({cursor:u.bracket.cssvar.global(e)})],...Ad.map(e=>[`cursor-${e}`,{cursor:e}])],vt=[[/^contain-(.*)$/,([,e])=>u.bracket(e)!=null?{contain:u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" ")}:Od.includes(e)?{contain:e}:void 0]],wt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...C("pointer-events")],kt=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...C("resize")],St=[["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"}],...C("select","user-select")],Ct=[[/^(?: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)"}]],Rt=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...C("content-visibility")],Et=[[/^content-(.+)$/,([,e])=>({content:u.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Tt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],jt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],zt=[["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"}]],At=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...C("case","text-transform")],Ot=[["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"}]],Pt=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Vt=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],He={"--un-ring-inset":z,"--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)"},Pd=Object.keys(He),Mt=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??u.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Pd},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,ql,{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]??u.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Vd,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,L("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function ql([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??u.bracket.cssvar.px(e)}}function Vd(e,t){return ke(u.bracket(e[1]))?ql(e,t):L("--un-ring-color","ring","borderColor")(e,t)}var qe={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":z,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Md=Object.keys(qe),Ft=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Fe(i,n,"shadowColor")?{"--un-shadow":Me(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:L("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Md},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Ar=["translate","rotate","scale"],Fd=["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(" "),Ge=["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(" "),_d=["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(" "),Ye={"--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},be=Object.keys(Ye),_t=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":H[e]??u.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(H).join("|")})`,`origin-(${Object.keys(H).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=u.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=u.bracket.cssvar(e)??(e.length>=3?H[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Il,{custom:{preflightKeys:be}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Il,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-()(.+)$/,Gl,{custom:{preflightKeys:be}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Gl,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-()(.+)$/,Hl,{custom:{preflightKeys:be}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Hl,{custom:{preflightKeys:be},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Kl,{custom:{preflightKeys:be}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Kl,{custom:{preflightKeys:be},autocomplete:[`transform-(${Ar.join("|")})-<percent>`,`transform-(${Ar.join("|")})-(x|y|z)-<percent>`,`(${Ar.join("|")})-<percent>`,`(${Ar.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Ge},{custom:{preflightKeys:be}}],["transform-cpu",{transform:Fd},{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:_d},{custom:{preflightKeys:be}}],["transform-none",{transform:"none"}],...C("transform")];function Il([,e,t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.fraction.rem(t);if(n!=null)return[...bt(e,n,"translate"),["transform",Ge]]}function Kl([,e,t]){let r=u.bracket.cssvar.fraction.percent(t);if(r!=null)return[...bt(e,r,"scale"),["transform",Ge]]}function Gl([,e="",t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Ge}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Ge}}function Hl([,e,t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return[...bt(e,r,"skew"),["transform",Ge]]}var Yl={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]))},Vr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Yl[e]??u.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Yl).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Xl=["center","left","right","justify","start","end"],Mr=[...Xl.map(e=>[`text-${e}`,{"text-align":e}]),...[...P,...Xl].map(e=>[`text-align-${e}`,{"text-align":e}])],Fr=[[/^outline-(?:width-|size-)?(.+)$/,tc,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Wd,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??u.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 tc([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Wd(e,t){return ke(u.bracket(e[1]))?tc(e,t):L("outline-color","outline-color","borderColor")(e,t)}var _r=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Ld(e){return u.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Wr=[[/^will-change-(.+)/,([,e])=>({"will-change":Ld(e)})]],je=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...P],Lr=[[/^(?:border|b)()(?:-(.+))?$/,de,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,de],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,de],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,de],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,de],[/^(?:border|b)-()(?:width|size)-(.+)$/,de,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,de],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,de],[/^(?:border|b)-()(?:color-)?(.+)$/,Wt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Wt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Wt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Wt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Wt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Lt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ut,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ut],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ut],[/^(?:border|b)-(?:style-)?()(.+)$/,Xe,{autocomplete:["(border|b)-style",`(border|b)-(${je.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${je.join("|")})`,`(border|b)-<directions>-style-(${je.join("|")})`,`(border|b)-style-(${je.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Xe],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Xe],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Xe],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Xe]];function Zl(e,t,r){if(t!=null)return{[`border${r}-color`]:A(e,t)};if(r===""){let n={},o="--un-border-opacity",i=A(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:oe(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=A(e,`var(${i})`);return s.includes(i)&&(n[o]=typeof e=="string"?1:oe(e),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Ud(e){return([,t],r)=>{let n=Ve(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Zl(s,o,e);if(i)return Zl(i,o,e)}}function de([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.global.px(t||"1");if(e in Y&&n!=null)return Y[e].map(o=>[`border${o}-width`,n])}function Wt([,e="",t],r){if(e in Y){if(ke(u.bracket(t)))return de(["",e,t],r);if(Fe(t,r.theme,"borderColor"))return Object.assign({},...Y[e].map(n=>Ud(n)(["",t],r.theme)))}}function Lt([,e="",t]){let r=u.bracket.percent.cssvar(t);if(e in Y&&r!=null)return Y[e].map(n=>[`--un-border${n}-opacity`,r])}function Ut([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t||"1");if(e in Rr&&n!=null)return Rr[e].map(o=>[`border${o}-radius`,n])}function Xe([,e="",t]){if(je.includes(t)&&e in Y)return Y[e].map(r=>[`border${r}-style`,t])}var Ur=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:u.bracket.percent.cssvar(e)})]],Bd=/^\[url\(.+\)\]$/,Nd=/^\[(?:length|size):.+\]$/,Dd=/^\[position:.+\]$/,Id=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Kd=/^\[image:.+\]$/,Br=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Bd.test(t))return{"--un-url":u.bracket(t),"background-image":"var(--un-url)"};if(Nd.test(t)&&u.bracketOfLength(t)!=null)return{"background-size":u.bracketOfLength(t).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((go(t)||Dd.test(t))&&u.bracketOfPosition(t)!=null)return{"background-position":u.bracketOfPosition(t).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Id.test(t)||Kd.test(t)){let r=u.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return L("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Nr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Dr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Jl=["solid","double","dotted","dashed","wavy",...P],Ir=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,rc,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Gd,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??u.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Jl.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Jl.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function rc([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function Gd(e,t){if(ke(u.bracket(e[1])))return rc(e,t);let r=L("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Kr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:u.bracket(e)!=null?u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" "):u.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??u.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"}]],Hd={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function yo([,e="",t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Hd[e]}gap`]:n}}var Gr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,yo,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,yo,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,yo,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function xe(e){return e.replace("col","column")}function $o(e){return e[0]==="r"?"Row":"Column"}function qd(e,t,r){let n=t[`gridAuto${$o(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var Hr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${xe(e)}`]:r[`grid${$o(e)}`]?.[t]??u.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${xe(e)}`]:"1/-1"};let r=u.bracket.number(t);if(r!=null)return{[`grid-${xe(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${xe(e)}-start`]:u.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${xe(e)}-end`]:u.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${xe(e)}`]:qd(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":u.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":xe(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${xe(e)}`]:r[`gridTemplate${$o(e)}`]?.[t]??u.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${xe(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${xe(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":u.cssvar(t)??t.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Or=["auto","hidden","clip","visible","scroll","overlay",...P],qr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Or.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Or.join("|")})`,`(overflow|of)-(x|y)-(${Or.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Or.includes(t)?{[`overflow-${e}`]:t}:void 0]],Yr=[[/^(?: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})]],Nt=[["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"}],...C("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"}],...C("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"}],...C("justify-self")],Xr=[[/^order-(.+)$/,([,e])=>({order:u.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Dt=[["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"}],...C("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"}],...C("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"}],...C("self","align-self")],It=[["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"}],...C("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"}],...C("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"}],...C("place-self")],Zr=[...Nt,...Dt,...It].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function vo(e,{theme:t}){return t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e)}function Bt([,e,t],r){let n=vo(t,r);if(n!=null&&e in Cr)return Cr[e].map(o=>[o.slice(1),n])}var Jr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:vo(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)-(.+)$/,Bt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Bt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Bt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Bt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Bt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:vo(t,r)})]],Qr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...C("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"}],...C("clear")],en=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":u.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??u.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],tn=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...C("box","box-sizing")],rn=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Yd={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _e(e,t){return`${e||""}${Yd[t]}`}function Pr(e,t,r,n){let o=_e(e,t).replace(/-(\w)/g,(s,a)=>a.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return u.bracket.cssvar.global.auto.fraction.rem(n)}var nn=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[_e(e,"w")]:Pr(e,"w",r,t),[_e(e,"h")]:Pr(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Pr(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[_e(e,t)]:Pr(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Ql(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[_e(e,t)]:Ql(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 Ql(e,t,r="breakpoints"){let n=Te(e,r);if(n)return n.find(o=>o.point===t)?.size}function Xd(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(e)}var on=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Xd(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],sn=[[/^pa?()-?(.+)$/,_("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,_("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,_("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,_("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,_("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,_("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],an=[[/^ma?()-?(.+)$/,_("margin")],[/^m-?xy()()$/,_("margin")],[/^m-?([xy])(?:-?(.+))?$/,_("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,_("margin")],[/^m-(block|inline)(?:-(.+))?$/,_("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,_("margin")]],ln=[[/^fill-(.+)$/,L("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,nc,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":u.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??u.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Zd,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":u.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 nc([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??u.bracket.cssvar.fraction.px.number(e)}}function Zd(e,t){return ke(u.bracket(e[1]))?nc(e,t):L("stroke","stroke","borderColor")(e,t)}function ec(e,t){let r;if(u.cssvar(e)!=null)r=u.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var cn=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(e!=null){let n=ec(e,r),o=r.duration?.[t||"DEFAULT"]??u.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??u.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??u.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 r=u.global(e)||ec(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...P].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...C("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],un=[[/^text-(.+)$/,Qd,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,oc,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Jd,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,L("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":u.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||u.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":wo(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":u.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||u.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":u.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||u.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],fn=[[/^tab(?:-(.+))?$/,([,e])=>{let t=u.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],pn=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],dn=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,L("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],mn=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Me(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,L("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function wo(e,t,r){return t[r]?.[e]||u.bracket.cssvar.global.rem(e)}function oc([,e],{theme:t}){let n=E(t.fontSize?.[e])?.[0]??u.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Jd(e,t){return ke(u.bracket(e[1]))?oc(e,t):L("color","text","textColor")(e,t)}function Qd([,e="base"],{theme:t}){let r=zr(e,"length");if(!r)return;let[n,o]=r,i=E(t.fontSize?.[n]),s=o?wo(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,c,f]=i;return typeof c=="object"?{"font-size":l,...c}:{"font-size":l,"line-height":s??c??"1","letter-spacing":f?wo(f,t,"letterSpacing"):void 0}}let a=u.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":u.bracketOfLength.rem(e)}}var em={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"},hn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=em[e];if(r)return{[r]:u.cssvar(t)}}]],gn=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!rm(t)&&/^[a-z-_]+$/i.test(r)&&tm(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function tm(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function rm(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var nm=[hn,gn,vt,wt,yt,Yr,Jr,en,Xr,Hr,Qr,an,tn,xt,on,nn,Kr,_t,$t,St,kt,_r,It,Dt,Nt,Gr,Zr,qr,zt,Ct,Tt,Lr,Br,Nr,ln,sn,Mr,pn,jt,Vr,un,At,Ot,Ir,Pt,fn,dn,mn,Ur,Ft,Fr,Mt,cn,Wr,Rt,Et,Dr,Vt,rn].flat(1);var ic=[[/^divide-?([xy])$/,bn,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,bn],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,bn],[/^divide-(block|inline)-(.+)$/,bn],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,L("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":u.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...je.map(e=>[`divide-${e}`,{"border-style":e}])];function bn([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Y[e].map(i=>{let s=`border${i}-width`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var So={"--un-blur":z,"--un-brightness":z,"--un-contrast":z,"--un-drop-shadow":z,"--un-grayscale":z,"--un-hue-rotate":z,"--un-invert":z,"--un-saturate":z,"--un-sepia":z},ac=Object.keys(So),sc={preflightKeys:ac},xn="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)",Co={"--un-backdrop-blur":z,"--un-backdrop-brightness":z,"--un-backdrop-contrast":z,"--un-backdrop-grayscale":z,"--un-backdrop-hue-rotate":z,"--un-backdrop-invert":z,"--un-backdrop-opacity":z,"--un-backdrop-saturate":z,"--un-backdrop-sepia":z},lc=Object.keys(Co),im={preflightKeys:lc},yn="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)",Se={preflightKeys:[...ac,...lc]};function ko(e){let t=u.bracket.cssvar(e||"");if(t!=null||(t=e?u.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function Ce(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":yn,"backdrop-filter":yn}:{[`--un-${e}`]:`${e}(${i})`,filter:xn}}}function sm([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Me(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:xn};if(r=u.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:xn}}var cc=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ce("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)),{custom:Se,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ce("brightness",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ce("contrast",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,sm,{custom:sc,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-(.+)$/,L("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":u.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ce("grayscale",ko),{custom:Se,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ce("hue-rotate",e=>u.bracket.cssvar.degree(e)),{custom:Se}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ce("invert",ko),{custom:Se,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ce("opacity",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ce("saturate",e=>u.bracket.cssvar.percent(e)),{custom:Se,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ce("sepia",ko),{custom:Se,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:xn},{custom:sc}],["backdrop-filter",{"-webkit-backdrop-filter":yn,"backdrop-filter":yn},{custom:im}],["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}])];var uc=[[/^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}])];var fc=[[/^\$ placeholder-(.+)$/,L("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":u.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Ro={"--un-scroll-snap-strictness":"proximity"},pc={preflightKeys:Object.keys(Ro)},dc=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:pc,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:pc}],["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?()-?(.+)$/,_("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])-?(.+)$/,_("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,_("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,_("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,_("scroll-margin")],[/^scroll-pa?()-?(.+)$/,_("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,_("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,_("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,_("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,_("scroll-padding")]];var hc=[[/^space-([xy])-(.+)$/,mc,{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)-(.+)$/,mc],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function mc([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=Y[e].map(i=>{let s=`margin${i}`,a=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,a]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var gc=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],bc=[...["manual","auto","none",...P].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],xc=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...C("write","writing-mode")],yc=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...C("write-orient","text-orientation")],$c=[["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"}]],vc=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],wc=[["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(H[e])return{"object-position":H[e]};if(u.bracketOfPosition(e)!=null)return{"object-position":u.bracketOfPosition(e).split(" ").map(t=>u.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(H).join("|")})`}]],kc=[["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"}],...C("bg-blend","background-blend")],Sc=[["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"}],...C("mix-blend")],Cc=[["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"}]];var Eo={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Rc={preflightKeys:Object.keys(Eo)},Ec="var(--un-border-spacing-x) var(--un-border-spacing-y)",Tc=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Ec}},{custom:Rc,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Ec}},{custom:Rc,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];var zo={"--un-pan-x":z,"--un-pan-y":z,"--un-pinch-zoom":z},To={preflightKeys:Object.keys(zo)},jo="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",jc=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":jo}),{custom:To,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":jo}),{custom:To}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":jo},{custom:To}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...C("touch","touch-action")];var Ao={"--un-ordinal":z,"--un-slashed-zero":z,"--un-numeric-figure":z,"--un-numeric-spacing":z,"--un-numeric-fraction":z},ze={preflightKeys:Object.keys(Ao)};function Ae(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var zc=[[/^ordinal$/,()=>Ae({"--un-ordinal":"ordinal"}),{custom:ze,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Ae({"--un-slashed-zero":"slashed-zero"}),{custom:ze,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Ae({"--un-numeric-figure":"lining-nums"}),{custom:ze,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Ae({"--un-numeric-figure":"oldstyle-nums"}),{custom:ze,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Ae({"--un-numeric-spacing":"proportional-nums"}),{custom:ze,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Ae({"--un-numeric-spacing":"tabular-nums"}),{custom:ze,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Ae({"--un-numeric-fraction":"diagonal-fractions"}),{custom:ze,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Ae({"--un-numeric-fraction":"stacked-fractions"}),{custom:ze,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var am={"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"},Ac=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=am[e];if(r)return{[r]:u.cssvar(t)}}]];var Oc=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var Pc=[hn,Ac,gn,Nl,vt,$c,wt,yt,Yr,Jr,uc,vc,en,Xr,Hr,Qr,an,tn,xt,on,nn,Kr,Tc,_t,Ol,$t,jc,St,kt,dc,Ml,_r,Bl,It,Dt,Nt,Gr,Zr,hc,ic,qr,Ll,Ul,zt,Ct,Tt,Lr,Br,Vl,Nr,ln,wc,sn,Mr,pn,jt,Vr,un,At,gc,Ot,zc,Ir,Pt,fn,dn,mn,bc,xc,yc,_l,Fl,Ur,kc,Sc,Ft,Fr,Mt,Wl,cc,cn,Wr,Rt,Et,fc,Dr,Oc,Cc,Vt,rn].flat(1);var Vc=[...Dl];var Oo={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(Oo).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Mc={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Fc={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)"},_c={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(",")},Wc={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Lc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Uc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Bc={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)"]},Nc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},_o={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Dc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ic=_o,Wo={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Kc={...Wo},Gc={DEFAULT:"1px",none:"0"},Hc={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"},qc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Yc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Xc={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)"},Zc={DEFAULT:"3px",none:"0"},Jc={auto:"auto"},Qc={mouse:"(hover) and (pointer: fine)"},eu={...Ye,...qe,...He},ye={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},tu={auto:"auto",...ye,screen:"100vw"},Po={none:"none",...ye,screen:"100vw"},ru={auto:"auto",...ye,screen:"100vb"},nu={auto:"auto",...ye,screen:"100vi"},ou={auto:"auto",...ye,screen:"100vh"},Vo={none:"none",...ye,screen:"100vh"},Mo={none:"none",...ye,screen:"100vb"},Fo={none:"none",...ye,screen:"100vi"},iu={...ye},lm={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)"},cm={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(",")}},Lo={width:tu,height:ou,maxWidth:Po,maxHeight:Vo,minWidth:Po,minHeight:Vo,inlineSize:nu,blockSize:ru,maxInlineSize:Fo,maxBlockSize:Mo,minInlineSize:Fo,minBlockSize:Mo,colors:Oo,fontFamily:_c,fontSize:Wc,fontWeight:Dc,breakpoints:Wo,verticalBreakpoints:Kc,borderRadius:Yc,lineHeight:Nc,letterSpacing:_o,wordSpacing:Ic,boxShadow:Xc,textIndent:Lc,textShadow:Bc,textStrokeWidth:Uc,blur:Mc,dropShadow:Fc,easing:lm,transitionProperty:cm,lineWidth:Gc,spacing:Hc,duration:qc,ringWidth:Zc,preflightBase:eu,containers:iu,zIndex:Jc,media:Qc};var su={...Lo,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:{...Ye,...zo,...Ro,...Ao,...Eo,...qe,...He,...So,...Co}};var au=[I("svg",e=>({selector:`${e.selector} svg`}))];var lu=[I(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),I(".light",e=>({prefix:`.light $$ ${e.prefix}`})),K("@dark","@media (prefers-color-scheme: dark)"),K("@light","@media (prefers-color-scheme: light)")];var du={name:"aria",match(e,t){let r=M("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function $n(e){return{name:`${e}-aria`,match(t,r){let n=M(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,s=u.bracket(o)??r.theme.aria?.[o]??"";if(s)return{matcher:`${e}-[[aria-${s}]]:${i}`}}}}}var mu=[$n("group"),$n("peer"),$n("parent"),$n("previous")],cu=/(max|min)-\[([^\]]*)\]:/;function hu(){let e={};return{name:"breakpoints",match(t,r){if(cu.test(t)){let o=t.match(cu);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Te(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=t.match(e[o]);if(!a)continue;let[,l]=a,c=t.slice(l.length);if(c==="container")continue;let f=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~"),m=3e3;return f?(m-=s+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Be(i)})`,parentOrder:m})}):(m+=s+1,d&&s<n.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Be(n[s+1][1])})`,parentOrder:m})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var gu=[I("*",e=>({selector:`${e.selector} > *`}))];function Kt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=ee(`${e}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=u.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}var bu=[Kt("all"," "),Kt("children",">"),Kt("next","+"),Kt("sibling","+"),Kt("siblings","~")],xu={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=M("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,s=u.bracket(n),a;if(s?a=u.numberWithUnit(s):a=t.theme.containers?.[n]??"",a){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(c,f)=>f({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function yu(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",E(t).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),I("light",E(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var $u={name:"data",match(e,t){let r=M("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function vn(e){return{name:`${e}-data`,match(t,r){let n=M(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,s]=n,a=u.bracket(o)??r.theme.data?.[o]??"";if(a)return{matcher:`${e}-[[data-${a}]]${s?`/${s}`:""}:${i}`}}}}}var vu=[vn("group"),vn("peer"),vn("parent"),vn("previous")],wu=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ku(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Su=K("print","@media print"),Cu={name:"media",match(e,t){let r=M("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Ru={name:"selector",match(e,t){let r=ee("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Eu={name:"layer",match(e,t){let r=M("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Tu={name:"uno-layer",match(e,t){let r=M("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},ju={name:"scope",match(e,t){let r=ee("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},zu={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=ve(e,"[","]")??[];if(!(r&&n))return;let o;for(let a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=u.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},Au={name:"theme-variables",match(e,t){if(lr(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(cr(JSON.stringify(r.entries),t.theme))})}}}},Ou=/^-?[0-9.]+(?:[a-z]+|%)?$/,Pu=/-?[0-9.]+(?:[a-z]+|%)?/,um=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function fm(e){let t=e.match(gt)||e.match(Er);if(t){let[r,n]=fe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var pm=/\b(hue-rotate)\s*(\(.*)/;function dm(e){let t=e.match(pm);if(t){let[r,n]=fe(t[2],"(",")"," ")??[];if(r){let o=Ou.test(r.slice(1,-1))?r.replace(Pu,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Vu={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===ho))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||um.some(a=>a.test(n[0])))return;let i=fm(o);if(i){n[1]=i,r=!0;return}let s=dm(o);if(s){n[1]=s,r=!0;return}Ou.test(o)&&(n[1]=o.replace(Pu,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}},Mu="__pseudo_placeholder__",Ze=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(${Mu})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Fu=Object.keys(Ze),Je=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),_u=Object.keys(Je),mm=["not","is","where","has"],Wu=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Uo=Object.entries(Ze).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Bo=Object.entries(Je).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),We=mm.join("|"),uu=Object.keys(Wu).sort((e,t)=>t.length-e.length).join("|");function hm(e,t,r){let n=new RegExp(`^(${ue(t)}:)(\\S+)${ue(r)}\\1`),o,i,s,a,l=d=>{let m=ee(`${e}-`,d,[]);if(!m)return;let[h,g]=m,b=u.bracket(h);if(b==null)return;let y=g.split(o,1)?.[0]??"",w=`${t}${Q(y)}`;return[y,d.slice(d.length-(g.length-y.length-1)),b.includes("&")?b.replace(/&/g,w):`${w}${b}`]},c=d=>{let m=d.match(i)||d.match(s);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=Ze[b]||Je[b]||`:${b}`;return g&&(w=`:${g}(${w})`),[y,d.slice(h.length),`${t}${Q(y)}${w}`,b]},f=d=>{let m=d.match(a);if(!m)return;let[h,g,b]=m,y=m[3]??"",w=`:${g}(${b})`;return[y,d.slice(h.length),`${t}${Q(y)}${w}`]};return{name:`pseudo:${e}`,match(d,m){if(o&&i&&s||(o=new RegExp(`(?:${m.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${We})-)?(${Uo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.join("|")})`),s=new RegExp(`^${e}-(?:(?:(${We})-)?(${Bo}))(?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`),a=new RegExp(`^${e}-(?:(${We})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${m.generator.config.separators.filter(v=>v!=="-").join("|")})`)),!d.startsWith(e))return;let h=l(d)||c(d)||f(d);if(!h)return;let[g,b,y,w=""]=h;return{matcher:b,handle:(v,k)=>k({...v,prefix:`${y}${r}${v.prefix}`.replace(n,"$1$2:"),sort:Fu.indexOf(w)??_u.indexOf(w)})}},multiPass:!0}}var gm=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],fu=Object.entries(Ze).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),pu=Object.entries(Je).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Lu(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${fu})(?:-(\\[\\w+\\]))?(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${pu})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let s=Ze[i[1]]||Je[i[1]]||`:${i[1]}`;if(i[2]){let l=u.bracket(i[2]);l&&(s=s.replace(Mu,l))}let a=Fu.indexOf(i[1]);return a===-1&&(a=_u.indexOf(i[1])),a===-1&&(a=void 0),{matcher:n.slice(i[0].length),handle:(l,c)=>{let f=s.includes("::")&&!gm.includes(s)?{pseudo:`${l.pseudo}${s}`}:{selector:`${l.selector}${s}`};return c({...l,...f,sort:a,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${fu}|${pu}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${uu})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return Wu[i[1]].map(a=>({matcher:n.slice(i[0].length),handle:(l,c)=>c({...l,pseudo:`${l.pseudo}${a}`})}))},multiPass:!1,autocomplete:`(${uu}):`}]}function Uu(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${We})-(${Uo})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${We})-(${Bo})(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`),r=new RegExp(`^(${We})-(\\[.+\\])(?:${o.generator.config.separators.filter(s=>s!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let s=i[1],l=ve(i[2],"[","]")?u.bracket(i[2]):Ze[i[2]]||Je[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:c=>`${c}:${s}(${l})`}}},multiPass:!0,autocomplete:`(${We})-(${Uo}|${Bo}):`}}function Bu(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>hm(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var bm=/(part-\[(.+)\]:)(.+)/,Nu={match(e){let t=e.match(bm);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0},Du={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Iu={name:"supports",match(e,t){let r=M("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function No(e){return[du,$u,Eu,Ru,Tu,Vu,Du,ku(),Iu,Su,Cu,hu(),...bu,...Lu(),Uu(),...Bu(e),Nu,...yu(e),...wu,ju,...gu,xu,zu,...vu,...mu,Au]}var Ku=[K("contrast-more","@media (prefers-contrast: more)"),K("contrast-less","@media (prefers-contrast: less)")],Gu=[K("motion-reduce","@media (prefers-reduced-motion: reduce)"),K("motion-safe","@media (prefers-reduced-motion: no-preference)")],Hu=[K("landscape","@media (orientation: landscape)"),K("portrait","@media (orientation: portrait)")];var qu=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},Yu=[I("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];function Xu(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function Zu(e,t,r){let n=[e,t],o=[];for(let s=0;s<2;s++){let a=typeof n[s]=="string"?q(n[s]):n[s];if(!a||!["rgb","rgba"].includes(a.type))return;o.push(a)}let i=[];for(let s=0;s<3;s++)i.push(Xu(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Xu(o[0].alpha??1,o[1].alpha??1,r)}}function Ju(e,t){return Zu("#fff",e,t)}function Qu(e,t){return Zu("#000",e,t)}function xm(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Qu(e,t):Ju(e,-r)}var ym={tint:Ju,shade:Qu,shift:xm};function ef(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let s=q(`${i[1]}`);if(s){let a=ym[n[1]](s,n[2]);a&&(i[1]=A(a))}}}),o)}}}}var tf=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Fe(i,t,"accentColor")||$m(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function $m(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?u.bracket.percent(t[1])!=null:!1}function rf(e){return[tf,qu,...No(e),...Ku,...Hu,...Gu,...au,...lu,...Yu,ef()]}var nf=(e={})=>(e.important=e.important??!1,{...po(e),name:"@unocss/preset-wind3",theme:su,rules:Pc,shortcuts:Vc,variants:rf(e),postprocess:yl(e)});var vm=(e={})=>({...nf(e),name:"@unocss/preset-uno"}),of=vm;function wm(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function sf(e){return e.charAt(0).toUpperCase()+e.slice(1)}function af(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var lf=["Webkit","Moz","ms"];function cf(e){let t={};function r(n){let o=t[n];if(o)return o;let i=wm(n);if(i!=="filter"&&i in e)return t[n]=af(i);i=sf(i);for(let s=0;s<lf.length;s++){let a=`${lf[s]}${i}`;if(a in e)return t[n]=af(sf(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function uf(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Do(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=E(s.postprocess)).unshift(cf(r.createElement("div").style)),i.configResolved?.(o,s);let l=await si(o,s),c=T=>i.inject?i.inject(T):n().prepend(T),f=()=>i.rootElement?i.rootElement():r.body,d=new Map,m=!0,h=new Set,g,b,y=[],w=()=>new Promise(T=>{y.push(T),b!=null&&clearTimeout(b),b=setTimeout(()=>U().then(()=>{let O=y;y=[],O.forEach(B=>B())}),0)});function v(T,O=!1){if(T.nodeType!==1)return;let B=T;B.hasAttribute(a)&&B.removeAttribute(a),O&&B.querySelectorAll(`[${a}]`).forEach(D=>{D.removeAttribute(a)})}function k(T,O){let B=d.get(T);if(!B)if(B=r.createElement("style"),B.setAttribute("data-unocss-runtime-layer",T),d.set(T,B),O==null)c(B);else{let D=k(O),X=D.parentNode;X?X.insertBefore(B,D.nextSibling):c(B)}return B}async function U(){let T=[...h],O=await l.generate(T);return O.layers.reduce((D,X)=>(k(X,D).innerHTML=O.getLayer(X)??"",X),void 0),T.filter(D=>!O.matched.has(D)).forEach(D=>h.delete(D)),{...O,getStyleElement:D=>d.get(D),getStyleElements:()=>d}}async function j(T){let O=h.size;await l.applyExtractors(T,void 0,h),O!==h.size&&await w()}async function $(T=f()){let O=T&&T.outerHTML;O&&(await j(`${O} ${uf(O)}`),v(n()),v(T,!0))}let x=new MutationObserver(T=>{m||T.forEach(async O=>{if(O.target.nodeType!==1)return;let B=O.target;for(let D of d)if(B===D[1])return;if(O.type==="childList")O.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let X=D;g&&!g(X)||(await j(X.outerHTML),v(X))});else{if(g&&!g(B))return;if(O.attributeName!==a){let D=Array.from(B.attributes).map(N=>N.value?`${N.name}="${N.value}"`:N.name).join(" "),X=`<${B.tagName.toLowerCase()} ${D}>`;await j(X)}v(B)}})}),S=!1;function R(){if(S)return;let T=i.observer?.target?i.observer.target():f();T&&(x.observe(T,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),S=!0)}function Z(){i.bypassDefined&&km(l.blocked),$(),R()}function J(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",Z):Z()}let le=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(T){V(T)||(T.forEach(O=>h.add(O)),T=""),await j(T)},extractAll:$,inspect(T){g=T},toggleObserver(T){T===void 0?m=!m:m=!!T,!S&&!m&&J()},update:U,presets:t.__unocss_runtime?.presets??{}};i.ready?.(le)!==!1&&(m=!1,J())}function km(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let r=document.styleSheets[t],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}Do({defaults:{presets:[di(),of(),Ri(),gi()]}});})();
|