@unocss/runtime 0.30.12 → 0.30.13

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/full.global.js CHANGED
@@ -1,5 +1,5 @@
1
- (()=>{var lt=Object.defineProperty,En=Object.defineProperties;var jn=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropertySymbols;var pt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var ct=(e,t,r)=>t in e?lt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))pt.call(t,r)&&ct(e,r,t[r]);if(he)for(var r of he(t))ut.call(t,r)&&ct(e,r,t[r]);return e},V=(e,t)=>En(e,jn(t));var mt=(e,t)=>{var r={};for(var o in e)pt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&he)for(var o of he(e))t.indexOf(o)<0&&ut.call(e,o)&&(r[o]=e[o]);return r};var Vn=(e,t)=>{for(var r in t)lt(e,r,{get:t[r],enumerable:!0})};function ee(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Te(e){let t=e.length,r=-1,o,n="",a=e.charCodeAt(0);for(;++r<t;){if(o=e.charCodeAt(r),o===0){n+="\uFFFD";continue}if(o===44){n+="\\2c ";continue}if(o>=1&&o<=31||o===127||r===0&&o>=48&&o<=57||r===1&&o>=48&&o<=57&&a===45){n+=`\\${o.toString(16)} `;continue}if(r===0&&t===1&&o===45){n+=`\\${e.charAt(r)}`;continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){n+=e.charAt(r);continue}n+=`\\${e.charAt(r)}`}return n}var xe=Te;function re(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function dt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>re(t)):[e]:[re(e)]}function An(e){return e.filter(([t,r],o)=>{if(t.startsWith("$$"))return!1;for(let n=o-1;n>=0;n--)if(e[n][0]===t&&e[n][1]===r)return!1;return!0})}function ye(e){return e==null?"":An(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ee(e){return e&&typeof e=="object"&&!Array.isArray(e)}function oe(e,t){let r=e,o=t;if(Array.isArray(r)&&Array.isArray(o))return[...r,...o];if(Array.isArray(r))return[...r];let n=R({},r);return Ee(r)&&Ee(o)&&Object.keys(o).forEach(a=>{Ee(o[a])?a in r?n[a]=oe(r[a],o[a]):Object.assign(n,{[a]:o[a]}):Object.assign(n,{[a]:o[a]})}),n}function te(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?te(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:te(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?te(o):o;return r}return e}function ft(e){return typeof e[0]=="string"}function gt(e){return typeof e[0]=="string"}function O(e=[]){return Array.isArray(e)?e:[e]}function ne(e){return Array.from(new Set(e))}var On=/^\[(.+?)~?="(.*)"\]$/,Mn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,A="$$shortcut-no-merge";function bt(e){return e.match(On)}function ae(e=""){return Mn.test(e)}function ht(e){return typeof e=="function"?{match:e}:e}function je(e){return e.length===3}function xt(e){return e!=null}var Ve=class{_map=new Map;get(t,r){let o=this._map.get(t);if(o)return o.get(r)}getFallback(t,r,o){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(r)||n.set(r,o),n.get(r)}set(t,r,o){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(r,o),this}has(t,r){var o;return(o=this._map.get(t))==null?void 0:o.has(r)}delete(t,r){var o;return((o=this._map.get(t))==null?void 0:o.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,o])=>Array.from(o.entries()).map(([n,a])=>t(a,r,n)))}};var yt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function vt(e){return yt.lastIndex=0,e.replace(yt,(t,r,o,n)=>n.split(/\s/g).map(a=>a==="~"?r:a.replace(/^(!?)(.*)/,`$1${r}${o}$2`)).join(" "))}var kt=new Set;function $t(e){kt.has(e)||(console.warn("[unocss]",e),kt.add(e))}function wt(e){let t=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of n){let i=e[s](o);if(i!=null)return i}};function r(o,n){return o.__options||(o.__options={sequence:[]}),o.__options.sequence.push(n),o}for(let o of Object.keys(e))Object.defineProperty(t,o,{enumerable:!0,get(){return r(this,o)}});return t}var Pn=e=>e.split(/[\s'"`;>=]+/g).filter(ae),ie={name:"split",order:0,extract({code:e}){return new Set(Pn(e))}};function Un(e){return O(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var _n={shortcuts:-1,default:0};function Ae(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(O),n=[...o.filter(d=>d.enforce==="pre"),...o.filter(d=>!d.enforce),...o.filter(d=>d.enforce==="post")],a=Object.assign(_n,...o.map(d=>d.layers),e.layers);function s(d){return ne([...n.flatMap(x=>O(x[d]||[])),...O(r[d]||[])])}let i=s("extractors");i.length||i.push(ie),i.sort((d,x)=>(d.order||0)-(x.order||0));let l=s("rules"),p={},m=l.length;l.forEach((d,x)=>{ft(d)&&(p[d[0]]=[x,d[1],d[2]],delete l[x])});let u=te([...n.map(d=>d.theme||{}),r.theme||{}].reduce((d,x)=>oe(d,x),{}));s("extendTheme").forEach(d=>d(u));let b={templates:ne(n.map(d=>{var x;return O((x=d.autocomplete)==null?void 0:x.templates)}).flat()),extractors:n.map(d=>{var x;return O((x=d.autocomplete)==null?void 0:x.extractors)}).flat().sort((d,x)=>(d.order||0)-(x.order||0))};return V(R({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:d=>d},r),{presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:m,rulesDynamic:l,rulesStaticMap:p,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),autocomplete:b,variants:s("variants").map(ht),shortcuts:Un(s("shortcuts")),extractors:i})}var St="0.30.12";var Rt=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ae(t,r)}version=St;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=Ae(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,o=new Set){let n={get original(){return t},code:t,id:r};for(let a of this.config.extractors){let s=await a.extract(n);s==null||s.forEach(i=>o.add(i))}return o}makeContext(t,r){let o={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(o,...n),variantMatch:r};return o}async parseToken(t,r){var l;if(this.blocked.has(t))return;let o=`${t}${r?` ${r}`:""}`;if(this._cache.has(o))return this._cache.get(o);let n=t;for(let p of this.config.preprocess)n=p(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(o,null);return}let a=this.matchVariants(t,n);if(!a||this.isBlocked(a[1])){this.blocked.add(t),this._cache.set(o,null);return}let s=this.makeContext(t,[r||a[0],a[1],a[2],a[3]]),i=this.expandShortcut(s.currentSelector,s);if(i){let p=await this.stringifyShortcuts(s.variantMatch,s,i[0],i[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(s.variantMatch,s))==null?void 0:l.map(m=>this.stringifyUtil(m)).filter(xt);if(p!=null&&p.length)return this._cache.set(o,p),p}this._cache.set(o,null)}async generate(t="",{id:r,scope:o,preflights:n=!0,safelist:a=!0,minify:s=!1}={}){let i=typeof t=="string"?await this.applyExtractors(t,r):t;a&&this.config.safelist.forEach(g=>i.add(g));let l=s?"":`
1
+ (()=>{var lt=Object.defineProperty,En=Object.defineProperties;var jn=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropertySymbols;var pt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var ct=(e,t,r)=>t in e?lt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))pt.call(t,r)&&ct(e,r,t[r]);if(he)for(var r of he(t))ut.call(t,r)&&ct(e,r,t[r]);return e},V=(e,t)=>En(e,jn(t));var mt=(e,t)=>{var r={};for(var o in e)pt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&he)for(var o of he(e))t.indexOf(o)<0&&ut.call(e,o)&&(r[o]=e[o]);return r};var Vn=(e,t)=>{for(var r in t)lt(e,r,{get:t[r],enumerable:!0})};function ee(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Te(e){let t=e.length,r=-1,o,n="",a=e.charCodeAt(0);for(;++r<t;){if(o=e.charCodeAt(r),o===0){n+="\uFFFD";continue}if(o===44){n+="\\2c ";continue}if(o>=1&&o<=31||o===127||r===0&&o>=48&&o<=57||r===1&&o>=48&&o<=57&&a===45){n+=`\\${o.toString(16)} `;continue}if(r===0&&t===1&&o===45){n+=`\\${e.charAt(r)}`;continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){n+=e.charAt(r);continue}n+=`\\${e.charAt(r)}`}return n}var xe=Te;function re(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function dt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>re(t)):[e]:[re(e)]}function An(e){return e.filter(([t,r],o)=>{if(t.startsWith("$$"))return!1;for(let n=o-1;n>=0;n--)if(e[n][0]===t&&e[n][1]===r)return!1;return!0})}function ye(e){return e==null?"":An(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ee(e){return e&&typeof e=="object"&&!Array.isArray(e)}function oe(e,t){let r=e,o=t;if(Array.isArray(r)&&Array.isArray(o))return[...r,...o];if(Array.isArray(r))return[...r];let n=R({},r);return Ee(r)&&Ee(o)&&Object.keys(o).forEach(a=>{Ee(o[a])?a in r?n[a]=oe(r[a],o[a]):Object.assign(n,{[a]:o[a]}):Object.assign(n,{[a]:o[a]})}),n}function te(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?te(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:te(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?te(o):o;return r}return e}function ft(e){return typeof e[0]=="string"}function gt(e){return typeof e[0]=="string"}function O(e=[]){return Array.isArray(e)?e:[e]}function ne(e){return Array.from(new Set(e))}var On=/^\[(.+?)~?="(.*)"\]$/,Mn=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,A="$$shortcut-no-merge";function bt(e){return e.match(On)}function ae(e=""){return Mn.test(e)}function ht(e){return typeof e=="function"?{match:e}:e}function je(e){return e.length===3}function xt(e){return e!=null}var Ve=class{_map=new Map;get(t,r){let o=this._map.get(t);if(o)return o.get(r)}getFallback(t,r,o){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(r)||n.set(r,o),n.get(r)}set(t,r,o){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(r,o),this}has(t,r){var o;return(o=this._map.get(t))==null?void 0:o.has(r)}delete(t,r){var o;return((o=this._map.get(t))==null?void 0:o.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,o])=>Array.from(o.entries()).map(([n,a])=>t(a,r,n)))}};var yt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function vt(e){return yt.lastIndex=0,e.replace(yt,(t,r,o,n)=>n.split(/\s/g).map(a=>a==="~"?r:a.replace(/^(!?)(.*)/,`$1${r}${o}$2`)).join(" "))}var kt=new Set;function $t(e){kt.has(e)||(console.warn("[unocss]",e),kt.add(e))}function wt(e){let t=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let s of n){let i=e[s](o);if(i!=null)return i}};function r(o,n){return o.__options||(o.__options={sequence:[]}),o.__options.sequence.push(n),o}for(let o of Object.keys(e))Object.defineProperty(t,o,{enumerable:!0,get(){return r(this,o)}});return t}var Pn=e=>e.split(/[\s'"`;>=]+/g).filter(ae),ie={name:"split",order:0,extract({code:e}){return new Set(Pn(e))}};function Un(e){return O(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var _n={shortcuts:-1,default:0};function Ae(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(O),n=[...o.filter(d=>d.enforce==="pre"),...o.filter(d=>!d.enforce),...o.filter(d=>d.enforce==="post")],a=Object.assign(_n,...o.map(d=>d.layers),e.layers);function s(d){return ne([...n.flatMap(x=>O(x[d]||[])),...O(r[d]||[])])}let i=s("extractors");i.length||i.push(ie),i.sort((d,x)=>(d.order||0)-(x.order||0));let l=s("rules"),p={},m=l.length;l.forEach((d,x)=>{ft(d)&&(p[d[0]]=[x,d[1],d[2]],delete l[x])});let u=te([...n.map(d=>d.theme||{}),r.theme||{}].reduce((d,x)=>oe(d,x),{}));s("extendTheme").forEach(d=>d(u));let b={templates:ne(n.map(d=>{var x;return O((x=d.autocomplete)==null?void 0:x.templates)}).flat()),extractors:n.map(d=>{var x;return O((x=d.autocomplete)==null?void 0:x.extractors)}).flat().sort((d,x)=>(d.order||0)-(x.order||0))};return V(R({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:d=>d},r),{presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:m,rulesDynamic:l,rulesStaticMap:p,preprocess:s("preprocess"),postprocess:s("postprocess"),preflights:s("preflights"),autocomplete:b,variants:s("variants").map(ht),shortcuts:Un(s("shortcuts")),extractors:i})}var St="0.30.13";var Rt=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ae(t,r)}version=St;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=Ae(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,o=new Set){let n={get original(){return t},code:t,id:r};for(let a of this.config.extractors){let s=await a.extract(n);s==null||s.forEach(i=>o.add(i))}return o}makeContext(t,r){let o={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(o,...n),variantMatch:r};return o}async parseToken(t,r){var l;if(this.blocked.has(t))return;let o=`${t}${r?` ${r}`:""}`;if(this._cache.has(o))return this._cache.get(o);let n=t;for(let p of this.config.preprocess)n=p(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(o,null);return}let a=this.matchVariants(t,n);if(!a||this.isBlocked(a[1])){this.blocked.add(t),this._cache.set(o,null);return}let s=this.makeContext(t,[r||a[0],a[1],a[2],a[3]]),i=this.expandShortcut(s.currentSelector,s);if(i){let p=await this.stringifyShortcuts(s.variantMatch,s,i[0],i[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(s.variantMatch,s))==null?void 0:l.map(m=>this.stringifyUtil(m)).filter(xt);if(p!=null&&p.length)return this._cache.set(o,p),p}this._cache.set(o,null)}async generate(t="",{id:r,scope:o,preflights:n=!0,safelist:a=!0,minify:s=!1}={}){let i=typeof t=="string"?await this.applyExtractors(t,r):t;a&&this.config.safelist.forEach(g=>i.add(g));let l=s?"":`
2
2
  `,p=new Set(["default"]),m=new Set,u=new Map;await Promise.all(Array.from(i).map(async g=>{var y;if(m.has(g))return;let h=await this.parseToken(g);if(h!=null){m.add(g);for(let w of h){let T=w[3]||"";u.has(T)||u.set(T,[]),u.get(T).push(w),(y=w[4])!=null&&y.layer&&p.add(w[4].layer)}}})),n&&this.config.preflights.forEach(g=>{g.layer&&p.add(g.layer)});let b={},d=this.config.sortLayers(Array.from(p).sort((g,h)=>{var y,w;return((y=this.config.layers[g])!=null?y:0)-((w=this.config.layers[h])!=null?w:0)||g.localeCompare(h)})),x={};if(n){let g={generator:this,theme:this.config.theme};x=Object.fromEntries(await Promise.all(d.map(async h=>{let w=(await Promise.all(this.config.preflights.filter(T=>(T.layer||"default")===h).map(async T=>await T.getCSS(g)))).filter(Boolean).join(l);return[h,w]})))}let v=g=>{if(b[g])return b[g];let h=Array.from(u).sort((y,w)=>{var T,E,U;return((T=this.parentOrders.get(y[0]))!=null?T:0)-((E=this.parentOrders.get(w[0]))!=null?E:0)||((U=y[0])==null?void 0:U.localeCompare(w[0]||""))||0}).map(([y,w])=>{let T=w.length,E=w.filter(f=>{var $;return((($=f[4])==null?void 0:$.layer)||"default")===g}).sort((f,$)=>{var j,D,P;return f[0]-$[0]||(((j=f[4])==null?void 0:j.sort)||0)-(((D=$[4])==null?void 0:D.sort)||0)||((P=f[1])==null?void 0:P.localeCompare($[1]||""))||0}).map(f=>{var $;return[f[1]?Wn(f[1],o):f[1],f[2],!!(($=f[4])!=null&&$.noMerge)]}).map(f=>[f[0]==null?f[0]:[f[0]],f[1],f[2]]);if(!E.length)return;let U=E.reverse().map(([f,$,j],D)=>{if(!j&&f&&this.config.mergeSelectors)for(let P=D+1;P<T;P++){let F=E[P];if(F&&!F[2]&&F[0]&&F[1]===$)return F[0].push(...f),null}return f?`${[...new Set(f)].join(`,${l}`)}{${$}}`:$}).filter(Boolean).reverse().join(l);return y?`${y}{${l}${U}${l}}`:U}).filter(Boolean).join(l);return n&&(h=[x[g],h].filter(Boolean).join(l)),b[g]=!s&&h?`/* layer: ${g} */${l}${h}`:h},z=(g=d,h)=>g.filter(y=>!(h!=null&&h.includes(y))).map(y=>v(y)||"").filter(Boolean).join(l);return{get css(){return z()},layers:d,getLayers:z,getLayer:v,matched:m}}matchVariants(t,r){let o=new Set,n=[],a=r||t,s=!1,i={rawSelector:t,theme:this.config.theme,generator:this};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&o.has(l))continue;let p=l.match(a,i);if(!!p){typeof p=="string"&&(p={matcher:p}),a=p.matcher,Array.isArray(p.parent)&&this.parentOrders.set(p.parent[0],p.parent[1]),n.push(p),o.add(l),s=!0;break}}if(!s)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,a,n,o]}applyVariants(t,r=t[4],o=t[1]){let n=[...r].sort((i,l)=>(i.order||0)-(l.order||0)),a=n.reduce((i,l)=>{var p;return((p=l.body)==null?void 0:p.call(l,i))||i},t[2]),s={selector:n.reduce((i,l)=>{var p;return((p=l.selector)==null?void 0:p.call(l,i,a))||i},Dn(o)),entries:a,parent:n.reduce((i,l)=>Array.isArray(l.parent)?l.parent[0]:l.parent||i,void 0),layer:n.reduce((i,l)=>l.layer||i,void 0),sort:n.reduce((i,l)=>l.sort||i,void 0)};for(let i of this.config.postprocess)i(s);return s}constructCustomCSS(t,r,o){r=re(r);let{selector:n,entries:a,parent:s}=this.applyVariants([0,o||t.rawSelector,r,void 0,t.variantHandlers]),i=`${n}{${ye(a)}}`;return s?`${s}{${i}}`:i}async parseUtil(t,r,o=!1){var m,u;let[n,a,s]=typeof t=="string"?this.matchVariants(t):t,i=this.config.rulesStaticMap[a];if(i&&i[1]&&(o||!((m=i[2])!=null&&m.internal)))return[[i[0],n,re(i[1]),i[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:p}=this.config;for(let b=p-1;b>=0;b--){let d=l[b];if(!d||((u=d[2])==null?void 0:u.internal)&&!o)continue;let[x,v,z]=d,g=a.match(x);if(!g)continue;let h=await v(g,r);if(!h)continue;if(typeof h=="string")return[[b,h,z]];let y=dt(h).filter(w=>w.length);if(y.length)return y.map(w=>[b,n,w,z,s])}}stringifyUtil(t){var b;if(!t)return;if(je(t))return[t[0],void 0,t[1],void 0,t[2]];let{selector:r,entries:o,parent:n,layer:a,sort:s}=this.applyVariants(t),i=ye(o);if(!i)return;let d=(b=t[3])!=null?b:{},{layer:l,sort:p}=d,m=mt(d,["layer","sort"]),u=V(R({},m),{layer:a!=null?a:l,sort:s!=null?s:p});return[t[0],r,i,n,u]}expandShortcut(t,r,o=3){if(o===0)return;let n,a;for(let s of this.config.shortcuts)if(gt(s)){if(s[0]===t){n=n||s[2],a=s[1];break}}else{let i=t.match(s[0]);if(i&&(a=s[1](i,r)),a){n=n||s[2];break}}if(typeof a=="string"&&(a=vt(a).split(/\s+/g)),!!a)return[a.flatMap(s=>{var i;return((i=this.expandShortcut(s,r,o-1))==null?void 0:i[0])||[s]}).filter(s=>s!==""),n]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var m;let a=new Ve,s=(await Promise.all(ne(o).map(async u=>{let b=await this.parseUtil(u,r,!0);return b||$t(`unmatched utility "${u}" in shortcut "${t[1]}"`),b||[]}))).flat(1).filter(Boolean).sort((u,b)=>u[0]-b[0]),[i,,l]=t,p=[];for(let u of s){if(je(u)){p.push([u[0],void 0,u[1],void 0,u[2]]);continue}let{selector:b,entries:d,parent:x,sort:v}=this.applyVariants(u,[...u[4],...l],i);a.getFallback(b,x,[[],u[0]])[0].push([d,!!((m=u[3])!=null&&m.noMerge),v!=null?v:0])}return p.concat(a.map(([u,b],d,x)=>{let v=(g,h,y)=>{let w=Math.max(...y.map(E=>E[1])),T=y.map(E=>E[0]);return(g?[T.flat(1)]:T).map(E=>{let U=ye(E);if(U)return[b,d,U,x,V(R({},n),{noMerge:h,sort:w})]})};return[[u.filter(([,g])=>g).map(([g,,h])=>[g,h]),!0],[u.filter(([,g])=>!g).map(([g,,h])=>[g,h]),!1]].map(([g,h])=>[...v(!1,h,g.filter(([y])=>y.some(w=>w[0]===A))),...v(!0,h,g.filter(([y])=>y.every(w=>w[0]!==A)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function zt(e,t){return new Rt(e,t)}var Tt=/ \$\$ /,Ln=e=>e.match(Tt);function Wn(e,t){return Ln(e)?e.replace(Tt,t?` ${t} `:" "):t?`${t} ${e}`:e}var Ct=/^\[(.+?)(~?=)"(.*)"\]$/;function Dn(e){return Ct.test(e)?e.replace(Ct,(t,r,o,n)=>`[${xe(r)}${o}"${xe(n)}"]`):`.${xe(e)}`}var Oe=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,Et=(e={})=>{var o,n;let t=(o=e.prefix)!=null?o:"un-",r=(n=e.prefixedOnly)!=null?n:!1;return a=>{let s=bt(a);if(!s)return;let i=s[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let l=s[2],[,p="",m=l]=l.match(Oe)||[];return m==="~"||!m?`${p}${i}`:`${p}${i}-${m}`}};var Nn=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,Bn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,jt=/[\s'"`;>]+/,Vt={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(Nn),o,n=0;for(let v of r){let[,z,g]=v,h=v.index+z.length;if(t>h&&t<=h+g.length){n=h,o=g;break}}if(!o)return null;let a=o.matchAll(Bn),s=0,i,l;for(let v of a){let[z,g,h]=v,y=n+v.index;if(t>y&&t<=y+z.length){s=y,i=g,l=h==null?void 0:h.slice(1);break}}if(!i||i==="class"||i==="className")return null;if(l===void 0)return{extracted:i,resolveReplacement(v){return{start:s,end:s+i.length,replacement:v}}};let p=s+i.length+2,m=jt.exec(l),u=0,b;for(;m;){let[v]=m;if(t>p+u&&t<=p+u+m.index){b=l.slice(u,u+m.index);break}u+=m.index+v.length,m=jt.exec(l.slice(u))}b===void 0&&(b=l.slice(u));let[,d="",x]=b.match(Oe)||[];return{extracted:`${d}${i}-${x}`,transformSuggestions(v){return v.filter(z=>z.startsWith(`${d}${i}-`)).map(z=>d+z.slice(d.length+i.length+1))},resolveReplacement(v){return{start:u+p,end:u+p+b.length,replacement:d+v.slice(d.length+i.length+1)}}}}};var Hn=["v-bind:",":"],At=/[\s'"`;]+/g,In=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Kn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,Ot=e=>{var o,n;let t=(o=e==null?void 0:e.ignoreAttributes)!=null?o:[],r=(n=e==null?void 0:e.nonValuedAttribute)!=null?n:!0;return{name:"attributify",extract({code:a}){let s=Array.from(a.matchAll(In)).flatMap(i=>Array.from((i[1]||"").matchAll(Kn))).flatMap(([,i,l,p])=>{if(t.includes(i))return[];for(let m of Hn)if(i.startsWith(m)){i=i.slice(m.length);break}return p?["class","className"].includes(i)?p.split(At).filter(ae):p.split(At).filter(Boolean).map(m=>`[${i}~="${m}"]`):ae(i)&&r!==!1?[`[${i}=""]`]:[]});return new Set(s)}}};var Gn=(e={})=>{var n,a,s,i,l;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(a=e.prefix)!=null?a:"un-",e.prefixedOnly=(s=e.prefixedOnly)!=null?s:!1,e.nonValuedAttribute=(i=e.nonValuedAttribute)!=null?i:!0,e.ignoreAttributes=(l=e.ignoreAttributes)!=null?l:[];let t=[Et(e)],r=[Ot(e)],o=[Vt];return e.strict||r.unshift(ie),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},Mt=Gn;var Me=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function X(e=""){let t=Xn(e);if(t==null||t===!1)return;let{type:r,components:o,alpha:n}=t,a=r.toLowerCase();if(o.length!==0&&!(["rgba","hsla"].includes(a)&&n==null)&&!(Me.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function L(e,t){let{components:r}=e,{alpha:o,type:n}=e;return o=t!=null?t:o,n=n.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(n)?`${n.replace("a","")}a(${r.join(",")}${o==null?"":`,${o}`})`:(o=o==null?"":` / ${o}`,Me.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Xn(e){if(!e)return;let t=Yn(e);if(t!=null||(t=qn(e),t!=null)||(t=Zn(e),t!=null)||(t=Qn(e),t!=null)||(t=ea(e),t!=null))return t}function Yn(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(!!t)switch(t.length){case 3:case 4:let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);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 o=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[o>>16&255,o>>8&255,o&255]:[o>>24&255,o>>16&255,o>>8&255],alpha:t.length===6?void 0:Math.round((o&255)/255*100)/100}}}function qn(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Zn(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=se(o,",",5);if(n){if([3,4].includes(n.length))return{type:r,components:n.slice(0,3),alpha:n[3]};if(n.length!==1)return!1}}var Jn=new RegExp(`^(${Me.join("|")})\\((.+)\\)$`,"i");function Qn(e){let t=e.match(Jn);if(!t)return;let[,r,o]=t,n=Pt(`${r} ${o}`);if(n){let{alpha:a,components:[s,...i]}=n;return{type:s,components:i,alpha:a}}}function ea(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Pt(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Pt(e){let t=se(e);if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let a=t.splice(r-2);t.push(a.join(" ")),--r}let o=se(t[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:t};let n=o.pop();return t[r-1]=o.join("/"),{components:t,alpha:n}}function ta(e,t){if(e=e.trim(),e==="")return;let r=e.length,o=0;for(let n=0;n<r;n++)switch(e[n]){case"(":o++;break;case")":if(--o<0)return;break;case t:if(o===0){let a=e.slice(0,n).trim();return a===""?void 0:[a,e.slice(n+1).trim()]}}return[e,""]}function se(e,t,r){if(t=t!=null?t:" ",t.length!==1)return;r=r!=null?r:10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=ta(e,t);if(!a)return;let[s,i]=a;o.push(s),e=i}if(o.length>0)return o}var _={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"]},Pe=V(R({},_),{s:["-inset-inline-start"],e:["-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"]}),Ue={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"],is:["-end-start","-start-start"],ie:["-start-end","-end-end"],"bs-is":["-start-start"],"is-bs":["-start-start"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],"be-is":["-end-start"],"is-be":["-end-start"],"be-ie":["-end-end"],"ie-be":["-end-end"]},_e={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ut=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],M=Object.assign({},...Ut.map(e=>({[e.replace(/ /,"-")]:e})),...Ut.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e})));var We={};Vn(We,{auto:()=>aa,bracket:()=>ua,bracketOfColor:()=>ma,bracketOfLength:()=>da,cssvar:()=>fa,degree:()=>ba,fraction:()=>pa,global:()=>ha,number:()=>ca,numberWithUnit:()=>na,percent:()=>la,properties:()=>xa,px:()=>sa,rem:()=>ia,time:()=>ga});var ra=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","backround-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"],Fe=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,oa=/^(-?[0-9.]+)$/i,_t=/^(px)$/i;function N(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function na(e){let t=e.match(Fe);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${N(n)}${o}`}function aa(e){if(e==="auto"||e==="a")return"auto"}function ia(e){if(e.match(_t))return`1${e}`;let t=e.match(Fe);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n/4)}rem`}function sa(e){if(e.match(_t))return`1${e}`;let t=e.match(Fe);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}px`}function ca(e){if(!oa.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return N(t)}function la(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${N(t/100)}`}function pa(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${N(o*100)}%`}function Le(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(/^\[(color|length):/i);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,n=>n.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function ua(e){return Le(e)}function ma(e){return Le(e,"color")}function da(e){return Le(e,"length")}function fa(e){if(e.match(/^\$\S/))return`var(--${Te(e.slice(1))})`}function ga(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}ms`}function ba(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}deg`}function ha(e){if(["inherit","initial","revert","unset"].includes(e))return e}function xa(e){for(let t of e.split(","))if(!ra.includes(t))return;return e}var c=wt(We);var B=(e,t)=>{let r=new RegExp(`^${ee(e)}[:-]`);return{match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),selector:t}},autocomplete:`${e}:`}},W=(e,t)=>{let r=new RegExp(`^${ee(e)}[:-]`);return{match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),parent:t}},autocomplete:`${e}:`}};var C=e=>([t,r,o],{theme:n})=>{var s,i;let a=(i=(s=n.spacing)==null?void 0:s[o||"DEFAULT"])!=null?i:c.bracket.cssvar.auto.fraction.rem(o);if(a!=null)return _[r].map(l=>[`${e}${l}`,a])},De=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},Y=(e,t)=>{let r=e.split(/(?:\/|:)/),o,n;r[0]==="[color"?(o=r.slice(0,2).join(":"),n=r[2]):[o,n]=r;let a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let i,l=c.bracketOfColor(o),p=l||o;p.startsWith("#")?i=p:p.startsWith("hex-")?i=`#${p.slice(4)}`:o.startsWith("$")&&(i=c.cssvar(o)),i=i||l;let m="DEFAULT";if(!i){let u,[b]=a.slice(-1);b.match(/^\d+$/)?(m=b,u=De(t,a.slice(0,-1))):(u=De(t,a),!u&&a.length<=2&&([,m=m]=a,u=De(t,[s]))),typeof u=="string"?i=u:m&&u&&(i=u[m])}return{opacity:n,name:s,no:m,color:i,cssColor:X(i),alpha:c.bracket.cssvar.percent(n!=null?n:"")}},S=(e,t)=>([,r],{theme:o})=>{var l;let n=Y(r,o);if(!n)return;let{alpha:a,color:s,cssColor:i}=n;if(i)return a!=null?{[e]:L(i,a)}:{[`--un-${t}-opacity`]:(l=i.alpha)!=null?l:1,[e]:L(i,`var(--un-${t}-opacity)`)};if(s)return{[e]:s.replace("%alpha",`${a!=null?a:1}`)}},q=(e,t)=>{let r=[];e=O(e);for(let o=0;o<e.length;o++){let n=se(e[o]," ",6);if(!n||n.length<3)return e;let a=X(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${L(a)})`)}return r},ve=(e,t)=>{var r;return e!=null&&!!((r=Y(e,t))!=null&&r.color)},Z=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},Ft=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var Lt=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o)return`@keyframes ${e}${o}
3
3
  ${r({animation:`${e}`})}`},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a,s,i,l,p,m,u,b,d;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o){let x=(l=(i=(s=t.animation)==null?void 0:s.durations)==null?void 0:i[e])!=null?l:"1s",v=(u=(m=(p=t.animation)==null?void 0:p.timingFns)==null?void 0:m[e])!=null?u:"linear",z=(d=(b=t.animation)==null?void 0:b.properties)==null?void 0:d[e];return`@keyframes ${e}${o}
4
- ${r(Object.assign({animation:`${e} ${x} ${v} infinite`},z))}`}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>{var t;return{"animation-name":(t=c.bracket.cssvar(e))!=null?t:e}}],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r,o;return{"animation-duration":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r,o;return{"animation-delay":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r,o;return{"animation-timing-function":(o=(r=t.easing)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|unset)$/,([,e])=>({"animation-fill-mode":e}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)$/,([,e])=>({"animation-direction":e}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>{var t;return{"animation-iteration-count":(t=c.bracket.cssvar(e))!=null?t:e.replace(/\-/g,",")}},{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|unset)$/,([,e])=>({"animation-play-state":e}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|unset)","animate-(paused|running|inherit|initial|revert|unset)"]}],["animate-none",{animation:"none"}]];var Ne=e=>([,t],{theme:r})=>{var l;let o=Y(t,r);if(!o)return;let{alpha:n,color:a,cssColor:s}=o;if(!a)return;let i=a;switch(s&&(n!=null?i=L(s,n):i=L(s,`var(--un-${e}-opacity, ${(l=s.alpha)!=null?l:1})`)),e){case"from":return{"--un-gradient-from":i,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to, rgba(255, 255, 255, 0))"};case"via":return{"--un-gradient-stops":`var(--un-gradient-from), ${i}, var(--un-gradient-to, rgba(255, 255, 255, 0))`};case"to":return{"--un-gradient-to":i}}},Wt=[[/^bg-(.*)$/,([,e])=>{if(/^\[url\((.+)\)\]$/.test(e))return{"--un-url":`${c.bracket(e)}`,"background-image":"var(--un-url)"};if(/^\[length:(.+)\]$/.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,Ne("from")],[/^(?:bg-gradient-)?to-(.+)$/,Ne("to")],[/^(?:bg-gradient-)?via-(.+)$/,Ne("via")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":c.bracket.percent(e)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgba(255, 255, 255, 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in M)return{"--un-gradient-shape":`to ${M[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(M).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in M?`to ${M[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(M).join("|")})`,`shape-(${Object.keys(M).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],["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-attachment":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-attachment":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-attachment":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-attachment":"text"}],[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":M[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-position":"repeat-x"}],["bg-repeat-y",{"background-position":"repeat-y"}],["bg-repeat-round",{"background-position":"round"}],["bg-repeat-space",{"background-position":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var Dt=[[/^list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)(?:-(outside|inside))?$/,([,e,t])=>t!=null?{"list-style-position":t,"list-style-type":e}:{"list-style-type":e},{autocomplete:["list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)","list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)-(outside|inside)"]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],Nt=[[/^accent-(.+)$/,S("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Bt=[[/^caret-(.+)$/,S("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ht=[["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"]]]],It=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}]],Kt=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var Gt=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],["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"}],["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"}]];var ya=/@media \(min-width: (.+)\)/,Xt=[[/^__container$/,(e,{variantHandlers:t})=>{var o;let r="100%";for(let n of t){let a=O(n.parent||[])[0];if(typeof a=="string"){let s=(o=a.match(ya))==null?void 0:o[1];s&&(r=s)}}return{"max-width":r}},{internal:!0}]],Yt=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{var n;let r=Object.keys((n=Z(t))!=null?n:{});if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let o=r.map(a=>`${a}:__container`);return e||o.unshift("__container"),o}]];var va={mid:"middle",base:"baseline",btm:"bottom"},qt=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":va[e]||e}),{autocomplete:"(vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)"}]],Zt=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var Jt=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"outline-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,S("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r,o;return{"outline-offset":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e}),{autocomplete:"outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)"}],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Qt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],ka=e=>{var t;return(t=c.properties.auto.global(e))!=null?t:{contents:"contents",scroll:"scroll-position"}[e]},er=[[/^will-change-(.+)/,([,e])=>({"will-change":ka(e)})]];var tr=[[/^(?:border|b)()(?:-(.+))?$/,ce,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ce],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ce],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ce],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ce],[/^(?:border|b)-()(?:width|size)-(.+)$/,J,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-()(?:color-)?(.+)$/,le,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,le],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,le],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,le],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,le],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,pe,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,pe],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ue,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ue],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],$a=e=>([,t],r)=>{var i,l;let o=Y(t,r);if(!o)return;let{alpha:n,color:a,cssColor:s}=o;if(s)return n!=null?{[`border${e}-color`]:L(s,n)}:e===""?{"--un-border-opacity":(i=s.alpha)!=null?i:1,[`border${e}-color`]:L(s,`var(--un-border${e}-opacity)`)}:{"--un-border-opacity":(l=s.alpha)!=null?l:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:L(s,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:a.replace("%alpha",`${n!=null?n:1}`)}};function ce(e,t){let r=J(e,t);if(r)return[...r,["border-style","solid"]]}function J([,e="",t],{theme:r}){var n,a;let o=(a=(n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])!=null?a:c.bracket.cssvar.px(t||"1");if(e in _&&o!=null)return _[e].map(s=>[`border${s}-width`,o])}function le([,e="",t],{theme:r}){if(e in _&&ve(t,r))return Object.assign({},..._[e].map(o=>$a(o)(["",t],r)))}function pe([,e="",t]){let r=c.bracket.percent(t);if(e in _&&r!=null)return _[e].map(o=>[`--un-border${o}-opacity`,r])}function ue([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in Ue&&o!=null)return Ue[e].map(a=>[`border${a}-radius`,o])}var rr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],or=[[/^(?:text|color|c)-(.+)$/,S("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],nr=[[/^bg-(.+)$/,S("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var ke={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},ar=e=>{var t;return(t=c.properties(e))!=null?t:ke[e]},ir=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n,a;let o=e!=null?ar(e):[ke.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let s=(a=(n=r.duration)==null?void 0:n[t||"DEFAULT"])!=null?a:c.time(t||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":s}}},{autocomplete:`transition-(${Object.keys(ke).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r,o;return{"transition-duration":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r,o;return{"transition-delay":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r,o;return{"transition-timing-function":(o=(r=t.easing)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||ar(e)}),{autocomplete:[`transition-property-(${["inherit","initial","revert","unset",...Object.keys(ke)].join("|")})`]}],["transition-none",{transition:"none"}]];var sr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>{var r;return(r=c.cssvar.fraction(t))!=null?r:t}).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r,o;return{"flex-basis":(o=(r=t.spacing)==null?void 0:r[e])!=null?o:c.bracket.cssvar.auto.fraction.rem(e)}}],["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 cr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},lr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=O((o=t.fontSize)==null?void 0:o[e]);if(r!=null&&r[0]){let[n,a="1"]=r;return{"font-size":n,"line-height":a}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n,a;let r=O((n=t.fontSize)==null?void 0:n[e]),o=(a=r==null?void 0:r[0])!=null?a:c.bracket.cssvar.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":cr[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(cr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],pr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],ur=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],mr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],dr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":q(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var fr={"":"",x:"column-",y:"row-"},gr=([,e="",t],{theme:r})=>{var n,a;let o=(a=(n=r.spacing)==null?void 0:n[t])!=null?a:c.bracket.cssvar.rem(t);if(o!=null)return{[`grid-${fr[e]}gap`]:o,[`${fr[e]}gap`]:o}},br=[[/^(?:flex-|grid-)?gap-?()(.+)$/,gr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,gr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var H=e=>e.replace("col","column"),Be=e=>e[0]==="r"?"Row":"Column",wa=(e,t,r)=>{var n;let o=(n=t[`gridAuto${Be(e)}`])==null?void 0:n[r];if(o!=null)return o;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},hr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o,n;return{[`grid-${H(e)}`]:(n=(o=r[`grid${Be(e)}`])==null?void 0:o[t])!=null?n:c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${H(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${H(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>{var r;return{[`grid-${H(e)}-start`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>{var r;return{[`grid-${H(e)}-end`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${H(e)}`]:wa(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,e])=>({"grid-auto-flow":H(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o,n;return{[`grid-template-${H(e)}`]:(n=(o=r[`gridTemplate${Be(e)}`])==null?void 0:o[t])!=null?n:c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${H(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${H(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var $e=["auto","hidden","clip","visible","scroll"],xr=[[/^(?:overflow|of)-(.+)$/,([,e])=>$e.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-${$e.join("|")}`,`(overflow|of)-(x|y)-${$e.join("|")}`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>$e.includes(t)?{[`overflow-${e}`]:t}:void 0]];var yr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],vr=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],kr=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],$r=[["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"}],["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"}],["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"}]],wr=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function He(e,{theme:t}){var r,o;return(o=(r=t.spacing)==null?void 0:r[e])!=null?o:c.bracket.cssvar.auto.fraction.rem(e)}function we([,e,t],r){let o=He(t,r);if(o!=null&&e in Pe)return Pe[e].map(n=>[n.slice(1),o])}var Sr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:He(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-)?inset-([xy])-(.+)$/,we],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,we],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,we],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,we],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:He(t,r)})]],Cr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],Rr=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],zr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var k="var(--un-empty,/*!*/ /*!*/)",Tr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:c.bracket.cssvar(e)||e})]],Er=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],jr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Vr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Ar=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Or=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Mr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)"}]];var Pr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Ur=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]];var _r=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}]],Fr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Lr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o,n;let r=(n=(o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])!=null?n:c.px(e||"1");if(r)return[{[A]:"","--un-ring-inset":k,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"},{"--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, 0 0 #0000)"}]},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r,o;return{"--un-ring-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"--un-ring-offset-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,S("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var Wr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return[{[A]:"","--un-shadow-inset":k,"--un-shadow":"0 0 #0000"},{"--un-shadow":q(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Sa={h:"height",w:"width",inline:"inline-size",block:"block-size"};function me(e,t){return`${e||""}${Sa[t]}`}function Dr(e,t,r,o){var s;let n=me(e,t).replace(/-(\w)/g,(i,l)=>l.toUpperCase()),a=(s=r[n])==null?void 0:s[o];if(a!=null)return a;switch(o){case"fit":case"max":case"min":return`${o}-content`}return c.bracket.cssvar.auto.fraction.rem(o)}var Nr=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[me(e,t)]:Dr(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[me(e,t)]:Dr(e,t,o,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[me(e,t)]:(n=Ft(o))==null?void 0:n[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[me(e,t)]:(n=Z(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Ca(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(e)}var Br=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ca(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Hr=[[/^pa?()-?(-?.+)$/,C("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,C("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,C("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,C("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,C("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,C("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Ir=[[/^ma?()-?(-?.+)$/,C("margin")],[/^m-?xy()()$/,C("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,C("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,C("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,C("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,C("margin")]];var Ra={"--un-transform":["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(" ")},Yr={"--un-transform":["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(" ")},Q=V(R({"--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},Yr),{[A]:""}),qr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>{var t;return{"transform-origin":(t=M[e])!=null?t:c.bracket.cssvar(e)}},{autocomplete:[`transform-origin-(${Object.keys(M).join("|")})`,`origin-(${Object.keys(M).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{var r;let t=(r=c.bracket.cssvar(e))!=null?r:e.length>=3?M[e]:void 0;if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Kr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Kr],[/^(?:transform-)?rotate-()(.+)$/,Xr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Xr],[/^(?:transform-)?skew-([xy])-(.+)$/,za],[/^(?:transform-)?scale-()(.+)$/,Gr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Gr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[Q,{transform:"var(--un-transform)"}]],["transform-gpu",Ra],["transform-cpu",Yr],["transform-none",{transform:"none"}]];function Kr([,e,t],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[t])!=null?a:c.bracket.cssvar.fraction.rem(t);if(o!=null)return[Q,[..._e[e].map(s=>[`--un-translate${s}`,o]),["transform","var(--un-transform)"]]]}function Gr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[Q,[..._e[e].map(o=>[`--un-scale${o}`,r]),["transform","var(--un-transform)"]]]}function Xr([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?[Q,{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:"var(--un-transform)"}]:[Q,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function za([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[Q,{[`--un-skew-${e}`]:r,transform:"var(--un-transform)"}]}var Ta={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"},Zr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ta[e];if(r)return{[r]:c.cssvar(t)}}]],Jr=[[/^\[([^:]+):(.+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var Qr=[[/^(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}}
4
+ ${r(Object.assign({animation:`${e} ${x} ${v} infinite`},z))}`}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>{var t;return{"animation-name":(t=c.bracket.cssvar(e))!=null?t:e}}],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r,o;return{"animation-duration":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r,o;return{"animation-delay":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r,o;return{"animation-timing-function":(o=(r=t.easing)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|unset)$/,([,e])=>({"animation-fill-mode":e}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)$/,([,e])=>({"animation-direction":e}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>{var t;return{"animation-iteration-count":(t=c.bracket.cssvar(e))!=null?t:e.replace(/\-/g,",")}},{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|unset)$/,([,e])=>({"animation-play-state":e}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|unset)","animate-(paused|running|inherit|initial|revert|unset)"]}],["animate-none",{animation:"none"}]];var Ne=e=>([,t],{theme:r})=>{var l;let o=Y(t,r);if(!o)return;let{alpha:n,color:a,cssColor:s}=o;if(!a)return;let i=a;switch(s&&(n!=null?i=L(s,n):i=L(s,`var(--un-${e}-opacity, ${(l=s.alpha)!=null?l:1})`)),e){case"from":return{"--un-gradient-from":i,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to, rgba(255, 255, 255, 0))"};case"via":return{"--un-gradient-stops":`var(--un-gradient-from), ${i}, var(--un-gradient-to, rgba(255, 255, 255, 0))`};case"to":return{"--un-gradient-to":i}}},Wt=[[/^bg-(.*)$/,([,e])=>{if(/^\[url\((.+)\)\]$/.test(e))return{"--un-url":`${c.bracket(e)}`,"background-image":"var(--un-url)"};if(/^\[length:(.+)\]$/.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,Ne("from")],[/^(?:bg-gradient-)?to-(.+)$/,Ne("to")],[/^(?:bg-gradient-)?via-(.+)$/,Ne("via")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":c.bracket.percent(e)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgba(255, 255, 255, 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in M)return{"--un-gradient-shape":`to ${M[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(M).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in M?`to ${M[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(M).join("|")})`,`shape-(${Object.keys(M).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],["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-attachment":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-attachment":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-attachment":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-attachment":"text"}],[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":M[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-position":"repeat-x"}],["bg-repeat-y",{"background-position":"repeat-y"}],["bg-repeat-round",{"background-position":"round"}],["bg-repeat-space",{"background-position":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var Dt=[[/^list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)(?:-(outside|inside))?$/,([,e,t])=>t!=null?{"list-style-position":t,"list-style-type":e}:{"list-style-type":e},{autocomplete:["list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)","list-(disc|circle|square|decimal|zero-decimal|greek|roman|upper-roman|alpha|upper-alpha)-(outside|inside)"]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],Nt=[[/^accent-(.+)$/,S("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Bt=[[/^caret-(.+)$/,S("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ht=[["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"]]]],It=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}]],Kt=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var Gt=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],["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"}],["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"}]];var ya=/@media \(min-width: (.+)\)/,Xt=[[/^__container$/,(e,{variantHandlers:t})=>{var o;let r="100%";for(let n of t){let a=O(n.parent||[])[0];if(typeof a=="string"){let s=(o=a.match(ya))==null?void 0:o[1];s&&(r=s)}}return{"max-width":r}},{internal:!0}]],Yt=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{var n;let r=Object.keys((n=Z(t))!=null?n:{});if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let o=r.map(a=>`${a}:__container`);return e||o.unshift("__container"),o}]];var va={mid:"middle",base:"baseline",btm:"bottom"},qt=[[/^(?:vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)$/,([,e])=>({"vertical-align":va[e]||e}),{autocomplete:"(vertical|align|v)-(baseline|top|middle|bottom|text-top|text-bottom|sub|super|mid|base|btm)"}]],Zt=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var Jt=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"outline-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,S("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r,o;return{"outline-offset":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],[/^outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e}),{autocomplete:"outline-(auto|dashed|dotted|double|hidden|solid|groove|ridge|inset|outset|inherit|initial|revert|unset)"}],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Qt=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],ka=e=>{var t;return(t=c.properties.auto.global(e))!=null?t:{contents:"contents",scroll:"scroll-position"}[e]},er=[[/^will-change-(.+)/,([,e])=>({"will-change":ka(e)})]];var tr=[[/^(?:border|b)()(?:-(.+))?$/,ce,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ce],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ce],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ce],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ce],[/^(?:border|b)-()(?:width|size)-(.+)$/,J,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,J],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,J],[/^(?:border|b)-()(?:color-)?(.+)$/,le,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,le],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,le],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,le],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,le],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,pe,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,pe],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,pe],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ue,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ue],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ue],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-hidden",{"border-style":"hidden"}],["border-none",{"border-style":"none"}]],$a=e=>([,t],r)=>{var i,l;let o=Y(t,r);if(!o)return;let{alpha:n,color:a,cssColor:s}=o;if(s)return n!=null?{[`border${e}-color`]:L(s,n)}:e===""?{"--un-border-opacity":(i=s.alpha)!=null?i:1,[`border${e}-color`]:L(s,`var(--un-border${e}-opacity)`)}:{"--un-border-opacity":(l=s.alpha)!=null?l:1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:L(s,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:a.replace("%alpha",`${n!=null?n:1}`)}};function ce(e,t){let r=J(e,t);if(r)return[...r,["border-style","solid"]]}function J([,e="",t],{theme:r}){var n,a;let o=(a=(n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])!=null?a:c.bracket.cssvar.px(t||"1");if(e in _&&o!=null)return _[e].map(s=>[`border${s}-width`,o])}function le([,e="",t],{theme:r}){if(e in _&&ve(t,r))return Object.assign({},..._[e].map(o=>$a(o)(["",t],r)))}function pe([,e="",t]){let r=c.bracket.percent(t);if(e in _&&r!=null)return _[e].map(o=>[`--un-border${o}-opacity`,r])}function ue([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in Ue&&o!=null)return Ue[e].map(a=>[`border${a}-radius`,o])}var rr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],or=[[/^(?:text|color|c)-(.+)$/,S("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],nr=[[/^bg-(.+)$/,S("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var ke={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},ar=e=>{var t;return(t=c.properties(e))!=null?t:ke[e]},ir=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n,a;let o=e!=null?ar(e):[ke.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let s=(a=(n=r.duration)==null?void 0:n[t||"DEFAULT"])!=null?a:c.time(t||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":s}}},{autocomplete:`transition-(${Object.keys(ke).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r,o;return{"transition-duration":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r,o;return{"transition-delay":(o=(r=t.duration)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r,o;return{"transition-timing-function":(o=(r=t.easing)==null?void 0:r[e||"DEFAULT"])!=null?o:c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||ar(e)}),{autocomplete:[`transition-property-(${["inherit","initial","revert","unset",...Object.keys(ke)].join("|")})`]}],["transition-none",{transition:"none"}]];var sr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>{var r;return(r=c.cssvar.fraction(t))!=null?r:t}).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r,o;return{"flex-basis":(o=(r=t.spacing)==null?void 0:r[e])!=null?o:c.bracket.cssvar.auto.fraction.rem(e)}}],["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 cr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},lr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=O((o=t.fontSize)==null?void 0:o[e]);if(r!=null&&r[0]){let[n,a="1"]=r;return{"font-size":n,"line-height":a}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n,a;let r=O((n=t.fontSize)==null?void 0:n[e]),o=(a=r==null?void 0:r[0])!=null?a:c.bracket.cssvar.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":cr[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(cr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],pr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],ur=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],mr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],dr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":q(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var fr={"":"",x:"column-",y:"row-"},gr=([,e="",t],{theme:r})=>{var n,a;let o=(a=(n=r.spacing)==null?void 0:n[t])!=null?a:c.bracket.cssvar.rem(t);if(o!=null)return{[`grid-${fr[e]}gap`]:o,[`${fr[e]}gap`]:o}},br=[[/^(?:flex-|grid-)?gap-?()(.+)$/,gr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,gr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var H=e=>e.replace("col","column"),Be=e=>e[0]==="r"?"Row":"Column",wa=(e,t,r)=>{var n;let o=(n=t[`gridAuto${Be(e)}`])==null?void 0:n[r];if(o!=null)return o;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},hr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o,n;return{[`grid-${H(e)}`]:(n=(o=r[`grid${Be(e)}`])==null?void 0:o[t])!=null?n:c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${H(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${H(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>{var r;return{[`grid-${H(e)}-start`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>{var r;return{[`grid-${H(e)}-end`]:(r=c.bracket.cssvar(t))!=null?r:t}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${H(e)}`]:wa(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-((?:row|col)(?:-dense)?)$/,([,e])=>({"grid-auto-flow":H(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o,n;return{[`grid-template-${H(e)}`]:(n=(o=r[`gridTemplate${Be(e)}`])==null?void 0:o[t])!=null?n:c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${H(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${H(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var $e=["auto","hidden","clip","visible","scroll"],xr=[[/^(?:overflow|of)-(.+)$/,([,e])=>$e.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-${$e.join("|")}`,`(overflow|of)-(x|y)-${$e.join("|")}`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>$e.includes(t)?{[`overflow-${e}`]:t}:void 0]];var yr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],vr=[["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-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["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"}]],kr=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],$r=[["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"}],["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"}],["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"}]],wr=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["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"}]];function He(e,{theme:t}){var r,o;return(o=(r=t.spacing)==null?void 0:r[e])!=null?o:c.bracket.cssvar.auto.fraction.rem(e)}function we([,e,t],r){let o=He(t,r);if(o!=null&&e in Pe)return Pe[e].map(n=>[n.slice(1),o])}var Sr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:He(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-)?inset-([xy])-(.+)$/,we],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,we],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,we],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,we],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:He(t,r)})]],Cr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],Rr=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],zr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var k="var(--un-empty,/*!*/ /*!*/)",Tr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:c.bracket.cssvar(e)||e})]],Er=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],jr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Vr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Ar=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Or=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Mr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)"}]];var Pr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Ur=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]];var _r=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}]],Fr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Lr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o,n;let r=(n=(o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])!=null?n:c.px(e||"1");if(r)return[{[A]:"","--un-ring-inset":k,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)"},{"--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, 0 0 #0000)"}]},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r,o;return{"--un-ring-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"--un-ring-offset-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,S("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var Wr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return[{[A]:"","--un-shadow-inset":k,"--un-shadow":"0 0 #0000"},{"--un-shadow":q(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}]},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Sa={h:"height",w:"width",inline:"inline-size",block:"block-size"};function me(e,t){return`${e||""}${Sa[t]}`}function Dr(e,t,r,o){var s;let n=me(e,t).replace(/-(\w)/g,(i,l)=>l.toUpperCase()),a=(s=r[n])==null?void 0:s[o];if(a!=null)return a;switch(o){case"fit":case"max":case"min":return`${o}-content`}return c.bracket.cssvar.auto.fraction.rem(o)}var Nr=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[me(e,t)]:Dr(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[me(e,t)]:Dr(e,t,o,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[me(e,t)]:(n=Ft(o))==null?void 0:n[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[me(e,t)]:(n=Z(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Ca(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(e)}var Br=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ca(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Hr=[[/^pa?()-?(-?.+)$/,C("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,C("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,C("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,C("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,C("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,C("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Ir=[[/^ma?()-?(-?.+)$/,C("margin")],[/^m-?xy()()$/,C("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,C("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,C("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,C("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,C("margin")]];var Ra={"--un-transform":["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(" ")},Yr={"--un-transform":["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(" ")},Q=V(R({"--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},Yr),{[A]:""}),qr=[[/^(?:transform-)?origin-(.+)$/,([,e])=>{var t;return{"transform-origin":(t=M[e])!=null?t:c.bracket.cssvar(e)}},{autocomplete:[`transform-origin-(${Object.keys(M).join("|")})`,`origin-(${Object.keys(M).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{var r;let t=(r=c.bracket.cssvar(e))!=null?r:e.length>=3?M[e]:void 0;if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Kr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Kr],[/^(?:transform-)?rotate-()(.+)$/,Xr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Xr],[/^(?:transform-)?skew-([xy])-(.+)$/,za],[/^(?:transform-)?scale-()(.+)$/,Gr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Gr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],[/^transform$/,()=>[Q,{transform:"var(--un-transform)"}]],["transform-gpu",Ra],["transform-cpu",Yr],["transform-none",{transform:"none"}]];function Kr([,e,t],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[t])!=null?a:c.bracket.cssvar.fraction.rem(t);if(o!=null)return[Q,[..._e[e].map(s=>[`--un-translate${s}`,o]),["transform","var(--un-transform)"]]]}function Gr([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[Q,[..._e[e].map(o=>[`--un-scale${o}`,r]),["transform","var(--un-transform)"]]]}function Xr([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?[Q,{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:"var(--un-transform)"}]:[Q,{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}]}function za([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[Q,{[`--un-skew-${e}`]:r,transform:"var(--un-transform)"}]}var Ta={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"},Zr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ta[e];if(r)return{[r]:c.cssvar(t)}}]],Jr=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var Qr=[[/^(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}}
5
5
  ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var eo=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"text-decoration-thickness":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=S("text-decoration-color","line")(e,t);if(r)return R({"-webkit-text-decoration-color":r["text-decoration-color"]},r)},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>{var r,o;return{"text-underline-offset":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e}),{autocomplete:"(underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)"}],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var to=[[/^fill-(.+)$/,S("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r,o;return{"stroke-width":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r,o;return{"stroke-dashoffset":(o=(r=t.lineWidth)==null?void 0:r[e])!=null?o:c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,S("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var Se={"--un-blur":k,"--un-brightness":k,"--un-contrast":k,"--un-drop-shadow":k,"--un-grayscale":k,"--un-hue-rotate":k,"--un-invert":k,"--un-saturate":k,"--un-sepia":k,"--un-filter":"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)",[A]:""},ro={"--un-backdrop-blur":k,"--un-backdrop-brightness":k,"--un-backdrop-contrast":k,"--un-backdrop-grayscale":k,"--un-backdrop-hue-rotate":k,"--un-backdrop-invert":k,"--un-backdrop-opacity":k,"--un-backdrop-saturate":k,"--un-backdrop-sepia":k,"--un-backdrop-filter":"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)",[A]:""},Ie=e=>{let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},I=(e,t)=>([,r,o],{theme:n})=>{var s;let a=(s=t(o,n))!=null?s:o==="none"?"0":"";if(a!=="")return r?[ro,{[`--un-${r}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":"var(--un-backdrop-filter)","backdrop-filter":"var(--un-backdrop-filter)"}]:[Se,{[`--un-${e}`]:`${e}(${a})`,filter:"var(--un-filter)"}]},Ea=([,e],{theme:t})=>{var o;let r=(o=t.dropShadow)==null?void 0:o[e||"DEFAULT"];if(r!=null){let n=q(r,"--un-drop-shadow-color");return[Se,{"--un-drop-shadow":`drop-shadow(${n.join(") drop-shadow(")})`,filter:"var(--un-filter)"}]}if(r=c.bracket.cssvar(e),r!=null)return[Se,{"--un-drop-shadow":`drop-shadow(${r})`,filter:"var(--un-filter)"}]},oo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,I("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,I("brightness",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,I("contrast",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ea,{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-(.+)$/,S("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,I("grayscale",Ie),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,I("hue-rotate",e=>c.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,I("invert",Ie),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,I("opacity",e=>c.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,I("saturate",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,I("sepia",Ie),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],[/^filter$/,()=>[Se,{filter:"var(--un-filter)"}]],[/^backdrop-filter$/,()=>[ro,{"-webkit-backdrop-filter":"var(--un-backdrop-filter)","backdrop-filter":"var(--un-backdrop-filter)"}],{autocomplete:"backdrop-filter"}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}]];var ao=[[/^space-?([xy])-?(-?.+)$/,no,{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)-(-?.+)$/,no],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function no([,e,t],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[t||"DEFAULT"])!=null?a:c.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let s=_[e].map(i=>{let l=`margin${i}`,p=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[l,p]});if(s)return[[`--un-space-${e}-reverse`,0],...s]}}var io=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],so=[["hyphens-manual",{"-webkit-hyphens":"manual","-ms-hyphens":"manual",hyphens:"manual"}],["hyphens-auto",{"-webkit-hyphens":"auto","-ms-hyphens":"auto",hyphens:"auto"}],["hyphens-none",{"-webkit-hyphens":"none","-ms-hyphens":"none",hyphens:"none"}]],co=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}]],lo=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}]],po=[["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"}]],uo=[[/^content-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e);return t!=null?{content:t}:{content:`"${e}"`}}],["content-empty",{content:'""'}],["content-none",{content:'""'}]],mo=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],fo=[["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-([-\w]+)$/,([,e])=>({"object-position":M[e]}),{autocomplete:`object-(${Object.keys(M).join("|")})`}]],go=[["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"}]],bo=[["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-normal",{"mix-blend-mode":"normal"}]];var ho=[["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})=>{var r,o;return{"border-spacing":(o=(r=t.spacing)==null?void 0:r[e])!=null?o:c.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["border-spacing","border-spacing-$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 ja={"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"},xo=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=ja[e];if(r)return{[r]:c.cssvar(t)}}]];var yo=[[/^divide-?([xy])$/,Ce,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Ce],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ce],[/^divide-(block|inline)-(-?.+)$/,Ce],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,S("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],["divide-solid",{"border-style":"solid"}],["divide-dashed",{"border-style":"dashed"}],["divide-dotted",{"border-style":"dotted"}],["divide-double",{"border-style":"double"}],["divide-none",{"border-style":"none"}]];function Ce([,e,t],{theme:r}){var n,a;let o=(a=(n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])!=null?a:c.bracket.cssvar.px(t||"1");if(o!=null){let s=_[e].map(i=>{let l=`border${i}-width`,p=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[l,p]});if(s)return[[`--un-divide-${e}-reverse`,0],...s]}}var vo=[[/^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>"]}],["line-clamp-none",{"-webkit-line-clamp":"unset","line-clamp":"unset"}]];var Va={"--un-ordinal":k,"--un-slashed-zero":k,"--un-numeric-figure":k,"--un-numeric-spacing":k,"--un-numeric-fraction":k,"--un-font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)",[A]:""},G=e=>[Va,V(R({},e),{"font-variant-numeric":"var(--un-font-variant-numeric)"})],ko=[[/^ordinal$/,()=>G({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>G({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>G({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>G({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>G({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>G({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>G({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>G({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Ke={"--un-pan-x":k,"--un-pan-y":k,"--un-pinch-zoom":k,"--un-touch-action":"var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",[A]:""},$o=[[/^touch-pan-(x|left|right)$/,([,e])=>[Ke,{"--un-pan-x":`pan-${e}`,"touch-action":"var(--un-touch-action)"}],{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>[Ke,{"--un-pan-y":`pan-${e}`,"touch-action":"var(--un-touch-action)"}]],[/^touch-pinch-zoom$/,()=>[Ke,{"--un-pinch-zoom":"pinch-zoom","touch-action":"var(--un-touch-action)"}],{autocomplete:["touch-pinch","touch-pinch-zoom"]}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}]];var wo=[[/^snap-(x|y|both)$/,([,e])=>[{"--un-scroll-snap-strictness":"proximity",[A]:""},{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}],{autocomplete:"snap-(x|y|both)"}],["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?()-?(-?.+)$/,C("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])-?(-?.+)$/,C("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,C("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,C("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,C("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,C("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,C("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,C("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,C("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,C("scroll-padding")]];var So=[[/^\$ placeholder-(.+)$/,S("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Ge=[Zr,xo,Jr,Xt,po,Vr,Er,yr,Sr,vo,mo,Rr,kr,hr,Cr,Ir,zr,Tr,Br,Nr,sr,ho,qr,Lt,jr,$o,Or,Ar,wo,Dt,Qt,Gt,wr,$r,vr,br,ao,yo,xr,It,Kt,Ur,Mr,Pr,tr,nr,Wt,to,fo,Hr,Zt,ur,qt,lr,io,_r,ko,or,eo,Fr,pr,mr,dr,so,co,lo,Bt,Nt,rr,go,bo,Wr,Jt,Lr,Ht,oo,ir,er,uo,So,Qr].flat(1);var Xe=[...Yt];var Ye={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(Ye).forEach(e=>{typeof e!="string"&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Co={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(",")},Ro={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"]},zo={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},To={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Eo={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 #0000",sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"]},jo={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Je={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Vo=Je,Qe={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Ao=R({},Qe),Oo={DEFAULT:"1px",none:"0px"},Mo={DEFAULT:"1rem",none:"0rem",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"},Po={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Uo={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},_o={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],none:"0 0 #0000",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)"},Fo={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)"},Lo={DEFAULT:"1px",none:"0px"},Wo={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Do={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},ge={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},qe=V(R({auto:"auto"},ge),{screen:"100vw"}),de=V(R({none:"none"},ge),{screen:"100vw"}),Ze=V(R({auto:"auto"},ge),{screen:"100vh"}),fe=V(R({none:"none"},ge),{screen:"100vh"}),et={width:qe,height:Ze,maxWidth:de,maxHeight:fe,minWidth:de,minHeight:fe,inlineSize:qe,blockSize:Ze,maxInlineSize:de,maxBlockSize:fe,minInlineSize:de,minBlockSize:fe,colors:Ye,fontFamily:Co,fontSize:Ro,breakpoints:Qe,verticalBreakpoints:Ao,borderRadius:Uo,lineHeight:jo,letterSpacing:Je,wordSpacing:Vo,boxShadow:_o,textIndent:zo,textShadow:Eo,textStrokeWidth:To,blur:Wo,dropShadow:Do,easing:Fo,lineWidth:Oo,spacing:Mo,duration:Po,ringWidth:Lo};var tt=V(R({},et),{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"}}},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)",useData_ok:"(prefers-reduced-data: no-preference)",useData_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)"}});var No=[B("svg",e=>`${e} svg`)];var Bo=[B(".dark",e=>`.dark $$ ${e}`),B(".light",e=>`.light $$ ${e}`),W("@dark","@media (prefers-color-scheme: dark)"),W("@light","@media (prefers-color-scheme: light)")];var rt={},Ho=e=>{var n;let t=((n=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",r=e.slice(t.length),o=parseFloat(t)-.1;return Number.isNaN(o)?e:`${o}${r}`},Io={match(e,t){var o;let r=Object.entries((o=Z(t))!=null?o:{}).map(([n,a],s)=>[n,a,s]);for(let[n,a,s]of r){rt[n]||(rt[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let i=e.match(rt[n]);if(!i)continue;let[,l]=i,p=e.slice(l.length);if(p==="container")continue;let m=l.startsWith("lt-"),u=l.startsWith("at-"),b=1e3;return m?(b-=s+1,{matcher:p,parent:[`@media (max-width: ${Ho(a)})`,b]}):(b+=s+1,u&&s<r.length-1?{matcher:p,parent:[`@media (min-width: ${a}) and (max-width: ${Ho(r[s+1][1])})`,b]}:{matcher:p,parent:[`@media (min-width: ${a})`,b]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var K=(e,t,r)=>{let o=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return n=>{let a=n.match(o);if(a)return{matcher:n.slice(a[0].length),selector:s=>{var i;return r.replace("&&-s",s).replace("&&-c",(i=a[1])!=null?i:"*")}}}},Ko=[K(!1,"all","&&-s &&-c"),K(!1,"children","&&-s>&&-c"),K(!1,"next","&&-s+&&-c"),K(!1,"sibling","&&-s+&&-c"),K(!1,"siblings","&&-s~&&-c"),K(!0,"group","&&-c &&-s"),K(!0,"parent","&&-c>&&-s"),K(!0,"previous","&&-c+&&-s"),K(!0,"peer","&&-c~&&-s")];var Go=W("print","@media print"),Xo=(e,{theme:t})=>{var o,n;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let a=(n=(o=t.media)==null?void 0:o[r[1]])!=null?n:`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${a}`}}};var Yo=(e={})=>(e==null?void 0:e.dark)==="class"?[B("dark",t=>`.dark $$ ${t}`),B("light",t=>`.light $$ ${t}`)]:[W("dark","@media (prefers-color-scheme: dark)"),W("light","@media (prefers-color-scheme: light)")];var qo=[B("rtl",e=>`[dir="rtl"] $$ ${e}`),B("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Zo={match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},Jo={match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},Qo={match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},en={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},tn={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var o,n;r[0].startsWith("--un-scale")||((o=r[1])==null?void 0:o.toString())==="0"||(r[1]=(n=r[1])==null?void 0:n.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,a=>`-${a}`))}),t)}}};var ze=Object.fromEntries(["any-link","link","visited","target",["open","[open]"],"hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type"].map(O)),rn=Object.fromEntries(["placeholder","before","after","first-letter","first-line","selection","marker",["file","::file-selector-button"]].map(O)),Aa=["not","is","where","has"],on=Object.keys(rn).join("|"),be=Object.keys(ze).join("|"),ot=Aa.join("|"),Oa=/(part-\[(.+)]:)(.+)/,Ma=new RegExp(`^(${on})[:-]`),Pa=new RegExp(`^(${be})[:-]`),Ua=new RegExp(`^(${ot})-(${be})[:-]`),nn=e=>{if(e==="active")return 1},Re=(e,t,r)=>{let o=new RegExp(`^${e}-((?:(${ot})-)?(${be}))[:-]`),n=new RegExp(`^${ee(t)}:`);return a=>{let s=a.match(o);if(s){let i=ze[s[3]]||`:${s[3]}`;return s[2]&&(i=`:${s[2]}(${i})`),{matcher:a.slice(s[0].length),selector:l=>n.test(l)?l.replace(n,`${t}${i}:`):`${t}${i}${r}${l}`,sort:nn(s[3])}}}},an={match:e=>{let t=e.match(Ma);if(t){let r=rn[t[1]]||`::${t[1]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}${r}`}}},autocomplete:`(${on}):`},sn={match:e=>{let t=e.match(Pa);if(t){let r=ze[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}${r}`,sort:nn(t[1])}}},multiPass:!0,autocomplete:`(${be}):`},cn={match:e=>{let t=e.match(Ua);if(t){let r=t[1],o=ze[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${ot})-(${be}):`},ln=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[{match:Re("group",t?'[group=""]':".group"," "),multiPass:!0},{match:Re("peer",t?'[peer=""]':".peer","~"),multiPass:!0},{match:Re("parent",t?'[parent=""]':".parent",">"),multiPass:!0},{match:Re("previous",t?'[previous=""]':".previous","+"),multiPass:!0}]},pn={match:e=>{let t=e.match(Oa);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var un=e=>[Zo,Jo,tn,en,Go,Xo,Io,...Ko,sn,cn,...ln(e),an,pn,...Yo(e),...qo,Qo];var mn=[W("motion-reduce","@media (prefers-reduced-motion: reduce)"),W("motion-safe","@media (prefers-reduced-motion: no-preference)")],dn=[W("landscape","@media (orientation: landscape)"),W("portrait","@media (orientation: portrait)")];var fn=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var gn=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(ve(a,t)||_a(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function _a(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}var nt=e=>[gn,fn,...un(e),...dn,...mn,...No,...Bo];var bn=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,hn=(e,t,r)=>{var s,i;let o=[e,t],n=[];for(let l=0;l<2;++l){let p=typeof o[l]=="string"?X(o[l]):o[l];if(!p||!["rgb","rgba"].includes(p.type))return;n.push(p)}let a=[];for(let l=0;l<3;++l)a.push(bn(n[0].components[l],n[1].components[l],r));return{type:"rgb",components:a,alpha:bn((s=n[0].alpha)!=null?s:1,(i=n[1].alpha)!=null?i:1,r)}},xn=(e,t)=>hn("#fff",e,t),yn=(e,t)=>hn("#000",e,t),Fa=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?yn(e,t):xn(e,-r)},La={tint:xn,shade:yn,shift:Fa},vn=e=>{let t=e.match(/^mix-(tint|shade|shift)-(-?\d{1,3})[-:]/);if(t)return{matcher:e.slice(t[0].length),body:r=>(r.forEach(o=>{if(o[1]){let n=X(`${o[1]}`);if(n){let a=La[t[1]](n,t[2]);a&&(o[1]=L(a))}}}),r)}};var Wa=(e={})=>{var t,r;return e.dark=(t=e.dark)!=null?t:"class",e.attributifyPseudo=(r=e.attributifyPseudo)!=null?r:!1,{name:"@unocss/preset-uno",theme:tt,rules:Ge,shortcuts:Xe,variants:[...nt(e),vn],options:e}},kn=Wa;var at={"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":"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation-Mono,Courier-New,monospace"},":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"}};function $n(e,t,r){let o="";for(let n in r){let a=r[n],s=n.split(",").map(i=>{let l=i.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(l){let p=l[0];return i=i.replace(p,""),`${e} :where(${i}):not(.not-${t})${p}`}return null}).filter(i=>i);s.length?o+=s.join(","):o+=`${e} :where(${n}):not(.not-${t})`,o+="{";for(let i in a){let l=a[i];o+=`${i}:${l};`}o+="}"}return o}function wn(e,t,r){return e.startsWith("[")||(e=`.${e}`),r?$n(e,t,oe(at,r)):$n(e,t,at)}function Sn(e){let t=!1,r="",o=(e==null?void 0:e.className)||"prose",n=new RegExp(`^${o}$`),a=new RegExp(`^${o}-([-\\w]+)$`),s=new RegExp(`^${o}-invert$`),i=e==null?void 0:e.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-1},rules:[[n,(l,{rawSelector:p})=>(t=!0,r=p,{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[a,([,l],{theme:p})=>{var b,d,x,v,z,g,h,y,w,T,E,U,f,$,j,D,P,F,st;let m=(b=p.colors)==null?void 0:b[l];if(m==null)return;let u=typeof m=="object"?m:{};return{"--un-prose-body":(d=u[700])!=null?d:m,"--un-prose-headings":(x=u[900])!=null?x:m,"--un-prose-links":(v=u[900])!=null?v:m,"--un-prose-lists":(z=u[400])!=null?z:m,"--un-prose-hr":(g=u[200])!=null?g:m,"--un-prose-captions":(h=u[500])!=null?h:m,"--un-prose-code":(y=u[900])!=null?y:m,"--un-prose-borders":(w=u[200])!=null?w:m,"--un-prose-bg-soft":(T=u[100])!=null?T:m,"--un-prose-invert-body":(E=u[200])!=null?E:m,"--un-prose-invert-headings":(U=u[100])!=null?U:m,"--un-prose-invert-links":(f=u[100])!=null?f:m,"--un-prose-invert-lists":($=u[500])!=null?$:m,"--un-prose-invert-hr":(j=u[700])!=null?j:m,"--un-prose-invert-captions":(D=u[400])!=null?D:m,"--un-prose-invert-code":(P=u[100])!=null?P:m,"--un-prose-invert-borders":(F=u[700])!=null?F:m,"--un-prose-invert-bg-soft":(st=u[800])!=null?st:m}},{layer:"typography"}],[s,()=>({"--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"}]],preflights:[{layer:"typography",getCSS:()=>t?wn(r,o,i):void 0}]}}var Da=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),Cn=e=>e.charAt(0).toUpperCase()+e.slice(1),Rn=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),zn=["Webkit","Moz","ms"];function Tn(e){let t={};function r(o){let n=t[o];if(n)return n;let a=Da(o);if(a!=="filter"&&a in e)return t[o]=Rn(a);a=Cn(a);for(let s=0;s<zn.length;s++){let i=`${zn[s]}${a}`;if(i in e)return t[o]=Rn(Cn(i))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function it(e={}){var E,U;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},r=t==null?void 0:t.runtime,o=Object.assign(e.defaults||{},r);if(r!=null&&r.autoPrefix){let f=o.postprocess;f||(f=[]),Array.isArray(f)||(f=[f]),f.unshift(Tn(document.createElement("div").style)),o.postprocess=f}(E=r==null?void 0:r.configResolved)==null||E.call(r,t,o);let n,a=!0,s,i=zt(t,o),l=new Set,p,m=[],u=()=>new Promise(f=>{m.push(f),p!=null&&clearTimeout(p),p=setTimeout(()=>d().then(()=>{let $=m;m=[],$.forEach(j=>j())}),0)});function b(f=document.body){if(f.nodeType!==1)return;let $=f;$.hasAttribute("un-cloak")&&$.removeAttribute("un-cloak"),$.querySelectorAll("[un-cloak]").forEach(j=>{j.removeAttribute("un-cloak")})}async function d(){let f=await i.generate(l);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=f.css,l=f.matched}async function x(f){let $=l.size;await i.applyExtractors(f,void 0,l),$!==l.size&&await u()}async function v(){let f=document.body&&document.body.outerHTML;f&&(await x(f),b())}let z=new MutationObserver(f=>{a||f.forEach(async $=>{if($.target.nodeType!==1)return;let j=$.target;if(j!==n)if($.type==="childList")$.addedNodes.forEach(async D=>{if(D.nodeType!==1)return;let P=D;s&&!s(P)||(await x(P.outerHTML),b(P))});else{if(s&&!s(j))return;if($.attributeName!=="un-cloak"){let D=Array.from(j.attributes).map(F=>F.value?`${F.name}="${F.value}"`:F.name).join(" "),P=`<${j.tagName.toLowerCase()} ${D}>`;await x(P)}j.hasAttribute("un-cloak")&&j.removeAttribute("un-cloak")}})}),g=!1;function h(){if(g)return;let f=document.documentElement||document.body;!f||(z.observe(f,{childList:!0,subtree:!0,attributes:!0}),g=!0)}function y(){v(),h()}function w(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",y):y()}let T=window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,async extract(f){typeof f!="string"&&(f.forEach($=>l.add($)),f=""),await x(f)},extractAll:v,inspect(f){s=f},toggleObserver(f){f===void 0?a=!a:a=!!f,!g&&!a&&w()}};((U=r==null?void 0:r.ready)==null?void 0:U.call(r,T))!==!1&&(a=!1,w())}it({defaults:{presets:[Mt(),kn(),Sn()]}});})();