@unocss/runtime 0.37.0 → 0.37.3

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.
@@ -1,5 +1,5 @@
1
- (()=>{var Ce=Object.defineProperty,ua=Object.defineProperties;var fa=Object.getOwnPropertyDescriptors;var St=Object.getOwnPropertySymbols;var Re=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable;var Se=(t,e,r)=>e in t?Ce(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,y=(t,e)=>{for(var r in e||(e={}))Re.call(e,r)&&Se(t,r,e[r]);if(St)for(var r of St(e))ze.call(e,r)&&Se(t,r,e[r]);return t},z=(t,e)=>ua(t,fa(e));var Ee=(t,e)=>{var r={};for(var o in t)Re.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&St)for(var o of St(t))e.indexOf(o)<0&&ze.call(t,o)&&(r[o]=t[o]);return r};var ma=(t,e)=>{for(var r in e)Ce(t,r,{get:e[r],enumerable:!0})};function ot(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function nt(t){let e=t.length,r=-1,o,n="",a=t.charCodeAt(0);for(;++r<e;){if(o=t.charCodeAt(r),o===0){n+="\uFFFD";continue}if(o===44){n+="\\,";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&&e===1&&o===45){n+=`\\${t.charAt(r)}`;continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){n+=t.charAt(r);continue}n+=`\\${t.charAt(r)}`}return n}var Ct=nt;function it(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Te(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>it(e)):[t]:[it(t)]}function da(t){return t.filter(([e,r],o)=>{if(e.startsWith("$$"))return!1;for(let n=o-1;n>=0;n--)if(t[n][0]===e&&t[n][1]===r)return!1;return!0})}function G(t){return t==null?"":da(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function Rt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Nt(t,e){let r=t,o=e;if(Array.isArray(r)&&Array.isArray(o))return[...r,...o];if(Array.isArray(r))return[...r];let n=y({},r);return Rt(r)&&Rt(o)&&Object.keys(o).forEach(a=>{Rt(r[a])&&Rt(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?n[a]=Nt(r[a],o[a]):Object.assign(n,{[a]:o[a]})}),n}function at(t){let e,r,o;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(o=t[e])&&typeof o=="object"?at(o):o;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:at(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(o=t[e])&&typeof o=="object"?at(o):o;return r}return t}function je(t){return typeof t[0]=="string"}function Ae(t){return typeof t[0]=="string"}function V(t=[]){return Array.isArray(t)?t:[t]}function st(t){return Array.from(new Set(t))}var ga=/^\[(.+?)~?="(.*)"\]$/;var ba=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,Bt="$$shortcut-no-merge";function Ve(t){return t.match(ga)}function ct(t=""){return ba.test(t)}function Oe(t){return typeof t=="function"?{match:t}:t}function Lt(t){return t.length===3}function Pe(t){return t!=null}function Dt(){}var zt=class{_map=new Map;get(e,r){let o=this._map.get(e);if(o)return o.get(r)}getFallback(e,r,o){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.has(r)||n.set(r,o),n.get(r)}set(e,r,o){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.set(r,o),this}has(e,r){var o;return(o=this._map.get(e))==null?void 0:o.has(r)}delete(e,r){var o;return((o=this._map.get(e))==null?void 0:o.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,o])=>Array.from(o.entries()).map(([n,a])=>e(a,r,n)))}};var Me=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Fe(t){Me.lastIndex=0;let e=!1;do{let r=t.toString();t=t.replace(Me,(o,n,a,i)=>i.split(/\s/g).map(s=>s==="~"?n:s.replace(/^(!?)(.*)/,`$1${n}${a}$2`)).join(" ")),e=t.toString()!==r}while(e);return t}var Ue=new Set;function _e(t){Ue.has(t)||(console.warn("[unocss]",t),Ue.add(t))}function Et(t){let e=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of n){let s=t[i](o);if(s!=null)return s}};function r(o,n){return o.__options||(o.__options={sequence:[]}),o.__options.sequence.push(n),o}for(let o of Object.keys(t))Object.defineProperty(e,o,{enumerable:!0,get(){return r(this,o)}});return e}var ha=t=>t.split(/[\s'"`;>=]+/g).filter(ct),lt={name:"split",order:0,extract({code:t}){return new Set(ha(t))}};function We(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}function xa(t){return V(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var ya={preflights:-100,shortcuts:-1,default:0};function It(t={},e={}){let r=Object.assign({},e,t),o=(r.presets||[]).flatMap(V),n=[...o.filter(f=>f.enforce==="pre"),...o.filter(f=>!f.enforce),...o.filter(f=>f.enforce==="post")],a=Object.assign(ya,...o.map(f=>f.layers),t.layers);function i(f){return st([...n.flatMap(h=>V(h[f]||[])),...V(r[f]||[])])}let s=i("extractors");s.length||s.push(lt),s.sort((f,h)=>(f.order||0)-(h.order||0));let l=i("rules"),p={},g=l.length;l.forEach((f,h)=>{je(f)&&(p[f[0]]=[h,f[1],f[2],f],delete l[h])});let u=at([...n.map(f=>f.theme||{}),r.theme||{}].reduce((f,h)=>Nt(f,h),{}));i("extendTheme").forEach(f=>f(u));let d={templates:st(n.map(f=>{var h;return V((h=f.autocomplete)==null?void 0:h.templates)}).flat()),extractors:n.map(f=>{var h;return V((h=f.autocomplete)==null?void 0:h.extractors)}).flat().sort((f,h)=>(f.order||0)-(h.order||0))};return z(y({mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:f=>f},r),{presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:g,rulesDynamic:l,rulesStaticMap:p,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:d,variants:i("variants").map(Oe),shortcuts:xa(i("shortcuts")),extractors:s,safelist:i("safelist")})}var Ne="0.37.0";var Kt=class{constructor(e={},r={}){this.userConfig=e;this.defaults=r;this.config=It(e,r),this.events.emit("config",this.config)}version=Ne;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=We();setConfig(e,r){!e||(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=It(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,o=new Set){let n={get original(){return e},code:e,id:r};for(let a of this.config.extractors){let i=await a.extract(n);i==null||i.forEach(s=>o.add(s))}return o}makeContext(e,r){let o={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(o,...n),variantMatch:r};return o}async parseToken(e,r){var l;if(this.blocked.has(e))return;let o=`${e}${r?` ${r}`:""}`;if(this._cache.has(o))return this._cache.get(o);let n=e;for(let p of this.config.preprocess)n=p(e);if(this.isBlocked(n)){this.blocked.add(e),this._cache.set(o,null);return}let a=this.matchVariants(e,n);if(!a||this.isBlocked(a[1])){this.blocked.add(e),this._cache.set(o,null);return}let i=this.makeContext(e,[r||a[0],a[1],a[2],a[3]]);this.config.details&&(i.variants=[...a[3]]);let s=this.expandShortcut(i.currentSelector,i);if(s){let p=await this.stringifyShortcuts(i.variantMatch,i,s[0],s[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(i.variantMatch,i))==null?void 0:l.map(g=>this.stringifyUtil(g,i)).filter(Pe);if(p!=null&&p.length)return this._cache.set(o,p),p}this._cache.set(o,null)}async generate(e="",{id:r,scope:o,preflights:n=!0,safelist:a=!0,minify:i=!1}={}){let s=typeof e=="string"?await this.applyExtractors(e,r):e;a&&this.config.safelist.forEach(b=>s.add(b));let l=i?"":`
2
- `,p=new Set(["default"]),g=new Set,u=new Map;await Promise.all(Array.from(s).map(async b=>{var v;if(g.has(b))return;let x=await this.parseToken(b);if(x!=null){g.add(b);for(let S of x){let E=S[3]||"";u.has(E)||u.set(E,[]),u.get(E).push(S),(v=S[4])!=null&&v.layer&&p.add(S[4].layer)}}})),n&&this.config.preflights.forEach(b=>{b.layer&&p.add(b.layer)});let d={},f=this.config.sortLayers(Array.from(p).sort((b,x)=>{var v,S;return((v=this.config.layers[b])!=null?v:0)-((S=this.config.layers[x])!=null?S:0)||b.localeCompare(x)})),h={};if(n){let b={generator:this,theme:this.config.theme};h=Object.fromEntries(await Promise.all(f.map(async x=>{let S=(await Promise.all(this.config.preflights.filter(E=>(E.layer||"default")===x).map(async E=>await E.getCSS(b)))).filter(Boolean).join(l);return[x,S]})))}let k=b=>{if(d[b])return d[b];let x=Array.from(u).sort((v,S)=>{var E,P,L;return((E=this.parentOrders.get(v[0]))!=null?E:0)-((P=this.parentOrders.get(S[0]))!=null?P:0)||((L=v[0])==null?void 0:L.localeCompare(S[0]||""))||0}).map(([v,S])=>{let E=S.length,P=S.filter(m=>{var w;return(((w=m[4])==null?void 0:w.layer)||"default")===b}).sort((m,w)=>{var M,H,_;return m[0]-w[0]||(((M=m[4])==null?void 0:M.sort)||0)-(((H=w[4])==null?void 0:H.sort)||0)||((_=m[1])==null?void 0:_.localeCompare(w[1]||""))||0}).map(m=>{var w;return[m[1]?ka(m[1],o):m[1],m[2],!!((w=m[4])!=null&&w.noMerge)]}).map(m=>[m[0]==null?m[0]:[m[0]],m[1],m[2]]);if(!P.length)return;let L=P.reverse().map(([m,w,M],H)=>{if(!M&&m&&this.config.mergeSelectors)for(let _=H+1;_<E;_++){let I=P[_];if(I&&!I[2]&&I[0]&&I[1]===w)return I[0].push(...m),null}return m?`${[...new Set(m)].join(`,${l}`)}{${w}}`:w}).filter(Boolean).reverse().join(l);return v?`${v}{${l}${L}${l}}`:L}).filter(Boolean).join(l);return n&&(x=[h[b],x].filter(Boolean).join(l)),d[b]=!i&&x?`/* layer: ${b} */${l}${x}`:x},T=(b=f,x)=>b.filter(v=>!(x!=null&&x.includes(v))).map(v=>k(v)||"").filter(Boolean).join(l);return{get css(){return T()},layers:f,getLayers:T,getLayer:k,matched:g}}matchVariants(e,r){let o=new Set,n=[],a=r||e,i=!1,s={rawSelector:e,theme:this.config.theme,generator:this};for(;;){i=!1;for(let l of this.config.variants){if(!l.multiPass&&o.has(l))continue;let p=l.match(a,s);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.unshift(p),o.add(l),i=!0;break}}if(!i)break;if(n.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,a,n,o]}applyVariants(e,r=e[4],o=e[1]){let n=[...r].sort((l,p)=>(l.order||0)-(p.order||0)),a=n.reduce((l,p)=>{var g;return((g=p.body)==null?void 0:g.call(p,l))||l},e[2]),i=n.reduce((l,p)=>{var g;return((g=p.selector)==null?void 0:g.call(p,l,a))||l},Sa(o)),s={selector:wa(i),entries:a,parent:n.reduce((l,p)=>Array.isArray(p.parent)?p.parent[0]:p.parent||l,void 0),layer:n.reduce((l,p)=>p.layer||l,void 0),sort:n.reduce((l,p)=>p.sort||l,void 0)};for(let l of this.config.postprocess)l(s);return s}constructCustomCSS(e,r,o){r=it(r);let{selector:n,entries:a,parent:i}=this.applyVariants([0,o||e.rawSelector,r,void 0,e.variantHandlers]),s=`${n}{${G(a)}}`;return i?`${i}{${s}}`:s}async parseUtil(e,r,o=!1){var u,d;let[n,a,i]=typeof e=="string"?this.matchVariants(e):e,s=this.config.details?f=>{var h;r.rules=(h=r.rules)!=null?h:[],r.rules.push(f)}:Dt,l=this.config.rulesStaticMap[a];if(l&&l[1]&&(o||!((u=l[2])!=null&&u.internal)))return s(l[3]),[[l[0],n,it(l[1]),l[2],i]];r.variantHandlers=i;let{rulesDynamic:p,rulesSize:g}=this.config;for(let f=g-1;f>=0;f--){let h=p[f];if(!h||((d=h[2])==null?void 0:d.internal)&&!o)continue;let[k,T,b]=h,x=a.match(k);if(!x)continue;let v=await T(x,r);if(!v)continue;if(s(h),typeof v=="string")return[[f,v,b]];let S=Te(v).filter(E=>E.length);if(S.length)return S.map(E=>[f,n,E,b,i])}}stringifyUtil(e,r){var f;if(!e)return;if(Lt(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0];let{selector:o,entries:n,parent:a,layer:i,sort:s}=this.applyVariants(e),l=G(n);if(!l)return;let h=(f=e[3])!=null?f:{},{layer:p,sort:g}=h,u=Ee(h,["layer","sort"]),d=z(y({},u),{layer:i!=null?i:p,sort:s!=null?s:g});return[e[0],o,l,a,d,this.config.details?r:void 0]}expandShortcut(e,r,o=3){if(o===0)return;let n=this.config.details?s=>{var l;r.shortcuts=(l=r.shortcuts)!=null?l:[],r.shortcuts.push(s)}:Dt,a,i;for(let s of this.config.shortcuts)if(Ae(s)){if(s[0]===e){a=a||s[2],i=s[1],n(s);break}}else{let l=e.match(s[0]);if(l&&(i=s[1](l,r)),i){a=a||s[2],n(s);break}}if(typeof i=="string"&&(i=Fe(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var l;return((l=this.expandShortcut(s,r,o-1))==null?void 0:l[0])||[s]}).filter(s=>s!==""),a]}async stringifyShortcuts(e,r,o,n={layer:this.config.shortcutsLayer}){var g;let a=new zt,i=(await Promise.all(st(o).map(async u=>{let d=await this.parseUtil(u,r,!0);return d||_e(`unmatched utility "${u}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[s,,l]=e,p=[];for(let u of i){if(Lt(u)){p.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:d,entries:f,parent:h,sort:k}=this.applyVariants(u,[...u[4],...l],s);a.getFallback(d,h,[[],u[0]])[0].push([f,!!((g=u[3])!=null&&g.noMerge),k!=null?k:0])}return p.concat(a.map(([u,d],f,h)=>{let k=(b,x,v)=>{let S=Math.max(...v.map(P=>P[1])),E=v.map(P=>P[0]);return(b?[E.flat(1)]:E).map(P=>{let L=G(P);if(L)return[d,f,L,h,z(y({},n),{noMerge:x,sort:S}),r]})};return[[u.filter(([,b])=>b).map(([b,,x])=>[b,x]),!0],[u.filter(([,b])=>!b).map(([b,,x])=>[b,x]),!1]].map(([b,x])=>[...k(!1,x,b.filter(([v])=>v.some(S=>S[0]===Bt))),...k(!0,x,b.filter(([v])=>v.every(S=>S[0]!==Bt)))])}).flat(2).filter(Boolean))}isBlocked(e){return!e||this.config.blocklist.some(r=>typeof r=="string"?r===e:r.test(e))}};function Le(t,e){return new Kt(t,e)}var De=/ \$\$ /,$a=t=>t.match(De);function ka(t,e){return $a(t)?t.replace(De,e?` ${e} `:" "):e?`${e} ${t}`:t}function wa(t){let e=t.match(/::[\w-]+/g);return e&&(e.forEach(r=>t=t.replace(r,"")),t+=e.join("")),t}var Be=/^\[(.+?)(~?=)"(.*)"\]$/;function Sa(t){return Be.test(t)?t.replace(Be,(e,r,o,n)=>`[${Ct(r)}${o}"${Ct(n)}"]`):`.${Ct(t)}`}var Ht=[{layer:"preflights",getCSS(t){if(t.theme.preflightBase)return`*,::before,::after{${G(Object.entries(t.theme.preflightBase))}}`}}];var O={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"]},qt=z(y({},O),{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"]}),Xt={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"]},Yt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ie=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],j=Object.assign({},...Ie.map(t=>({[t.replace(/ /,"-")]:t})),...Ie.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),W=["inherit","initial","revert","revert-layer","unset"];var Ke={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",middle:"middle",bottom:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super"},He=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Ke[t]}),{autocomplete:`(vertical|align|v)-(${Object.keys(Ke).join("|")})`}]],qe=["center","left","right","justify","start","end",...W].map(t=>[`text-${t}`,{"text-align":t}]);var Gt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function Z(t=""){let e=Ca(t);if(e==null||e===!1)return;let{type:r,components:o,alpha:n}=e,a=r.toLowerCase();if(o.length!==0&&!(["rgba","hsla"].includes(a)&&n==null)&&!(Gt.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function U(t,e){let{components:r}=t,{alpha:o,type:n}=t;return o=e!=null?e:o,n=n.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(n)?`${n.replace("a","")}a(${r.join(",")}${o==null?"":`,${o}`})`:(o=o==null?"":` / ${o}`,Gt.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Ca(t){if(!t)return;let e=Ra(t);if(e!=null||(e=za(t),e!=null)||(e=Ea(t),e!=null)||(e=ja(t),e!=null)||(e=Aa(t),e!=null))return e}function Ra(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let o=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[o>>16&255,o>>8&255,o&255]:[o>>24&255,o>>16&255,o>>8&255],alpha:e.length===6?void 0:Math.round((o&255)/255*100)/100}}}function za(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ea(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,o]=e,n=pt(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 Ta=new RegExp(`^(${Gt.join("|")})\\((.+)\\)$`,"i");function ja(t){let e=t.match(Ta);if(!e)return;let[,r,o]=e,n=Xe(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function Aa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Xe(e[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Xe(t){let e=pt(t);if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let a=e.splice(r-2);e.push(a.join(" ")),--r}let o=pt(e[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:e};let n=o.pop();return e[r-1]=o.join("/"),{components:e,alpha:n}}function Va(t,e){if(t=t.trim(),t==="")return;let r=t.length,o=0;for(let n=0;n<r;n++)switch(t[n]){case"(":o++;break;case")":if(--o<0)return;break;case e:if(o===0){let a=t.slice(0,n).trim();return a===""?void 0:[a,t.slice(n+1).trim()]}}return[t,""]}function pt(t,e,r){if(e=e!=null?e:" ",e.length!==1)return;r=r!=null?r:10;let o=[],n=0;for(;t!=="";){if(++n>r)return;let a=Va(t,e);if(!a)return;let[i,s]=a;o.push(i),t=s}if(o.length>0)return o}var Jt={};ma(Jt,{auto:()=>Fa,bracket:()=>Da,bracketOfColor:()=>Ia,bracketOfLength:()=>Ka,bracketOfPosition:()=>Ha,cssvar:()=>qa,degree:()=>Ya,fraction:()=>Ba,global:()=>Ga,number:()=>Wa,numberWithUnit:()=>Ma,percent:()=>Na,position:()=>Ja,properties:()=>Za,px:()=>_a,rem:()=>Ua,time:()=>Xa});var Oa=["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"],Zt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,Pa=/^(-?[0-9.]+)$/i,Ye=/^(px)$/i;function N(t){return t.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Ma(t){let e=t.match(Zt);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${N(n)}${o}`}function Fa(t){if(t==="auto"||t==="a")return"auto"}function Ua(t){if(t.match(Ye))return`1${t}`;let e=t.match(Zt);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n/4)}rem`}function _a(t){if(t.match(Ye))return`1${t}`;let e=t.match(Zt);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}px`}function Wa(t){if(!Pa.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return N(e)}function Na(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${N(e/100)}`}function Ba(t){if(t==="full")return"100%";let[e,r]=t.split("/"),o=parseFloat(e)/parseFloat(r);if(!Number.isNaN(o))return`${N(o*100)}%`}var La=/^\[(color|length|position):/i;function Tt(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,o=t.match(La);if(o?e&&o[1]===e&&(r=t.slice(o[0].length,-1)):r=t.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 Da(t){return Tt(t)}function Ia(t){return Tt(t,"color")}function Ka(t){return Tt(t,"length")}function Ha(t){return Tt(t,"position")}function qa(t){if(t.match(/^\$\S/))return`var(--${nt(t.slice(1))})`}function Xa(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}ms`}function Ya(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}deg`}function Ga(t){if(W.includes(t))return t}function Za(t){if(t.split(",").every(e=>Oa.includes(e)))return t}function Ja(t){if(["top","left","right","bottom","center"].includes(t))return t}var c=Et(Jt);var D=(t,e)=>{let r=new RegExp(`^${ot(t)}[:-]`);return{name:t,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),selector:e}},autocomplete:`${t}:`}},F=(t,e)=>{let r=new RegExp(`^${ot(t)}[:-]`);return{name:t,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),parent:e}},autocomplete:`${t}:`}};var Ge="$$mini-no-negative",R=t=>([e,r,o],{theme:n})=>{var i,s;let a=(s=(i=n.spacing)==null?void 0:i[o||"DEFAULT"])!=null?s:c.bracket.cssvar.auto.fraction.rem(o);if(a!=null)return O[r].map(l=>[`${t}${l}`,a])},Qt=(t,e)=>{var r;return(r=t.colors)==null?void 0:r[e.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},J=(t,e)=>{let r=t.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),[i]=a;if(!i)return;let s,l=c.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=c.cssvar(o)),s=s||l;let g="DEFAULT";if(!s){let u,[d]=a.slice(-1);d.match(/^\d+$/)?(g=d,u=Qt(e,a.slice(0,-1))):(u=Qt(e,a),!u&&a.length<=2&&([,g=g]=a,u=Qt(e,[i]))),typeof u=="string"?s=u:g&&u&&(s=u[g])}return{opacity:n,name:i,no:g,color:s,cssColor:Z(s),alpha:c.bracket.cssvar.percent(n!=null?n:"")}},C=(t,e)=>([,r],{theme:o})=>{var l;let n=J(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[t]:U(s,a)}:{[`--un-${e}-opacity`]:(l=s.alpha)!=null?l:1,[t]:U(s,`var(--un-${e}-opacity)`)};if(i)return{[t]:i.replace("%alpha",`${a!=null?a:1}`)}},Q=(t,e)=>{let r=[];t=V(t);for(let o=0;o<t.length;o++){let n=pt(t[o]," ",6);if(!n||n.length<3)return t;let a=Z(n.pop());if(a==null)return t;r.push(`${n.join(" ")} var(${e}, ${U(a)})`)}return r},jt=(t,e)=>{var r;return t!=null&&!!((r=J(t,e))!=null&&r.color)},tt=({theme:t,generator:e})=>{let r;return e.userConfig&&e.userConfig.theme&&(r=e.userConfig.theme.breakpoints),r||(r=t.breakpoints),r},Ze=({theme:t,generator:e})=>{let r;return e.userConfig&&e.userConfig.theme&&(r=e.userConfig.theme.verticalBreakpoints),r||(r=t.verticalBreakpoints),r};var Je=[[/^outline-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>{var r,o;return{"outline-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px(t)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,C("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>{var r,o;return{"outline-offset":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px(t)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...W].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Qe=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Qa=t=>{var e;return(e=c.properties.auto.global(t))!=null?e:{contents:"contents",scroll:"scroll-position"}[t]},tr=[[/^will-change-(.+)/,([,t])=>({"will-change":Qa(t)})]];var gt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...W],er=[[/^(?:border|b)()(?:-(.+))?$/,ut,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ut],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ut],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ut],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ut],[/^(?:border|b)-()(?:width|size)-(.+)$/,et,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,et],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,et],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,et],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,et],[/^(?:border|b)-()(?:color-)?(.+)$/,ft,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ft],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ft],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,mt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,mt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,mt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,mt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,mt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,dt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,dt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,dt],[/^(?:border|b)-(?:style-)?()(.+)$/,rt,{autocomplete:["(border|b)-style",`(border|b)-(${gt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${gt.join("|")})`,`(border|b)-<directions>-style-(${gt.join("|")})`,`(border|b)-style-(${gt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,rt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,rt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,rt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,rt]],ti=t=>([,e],r)=>{var s,l;let o=J(e,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${t}-color`]:U(i,n)}:t===""?{"--un-border-opacity":(s=i.alpha)!=null?s:1,[`border${t}-color`]:U(i,`var(--un-border${t}-opacity)`)}:{"--un-border-opacity":(l=i.alpha)!=null?l:1,[`--un-border${t}-opacity`]:"var(--un-border-opacity)",[`border${t}-color`]:U(i,`var(--un-border${t}-opacity)`)};if(a)return{[`border${t}-color`]:a.replace("%alpha",`${n!=null?n:1}`)}};function ut(t,e){let r=et(t,e),o=rt(["",t[1],"solid"]);if(r&&o)return[...r,...o]}function et([,t="",e],{theme:r}){var n,a;let o=(a=(n=r.lineWidth)==null?void 0:n[e||"DEFAULT"])!=null?a:c.bracket.cssvar.px(e||"1");if(t in O&&o!=null)return O[t].map(i=>[`border${i}-width`,o])}function ft([,t="",e],{theme:r}){if(t in O&&jt(e,r))return Object.assign({},...O[t].map(o=>ti(o)(["",e],r)))}function mt([,t="",e]){let r=c.bracket.percent(e);if(t in O&&r!=null)return O[t].map(o=>[`--un-border${o}-opacity`,r])}function dt([,t="",e],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar.fraction.rem(e||"1");if(t in Xt&&o!=null)return Xt[t].map(a=>[`border${a}-radius`,o])}function rt([,t="",e]){if(gt.includes(e)&&t in O)return O[t].map(r=>[`border${r}-style`,e])}var rr=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:c.bracket.percent.cssvar(t)})]],or=[[/^(?:text|color|c)-(.+)$/,C("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":c.bracket.percent(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],nr=[[/^bg-(.+)$/,C("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":c.bracket.percent(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var At={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},ar=t=>{var e;return(e=c.properties(t))!=null?e:At[t]},ir=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{var n,a;let o=t!=null?ar(t):[At.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let i=(a=(n=r.duration)==null?void 0:n[e||"DEFAULT"])!=null?a:c.time(e||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":i}}},{autocomplete:`transition-(${Object.keys(At).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>{var r,o;return{"transition-duration":(o=(r=e.duration)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar.time(t)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>{var r,o;return{"transition-delay":(o=(r=e.duration)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar.time(t)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>{var r,o;return{"transition-timing-function":(o=(r=e.easing)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar(t)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t])=>({"transition-property":c.global(t)||ar(t)}),{autocomplete:[`transition-property-(${[...W,...Object.keys(At)].join("|")})`]}],["transition-none",{transition:"none"}]];var sr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:c.bracket(t)!=null?c.bracket(t).split(" ").map(e=>{var r;return(r=c.cssvar.fraction(e))!=null?r:e}).join(" "):c.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>{var r,o;return{"flex-basis":(o=(r=e.spacing)==null?void 0:r[t])!=null?o:c.bracket.cssvar.auto.fraction.rem(t)}}],["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-(.+)$/,([,t],{theme:e})=>{var r;return{"font-family":((r=e.fontFamily)==null?void 0:r[t])||c.bracket.cssvar.global(t)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,t="base"],{theme:e})=>{var o;let r=V((o=e.fontSize)==null?void 0:o[t]);if(r!=null&&r[0]){let[n,a="1"]=r;return{"font-size":n,"line-height":a}}return{"font-size":c.bracketOfLength.rem(t)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,t],{theme:e})=>{var n,a;let r=V((n=e.fontSize)==null?void 0:n[t]),o=(a=r==null?void 0:r[0])!=null?a:c.bracket.cssvar.rem(t);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,t])=>({"font-weight":cr[t]||c.global.number(t)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(cr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,t],{theme:e})=>{var r;return{"line-height":((r=e.lineHeight)==null?void 0:r[t])||c.bracket.cssvar.global.rem(t)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":t}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{var r;return{"letter-spacing":((r=e.letterSpacing)==null?void 0:r[t])||c.bracket.cssvar.global.rem(t)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{var r;return{"word-spacing":((r=e.wordSpacing)==null?void 0:r[t])||c.bracket.cssvar.global.rem(t)}},{autocomplete:"word-spacing-$wordSpacing"}]],pr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=c.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],ur=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"text-indent":((r=e.textIndent)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(t)}},{autocomplete:"indent-$textIndent"}]],fr=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>{var r;return{"-webkit-text-stroke-width":((r=e.textStrokeWidth)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.px(t)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,C("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":c.bracket.percent(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],mr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{var o;let r=(o=e.textShadow)==null?void 0:o[t||"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(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,C("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":c.bracket.percent(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var dr={"":"",x:"column-",y:"row-"},gr=([,t="",e],{theme:r})=>{var n,a;let o=(a=(n=r.spacing)==null?void 0:n[e])!=null?a:c.bracket.cssvar.rem(e);if(o!=null)return{[`grid-${dr[t]}gap`]:o,[`${dr[t]}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 K=t=>t.replace("col","column"),te=t=>t[0]==="r"?"Row":"Column",ei=(t,e,r)=>{var n;let o=(n=e[`gridAuto${te(t)}`])==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)-(.+)$/,([,t,e],{theme:r})=>{var o,n;return{[`grid-${K(t)}`]:(n=(o=r[`grid${te(t)}`])==null?void 0:o[e])!=null?n:c.bracket.cssvar.auto(e)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${K(t)}`]:"1/-1"};let r=c.bracket.number(e);if(r!=null)return{[`grid-${K(t)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>{var r;return{[`grid-${K(t)}-start`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>{var r;return{[`grid-${K(t)}-end`]:(r=c.bracket.cssvar(e))!=null?r:e}}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${K(t)}`]:ei(t,r,e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":c.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":K(t).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>{var o,n;return{[`grid-template-${K(t)}`]:(n=(o=r[`gridTemplate${te(t)}`])==null?void 0:o[e])!=null?n:c.bracket.cssvar(e)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${K(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${K(t)}`]:`repeat(${e},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Vt=["auto","hidden","clip","visible","scroll"],xr=[[/^(?:overflow|of)-(.+)$/,([,t])=>Vt.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Vt.join("|")})`,`(overflow|of)-(x|y)-(${Vt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Vt.includes(e)?{[`overflow-${t}`]:e}:void 0]];var yr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t})],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],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"}]],$r=[[/^order-(.+)$/,([,t])=>({order:c.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],kr=[["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 ee(t,{theme:e}){var r,o;return(o=(r=e.spacing)==null?void 0:r[t])!=null?o:c.bracket.cssvar.auto.fraction.rem(t)}function Ot([,t,e],r){let o=ee(e,r);if(o!=null&&t in qt)return qt[t].map(n=>[n.slice(1),o])}var Sr=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:ee(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ot],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ot],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ot],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ot],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:ee(e,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.]+)$/,([,t])=>({"z-index":c.number(t)})],[/^z-(.+)$/,([,t])=>({"z-index":c.bracket.cssvar.auto.number(t)}),{autocomplete:"z-<num>"}]],zr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var $="var(--un-empty,/*!*/ /*!*/)",Er=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:c.bracket.cssvar(t)||t})]],Tr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],jr=[[/^cursor-(.+)$/,([,t])=>({cursor:c.bracket.cssvar(t)||t})]],Ar=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Vr=[["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"}]],Pr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,t])=>({"white-space":t}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Mr=[[/^content-(.+)$/,([,t])=>{let e=c.bracket.cssvar(t);return{content:e==null?`"${t}"`:e}}],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Fr=[["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"}]],_r=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Wr=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Nr=[["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 Br={"--un-ring-inset":$,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},Lr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{var o,n;let r=(n=(o=e.ringWidth)==null?void 0:o[t||"DEFAULT"])!=null?n:c.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,t],{theme:e})=>{var r,o;return{"--un-ring-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px(t)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>{var r,o;return{"--un-ring-offset-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px(t)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,C("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":c.bracket.percent(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,C("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":c.bracket.percent(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var Dr={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":$,"--un-shadow":"0 0 #0000"},Ir=[[/^shadow(?:-(.+))?$/,([,t],{theme:e})=>{var o;let r=(o=e.boxShadow)==null?void 0:o[t||"DEFAULT"];if(r)return{"--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-(.+)$/,C("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":c.bracket.percent(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var ri={h:"height",w:"width",inline:"inline-size",block:"block-size"};function bt(t,e){return`${t||""}${ri[e]}`}function Kr(t,e,r,o){var i;let n=bt(t,e).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),a=(i=r[n])==null?void 0:i[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 Hr=[[/^(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:o})=>({[bt(t,e)]:Kr(t,e,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)-(.+)$/,([,t,e,r],{theme:o})=>({[bt(t,e)]:Kr(t,e,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-(.+)$/,([,t,e,r],o)=>{var n;return{[bt(t,e)]:(n=Ze(o))==null?void 0:n[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],o)=>{var n;return{[bt(t,e)]:(n=tt(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function oi(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(t)}var qr=[[/^aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":oi(t)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Xr=[[/^pa?()-?(-?.+)$/,R("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,R("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,R("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Yr=[[/^ma?()-?(-?.+)$/,R("margin")],[/^m-?xy()()$/,R("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,R("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,R("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,R("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,R("margin")]];var ni=["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(" "),ai=["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(" "),Qr={"--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,"--un-transform":ni},to=[[/^(?:transform-)?origin-(.+)$/,([,t])=>{var e;return{"transform-origin":(e=j[t])!=null?e:c.bracket.cssvar(t)}},{autocomplete:[`transform-origin-(${Object.keys(j).join("|")})`,`origin-(${Object.keys(j).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=c.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{var r;let e=(r=c.bracket.cssvar(t))!=null?r:t.length>=3?j[t]:void 0;if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Gr],[/^(?:transform-)?translate-([xyz])-(.+)$/,Gr],[/^(?:transform-)?rotate-()(.+)$/,Jr],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Jr],[/^(?:transform-)?skew-([xy])-(.+)$/,ii],[/^(?:transform-)?scale-()(.+)$/,Zr],[/^(?:transform-)?scale-([xyz])-(.+)$/,Zr],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:"var(--un-transform)"}],["transform-cpu",{transform:"var(--un-transform)"}],["transform-gpu",{transform:ai}],["transform-none",{transform:"none"}]];function Gr([,t,e],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[e])!=null?a:c.bracket.cssvar.fraction.rem(e);if(o!=null)return[...Yt[t].map(i=>[`--un-translate${i}`,o]),["transform","var(--un-transform)"]]}function Zr([,t,e]){let r=c.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Yt[t].map(o=>[`--un-scale${o}`,r]),["transform","var(--un-transform)"]]}function Jr([,t="",e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:"var(--un-transform)"}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}}function ii([,t,e]){let r=c.bracket.cssvar.degree(e);if(r!=null)return{[`--un-skew-${t}`]:r,transform:"var(--un-transform)"}}var si={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"},eo=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=si[t];if(r)return{[r]:c.cssvar(e)}}]],ro=[[/^\[([\w_-]+):([^'"]+)\]$/,([,t,e])=>({[t]:c.bracket(`[${e}]`)})]];var oo=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}}
3
- ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var no=["solid","double","dotted","dashed","wavy",...W],ao=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,t],{theme:e})=>{var r,o;return{"text-decoration-thickness":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px(t)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(t,e)=>{let r=C("text-decoration-color","line")(t,e);if(r)return y({"-webkit-text-decoration-color":r["text-decoration-color"]},r)},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":c.bracket.percent(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>{var r,o;return{"text-underline-offset":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.auto.bracket.cssvar.px(t)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...no.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...no.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var io=[[/^fill-(.+)$/,C("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":c.bracket.percent(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>{var r,o;return{"stroke-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.fraction.px.number(t)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":c.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>{var r,o;return{"stroke-dashoffset":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:c.bracket.cssvar.px.numberWithUnit(t)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,C("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":c.bracket.percent(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var re={},so=t=>{var n;let e=((n=t.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",r=t.slice(e.length),o=parseFloat(e)-.1;return Number.isNaN(o)?t:`${o}${r}`},co={name:"breakpoints",match(t,e){var o;let r=Object.entries((o=tt(e))!=null?o:{}).map(([n,a],i)=>[n,a,i]);for(let[n,a,i]of r){re[n]||(re[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=t.match(re[n]);if(!s)continue;let[,l]=s,p=t.slice(l.length);if(p==="container")continue;let g=l.startsWith("lt-"),u=l.startsWith("at-"),d=1e3;return g?(d-=i+1,{matcher:p,parent:[`@media (max-width: ${so(a)})`,d]}):(d+=i+1,u&&i<r.length-1?{matcher:p,parent:[`@media (min-width: ${a}) and (max-width: ${so(r[i+1][1])})`,d]}:{matcher:p,parent:[`@media (min-width: ${a})`,d]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var q=(t,e,r)=>{let o=t?new RegExp(`^${e}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${e}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${e}`,match:n=>{let a=n.match(o);if(a)return{matcher:n.slice(a[0].length),selector:i=>{var s;return r.replace("&&-s",i).replace("&&-c",(s=a[1])!=null?s:"*")}}}}},lo=[q(!1,"all","&&-s &&-c"),q(!1,"children","&&-s>&&-c"),q(!1,"next","&&-s+&&-c"),q(!1,"sibling","&&-s+&&-c"),q(!1,"siblings","&&-s~&&-c"),q(!0,"group","&&-c &&-s"),q(!0,"parent","&&-c>&&-s"),q(!0,"previous","&&-c+&&-s"),q(!0,"peer","&&-c~&&-s")];var po=F("print","@media print"),uo={name:"media",match(t,{theme:e}){var o,n;let r=t.match(/^media-([_\d\w]+)[:-]/);if(r){let a=(n=(o=e.media)==null?void 0:o[r[1]])!=null?n:`(--${r[1]})`;return{matcher:t.slice(r[0].length),parent:`@media ${a}`}}}};var fo=(t={})=>(t==null?void 0:t.dark)==="class"?[D("dark",e=>`.dark $$ ${e}`),D("light",e=>`.light $$ ${e}`)]:[F("dark","@media (prefers-color-scheme: dark)"),F("light","@media (prefers-color-scheme: light)")];var mo=[D("rtl",t=>`[dir="rtl"] $$ ${t}`),D("ltr",t=>`[dir="ltr"] $$ ${t}`)];var bo={name:"selector",match(t){let e=t.match(/^selector-\[(.+?)\][:-]/);if(e)return{matcher:t.slice(e[0].length),selector:()=>e[1]}}},ho={name:"layer",match(t){let e=t.match(/^layer-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),parent:`@layer ${e[1]}`}}},xo={name:"uno-layer",match(t){let e=t.match(/^uno-layer-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),layer:e[1]}}},yo={name:"scope",match(t){let e=t.match(/^scope-([_\d\w]+)[:-]/);if(e)return{matcher:t.slice(e[0].length),selector:r=>`.${e[1]} $$ ${r}`}}},vo={name:"important",match(t){let e=t.match(/^(important[:-]|!)/);if(e)return{matcher:t.slice(e[0].length),body:r=>(r.forEach(o=>{o[1]&&(o[1]+=" !important")}),r)}},autocomplete:"(important)"},go=/[0-9.]+(?:[a-z]+|%)?/,$o={name:"negative",match(t){if(!(!t.startsWith("-")||!t.match(/\d|-px|-full/)))return{matcher:t.slice(1),body:e=>{if(e.find(o=>o[0]===Ge))return;let r=!1;if(e.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||go.test(n)&&(o[1]=n.replace(go,i=>`-${i}`),r=!0)}),r)return e}}}};var xt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"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",["placeholder","::placeholder"],["before","::before"],["after","::after"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),yt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),ci=["not","is","where","has"],oe=Object.entries(xt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).join("|"),ne=Object.entries(yt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).join("|"),ht=ci.join("|"),ko=t=>{if(t==="active")return 1},Pt=(t,e,r)=>{let o=new RegExp(`^${ot(e)}:`),n=new RegExp(`^${t}-((?:(${ht})-)?(${oe}))[:-]`),a=new RegExp(`^${t}-((?:(${ht})-)?(${ne}))[:]`);return{name:`pseudo:${t}`,match(i){let s=i.match(n)||i.match(a);if(s){let l=xt[s[3]]||yt[s[3]]||`:${s[3]}`;return s[2]&&(l=`:${s[2]}(${l})`),{matcher:i.slice(s[0].length),selector:p=>o.test(p)?p.replace(o,`${e}${l}:`):`${e}${l}${r}${p}`,sort:ko(s[3])}}}}},wo=Object.entries(xt).map(([t])=>t).join("|"),li=Object.entries(yt).map(([t])=>t).join("|"),pi=new RegExp(`^(${wo})[:-]`),ui=new RegExp(`^(${li})[:]`),So={name:"pseudo",match:t=>{let e=t.match(pi)||t.match(ui);if(e){let r=xt[e[1]]||yt[e[1]]||`:${e[1]}`;return{matcher:t.slice(e[0].length),selector:o=>`${o}${r}`,sort:ko(e[1])}}},multiPass:!0,autocomplete:`(${wo}):`},fi=new RegExp(`^(${ht})-(${oe})[:-]`),mi=new RegExp(`^(${ht})-(${ne})[:]`),Co={match:t=>{let e=t.match(fi)||t.match(mi);if(e){let r=e[1],o=xt[e[2]]||yt[e[2]]||`:${e[2]}`;return{matcher:t.slice(e[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${ht})-(${oe}|${ne}):`},Ro=(t={})=>{let e=!!(t!=null&&t.attributifyPseudo);return[z(y({},Pt("group",e?'[group=""]':".group"," ")),{multiPass:!0}),z(y({},Pt("peer",e?'[peer=""]':".peer","~")),{multiPass:!0}),z(y({},Pt("parent",e?'[parent=""]':".parent",">")),{multiPass:!0}),z(y({},Pt("previous",e?'[previous=""]':".previous","+")),{multiPass:!0})]},di=/(part-\[(.+)]:)(.+)/,zo={match:t=>{let e=t.match(di);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var Eo=t=>[ho,bo,xo,$o,vo,po,uo,co,...lo,So,Co,...Ro(t),zo,...fo(t),...mo,yo];var To=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var n,a;let o=(a=(n=e.animation)==null?void 0:n.keyframes)==null?void 0:a[t];if(o)return`@keyframes ${t}${o}
4
- ${r({animation:`${t}`})}`},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e,constructCSS:r})=>{var n,a,i,s,l,p,g,u,d,f;let o=(a=(n=e.animation)==null?void 0:n.keyframes)==null?void 0:a[t];if(o){let h=(l=(s=(i=e.animation)==null?void 0:i.durations)==null?void 0:s[t])!=null?l:"1s",k=(u=(g=(p=e.animation)==null?void 0:p.timingFns)==null?void 0:g[t])!=null?u:"linear",T=(f=(d=e.animation)==null?void 0:d.properties)==null?void 0:f[t];return`@keyframes ${t}${o}
5
- ${r(Object.assign({animation:`${t} ${h} ${k} infinite`},T))}`}return{animation:c.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>{var e;return{"animation-name":(e=c.bracket.cssvar(t))!=null?e:t}}],[/^animate-duration-(.+)$/,([,t],{theme:e})=>{var r,o;return{"animation-duration":(o=(r=e.duration)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar.time(t)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>{var r,o;return{"animation-delay":(o=(r=e.duration)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar.time(t)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>{var r,o;return{"animation-timing-function":(o=(r=e.easing)==null?void 0:r[t||"DEFAULT"])!=null?o:c.bracket.cssvar(t)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)$/,([,t])=>({"animation-fill-mode":t}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)$/,([,t])=>({"animation-direction":t}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,t])=>{var e;return{"animation-iteration-count":(e=c.bracket.cssvar(t))!=null?e:t.replace(/\-/g,",")}},{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|revert-layer|unset)$/,([,t])=>({"animation-play-state":t}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}]];var ae=t=>([,e],{theme:r})=>{var l;let o=J(e,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let s=a;switch(i&&(n!=null?s=U(i,n):s=U(i,`var(--un-${t}-opacity, ${(l=i.alpha)!=null?l:1})`)),t){case"from":return{"--un-gradient-from":s,"--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), ${s}, var(--un-gradient-to, rgba(255, 255, 255, 0))`};case"to":return{"--un-gradient-to":s}}},gi=/^\[url\(.+\)\]$/,bi=/^\[length:.+\]$/,hi=/^\[position:.+\]$/,jo=[[/^bg-(.+)$/,([,t])=>{if(gi.test(t))return{"--un-url":c.bracket(t),"background-image":"var(--un-url)"};if(bi.test(t)&&c.bracketOfLength(t)!=null)return{"background-size":c.bracketOfLength(t).split(" ").map(e=>c.fraction.auto.px.cssvar(e)).join(" ")};if(hi.test(t)&&c.bracketOfPosition(t)!=null)return{"background-position":c.bracketOfPosition(t).split(" ").map(e=>c.position.fraction.auto.px.cssvar(e)).join(" ")}}],[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":c.bracket(t)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,t])=>({"--un-gradient-stops":c.bracket(t)})],[/^(?:bg-gradient-)?from-(.+)$/,ae("from")],[/^(?:bg-gradient-)?to-(.+)$/,ae("to")],[/^(?:bg-gradient-)?via-(.+)$/,ae("via")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,t])=>({"--un-from-opacity":c.bracket.percent(t)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,t])=>({"--un-to-opacity":c.bracket.percent(t)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,t])=>({"--un-via-opacity":c.bracket.percent(t)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-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})$/,([,t])=>{if(t in j)return{"--un-gradient-shape":`to ${j[t]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(j).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in j?`to ${j[t]}`:c.bracket(t);if(e!=null)return{"--un-gradient-shape":e,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(j).join("|")})`,`shape-(${Object.keys(j).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,})$/,([,t])=>({"background-position":j[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var Mt={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Ao=[[/^list-(.+)(?:-(outside|inside))?$/,([,t,e])=>e!=null?{"list-style-position":e,"list-style-type":Mt[t]}:{"list-style-type":Mt[t]},{autocomplete:[`list-(${Object.keys(Mt).join("|")})`,`list-(${Object.keys(Mt).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],Vo=[[/^accent-(.+)$/,C("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":c.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Oo=[[/^caret-(.+)$/,C("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":c.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Po=[["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"]]]],Mo=[["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"}]],Fo=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var Uo=[[/^columns-(.+)$/,([,t])=>({columns:c.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],["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 xi=/@media \(min-width: (.+)\)/,_o=[[/^__container$/,(t,{variantHandlers:e})=>{var o;let r="100%";for(let n of e){let a=V(n.parent||[])[0];if(typeof a=="string"){let i=(o=a.match(xi))==null?void 0:o[1];i&&(r=i)}}return{"max-width":r}},{internal:!0}]],Wo=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{var n;let r=Object.keys((n=tt(e))!=null?n:{});if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let o=r.map(a=>`${a}:__container`);return t||o.unshift("__container"),o}]];var No={"--un-blur":$,"--un-brightness":$,"--un-contrast":$,"--un-drop-shadow":$,"--un-grayscale":$,"--un-hue-rotate":$,"--un-invert":$,"--un-saturate":$,"--un-sepia":$,"--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)"},Bo={"--un-backdrop-blur":$,"--un-backdrop-brightness":$,"--un-backdrop-contrast":$,"--un-backdrop-grayscale":$,"--un-backdrop-hue-rotate":$,"--un-backdrop-invert":$,"--un-backdrop-opacity":$,"--un-backdrop-saturate":$,"--un-backdrop-sepia":$,"--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)"},ie=t=>{let e=c.bracket.cssvar(t||"");if(e!=null||(e=t?c.percent(t):"1",e!=null&&parseFloat(e)<=1))return e},X=(t,e)=>([,r,o],{theme:n})=>{var i;let a=(i=e(o,n))!=null?i:o==="none"?"0":"";if(a!=="")return r?{[`--un-${r}${t}`]:`${t}(${a})`,"-webkit-backdrop-filter":"var(--un-backdrop-filter)","backdrop-filter":"var(--un-backdrop-filter)"}:{[`--un-${t}`]:`${t}(${a})`,filter:"var(--un-filter)"}},yi=([,t],{theme:e})=>{var o;let r=(o=e.dropShadow)==null?void 0:o[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Q(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:"var(--un-filter)"};if(r=c.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:"var(--un-filter)"}},Lo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X("blur",(t,e)=>{var r;return((r=e.blur)==null?void 0:r[t||"DEFAULT"])||c.bracket.cssvar.px(t)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X("brightness",t=>c.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X("contrast",t=>c.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,yi,{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-(.+)$/,C("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":c.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X("grayscale",ie),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X("hue-rotate",t=>c.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X("invert",ie),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,X("opacity",t=>c.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X("saturate",t=>c.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X("sepia",ie),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:"var(--un-filter)"}],["backdrop-filter",{"-webkit-backdrop-filter":"var(--un-backdrop-filter)","backdrop-filter":"var(--un-backdrop-filter)"}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}]];var Io=[[/^space-?([xy])-?(-?.+)$/,Do,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-?([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(-?.+)$/,Do],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function Do([,t,e],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[e||"DEFAULT"])!=null?a:c.bracket.cssvar.auto.fraction.rem(e||"1");if(o!=null){let i=O[t].map(s=>{let l=`margin${s}`,p=s.endsWith("right")||s.endsWith("bottom")?`calc(${o} * var(--un-space-${t}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${t}-reverse)))`;return[l,p]});if(i)return[[`--un-space-${t}-reverse`,0],...i]}}var Ko=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Ho=[["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"}]],qo=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}]],Xo=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}]],Yo=[["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"}]],Go=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Zo=[["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]+)$/,([,t])=>({"object-position":j[t]}),{autocomplete:`object-(${Object.keys(j).join("|")})`}]],Jo=[["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"}]],Qo=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}]];var tn=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,t],{theme:e})=>{var r,o;return{"border-spacing":(o=(r=e.spacing)==null?void 0:r[t])!=null?o:c.bracket.cssvar.auto.fraction.rem(t)}},{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 vi={"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"},en=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=vi[t];if(r)return{[r]:c.cssvar(e)}}]];var rn=[[/^divide-?([xy])$/,Ft,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Ft],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Ft],[/^divide-(block|inline)-(-?.+)$/,Ft],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,C("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":c.bracket.percent(t)}),{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 Ft([,t,e],{theme:r}){var n,a;let o=(a=(n=r.lineWidth)==null?void 0:n[e||"DEFAULT"])!=null?a:c.bracket.cssvar.px(e||"1");if(o!=null){let i=O[t].map(s=>{let l=`border${s}-width`,p=s.endsWith("right")||s.endsWith("bottom")?`calc(${o} * var(--un-divide-${t}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${t}-reverse)))`;return[l,p]});if(i)return[[`--un-divide-${t}-reverse`,0],...i]}}var on=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],["line-clamp-none",{"-webkit-line-clamp":"unset","line-clamp":"unset"}]];var nn={"--un-ordinal":$,"--un-slashed-zero":$,"--un-numeric-figure":$,"--un-numeric-spacing":$,"--un-numeric-fraction":$,"--un-font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"},Y=t=>z(y({},t),{"font-variant-numeric":"var(--un-font-variant-numeric)"}),an=[[/^ordinal$/,()=>Y({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Y({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Y({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Y({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Y({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Y({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Y({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Y({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var sn={"--un-pan-x":$,"--un-pan-y":$,"--un-pinch-zoom":$,"--un-touch-action":"var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)"},cn=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":"var(--un-touch-action)"}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":"var(--un-touch-action)"})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":"var(--un-touch-action)"}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}]];var ln={"--un-scroll-snap-strictness":"proximity"},pn=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(-?.+)$/,R("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])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,R("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,R("scroll-padding")]];var un=[[/^\$ placeholder-(.+)$/,C("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":c.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var se=[eo,en,ro,_o,Yo,Ar,Tr,yr,Sr,on,Go,Rr,$r,hr,Cr,Yr,zr,Er,qr,Hr,sr,tn,to,To,jr,cn,Or,Vr,pn,Ao,Qe,Uo,wr,kr,vr,br,Io,rn,xr,Mo,Fo,Ur,Pr,Fr,er,nr,jo,io,Zo,Xr,qe,ur,He,lr,_r,Ko,Wr,an,or,ao,Nr,pr,fr,mr,Ho,qo,Xo,Oo,Vo,rr,Jo,Qo,Ir,Je,Lr,Po,Lo,ir,tr,Mr,un,oo].flat(1);var ce=[...Wo];var le={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(le).forEach(t=>{typeof t!="string"&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var $i={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"]},pp=z(y({},$i),{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"]});var fe={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},fn=["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"],vt=Object.assign({},...fn.map(t=>({[t.replace(/ /,"-")]:t})),...fn.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),ki=["inherit","initial","revert","revert-layer","unset"],me=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function mn(t=""){let e=wi(t);if(e==null||e===!1)return;let{type:r,components:o,alpha:n}=e,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 ue(t,e){let{components:r}=t,{alpha:o,type:n}=t;return o=e!=null?e: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 wi(t){if(!t)return;let e=Si(t);if(e!=null||(e=Ci(t),e!=null)||(e=Ri(t),e!=null)||(e=Ei(t),e!=null)||(e=Ti(t),e!=null))return e}function Si(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let o=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[o>>16&255,o>>8&255,o&255]:[o>>24&255,o>>16&255,o>>8&255],alpha:e.length===6?void 0:Math.round((o&255)/255*100)/100}}}function Ci(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Ri(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,o]=e,n=Ut(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 zi=new RegExp(`^(${me.join("|")})\\((.+)\\)$`,"i");function Ei(t){let e=t.match(zi);if(!e)return;let[,r,o]=e,n=dn(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function Ti(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=dn(e[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function dn(t){let e=Ut(t);if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let a=e.splice(r-2);e.push(a.join(" ")),--r}let o=Ut(e[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:e};let n=o.pop();return e[r-1]=o.join("/"),{components:e,alpha:n}}function ji(t,e){if(t=t.trim(),t==="")return;let r=t.length,o=0;for(let n=0;n<r;n++)switch(t[n]){case"(":o++;break;case")":if(--o<0)return;break;case e:if(o===0){let a=t.slice(0,n).trim();return a===""?void 0:[a,t.slice(n+1).trim()]}}return[t,""]}function Ut(t,e,r){if(e=e!=null?e:" ",e.length!==1)return;r=r!=null?r:10;let o=[],n=0;for(;t!=="";){if(++n>r)return;let a=ji(t,e);if(!a)return;let[i,s]=a;o.push(i),t=s}if(o.length>0)return o}var Ai=["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"],de=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,Vi=/^(-?[0-9.]+)$/i,gn=/^(px)$/i;function B(t){return t.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Oi(t){let e=t.match(de);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${B(n)}${o}`}function Pi(t){if(t==="auto"||t==="a")return"auto"}function Mi(t){if(t.match(gn))return`1${t}`;let e=t.match(de);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n/4)}rem`}function Fi(t){if(t.match(gn))return`1${t}`;let e=t.match(de);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}px`}function Ui(t){if(!Vi.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return B(e)}function _i(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${B(e/100)}`}function Wi(t){if(t==="full")return"100%";let[e,r]=t.split("/"),o=parseFloat(e)/parseFloat(r);if(!Number.isNaN(o))return`${B(o*100)}%`}var Ni=/^\[(color|length|position):/i;function _t(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,o=t.match(Ni);if(o?e&&o[1]===e&&(r=t.slice(o[0].length,-1)):r=t.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 Bi(t){return _t(t)}function Li(t){return _t(t,"color")}function Di(t){return _t(t,"length")}function Ii(t){return _t(t,"position")}function Ki(t){if(t.match(/^\$\S/))return`var(--${nt(t.slice(1))})`}function Hi(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}ms`}function qi(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,o]=e,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}deg`}function Xi(t){if(ki.includes(t))return t}function Yi(t){if(t.split(",").every(e=>Ai.includes(e)))return t}function Gi(t){if(["top","left","right","bottom","center"].includes(t))return t}var Zi={__proto__:null,numberWithUnit:Oi,auto:Pi,rem:Mi,px:Fi,number:Ui,percent:_i,fraction:Wi,bracket:Bi,bracketOfColor:Li,bracketOfLength:Di,bracketOfPosition:Ii,cssvar:Ki,time:Hi,degree:qi,global:Xi,properties:Yi,position:Gi},A=Et(Zi);var pe=(t,e)=>{var r;return(r=t.colors)==null?void 0:r[e.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},Ji=(t,e)=>{let r=t.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),[i]=a;if(!i)return;let s,l=A.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=A.cssvar(o)),s=s||l;let g="DEFAULT";if(!s){let u,[d]=a.slice(-1);d.match(/^\d+$/)?(g=d,u=pe(e,a.slice(0,-1))):(u=pe(e,a),!u&&a.length<=2&&([,g=g]=a,u=pe(e,[i]))),typeof u=="string"?s=u:g&&u&&(s=u[g])}return{opacity:n,name:i,no:g,color:s,cssColor:mn(s),alpha:A.bracket.cssvar.percent(n!=null?n:"")}},Wt=(t,e)=>([,r],{theme:o})=>{var l;let n=Ji(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[t]:ue(s,a)}:{[`--un-${e}-opacity`]:(l=s.alpha)!=null?l:1,[t]:ue(s,`var(--un-${e}-opacity)`)};if(i)return{[t]:i.replace("%alpha",`${a!=null?a:1}`)}},bn=(t,e)=>{let r=[];t=V(t);for(let o=0;o<t.length;o++){let n=Ut(t[o]," ",6);if(!n||n.length<3)return t;let a=mn(n.pop());if(a==null)return t;r.push(`${n.join(" ")} var(${e}, ${ue(a)})`)}return r};var vn="var(--un-empty,/*!*/ /*!*/)";var $n={"--un-ring-inset":vn,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},mp=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{var o,n;let r=(n=(o=e.ringWidth)==null?void 0:o[t||"DEFAULT"])!=null?n:A.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,t],{theme:e})=>{var r,o;return{"--un-ring-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:A.bracket.cssvar.px(t)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>{var r,o;return{"--un-ring-offset-width":(o=(r=e.lineWidth)==null?void 0:r[t])!=null?o:A.bracket.cssvar.px(t)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Wt("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":A.bracket.percent(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,Wt("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":A.bracket.percent(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],kn={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":vn,"--un-shadow":"0 0 #0000"},dp=[[/^shadow(?:-(.+))?$/,([,t],{theme:e})=>{var o;let r=(o=e.boxShadow)==null?void 0:o[t||"DEFAULT"];if(r)return{"--un-shadow":bn(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-(.+)$/,Wt("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":A.bracket.percent(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Qi=["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(" "),ts=["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(" "),wn={"--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,"--un-transform":Qi},gp=[[/^(?:transform-)?origin-(.+)$/,([,t])=>{var e;return{"transform-origin":(e=vt[t])!=null?e:A.bracket.cssvar(t)}},{autocomplete:[`transform-origin-(${Object.keys(vt).join("|")})`,`origin-(${Object.keys(vt).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=A.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{var r;let e=(r=A.bracket.cssvar(t))!=null?r:t.length>=3?vt[t]:void 0;if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,hn],[/^(?:transform-)?translate-([xyz])-(.+)$/,hn],[/^(?:transform-)?rotate-()(.+)$/,yn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,yn],[/^(?:transform-)?skew-([xy])-(.+)$/,es],[/^(?:transform-)?scale-()(.+)$/,xn],[/^(?:transform-)?scale-([xyz])-(.+)$/,xn],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:"var(--un-transform)"}],["transform-cpu",{transform:"var(--un-transform)"}],["transform-gpu",{transform:ts}],["transform-none",{transform:"none"}]];function hn([,t,e],{theme:r}){var n,a;let o=(a=(n=r.spacing)==null?void 0:n[e])!=null?a:A.bracket.cssvar.fraction.rem(e);if(o!=null)return[...fe[t].map(i=>[`--un-translate${i}`,o]),["transform","var(--un-transform)"]]}function xn([,t,e]){let r=A.bracket.cssvar.fraction.percent(e);if(r!=null)return[...fe[t].map(o=>[`--un-scale${o}`,r]),["transform","var(--un-transform)"]]}function yn([,t="",e]){let r=A.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:"var(--un-transform)"}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:"var(--un-transform)"}}function es([,t,e]){let r=A.bracket.cssvar.degree(e);if(r!=null)return{[`--un-skew-${t}`]:r,transform:"var(--un-transform)"}}var Sn={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(",")},Cn={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"]},Rn={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},zn={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},En={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)"]},Tn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},he={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},jn=he,xe={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},An=y({},xe),Vn={DEFAULT:"1px",none:"0px"},On={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"},Pn={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Mn={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Fn={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)"},Un={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)"},_n={DEFAULT:"1px",none:"0px"},Wn={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Nn={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"},wt={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},ge=z(y({auto:"auto"},wt),{screen:"100vw"}),$t=z(y({none:"none"},wt),{screen:"100vw"}),be=z(y({auto:"auto"},wt),{screen:"100vh"}),kt=z(y({none:"none"},wt),{screen:"100vh"}),Bn=y(y(y({},wn),kn),$n),ye={width:ge,height:be,maxWidth:$t,maxHeight:kt,minWidth:$t,minHeight:kt,inlineSize:ge,blockSize:be,maxInlineSize:$t,maxBlockSize:kt,minInlineSize:$t,minBlockSize:kt,colors:le,fontFamily:Sn,fontSize:Cn,breakpoints:xe,verticalBreakpoints:An,borderRadius:Mn,lineHeight:Tn,letterSpacing:he,wordSpacing:jn,boxShadow:Fn,textIndent:Rn,textShadow:En,textStrokeWidth:zn,blur:Wn,dropShadow:Nn,easing:Un,lineWidth:Vn,spacing:On,duration:Pn,ringWidth:_n,preflightBase:Bn};var ve=z(y({},ye),{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)"},preflightBase:y(y(y(y(y(y(y(y({},Qr),sn),ln),nn),Dr),Br),No),Bo)});var Ln=[D("svg",t=>`${t} svg`)];var Dn=[D(".dark",t=>`.dark $$ ${t}`),D(".light",t=>`.light $$ ${t}`),F("@dark","@media (prefers-color-scheme: dark)"),F("@light","@media (prefers-color-scheme: light)")];var In=[F("contrast-more","@media (prefers-contrast: more)"),F("contrast-less","@media (prefers-contrast: less)")],Kn=[F("motion-reduce","@media (prefers-reduced-motion: reduce)"),F("motion-safe","@media (prefers-reduced-motion: no-preference)")],Hn=[F("landscape","@media (orientation: landscape)"),F("portrait","@media (orientation: portrait)")];var qn=t=>{if(/^space-?([xy])-?(-?.+)$/.test(t)||/^divide-/.test(t))return{matcher:t,selector:e=>`${e}>:not([hidden])~:not([hidden])`}};var Xn=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(jt(a,e)||rs(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function rs(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?c.bracket.percent(e[1])!=null:!1}var $e=t=>[Xn,qn,...Eo(t),...In,...Hn,...Kn,...Ln,...Dn];var Yn=(t,e,r)=>`calc(${e} + (${t} - ${e}) * ${r} / 100)`,Gn=(t,e,r)=>{var i,s;let o=[t,e],n=[];for(let l=0;l<2;++l){let p=typeof o[l]=="string"?Z(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(Yn(n[0].components[l],n[1].components[l],r));return{type:"rgb",components:a,alpha:Yn((i=n[0].alpha)!=null?i:1,(s=n[1].alpha)!=null?s:1,r)}},Zn=(t,e)=>Gn("#fff",t,e),Jn=(t,e)=>Gn("#000",t,e),os=(t,e)=>{let r=parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Jn(t,e):Zn(t,-r)},ns={tint:Zn,shade:Jn,shift:os},Qn=t=>{let e=t.match(/^mix-(tint|shade|shift)-(-?\d{1,3})[-:]/);if(e)return{matcher:t.slice(e[0].length),body:r=>(r.forEach(o=>{if(o[1]){let n=Z(`${o[1]}`);if(n){let a=ns[e[1]](n,e[2]);a&&(o[1]=U(a))}}}),r)}};var as=(t={})=>{var e,r;return t.dark=(e=t.dark)!=null?e:"class",t.attributifyPseudo=(r=t.attributifyPseudo)!=null?r:!1,{name:"@unocss/preset-uno",theme:ve,rules:se,shortcuts:ce,variants:[...$e(t),Qn],options:t,preflights:Ht}},ta=as;var ke=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,ea=(t={})=>{var n,a,i;let e=(n=t.prefix)!=null?n:"un-",r=(a=t.prefixedOnly)!=null?a:!1,o=(i=t.trueToNonValued)!=null?i:!1;return{name:"attributify",match(s){let l=Ve(s);if(!l)return;let p=l[1];if(p.startsWith(e))p=p.slice(e.length);else if(r)return;let g=l[2],[,u="",d=g]=g.match(ke)||[];return d==="~"||o&&d==="true"||!d?`${u}${p}`:`${u}${p}-${d}`}}};var is=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,ss=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,ra=/[\s'"`;>]+/,oa={name:"attributify",extract:({content:t,cursor:e})=>{let r=t.matchAll(is),o,n=0;for(let k of r){let[,T,b]=k,x=k.index+T.length;if(e>x&&e<=x+b.length){n=x,o=b;break}}if(!o)return null;let a=o.matchAll(ss),i=0,s,l;for(let k of a){let[T,b,x]=k,v=n+k.index;if(e>v&&e<=v+T.length){i=v,s=b,l=x==null?void 0:x.slice(1);break}}if(!s||s==="class"||s==="className")return null;if(l===void 0)return{extracted:s,resolveReplacement(k){return{start:i,end:i+s.length,replacement:k}}};let p=i+s.length+2,g=ra.exec(l),u=0,d;for(;g;){let[k]=g;if(e>p+u&&e<=p+u+g.index){d=l.slice(u,u+g.index);break}u+=g.index+k.length,g=ra.exec(l.slice(u))}d===void 0&&(d=l.slice(u));let[,f="",h]=d.match(ke)||[];return{extracted:`${f}${s}-${h}`,transformSuggestions(k){return k.filter(T=>T.startsWith(`${f}${s}-`)).map(T=>f+T.slice(f.length+s.length+1))},resolveReplacement(k){return{start:u+p,end:u+p+d.length,replacement:f+k.slice(f.length+s.length+1)}}}}};var cs=["v-bind:",":"],na=/[\s'"`;]+/g,ls=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,ps=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,aa=t=>{var n,a,i;let e=(n=t==null?void 0:t.ignoreAttributes)!=null?n:[],r=(a=t==null?void 0:t.nonValuedAttribute)!=null?a:!0,o=(i=t==null?void 0:t.trueToNonValued)!=null?i:!1;return{name:"attributify",extract({code:s}){let l=Array.from(s.matchAll(ls)).flatMap(p=>Array.from((p[1]||"").matchAll(ps))).flatMap(([,p,g,u])=>{if(e.includes(p))return[];for(let d of cs)if(p.startsWith(d)){p=p.slice(d.length);break}if(!u){if(ct(p)&&r!==!1){let d=[`[${p}=""]`];return o&&d.push(`[${p}="true"]`),d}return[]}return["class","className"].includes(p)?u.split(na).filter(ct):u.split(na).filter(Boolean).map(d=>`[${p}~="${d}"]`)});return new Set(l)}}};var us=(t={})=>{var n,a,i,s,l;t.strict=(n=t.strict)!=null?n:!1,t.prefix=(a=t.prefix)!=null?a:"un-",t.prefixedOnly=(i=t.prefixedOnly)!=null?i:!1,t.nonValuedAttribute=(s=t.nonValuedAttribute)!=null?s:!0,t.ignoreAttributes=(l=t.ignoreAttributes)!=null?l:[];let e=[ea(t)],r=[aa(t)],o=[oa];return t.strict||r.unshift(lt),{name:"@unocss/preset-attributify",variants:e,extractors:r,options:t,autocomplete:{extractors:o}}},ia=us;var fs=t=>t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():""),sa=t=>t.charAt(0).toUpperCase()+t.slice(1),ca=t=>t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),la=["Webkit","Moz","ms"];function pa(t){let e={};function r(o){let n=e[o];if(n)return n;let a=fs(o);if(a!=="filter"&&a in t)return e[o]=ca(a);a=sa(a);for(let i=0;i<la.length;i++){let s=`${la[i]}${a}`;if(s in t)return e[o]=ca(sa(s))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function we(t={}){var P,L;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window.__unocss||{},r=e==null?void 0:e.runtime,o=Object.assign(t.defaults||{},r);if(r!=null&&r.autoPrefix){let m=o.postprocess;m||(m=[]),Array.isArray(m)||(m=[m]),m.unshift(pa(document.createElement("div").style)),o.postprocess=m}(P=r==null?void 0:r.configResolved)==null||P.call(r,e,o);let n,a=!0,i,s=Le(e,o),l=new Set,p,g=[],u=()=>new Promise(m=>{g.push(m),p!=null&&clearTimeout(p),p=setTimeout(()=>f().then(()=>{let w=g;g=[],w.forEach(M=>M())}),0)});function d(m=document.body){if(m.nodeType!==1)return;let w=m;w.hasAttribute("un-cloak")&&w.removeAttribute("un-cloak"),w.querySelectorAll("[un-cloak]").forEach(M=>{M.removeAttribute("un-cloak")})}async function f(){let m=await s.generate(l);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=m.css,l=m.matched}async function h(m){let w=l.size;await s.applyExtractors(m,void 0,l),w!==l.size&&await u()}async function k(){let m=document.body&&document.body.outerHTML;m&&(await h(m),d())}let T=new MutationObserver(m=>{a||m.forEach(async w=>{if(w.target.nodeType!==1)return;let M=w.target;if(M!==n)if(w.type==="childList")w.addedNodes.forEach(async H=>{if(H.nodeType!==1)return;let _=H;i&&!i(_)||(await h(_.outerHTML),d(_))});else{if(i&&!i(M))return;if(w.attributeName!=="un-cloak"){let H=Array.from(M.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),_=`<${M.tagName.toLowerCase()} ${H}>`;await h(_)}M.hasAttribute("un-cloak")&&M.removeAttribute("un-cloak")}})}),b=!1;function x(){if(b)return;let m=document.documentElement||document.body;!m||(T.observe(m,{childList:!0,subtree:!0,attributes:!0}),b=!0)}function v(){k(),x()}function S(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",v):v()}let E=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(m){typeof m!="string"&&(m.forEach(w=>l.add(w)),m=""),await h(m)},extractAll:k,inspect(m){i=m},toggleObserver(m){m===void 0?a=!a:a=!!m,!b&&!a&&S()}};((L=r==null?void 0:r.ready)==null?void 0:L.call(r,E))!==!1&&(a=!1,S())}we({defaults:{presets:[ta(),ia()]}});})();
1
+ (()=>{var jt=Object.defineProperty,xa=Object.defineProperties;var ya=Object.getOwnPropertyDescriptors;var Re=Object.getOwnPropertySymbols;var At=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable;var Tt=(e,t,r)=>t in e?jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))At.call(t,r)&&Tt(e,r,t[r]);if(Re)for(var r of Re(t))Vt.call(t,r)&&Tt(e,r,t[r]);return e},z=(e,t)=>xa(e,ya(t));var Ot=(e,t)=>{var r={};for(var o in e)At.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Re)for(var o of Re(e))t.indexOf(o)<0&&Vt.call(e,o)&&(r[o]=e[o]);return r};var va=(e,t)=>{for(var r in t)jt(e,r,{get:t[r],enumerable:!0})};function ae(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ie(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+="\\,";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 ze=ie;function ce(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>ce(t)):[e]:[ce(e)]}function $a(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 J(e){return e==null?"":$a(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 Ie(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=h({},r);return Ee(r)&&Ee(o)&&Object.keys(o).forEach(a=>{Ee(r[a])&&Ee(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?n[a]=Ie(r[a],o[a]):Object.assign(n,{[a]:o[a]})}),n}function se(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?se(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:se(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?se(o):o;return r}return e}function Mt(e){return typeof e[0]=="string"}function Ft(e){return typeof e[0]=="string"}function V(e=[]){return Array.isArray(e)?e:[e]}function le(e){return Array.from(new Set(e))}var ka=/^\[(.+?)~?="(.*)"\]$/;var wa=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,Ke="$$shortcut-no-merge";function Ut(e){return e.match(ka)}function pe(e=""){return wa.test(e)}function _t(e){return typeof e=="function"?{match:e}:e}function He(e){return e.length===3}function Wt(e){return e!=null}function qe(){}var Te=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 Bt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Nt(e){Bt.lastIndex=0;let t=!1;do{let r=e.toString();e=e.replace(Bt,(o,n,a,i)=>i.split(/\s/g).map(s=>s==="~"?n:s.replace(/^(!?)(.*)/,`$1${n}${a}$2`)).join(" ")),t=e.toString()!==r}while(t);return e}var Lt=new Set;function Dt(e){Lt.has(e)||(console.warn("[unocss]",e),Lt.add(e))}function je(e){let t=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of n){let s=e[i](o);if(s!=null)return s}};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 Sa=e=>e.split(/[\s'"`;>=]+/g).filter(pe),ue={name:"split",order:0,extract({code:e}){return new Set(Sa(e))}};function It(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function Ca(e){return V(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Ra={preflights:-100,shortcuts:-1,default:0};function Xe(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(V),n=[...o.filter(f=>f.enforce==="pre"),...o.filter(f=>!f.enforce),...o.filter(f=>f.enforce==="post")],a=Object.assign(Ra,...o.map(f=>f.layers),e.layers);function i(f){return le([...n.flatMap(x=>V(x[f]||[])),...V(r[f]||[])])}let s=i("extractors");s.length||s.push(ue),s.sort((f,x)=>(f.order||0)-(x.order||0));let l=i("rules"),p={},d=l.length;l.forEach((f,x)=>{Mt(f)&&(p[f[0]]=[x,f[1],f[2],f],delete l[x])});let u=se([...n.map(f=>f.theme||{}),r.theme||{}].reduce((f,x)=>Ie(f,x),{}));i("extendTheme").forEach(f=>f(u));let y={templates:le(n.map(f=>{var x;return V((x=f.autocomplete)==null?void 0:x.templates)}).flat()),extractors:n.map(f=>{var x;return V((x=f.autocomplete)==null?void 0:x.extractors)}).flat().sort((f,x)=>(f.order||0)-(x.order||0))};return z(h({mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:f=>f},r),{presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:d,rulesDynamic:l,rulesStaticMap:p,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:y,variants:i("variants").map(_t),shortcuts:Ca(i("shortcuts")),extractors:s,safelist:i("safelist")})}var Kt="0.37.3";var Ye=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Xe(t,r),this.events.emit("config",this.config)}version=Kt;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=It();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Xe(t,this.defaults),this.events.emit("config",this.config))}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 i=await a.extract(n);i==null||i.forEach(s=>o.add(s))}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 i=this.makeContext(t,[r||a[0],a[1],a[2],a[3]]);this.config.details&&(i.variants=[...a[3]]);let s=this.expandShortcut(i.currentSelector,i);if(s){let p=await this.stringifyShortcuts(i.variantMatch,i,s[0],s[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(i.variantMatch,i))==null?void 0:l.map(d=>this.stringifyUtil(d,i)).filter(Wt);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:i=!1}={}){let s=typeof t=="string"?await this.applyExtractors(t,r):t;a&&this.config.safelist.forEach(g=>s.add(g));let l=i?"":`
2
+ `,p=new Set(["default"]),d=new Set,u=new Map;await Promise.all(Array.from(s).map(async g=>{var $;if(d.has(g))return;let b=await this.parseToken(g);if(b!=null){d.add(g);for(let C of b){let E=C[3]||"";u.has(E)||u.set(E,[]),u.get(E).push(C),($=C[4])!=null&&$.layer&&p.add(C[4].layer)}}})),n&&this.config.preflights.forEach(g=>{g.layer&&p.add(g.layer)});let y={},f=this.config.sortLayers(Array.from(p).sort((g,b)=>(this.config.layers[g]??0)-(this.config.layers[b]??0)||g.localeCompare(b))),x={};if(n){let g={generator:this,theme:this.config.theme};x=Object.fromEntries(await Promise.all(f.map(async b=>{let C=(await Promise.all(this.config.preflights.filter(E=>(E.layer||"default")===b).map(async E=>await E.getCSS(g)))).filter(Boolean).join(l);return[b,C]})))}let S=g=>{if(y[g])return y[g];let b=Array.from(u).sort(($,C)=>{var E;return(this.parentOrders.get($[0])??0)-(this.parentOrders.get(C[0])??0)||((E=$[0])==null?void 0:E.localeCompare(C[0]||""))||0}).map(([$,C])=>{let E=C.length,U=C.filter(m=>{var k;return(((k=m[4])==null?void 0:k.layer)||"default")===g}).sort((m,k)=>{var P,K,_;return m[0]-k[0]||(((P=m[4])==null?void 0:P.sort)||0)-(((K=k[4])==null?void 0:K.sort)||0)||((_=m[1])==null?void 0:_.localeCompare(k[1]||""))||0}).map(m=>{var k;return[m[1]?Ta(m[1],o):m[1],m[2],!!((k=m[4])!=null&&k.noMerge)]}).map(m=>[m[0]==null?m[0]:[m[0]],m[1],m[2]]);if(!U.length)return;let X=U.reverse().map(([m,k,P],K)=>{if(!P&&m&&this.config.mergeSelectors)for(let _=K+1;_<E;_++){let D=U[_];if(D&&!D[2]&&D[0]&&D[1]===k)return D[0].push(...m),null}return m?`${[...new Set(m)].join(`,${l}`)}{${k}}`:k}).filter(Boolean).reverse().join(l);return $?`${$}{${l}${X}${l}}`:X}).filter(Boolean).join(l);return n&&(b=[x[g],b].filter(Boolean).join(l)),y[g]=!i&&b?`/* layer: ${g} */${l}${b}`:b},A=(g=f,b)=>g.filter($=>!(b!=null&&b.includes($))).map($=>S($)||"").filter(Boolean).join(l);return{get css(){return A()},layers:f,getLayers:A,getLayer:S,matched:d}}matchVariants(t,r){let o=new Set,n=[],a=r||t,i=!1,s={rawSelector:t,theme:this.config.theme,generator:this};for(;;){i=!1;for(let l of this.config.variants){if(!l.multiPass&&o.has(l))continue;let p=l.match(a,s);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.unshift(p),o.add(l),i=!0;break}}if(!i)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((l,p)=>(l.order||0)-(p.order||0)),a=n.reduce((l,p)=>{var d;return((d=p.body)==null?void 0:d.call(p,l))||l},t[2]),i=n.reduce((l,p)=>{var d;return((d=p.selector)==null?void 0:d.call(p,l,a))||l},Aa(o)),s={selector:ja(i),entries:a,parent:n.reduce((l,p)=>Array.isArray(p.parent)?p.parent[0]:p.parent||l,void 0),layer:n.reduce((l,p)=>p.layer||l,void 0),sort:n.reduce((l,p)=>p.sort||l,void 0)};for(let l of this.config.postprocess)l(s);return s}constructCustomCSS(t,r,o){r=ce(r);let{selector:n,entries:a,parent:i}=this.applyVariants([0,o||t.rawSelector,r,void 0,t.variantHandlers]),s=`${n}{${J(a)}}`;return i?`${i}{${s}}`:s}async parseUtil(t,r,o=!1){var u,y;let[n,a,i]=typeof t=="string"?this.matchVariants(t):t,s=this.config.details?f=>{r.rules=r.rules??[],r.rules.push(f)}:qe,l=this.config.rulesStaticMap[a];if(l&&l[1]&&(o||!((u=l[2])!=null&&u.internal)))return s(l[3]),[[l[0],n,ce(l[1]),l[2],i]];r.variantHandlers=i;let{rulesDynamic:p,rulesSize:d}=this.config;for(let f=d-1;f>=0;f--){let x=p[f];if(!x||((y=x[2])==null?void 0:y.internal)&&!o)continue;let[S,A,g]=x,b=a.match(S);if(!b)continue;let $=await A(b,r);if(!$)continue;if(s(x),typeof $=="string")return[[f,$,g]];let C=Pt($).filter(E=>E.length);if(C.length)return C.map(E=>[f,n,E,g,i])}}stringifyUtil(t,r){if(!t)return;if(He(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0];let{selector:o,entries:n,parent:a,layer:i,sort:s}=this.applyVariants(t),l=J(n);if(!l)return;let f=t[3]??{},{layer:p,sort:d}=f,u=Ot(f,["layer","sort"]),y=z(h({},u),{layer:i??p,sort:s??d});return[t[0],o,l,a,y,this.config.details?r:void 0]}expandShortcut(t,r,o=3){if(o===0)return;let n=this.config.details?s=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(s)}:qe,a,i;for(let s of this.config.shortcuts)if(Ft(s)){if(s[0]===t){a=a||s[2],i=s[1],n(s);break}}else{let l=t.match(s[0]);if(l&&(i=s[1](l,r)),i){a=a||s[2],n(s);break}}if(typeof i=="string"&&(i=Nt(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var l;return((l=this.expandShortcut(s,r,o-1))==null?void 0:l[0])||[s]}).filter(s=>s!==""),a]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var d;let a=new Te,i=(await Promise.all(le(o).map(async u=>{let y=await this.parseUtil(u,r,!0);return y||Dt(`unmatched utility "${u}" in shortcut "${t[1]}"`),y||[]}))).flat(1).filter(Boolean).sort((u,y)=>u[0]-y[0]),[s,,l]=t,p=[];for(let u of i){if(He(u)){p.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:y,entries:f,parent:x,sort:S}=this.applyVariants(u,[...u[4],...l],s);a.getFallback(y,x,[[],u[0]])[0].push([f,!!((d=u[3])!=null&&d.noMerge),S??0])}return p.concat(a.map(([u,y],f,x)=>{let S=(g,b,$)=>{let C=Math.max(...$.map(U=>U[1])),E=$.map(U=>U[0]);return(g?[E.flat(1)]:E).map(U=>{let X=J(U);if(X)return[y,f,X,x,z(h({},n),{noMerge:b,sort:C}),r]})};return[[u.filter(([,g])=>g).map(([g,,b])=>[g,b]),!0],[u.filter(([,g])=>!g).map(([g,,b])=>[g,b]),!1]].map(([g,b])=>[...S(!1,b,g.filter(([$])=>$.some(C=>C[0]===Ke))),...S(!0,b,g.filter(([$])=>$.every(C=>C[0]!==Ke)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function qt(e,t){return new Ye(e,t)}var Xt=/ \$\$ /,Ea=e=>e.match(Xt);function Ta(e,t){return Ea(e)?e.replace(Xt,t?` ${t} `:" "):t?`${t} ${e}`:e}function ja(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var Ht=/^\[(.+?)(~?=)"(.*)"\]$/;function Aa(e){return Ht.test(e)?e.replace(Ht,(t,r,o,n)=>`[${ze(r)}${o}"${ze(n)}"]`):`.${ze(e)}`}var Ge=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase)return`*,::before,::after{${J(Object.entries(e.theme.preflightBase))}}`}}];var O={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"]},Ze=z(h({},O),{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"]}),Je={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"]},Qe={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Yt=["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"],T=Object.assign({},...Yt.map(e=>({[e.replace(/ /,"-")]:e})),...Yt.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),W=["inherit","initial","revert","revert-layer","unset"];var Gt={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",middle:"middle",bottom:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super"},Zt=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Gt[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(Gt).join("|")})`}]],Jt=["center","left","right","justify","start","end",...W].map(e=>[`text-${e}`,{"text-align":e}]);var et=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function Q(e=""){let t=Va(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)&&!(et.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function F(e,t){let{components:r}=e,{alpha:o,type:n}=e;return o=t??o,n=n.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(n)?`${n.replace("a","")}a(${r.join(",")}${o==null?"":`,${o}`})`:(o=o==null?"":` / ${o}`,et.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Va(e){if(!e)return;let t=Oa(e);if(t!=null||(t=Pa(e),t!=null)||(t=Ma(e),t!=null)||(t=Ua(e),t!=null)||(t=_a(e),t!=null))return t}function Oa(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 Pa(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ma(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=fe(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 Fa=new RegExp(`^(${et.join("|")})\\((.+)\\)$`,"i");function Ua(e){let t=e.match(Fa);if(!t)return;let[,r,o]=t,n=Qt(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function _a(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Qt(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Qt(e){let t=fe(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=fe(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 Wa(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 fe(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Wa(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var rt={};va(rt,{auto:()=>Da,bracket:()=>Ga,bracketOfColor:()=>Za,bracketOfLength:()=>Ja,bracketOfPosition:()=>Qa,cssvar:()=>ei,degree:()=>ri,fraction:()=>Xa,global:()=>oi,number:()=>Ha,numberWithUnit:()=>La,percent:()=>qa,position:()=>ai,properties:()=>ni,px:()=>Ka,rem:()=>Ia,time:()=>ti});var Ba=["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"],tt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,Na=/^(-?[0-9.]+)$/i,er=/^(px)$/i;function B(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function La(e){let t=e.match(tt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${B(n)}${o}`}function Da(e){if(e==="auto"||e==="a")return"auto"}function Ia(e){if(e.match(er))return`1${e}`;let t=e.match(tt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n/4)}rem`}function Ka(e){if(e.match(er))return`1${e}`;let t=e.match(tt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}px`}function Ha(e){if(!Na.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return B(t)}function qa(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${B(t/100)}`}function Xa(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${B(o*100)}%`}var Ya=/^\[(color|length|position):/i;function Ae(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(Ya);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 Ga(e){return Ae(e)}function Za(e){return Ae(e,"color")}function Ja(e){return Ae(e,"length")}function Qa(e){return Ae(e,"position")}function ei(e){if(e.match(/^\$\S/))return`var(--${ie(e.slice(1))})`}function ti(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?`${B(n)}${o}`:`${B(n)}ms`}function ri(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?`${B(n)}${o}`:`${B(n)}deg`}function oi(e){if(W.includes(e))return e}function ni(e){if(e.split(",").every(t=>Ba.includes(t)))return e}function ai(e){if(["top","left","right","bottom","center"].includes(e))return e}var c=je(rt);var L=(e,t)=>{let r=new RegExp(`^${ae(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),selector:t}},autocomplete:`${e}:`}},M=(e,t)=>{let r=new RegExp(`^${ae(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),parent:t}},autocomplete:`${e}:`}};var tr="$$mini-no-negative",R=e=>([t,r,o],{theme:n})=>{var i;let a=((i=n.spacing)==null?void 0:i[o||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(o);if(a!=null)return O[r].map(s=>[`${e}${s}`,a])},ot=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},ee=(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),[i]=a;if(!i)return;let s,l=c.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=c.cssvar(o)),s=s||l;let d="DEFAULT";if(!s){let u,[y]=a.slice(-1);y.match(/^\d+$/)?(d=y,u=ot(t,a.slice(0,-1))):(u=ot(t,a),!u&&a.length<=2&&([,d=d]=a,u=ot(t,[i]))),typeof u=="string"?s=u:d&&u&&(s=u[d])}return{opacity:n,name:i,no:d,color:s,cssColor:Q(s),alpha:c.bracket.cssvar.percent(n??"")}},w=(e,t)=>([,r],{theme:o})=>{let n=ee(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:F(s,a)}:{[`--un-${t}-opacity`]:s.alpha??1,[e]:F(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:i.replace("%alpha",`${a??1}`)}},te=(e,t)=>{let r=[];e=V(e);for(let o=0;o<e.length;o++){let n=fe(e[o]," ",6);if(!n||n.length<3)return e;let a=Q(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${F(a)})`)}return r},Ve=(e,t)=>{var r;return e!=null&&!!((r=ee(e,t))!=null&&r.color)},re=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},rr=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var or=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,w("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"outline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...W].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],nr=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],ii=e=>c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],ar=[[/^will-change-(.+)/,([,e])=>({"will-change":ii(e)})]];var he=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...W],ir=[[/^(?:border|b)()(?:-(.+))?$/,me,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,me],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,me],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,me],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,me],[/^(?:border|b)-()(?:width|size)-(.+)$/,oe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,oe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,oe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,oe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,oe],[/^(?:border|b)-()(?:color-)?(.+)$/,de,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,de],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,de],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,de],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,de],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ge,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ge],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ge],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ge],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ge],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,be,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,be],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,be],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,be],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,be],[/^(?:border|b)-(?:style-)?()(.+)$/,ne,{autocomplete:["(border|b)-style",`(border|b)-(${he.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${he.join("|")})`,`(border|b)-<directions>-style-(${he.join("|")})`,`(border|b)-style-(${he.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ne],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ne],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ne],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ne]],si=e=>([,t],r)=>{let o=ee(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${e}-color`]:F(i,n)}:e===""?{"--un-border-opacity":i.alpha??1,[`border${e}-color`]:F(i,`var(--un-border${e}-opacity)`)}:{"--un-border-opacity":i.alpha??1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:F(i,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:a.replace("%alpha",`${n??1}`)}};function me(e,t){let r=oe(e,t),o=ne(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function oe([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(e in O&&o!=null)return O[e].map(a=>[`border${a}-width`,o])}function de([,e="",t],{theme:r}){if(e in O&&Ve(t,r))return Object.assign({},...O[e].map(o=>si(o)(["",t],r)))}function ge([,e="",t]){let r=c.bracket.percent(t);if(e in O&&r!=null)return O[e].map(o=>[`--un-border${o}-opacity`,r])}function be([,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 Je&&o!=null)return Je[e].map(a=>[`border${a}-radius`,o])}function ne([,e="",t]){if(he.includes(t)&&e in O)return O[e].map(r=>[`border${r}-style`,t])}var sr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],cr=[[/^(?:text|color|c)-(.+)$/,w("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>"}]],lr=[[/^bg-(.+)$/,w("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var Oe={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},pr=e=>c.properties(e)??Oe[e],ur=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?pr(e):[Oe.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??c.time(t||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":a}}},{autocomplete:`transition-(${Object.keys(Oe).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"transition-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||pr(e)}),{autocomplete:[`transition-property-(${[...W,...Object.keys(Oe)].join("|")})`]}],["transition-none",{transition:"none"}]];var fr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"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;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??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 mr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},dr=[[/^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=V((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;let r=V((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??c.bracket.cssvar.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":mr[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(mr).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-synthesis-(.+)$/,([,e])=>({"font-synthesis":e}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?: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"}]],gr=[[/^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}}]],br=[[/^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"}]],hr=[[/^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-(.+)$/,w("-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>"}]],xr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":te(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-(.+)$/,w("--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 yr={"":"",x:"column-",y:"row-"},vr=([,e="",t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.rem(t);if(o!=null)return{[`grid-${yr[e]}gap`]:o,[`${yr[e]}gap`]:o}},$r=[[/^(?:flex-|grid-)?gap-?()(.+)$/,vr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,vr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var I=e=>e.replace("col","column"),nt=e=>e[0]==="r"?"Row":"Column",ci=(e,t,r)=>{var n;let o=(n=t[`gridAuto${nt(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)},kr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-${I(e)}`]:((o=r[`grid${nt(e)}`])==null?void 0:o[t])??c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${I(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${I(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${I(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${I(e)}-end`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${I(e)}`]:ci(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|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":I(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-template-${I(e)}`]:((o=r[`gridTemplate${nt(e)}`])==null?void 0:o[t])??c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${I(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${I(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Pe=["auto","hidden","clip","visible","scroll"],wr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Pe.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Pe.join("|")})`,`(overflow|of)-(x|y)-(${Pe.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Pe.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Sr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Cr=[["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"}]],Rr=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],zr=[["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"}]],Er=[["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 at(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}function Me([,e,t],r){let o=at(t,r);if(o!=null&&e in Ze)return Ze[e].map(n=>[n.slice(1),o])}var Tr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:at(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])-(.+)$/,Me],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Me],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Me],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Me],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:at(t,r)})]],jr=[["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"}]],Ar=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],Vr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var v="var(--un-empty,/*!*/ /*!*/)",Or=[["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})]],Pr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],Mr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Fr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Ur=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],_r=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Wr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Br=[[/^content-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e);return{content:t??`"${e}"`}}],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Nr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Lr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Dr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Ir=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Kr=[["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 Hr={"--un-ring-inset":v,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},qr=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,w("--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-(.+)$/,w("--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 Xr={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":v,"--un-shadow":"0 0 #0000"},Yr=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":te(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-(.+)$/,w("--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 li={h:"height",w:"width",inline:"inline-size",block:"block-size"};function xe(e,t){return`${e||""}${li[t]}`}function Gr(e,t,r,o){var i;let n=xe(e,t).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),a=(i=r[n])==null?void 0:i[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 Zr=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[xe(e,t)]:Gr(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})=>({[xe(e,t)]:Gr(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{[xe(e,t)]:(n=rr(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{[xe(e,t)]:(n=re(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function pi(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 Jr=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":pi(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var Qr=[[/^pa?()-?(-?.+)$/,R("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,R("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,R("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],eo=[[/^ma?()-?(-?.+)$/,R("margin")],[/^m-?xy()()$/,R("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,R("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,R("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,R("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,R("margin")]];var G=["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(" "),ui=["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(" "),no={"--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},ao=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":T[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(T).join("|")})`,`origin-(${Object.keys(T).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?T[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,to],[/^(?:transform-)?translate-([xyz])-(.+)$/,to],[/^(?:transform-)?rotate-()(.+)$/,oo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,oo],[/^(?:transform-)?skew-([xy])-(.+)$/,fi],[/^(?:transform-)?scale-()(.+)$/,ro],[/^(?:transform-)?scale-([xyz])-(.+)$/,ro],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:G}],["transform-cpu",{transform:G}],["transform-gpu",{transform:ui}],["transform-none",{transform:"none"}]];function to([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.fraction.rem(t);if(o!=null)return[...Qe[e].map(a=>[`--un-translate${a}`,o]),["transform",G]]}function ro([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Qe[e].map(o=>[`--un-scale${o}`,r]),["transform",G]]}function oo([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:G}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:G}}function fi([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:G}}var mi={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"},io=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=mi[e];if(r)return{[r]:c.cssvar(t)}}]],so=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var co=[[/^(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}}
3
+ ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var lo=["solid","double","dotted","dashed","wavy",...W],po=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"text-decoration-thickness":((r=t.lineWidth)==null?void 0:r[e])??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=w("text-decoration-color","line")(e,t);if(r)return h({"-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;return{"text-underline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...lo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...lo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var uo=[[/^fill-(.+)$/,w("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;return{"stroke-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-dashoffset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,w("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 it={},fo=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}`},mo={name:"breakpoints",match(e,t){let r=Object.entries(re(t)??{}).map(([o,n],a)=>[o,n,a]);for(let[o,n,a]of r){it[o]||(it[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let i=e.match(it[o]);if(!i)continue;let[,s]=i,l=e.slice(s.length);if(l==="container")continue;let p=s.startsWith("lt-"),d=s.startsWith("at-"),u=1e3;return p?(u-=a+1,{matcher:l,parent:[`@media (max-width: ${fo(n)})`,u]}):(u+=a+1,d&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${n}) and (max-width: ${fo(r[a+1][1])})`,u]}:{matcher:l,parent:[`@media (min-width: ${n})`,u]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var H=(e,t,r)=>{let o=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:n=>{let a=n.match(o);if(a)return{matcher:n.slice(a[0].length),selector:i=>r.replace("&&-s",i).replace("&&-c",a[1]??"*")}}}},go=[H(!1,"all","&&-s &&-c"),H(!1,"children","&&-s>&&-c"),H(!1,"next","&&-s+&&-c"),H(!1,"sibling","&&-s+&&-c"),H(!1,"siblings","&&-s~&&-c"),H(!0,"group","&&-c &&-s"),H(!0,"parent","&&-c>&&-s"),H(!0,"previous","&&-c+&&-s"),H(!0,"peer","&&-c~&&-s")];var bo=M("print","@media print"),ho={name:"media",match(e,{theme:t}){var o;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let n=((o=t.media)==null?void 0:o[r[1]])??`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${n}`}}}};var xo=(e={})=>(e==null?void 0:e.dark)==="class"?[L("dark",t=>`.dark $$ ${t}`),L("light",t=>`.light $$ ${t}`)]:[M("dark","@media (prefers-color-scheme: dark)"),M("light","@media (prefers-color-scheme: light)")];var yo=[L("rtl",e=>`[dir="rtl"] $$ ${e}`),L("ltr",e=>`[dir="ltr"] $$ ${e}`)];var $o={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},ko={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),parent:`@layer ${t[1]}`}}},wo={name:"uno-layer",match(e){let t=e.match(/^uno-layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),layer:t[1]}}},So={name:"scope",match(e){let t=e.match(/^scope-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),selector:r=>`.${t[1]} $$ ${r}`}}},Co={name:"important",match(e){let t=e.match(/^(important[:-]|!)/);if(t)return{matcher:e.slice(t[0].length),body:r=>(r.forEach(o=>{o[1]&&(o[1]+=" !important")}),r)}},autocomplete:"(important)"},vo=/[0-9.]+(?:[a-z]+|%)?/,Ro={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(o=>o[0]===tr))return;let r=!1;if(t.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||vo.test(n)&&(o[1]=n.replace(vo,i=>`-${i}`),r=!0)}),r)return t}}}};var ve=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"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",["placeholder","::placeholder"],["before","::before"],["after","::after"],["selection","::selection"],["marker","::marker"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),$e=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),di=["not","is","where","has"],st=Object.entries(ve).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),ct=Object.entries($e).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),ye=di.join("|"),zo=e=>{if(e==="active")return 1},Fe=(e,t,r)=>{let o=new RegExp(`^${ae(t)}:`),n=new RegExp(`^${e}-((?:(${ye})-)?(${st}))[:-]`),a=new RegExp(`^${e}-((?:(${ye})-)?(${ct}))[:]`);return{name:`pseudo:${e}`,match(i){let s=i.match(n)||i.match(a);if(s){let l=ve[s[3]]||$e[s[3]]||`:${s[3]}`;return s[2]&&(l=`:${s[2]}(${l})`),{matcher:i.slice(s[0].length),selector:p=>o.test(p)?p.replace(o,`${t}${l}:`):`${t}${l}${r}${p}`,sort:zo(s[3])}}}}},Eo=Object.entries(ve).map(([e])=>e).join("|"),gi=Object.entries($e).map(([e])=>e).join("|"),bi=new RegExp(`^(${Eo})[:-]`),hi=new RegExp(`^(${gi})[:]`),To={name:"pseudo",match:e=>{let t=e.match(bi)||e.match(hi);if(t){let r=ve[t[1]]||$e[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}${r}`,sort:zo(t[1])}}},multiPass:!0,autocomplete:`(${Eo}):`},xi=new RegExp(`^(${ye})-(${st})[:-]`),yi=new RegExp(`^(${ye})-(${ct})[:]`),jo={match:e=>{let t=e.match(xi)||e.match(yi);if(t){let r=t[1],o=ve[t[2]]||$e[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${ye})-(${st}|${ct}):`},Ao=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[z(h({},Fe("group",t?'[group=""]':".group"," ")),{multiPass:!0}),z(h({},Fe("peer",t?'[peer=""]':".peer","~")),{multiPass:!0}),z(h({},Fe("parent",t?'[parent=""]':".parent",">")),{multiPass:!0}),z(h({},Fe("previous",t?'[previous=""]':".previous","+")),{multiPass:!0})]},vi=/(part-\[(.+)]:)(.+)/,Vo={match:e=>{let t=e.match(vi);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var Oo=e=>[ko,$o,wo,Ro,Co,bo,ho,mo,...go,To,jo,...Ao(e),Vo,...xo(e),...yo,So];var Po=[[/^(?: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}
4
+ ${r({animation:`${e}`})}`},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a,i,s,l,p,d,u;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o){let y=((s=(i=t.animation)==null?void 0:i.durations)==null?void 0:s[e])??"1s",f=((p=(l=t.animation)==null?void 0:l.timingFns)==null?void 0:p[e])??"linear",x=(u=(d=t.animation)==null?void 0:d.properties)==null?void 0:u[e];return`@keyframes ${e}${o}
5
+ ${r(Object.assign({animation:`${e} ${y} ${f} infinite`},x))}`}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"animation-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-fill-mode":e}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-direction":e}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":c.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-play-state":e}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}]];var lt=e=>([,t],{theme:r})=>{let o=ee(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let s=a;switch(i&&(n!=null?s=F(i,n):s=F(i,`var(--un-${e}-opacity, ${i.alpha??1})`)),e){case"from":return{"--un-gradient-from":s,"--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), ${s}, var(--un-gradient-to, rgba(255, 255, 255, 0))`};case"to":return{"--un-gradient-to":s}}},$i=/^\[url\(.+\)\]$/,ki=/^\[length:.+\]$/,wi=/^\[position:.+\]$/,Mo=[[/^bg-(.+)$/,([,e])=>{if($i.test(e))return{"--un-url":c.bracket(e),"background-image":"var(--un-url)"};if(ki.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)).join(" ")};if(wi.test(e)&&c.bracketOfPosition(e)!=null)return{"background-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.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-(.+)$/,lt("from")],[/^(?:bg-gradient-)?to-(.+)$/,lt("to")],[/^(?:bg-gradient-)?via-(.+)$/,lt("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 T)return{"--un-gradient-shape":`to ${T[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(T).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in T?`to ${T[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(T).join("|")})`,`shape-(${Object.keys(T).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-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":T[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var Ue={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Fo=[[/^list-(.+)(?:-(outside|inside))?$/,([,e,t])=>t!=null?{"list-style-position":t,"list-style-type":Ue[e]}:{"list-style-type":Ue[e]},{autocomplete:[`list-(${Object.keys(Ue).join("|")})`,`list-(${Object.keys(Ue).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],Uo=[[/^accent-(.+)$/,w("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>"]}]],_o=[[/^caret-(.+)$/,w("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>"]}]],Wo=[["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"]]]],Bo=[["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"}]],No=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var Lo=[[/^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 Si=/@media \(min-width: (.+)\)/,Do=[[/^__container$/,(e,{variantHandlers:t})=>{var o;let r="100%";for(let n of t){let a=V(n.parent||[])[0];if(typeof a=="string"){let i=(o=a.match(Si))==null?void 0:o[1];i&&(r=i)}}return{"max-width":r}},{internal:!0}]],Io=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(re(t)??{});if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let o=r.map(n=>`${n}:__container`);return e||o.unshift("__container"),o}]];var Ko={"--un-blur":v,"--un-brightness":v,"--un-contrast":v,"--un-drop-shadow":v,"--un-grayscale":v,"--un-hue-rotate":v,"--un-invert":v,"--un-saturate":v,"--un-sepia":v},_e="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)",Ho={"--un-backdrop-blur":v,"--un-backdrop-brightness":v,"--un-backdrop-contrast":v,"--un-backdrop-grayscale":v,"--un-backdrop-hue-rotate":v,"--un-backdrop-invert":v,"--un-backdrop-opacity":v,"--un-backdrop-saturate":v,"--un-backdrop-sepia":v},We="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)",pt=e=>{let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},q=(e,t)=>([,r,o],{theme:n})=>{let a=t(o,n)??(o==="none"?"0":"");if(a!=="")return r?{[`--un-${r}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":We,"backdrop-filter":We}:{[`--un-${e}`]:`${e}(${a})`,filter:_e}},Ci=([,e],{theme:t})=>{var o;let r=(o=t.dropShadow)==null?void 0:o[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${te(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:_e};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:_e}},qo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,q("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-(.+)$/,q("brightness",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,q("contrast",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ci,{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-(.+)$/,w("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,q("grayscale",pt),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,q("hue-rotate",e=>c.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,q("invert",pt),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,q("opacity",e=>c.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,q("saturate",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,q("sepia",pt),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:_e}],["backdrop-filter",{"-webkit-backdrop-filter":We,"backdrop-filter":We}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}]];var Yo=[[/^space-?([xy])-?(-?.+)$/,Xo,{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)-(-?.+)$/,Xo],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Xo([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let a=O[e].map(i=>{let s=`margin${i}`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-space-${e}-reverse`,0],...a]}}var Go=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Zo=[["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"}]],Jo=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}]],Qo=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}]],en=[["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"}]],tn=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],rn=[["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":T[e]}),{autocomplete:`object-(${Object.keys(T).join("|")})`}]],on=[["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"}]],nn=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}]];var sn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},an="var(--un-border-spacing-x) var(--un-border-spacing-y)",cn=[["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 o;let r=((o=t.spacing)==null?void 0:o[e])??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":an}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.global.auto.fraction.rem(t);if(o!=null)return{[`--un-border-spacing-${e}`]:o,"border-spacing":an}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];var Ri={"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"},ln=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ri[e];if(r)return{[r]:c.cssvar(t)}}]];var pn=[[/^divide-?([xy])$/,Be,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Be],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Be],[/^divide-(block|inline)-(-?.+)$/,Be],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,w("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 Be([,e,t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(o!=null){let a=O[e].map(i=>{let s=`border${i}-width`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-divide-${e}-reverse`,0],...a]}}var un=[[/^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 fn={"--un-ordinal":v,"--un-slashed-zero":v,"--un-numeric-figure":v,"--un-numeric-spacing":v,"--un-numeric-fraction":v},Y=e=>z(h({},e),{"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),mn=[[/^ordinal$/,()=>Y({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Y({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Y({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Y({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Y({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Y({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Y({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Y({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var dn={"--un-pan-x":v,"--un-pan-y":v,"--un-pinch-zoom":v},ut="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",gn=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":ut}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":ut})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":ut}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}]];var bn={"--un-scroll-snap-strictness":"proximity"},hn=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(-?.+)$/,R("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])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,R("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,R("scroll-padding")]];var xn=[[/^\$ placeholder-(.+)$/,w("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 ft=[io,ln,so,Do,en,Fr,Pr,Sr,Tr,un,tn,Ar,Rr,kr,jr,eo,Vr,Or,Jr,Zr,fr,cn,ao,Po,Mr,gn,_r,Ur,hn,Fo,nr,Lo,Er,zr,Cr,$r,Yo,pn,wr,Bo,No,Lr,Wr,Nr,ir,lr,Mo,uo,rn,Qr,Jt,br,Zt,dr,Dr,Go,Ir,mn,cr,po,Kr,gr,hr,xr,Zo,Jo,Qo,_o,Uo,sr,on,nn,Yr,or,qr,Wo,qo,ur,ar,Br,xn,co].flat(1);var mt=[...Io];var dt={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(dt).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 zi={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"]},gp=z(h({},zi),{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"]});var ht={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},yn=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ke=Object.assign({},...yn.map(e=>({[e.replace(/ /,"-")]:e})),...yn.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),Ei=["inherit","initial","revert","revert-layer","unset"],xt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function vn(e=""){let t=Ti(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)&&!(xt.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function bt(e,t){let{components:r}=e,{alpha:o,type:n}=e;return o=t??o,n=n.toLowerCase(),["hsla","hsl","rgba","rgb"].includes(n)?`${n.replace("a","")}a(${r.join(",")}${o==null?"":`,${o}`})`:(o=o==null?"":` / ${o}`,xt.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Ti(e){if(!e)return;let t=ji(e);if(t!=null||(t=Ai(e),t!=null)||(t=Vi(e),t!=null)||(t=Pi(e),t!=null)||(t=Mi(e),t!=null))return t}function ji(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 Ai(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Vi(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=Ne(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 Oi=new RegExp(`^(${xt.join("|")})\\((.+)\\)$`,"i");function Pi(e){let t=e.match(Oi);if(!t)return;let[,r,o]=t,n=$n(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function Mi(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=$n(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function $n(e){let t=Ne(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=Ne(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 Fi(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 Ne(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Fi(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var Ui=["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"],yt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,_i=/^(-?[0-9.]+)$/i,kn=/^(px)$/i;function N(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function Wi(e){let t=e.match(yt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${N(n)}${o}`}function Bi(e){if(e==="auto"||e==="a")return"auto"}function Ni(e){if(e.match(kn))return`1${e}`;let t=e.match(yt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n/4)}rem`}function Li(e){if(e.match(kn))return`1${e}`;let t=e.match(yt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}px`}function Di(e){if(!_i.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return N(t)}function Ii(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${N(t/100)}`}function Ki(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${N(o*100)}%`}var Hi=/^\[(color|length|position):/i;function Le(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(Hi);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 qi(e){return Le(e)}function Xi(e){return Le(e,"color")}function Yi(e){return Le(e,"length")}function Gi(e){return Le(e,"position")}function Zi(e){if(e.match(/^\$\S/))return`var(--${ie(e.slice(1))})`}function Ji(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 Qi(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 es(e){if(Ei.includes(e))return e}function ts(e){if(e.split(",").every(t=>Ui.includes(t)))return e}function rs(e){if(["top","left","right","bottom","center"].includes(e))return e}var os={__proto__:null,numberWithUnit:Wi,auto:Bi,rem:Ni,px:Li,number:Di,percent:Ii,fraction:Ki,bracket:qi,bracketOfColor:Xi,bracketOfLength:Yi,bracketOfPosition:Gi,cssvar:Zi,time:Ji,degree:Qi,global:es,properties:ts,position:rs},j=je(os);var gt=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},ns=(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),[i]=a;if(!i)return;let s,l=j.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=j.cssvar(o)),s=s||l;let d="DEFAULT";if(!s){let u,[y]=a.slice(-1);y.match(/^\d+$/)?(d=y,u=gt(t,a.slice(0,-1))):(u=gt(t,a),!u&&a.length<=2&&([,d=d]=a,u=gt(t,[i]))),typeof u=="string"?s=u:d&&u&&(s=u[d])}return{opacity:n,name:i,no:d,color:s,cssColor:vn(s),alpha:j.bracket.cssvar.percent(n??"")}},De=(e,t)=>([,r],{theme:o})=>{let n=ns(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:bt(s,a)}:{[`--un-${t}-opacity`]:s.alpha??1,[e]:bt(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:i.replace("%alpha",`${a??1}`)}},wn=(e,t)=>{let r=[];e=V(e);for(let o=0;o<e.length;o++){let n=Ne(e[o]," ",6);if(!n||n.length<3)return e;let a=vn(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${bt(a)})`)}return r};var zn="var(--un-empty,/*!*/ /*!*/)";var En={"--un-ring-inset":zn,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},xp=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??j.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??j.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;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??j.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,De("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":j.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,De("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":j.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Tn={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":zn,"--un-shadow":"0 0 #0000"},yp=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":wn(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-(.+)$/,De("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":j.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Z=["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(" "),as=["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(" "),jn={"--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},vp=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ke[e]??j.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ke).join("|")})`,`origin-(${Object.keys(ke).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=j.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=j.bracket.cssvar(e)??(e.length>=3?ke[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Sn],[/^(?:transform-)?translate-([xyz])-(.+)$/,Sn],[/^(?:transform-)?rotate-()(.+)$/,Rn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Rn],[/^(?:transform-)?skew-([xy])-(.+)$/,is],[/^(?:transform-)?scale-()(.+)$/,Cn],[/^(?:transform-)?scale-([xyz])-(.+)$/,Cn],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Z}],["transform-cpu",{transform:Z}],["transform-gpu",{transform:as}],["transform-none",{transform:"none"}]];function Sn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??j.bracket.cssvar.fraction.rem(t);if(o!=null)return[...ht[e].map(a=>[`--un-translate${a}`,o]),["transform",Z]]}function Cn([,e,t]){let r=j.bracket.cssvar.fraction.percent(t);if(r!=null)return[...ht[e].map(o=>[`--un-scale${o}`,r]),["transform",Z]]}function Rn([,e="",t]){let r=j.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Z}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Z}}function is([,e,t]){let r=j.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:Z}}var An={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(",")},Vn={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"]},On={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Pn={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Mn={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)"]},Fn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},kt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Un=kt,wt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},_n=h({},wt),Wn={DEFAULT:"1px",none:"0px"},Bn={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"},Nn={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Ln={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Dn={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)"},In={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)"},Kn={DEFAULT:"1px",none:"0px"},Hn={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},qn={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"},Ce={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},vt=z(h({auto:"auto"},Ce),{screen:"100vw"}),we=z(h({none:"none"},Ce),{screen:"100vw"}),$t=z(h({auto:"auto"},Ce),{screen:"100vh"}),Se=z(h({none:"none"},Ce),{screen:"100vh"}),Xn=h(h(h({},jn),Tn),En),St={width:vt,height:$t,maxWidth:we,maxHeight:Se,minWidth:we,minHeight:Se,inlineSize:vt,blockSize:$t,maxInlineSize:we,maxBlockSize:Se,minInlineSize:we,minBlockSize:Se,colors:dt,fontFamily:An,fontSize:Vn,breakpoints:wt,verticalBreakpoints:_n,borderRadius:Ln,lineHeight:Fn,letterSpacing:kt,wordSpacing:Un,boxShadow:Dn,textIndent:On,textShadow:Mn,textStrokeWidth:Pn,blur:Hn,dropShadow:qn,easing:In,lineWidth:Wn,spacing:Bn,duration:Nn,ringWidth:Kn,preflightBase:Xn};var Ct=z(h({},St),{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)"},preflightBase:h(h(h(h(h(h(h(h(h({},no),dn),bn),fn),sn),Xr),Hr),Ko),Ho)});var Yn=[L("svg",e=>`${e} svg`)];var Gn=[L(".dark",e=>`.dark $$ ${e}`),L(".light",e=>`.light $$ ${e}`),M("@dark","@media (prefers-color-scheme: dark)"),M("@light","@media (prefers-color-scheme: light)")];var Zn=[M("contrast-more","@media (prefers-contrast: more)"),M("contrast-less","@media (prefers-contrast: less)")],Jn=[M("motion-reduce","@media (prefers-reduced-motion: reduce)"),M("motion-safe","@media (prefers-reduced-motion: no-preference)")],Qn=[M("landscape","@media (orientation: landscape)"),M("portrait","@media (orientation: portrait)")];var ea=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var ta=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(Ve(a,t)||ss(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function ss(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}var Rt=e=>[ta,ea,...Oo(e),...Zn,...Qn,...Jn,...Yn,...Gn];var ra=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,oa=(e,t,r)=>{let o=[e,t],n=[];for(let i=0;i<2;++i){let s=typeof o[i]=="string"?Q(o[i]):o[i];if(!s||!["rgb","rgba"].includes(s.type))return;n.push(s)}let a=[];for(let i=0;i<3;++i)a.push(ra(n[0].components[i],n[1].components[i],r));return{type:"rgb",components:a,alpha:ra(n[0].alpha??1,n[1].alpha??1,r)}},na=(e,t)=>oa("#fff",e,t),aa=(e,t)=>oa("#000",e,t),cs=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?aa(e,t):na(e,-r)},ls={tint:na,shade:aa,shift:cs},ia=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=Q(`${o[1]}`);if(n){let a=ls[t[1]](n,t[2]);a&&(o[1]=F(a))}}}),r)}};var ps=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:Ct,rules:ft,shortcuts:mt,variants:[...Rt(e),ia],options:e,preflights:Ge}),sa=ps;var zt=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,ca=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,o=e.trueToNonValued??!1;return{name:"attributify",match(n){let a=Ut(n);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let s=a[2],[,l="",p=s]=s.match(zt)||[];return p==="~"||o&&p==="true"||!p?`${l}${i}`:`${l}${i}-${p}`}}};var us=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,fs=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,la=/[\s'"`;>]+/,pa={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(us),o,n=0;for(let S of r){let[,A,g]=S,b=S.index+A.length;if(t>b&&t<=b+g.length){n=b,o=g;break}}if(!o)return null;let a=o.matchAll(fs),i=0,s,l;for(let S of a){let[A,g,b]=S,$=n+S.index;if(t>$&&t<=$+A.length){i=$,s=g,l=b==null?void 0:b.slice(1);break}}if(!s||s==="class"||s==="className")return null;if(l===void 0)return{extracted:s,resolveReplacement(S){return{start:i,end:i+s.length,replacement:S}}};let p=i+s.length+2,d=la.exec(l),u=0,y;for(;d;){let[S]=d;if(t>p+u&&t<=p+u+d.index){y=l.slice(u,u+d.index);break}u+=d.index+S.length,d=la.exec(l.slice(u))}y===void 0&&(y=l.slice(u));let[,f="",x]=y.match(zt)||[];return{extracted:`${f}${s}-${x}`,transformSuggestions(S){return S.filter(A=>A.startsWith(`${f}${s}-`)).map(A=>f+A.slice(f.length+s.length+1))},resolveReplacement(S){return{start:u+p,end:u+p+y.length,replacement:f+S.slice(f.length+s.length+1)}}}}};var ms=["v-bind:",":"],ua=/[\s'"`;]+/g,ds=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,gs=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,fa=e=>{let t=(e==null?void 0:e.ignoreAttributes)??[],r=(e==null?void 0:e.nonValuedAttribute)??!0,o=(e==null?void 0:e.trueToNonValued)??!1;return{name:"attributify",extract({code:n}){let a=Array.from(n.matchAll(ds)).flatMap(i=>Array.from((i[1]||"").matchAll(gs))).flatMap(([,i,s,l])=>{if(t.includes(i))return[];for(let p of ms)if(i.startsWith(p)){i=i.slice(p.length);break}if(!l){if(pe(i)&&r!==!1){let p=[`[${i}=""]`];return o&&p.push(`[${i}="true"]`),p}return[]}return["class","className"].includes(i)?l.split(ua).filter(pe):l.split(ua).filter(Boolean).map(p=>`[${i}~="${p}"]`)});return new Set(a)}}};var bs=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??[];let t=[ca(e)],r=[fa(e)],o=[pa];return e.strict||r.unshift(ue),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},ma=bs;var hs=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),da=e=>e.charAt(0).toUpperCase()+e.slice(1),ga=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),ba=["Webkit","Moz","ms"];function ha(e){let t={};function r(o){let n=t[o];if(n)return n;let a=hs(o);if(a!=="filter"&&a in e)return t[o]=ga(a);a=da(a);for(let i=0;i<ba.length;i++){let s=`${ba[i]}${a}`;if(s in e)return t[o]=ga(da(s))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Et(e={}){var U,X;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 m=o.postprocess;m||(m=[]),Array.isArray(m)||(m=[m]),m.unshift(ha(document.createElement("div").style)),o.postprocess=m}(U=r==null?void 0:r.configResolved)==null||U.call(r,t,o);let n,a=!0,i,s=qt(t,o),l=new Set,p,d=[],u=()=>new Promise(m=>{d.push(m),p!=null&&clearTimeout(p),p=setTimeout(()=>f().then(()=>{let k=d;d=[],k.forEach(P=>P())}),0)});function y(m=document.body){if(m.nodeType!==1)return;let k=m;k.hasAttribute("un-cloak")&&k.removeAttribute("un-cloak"),k.querySelectorAll("[un-cloak]").forEach(P=>{P.removeAttribute("un-cloak")})}async function f(){let m=await s.generate(l);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=m.css,l=m.matched}async function x(m){let k=l.size;await s.applyExtractors(m,void 0,l),k!==l.size&&await u()}async function S(){let m=document.body&&document.body.outerHTML;m&&(await x(m),y())}let A=new MutationObserver(m=>{a||m.forEach(async k=>{if(k.target.nodeType!==1)return;let P=k.target;if(P!==n)if(k.type==="childList")k.addedNodes.forEach(async K=>{if(K.nodeType!==1)return;let _=K;i&&!i(_)||(await x(_.outerHTML),y(_))});else{if(i&&!i(P))return;if(k.attributeName!=="un-cloak"){let K=Array.from(P.attributes).map(D=>D.value?`${D.name}="${D.value}"`:D.name).join(" "),_=`<${P.tagName.toLowerCase()} ${K}>`;await x(_)}P.hasAttribute("un-cloak")&&P.removeAttribute("un-cloak")}})}),g=!1;function b(){if(g)return;let m=document.documentElement||document.body;!m||(A.observe(m,{childList:!0,subtree:!0,attributes:!0}),g=!0)}function $(){S(),b()}function C(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",$):$()}let E=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(m){typeof m!="string"&&(m.forEach(k=>l.add(k)),m=""),await x(m)},extractAll:S,inspect(m){i=m},toggleObserver(m){m===void 0?a=!a:a=!!m,!g&&!a&&C()}};((X=r==null?void 0:r.ready)==null?void 0:X.call(r,E))!==!1&&(a=!1,C())}Et({defaults:{presets:[sa(),ma()]}});})();