@unocss/runtime 0.44.7 → 0.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/full.global.js CHANGED
@@ -1,3 +1,3 @@
1
- "use strict";(()=>{var Ha=Object.defineProperty;var Ka=(e,t)=>{for(var r in t)Ha(e,r,{get:t[r],enumerable:!0})};function G(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ye(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 Fe=ye;function L(e=[]){return Array.isArray(e)?e:[e]}function ce(e){return Array.from(new Set(e))}function P(e){return typeof e=="string"}function le(e){return P(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function It(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>le(t)):[e]:[le(e)]}function Ia(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 pe(e){return e==null?"":Ia(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ue(e){return e&&typeof e=="object"&&!Array.isArray(e)}function $e(e,t,r=1/0){let o=e,n=t;if(Array.isArray(o)&&Array.isArray(n))return[...o,...n];if(Array.isArray(o))return[...o];let a={...o};return Ue(o)&&Ue(n)&&Object.keys(n).forEach(i=>{r>0&&(Ue(o[i])&&Ue(n[i])||Array.isArray(o[i])&&Array.isArray(n[i]))?a[i]=$e(o[i],n[i],r-1):Object.assign(a,{[i]:n[i]})}),a}function ve(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?ve(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:ve(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?ve(o):o;return r}return e}function qt(e){return P(e[0])}function Gt(e){return P(e[0])}var qa=/^\[(.+?)~?="(.*)"\]$/;var Ga=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,rt="$$shortcut-no-merge";function Yt(e){return e.match(qa)}function ke(e=""){return Ga.test(e)}function Xt(e){return typeof e=="function"?{match:e}:e}function ot(e){return e.length===3}function Zt(e){return e!=null}function nt(){}var _e=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 Jt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Qt(e,t=["-",":"]){Jt.lastIndex=0;let r=!1,o=e.toString();do{let n=o;o=o.replace(Jt,(a,i,c,p)=>t.includes(c)?p.split(/\s/g).filter(Boolean).map(l=>l==="~"?i:l.replace(/^(!?)(.*)/,`$1${i}${c}$2`)).join(" "):a),r=o!==n}while(r);return typeof e=="string"?o:e.overwrite(0,e.length(),o)}var er=new Set;function tr(e){er.has(e)||(console.warn("[unocss]",e),er.add(e))}function We(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 c=e[i](o);if(c!=null)return c}};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 Ya=e=>e.split(/[\s'"`;=]+/g).filter(ke),re={name:"split",order:0,extract({code:e}){return new Set(Ya(e))}};function rr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var Le="default",Ne="preflights",Xa="shortcuts",or={[Ne]:-100,[Xa]:-10,[Le]:0};function nr(e){return L(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}function Za(e){var r;let t=e.shortcuts?nr(e.shortcuts):void 0;if(e.shortcuts=t,e.prefix||e.layer){let o=n=>{n[2]||(n[2]={});let a=n[2];a.prefix==null&&e.prefix&&(a.prefix=e.prefix),a.layer==null&&e.layer&&(a.prefix=e.layer)};t==null||t.forEach(o),(r=e.rules)==null||r.forEach(o)}return e}function at(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(L).map(Za),n=[...o.filter(m=>m.enforce==="pre"),...o.filter(m=>!m.enforce),...o.filter(m=>m.enforce==="post")],a=Object.assign(or,...o.map(m=>m.layers),e.layers);function i(m){return ce([...n.flatMap(h=>L(h[m]||[])),...L(r[m]||[])])}let c=i("extractors");c.length||c.push(re),c.sort((m,h)=>(m.order||0)-(h.order||0));let p=i("rules"),l={},f=p.length;p.forEach((m,h)=>{var x;if(qt(m)){let j=((x=m[2])==null?void 0:x.prefix)||"";l[j+m[0]]=[h,m[1],m[2],m],delete p[h]}});let u=ve([...n.map(m=>m.theme||{}),r.theme||{}].reduce((m,h)=>$e(m,h,1),{}));i("extendTheme").forEach(m=>m(u));let d={templates:ce(n.map(m=>{var h;return L((h=m.autocomplete)==null?void 0:h.templates)}).flat()),extractors:n.map(m=>{var h;return L((h=m.autocomplete)==null?void 0:h.extractors)}).flat().sort((m,h)=>(m.order||0)-(h.order||0))};return{mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:m=>m,...r,presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:f,rulesDynamic:p,rulesStaticMap:l,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:d,variants:i("variants").map(Xt),shortcuts:nr(i("shortcuts")),extractors:c,safelist:i("safelist")}}var ar="0.44.7";var it=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=at(t,r),this.events.emit("config",this.config)}version=ar;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=rr();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=at(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(c=>o.add(c))}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 p;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 l of this.config.preprocess)n=l(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 c=this.expandShortcut(i.currentSelector,i);if(c){let l=await this.stringifyShortcuts(i.variantMatch,i,c[0],c[1]);if(l!=null&&l.length)return this._cache.set(o,l),l}else{let l=(p=await this.parseUtil(i.variantMatch,i))==null?void 0:p.map(f=>this.stringifyUtil(f,i)).filter(Zt);if(l!=null&&l.length)return this._cache.set(o,l),l}this._cache.set(o,null)}async generate(t,r={}){let{id:o,scope:n,preflights:a=!0,safelist:i=!0,minify:c=!1}=r,p=P(t)?await this.applyExtractors(t,o):Array.isArray(t)?new Set(t):t;i&&this.config.safelist.forEach(k=>p.add(k));let l=c?"":`
2
- `,f=new Set([Le]),u=new Set,d=new Map,m={},h=Array.from(p).map(async k=>{var w;if(u.has(k))return;let R=await this.parseToken(k);if(R!=null){u.add(k);for(let F of R){let g=F[3]||"",C=(w=F[4])==null?void 0:w.layer;d.has(g)||d.set(g,[]),d.get(g).push(F),C&&f.add(C)}}}),x=(async()=>{if(!a)return;let k={generator:this,theme:this.config.theme},R=new Set([]);this.config.preflights.forEach(({layer:w=Ne})=>{f.add(w),R.add(w)}),m=Object.fromEntries(await Promise.all(Array.from(R).map(async w=>{let g=(await Promise.all(this.config.preflights.filter(C=>(C.layer||Ne)===w).map(async C=>await C.getCSS(k)))).filter(Boolean).join(l);return[w,g]})))})();await Promise.all([...h,x]);let j=this.config.sortLayers(Array.from(f).sort((k,R)=>(this.config.layers[k]??0)-(this.config.layers[R]??0)||k.localeCompare(R))),y={},T=k=>{if(y[k])return y[k];let R=Array.from(d).sort((F,g)=>{var C;return(this.parentOrders.get(F[0])??0)-(this.parentOrders.get(g[0])??0)||((C=F[0])==null?void 0:C.localeCompare(g[0]||""))||0}).map(([F,g])=>{let C=g.length,W=g.filter(E=>{var N;return(((N=E[4])==null?void 0:N.layer)||Le)===k}).sort((E,N)=>{var H,he,xe,K;return E[0]-N[0]||(((H=E[4])==null?void 0:H.sort)||0)-(((he=N[4])==null?void 0:he.sort)||0)||((xe=E[1])==null?void 0:xe.localeCompare(N[1]||""))||((K=E[2])==null?void 0:K.localeCompare(N[2]||""))||0}).map(([,E,N,,H])=>[[[(E&&ei(E,n))??"",(H==null?void 0:H.sort)??0]],N,!!(H!=null&&H.noMerge)]);if(!W.length)return;let te=W.reverse().map(([E,N,H],he)=>{if(!H&&this.config.mergeSelectors)for(let K=he+1;K<C;K++){let q=W[K];if(q&&!q[2]&&(E&&q[0]||E==null&&q[0]==null)&&q[1]===N)return E&&q[0]&&q[0].push(...E),null}let xe=E?ce(E.sort((K,q)=>{var Kt;return K[1]-q[1]||((Kt=K[0])==null?void 0:Kt.localeCompare(q[0]||""))||0}).map(K=>K[0]).filter(Boolean)):[];return xe.length?`${xe.join(`,${l}`)}{${N}}`:N}).filter(Boolean).reverse().join(l);if(!F)return te;let J=F.split(" $$ ");return`${J.join("{")}{${l}${te}${l}}${J.map(E=>"").join("}")}`}).filter(Boolean).join(l);a&&(R=[m[k],R].filter(Boolean).join(l));let w=c?"":`/* layer: ${k} */${l}`;return y[k]=R?w+R:""},V=(k=j,R)=>k.filter(w=>!(R!=null&&R.includes(w))).map(w=>T(w)||"").filter(Boolean).join(l);return{get css(){return V()},layers:j,matched:u,getLayers:V,getLayer:T}}matchVariants(t,r){let o=new Set,n=[],a=r||t,i=!1,c={rawSelector:t,theme:this.config.theme,generator:this};for(;;){i=!1;for(let p of this.config.variants){if(!p.multiPass&&o.has(p))continue;let l=p.match(a,c);if(!!l){P(l)&&(l={matcher:l}),a=l.matcher,n.unshift(l),o.add(p),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 a=[...r].sort((l,f)=>(l.order||0)-(f.order||0)).reverse().reduce((l,f)=>u=>{var h,x;let d=((h=f.body)==null?void 0:h.call(f,u.entries))||u.entries,m=Array.isArray(f.parent)?f.parent:[f.parent,void 0];return(f.handle??ri)({...u,entries:d,selector:((x=f.selector)==null?void 0:x.call(f,u.selector,d))||u.selector,parent:m[0]||u.parent,parentOrder:m[1]||u.parentOrder,layer:f.layer||u.layer,sort:f.sort||u.sort},l)},l=>l)({prefix:"",selector:st(o),pseudo:"",entries:t[2]}),{parent:i,parentOrder:c}=a;i!=null&&c!=null&&this.parentOrders.set(i,c);let p={selector:ti([a.prefix,a.selector,a.pseudo].join("")),entries:a.entries,parent:i,layer:a.layer,sort:a.sort};for(let l of this.config.postprocess)l(p);return p}constructCustomCSS(t,r,o){let n=le(r);if(P(n))return n;let{selector:a,entries:i,parent:c}=this.applyVariants([0,o||t.rawSelector,n,void 0,t.variantHandlers]),p=`${a}{${pe(i)}}`;return c?`${c}{${p}}`:p}async parseUtil(t,r,o=!1){var u,d;let[n,a,i]=P(t)?this.matchVariants(t):t,c=this.config.details?m=>{r.rules=r.rules??[],r.rules.push(m)}:nt,p=this.config.rulesStaticMap[a];if(p&&p[1]&&(o||!((u=p[2])!=null&&u.internal))){c(p[3]);let m=p[0],h=le(p[1]),x=p[2];return P(h)?[[m,h,x]]:[[m,n,h,x,i]]}r.variantHandlers=i;let{rulesDynamic:l,rulesSize:f}=this.config;for(let m=f-1;m>=0;m--){let h=l[m];if(!h||((d=h[2])==null?void 0:d.internal)&&!o)continue;let[x,j,y]=h;if((y==null?void 0:y.prefix)&&!a.startsWith(y.prefix))continue;let V=(y!=null&&y.prefix?a.slice(y.prefix.length):a).match(x);if(!V)continue;let k=await j(V,r);if(!k)continue;c(h);let R=It(k).filter(w=>w.length);if(R.length)return R.map(w=>P(w)?[m,w,y]:[m,n,w,y,i])}}stringifyUtil(t,r){if(!t)return;if(ot(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:c}=this.applyVariants(t),p=pe(n);if(!p)return;let{layer:l,sort:f,...u}=t[3]??{},d={...u,layer:i??l,sort:c??f};return[t[0],o,p,a,d,this.config.details?r:void 0]}expandShortcut(t,r,o=5){var c;if(o===0)return;let n=this.config.details?p=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(p)}:nt,a,i;for(let p of this.config.shortcuts){let l=(c=p[2])!=null&&c.prefix?t.slice(p[2].prefix.length):t;if(Gt(p)){if(p[0]===l){a=a||p[2],i=p[1],n(p);break}}else{let f=l.match(p[0]);if(f&&(i=p[1](f,r)),i){a=a||p[2],n(p);break}}}if(P(i)&&(i=Qt(i).split(/\s+/g)),!i){let[p,l]=P(t)?this.matchVariants(t):t;if(p!==l){let f=this.expandShortcut(l,r,o-1);f&&(i=f[0].map(u=>P(u)?p.replace(l,u):u))}}if(!!i)return[i.flatMap(p=>{var l;return(P(p)?(l=this.expandShortcut(p,r,o-1))==null?void 0:l[0]:void 0)||[p]}).filter(Boolean),a]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var f;let a=new _e,i=(await Promise.all(ce(o).map(async u=>{let d=P(u)?await this.parseUtil(u,r,!0):[[1/0,"{inline}",le(u),void 0,[]]];return d||tr(`unmatched utility "${u}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[c,,p]=t,l=[];for(let u of i){if(ot(u)){l.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:d,entries:m,parent:h,sort:x}=this.applyVariants(u,[...u[4],...p],c);a.getFallback(d,h,[[],u[0]])[0].push([m,!!((f=u[3])!=null&&f.noMerge),x??0])}return l.concat(a.map(([u,d],m,h)=>{let x=(y,T,V)=>{let k=Math.max(...V.map(w=>w[1])),R=V.map(w=>w[0]);return(y?[R.flat(1)]:R).map(w=>{let F=pe(w);if(F)return[d,m,F,h,{...n,noMerge:T,sort:k},r]})};return[[u.filter(([,y])=>y).map(([y,,T])=>[y,T]),!0],[u.filter(([,y])=>!y).map(([y,,T])=>[y,T]),!1]].map(([y,T])=>[...x(!1,T,y.filter(([V])=>V.some(k=>k[0]===rt))),...x(!0,T,y.filter(([V])=>V.every(k=>k[0]!==rt)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>P(r)?r===t:r.test(t))}};function sr(e,t){return new it(e,t)}var cr=/ \$\$ /,Qa=e=>e.match(cr);function ei(e,t){return Qa(e)?e.replace(cr,t?` ${t} `:" "):t?`${t} ${e}`:e}function ti(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var ir=/^\[(.+?)(~?=)"(.*)"\]$/;function st(e){return ir.test(e)?e.replace(ir,(t,r,o,n)=>`[${Fe(r)}${o}"${Fe(n)}"]`):`.${Fe(e)}`}function ri(e,t){return t(e)}var ct=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,lr=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,o=e.trueToNonValued??!1;return{name:"attributify",match(n){let a=Yt(n);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let c=a[2],[,p="",l=c]=c.match(ct)||[];return l==="~"||o&&l==="true"||!l?`${p}${i}`:`${p}${i}-${l}`}}};var oi=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,ni=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,pr=/[\s'"`;>]+/,ur={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(oi),o,n=0;for(let x of r){let[,j,y]=x,T=x.index+j.length;if(t>T&&t<=T+y.length){n=T,o=y;break}}if(!o)return null;let a=o.matchAll(ni),i=0,c,p;for(let x of a){let[j,y,T]=x,V=n+x.index;if(t>V&&t<=V+j.length){i=V,c=y,p=T==null?void 0:T.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;if(p===void 0)return{extracted:c,resolveReplacement(x){return{start:i,end:i+c.length,replacement:x}}};let l=i+c.length+2,f=pr.exec(p),u=0,d;for(;f;){let[x]=f;if(t>l+u&&t<=l+u+f.index){d=p.slice(u,u+f.index);break}u+=f.index+x.length,f=pr.exec(p.slice(u))}d===void 0&&(d=p.slice(u));let[,m="",h]=d.match(ct)||[];return{extracted:`${m}${c}-${h}`,transformSuggestions(x){return x.filter(j=>j.startsWith(`${m}${c}-`)).map(j=>m+j.slice(m.length+c.length+1))},resolveReplacement(x){return{start:u+l,end:u+l+d.length,replacement:m+x.slice(m.length+c.length+1)}}}}};var ai=["v-bind:",":"],fr=/[\s'"`;]+/g,ii=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,si=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,lt=["placeholder"],mr=e=>{let t=(e==null?void 0:e.ignoreAttributes)??lt,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(ii)).flatMap(i=>Array.from((i[1]||"").matchAll(si))).flatMap(([,i,c,p])=>{if(t.includes(i))return[];for(let l of ai)if(i.startsWith(l)){i=i.slice(l.length);break}if(!p){if(ke(i)&&r!==!1){let l=[`[${i}=""]`];return o&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?p.split(fr).filter(ke):p.split(fr).filter(Boolean).map(l=>`[${i}~="${l}"]`)});return new Set(a)}}};var ci=(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??lt;let t=[lr(e)],r=[mr(e)],o=[ur];return e.strict||r.unshift(re),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},dr=ci;var pt=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=pe(Object.entries(e.theme.preflightBase));return`*,::before,::after{${t}}::backdrop{${t}}`}}}];var U={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},ut={...U,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"]},ft={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"]},mt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},gr=["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"],A=Object.assign({},...gr.map(e=>({[e.replace(/ /,"-")]:e})),...gr.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),v=["inherit","initial","revert","revert-layer","unset"];var br={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",...Object.fromEntries(v.map(e=>[e,e]))},hr=[[/^(?:vertical|align|v)-([-\w]+)$/,([,e])=>({"vertical-align":br[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(br).join("|")})`}]],xr=["center","left","right","justify","start","end",...v].map(e=>[`text-${e}`,{"text-align":e}]);var gt={};Ka(gt,{auto:()=>ui,bracket:()=>xi,bracketOfColor:()=>yi,bracketOfLength:()=>vi,bracketOfPosition:()=>$i,cssvar:()=>ki,degree:()=>Si,fraction:()=>bi,global:()=>Ci,number:()=>di,numberWithUnit:()=>pi,percent:()=>gi,position:()=>zi,properties:()=>Ri,px:()=>mi,rem:()=>fi,time:()=>wi});var ue=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,yr=/^(-?[0-9.]+)$/i,dt=/^(px)$/i;var li=["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"];function B(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function pi(e){let t=e.match(ue);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${B(n)}${o}`}function ui(e){if(e==="auto"||e==="a")return"auto"}function fi(e){if(e.match(dt))return`1${e}`;let t=e.match(ue);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n/4)}rem`}function mi(e){if(e.match(dt))return`1${e}`;let t=e.match(ue);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}px`}function di(e){if(!yr.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return B(t)}function gi(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${B(t/100)}`}function bi(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 hi=/^\[(color|length|position):/i;function Be(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)return;let n=0;for(let a of r)if(a==="[")n+=1;else if(a==="]"&&(n-=1,n<0))return;return n?void 0:r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function xi(e){return Be(e)}function yi(e){return Be(e,"color")}function vi(e){return Be(e,"length")}function $i(e){return Be(e,"position")}function ki(e){if(e.match(/^\$\S/))return`var(--${ye(e.slice(1))})`}function wi(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 Si(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 Ci(e){if(v.includes(e))return e}function Ri(e){if(e.split(",").every(t=>li.includes(t)))return e}function zi(e){if(["top","left","right","bottom","center"].includes(e))return e}var s=We(gt);var vr="$$mini-no-negative";function z(e){return([t,r,o],{theme:n})=>{var i;let a=((i=n.spacing)==null?void 0:i[o||"DEFAULT"])??s.bracket.cssvar.global.auto.fraction.rem(o);if(a!=null)return U[r].map(c=>[`${e}${c}`,a])}}function bt(e,t){let r=e.colors,o=-1;for(let n of t){if(o+=1,r&&typeof r!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,i=>i.slice(1).toUpperCase());if(r[a])return r[a];if(r[n]){r=r[n];continue}}return}return r}function fe(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 c,p=s.bracketOfColor(o),l=p||o;l.match(/^#[\da-fA-F]+/g)?c=l:l.match(/^hex-[\da-fA-F]+/g)?c=`#${l.slice(4)}`:o.startsWith("$")&&(c=s.cssvar(o)),c=c||p;let f="DEFAULT";if(!c){let u,[d]=a.slice(-1);d.match(/^\d+$/)?(f=d,u=bt(t,a.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[f]):(u=bt(t,a),!u&&a.length<=2&&([,f=f]=a,u=bt(t,[i])),typeof u=="string"?c=u:f&&u&&(c=u[f]))}return{opacity:n,name:i,no:f,color:c,cssColor:ge(c),alpha:s.bracket.cssvar.percent(n??"")}}function S(e,t,r){return([,o],{theme:n})=>{let a=fe(o,n);if(!a)return;let{alpha:i,color:c,cssColor:p}=a,l={};if(p?i!=null?l[e]=M(p,i):(l[`--un-${t}-opacity`]=oe(p),l[e]=M(p,`var(--un-${t}-opacity)`)):c&&(l[e]=M(c,i)),(r==null?void 0:r(l))!==!1)return l}}function me(e,t){let r=[];e=L(e);for(let o=0;o<e.length;o++){let n=we(e[o]," ",6);if(!n||n.length<3)return e;let a=ge(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${M(a)})`)}return r}function De(e,t){var r;return e!=null&&!!((r=fe(e,t))!=null&&r.color)}function de({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r}function $r({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r}function b(e,t){return v.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ht(e,t,r,o){if(e==="")return;let n=e.length,a=0;for(let i=0;i<n;i++)switch(e[i]){case t:a++;break;case r:if(--a<0)return;break;case o:if(a===0)return i===0||i===n-1?void 0:[e.slice(0,i),e.slice(i+1)]}return[e,""]}function we(e,t,r){if(t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=ht(e,"(",")",t);if(!a)return;let[i,c]=a;o.push(i),e=c}if(o.length>0)return o}var xt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],kr=["%alpha","<alpha-value>"],Ei=new RegExp(kr.map(e=>G(e)).join("|"));function ge(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.map(i=>typeof i=="string"?i.trim():i),alpha:typeof n=="string"?n.trim():n}}function oe(e){let t=e.alpha??1;return typeof t=="string"&&kr.includes(t)?1:t}function M(e,t){if(typeof e=="string")return e.replace(Ei,`${t??1}`);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=Vi(e),t!=null)||(t=Ai(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 Vi(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ai(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=we(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=wr(`${r} ${o}`);if(n){let{alpha:a,components:[i,...c]}=n;return{type:i,components:c,alpha:a}}}function Mi(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=wr(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function wr(e){let t=we(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=we(t[r-1],"/",2);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}}var I=(e,t)=>{let r=new RegExp(`^${G(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),handle:(a,i)=>i({...a,...t(a)})}},autocomplete:`${e}:`}},_=(e,t)=>{let r=new RegExp(`^${G(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),handle:(a,i)=>i({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}};var Sr=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??s.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,S("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])??s.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...v].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Cr=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Fi=e=>s.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],Rr=[[/^will-change-(.+)/,([,e])=>({"will-change":Fi(e)})]];var ne=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...v],zr=[[/^(?:border|b)()(?:-(.+))?$/,Se,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Se],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Se],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Se],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Se],[/^(?:border|b)-()(?:width|size)-(.+)$/,be,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,be],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,be],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,be],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,be],[/^(?:border|b)-()(?:color-)?(.+)$/,Ce,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ce],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ce],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ce],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ce],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Re,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Re],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Re],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Re],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Re],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ze,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ze],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ze],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ze],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ze],[/^(?:border|b)-(?:style-)?()(.+)$/,Q,{autocomplete:["(border|b)-style",`(border|b)-(${ne.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ne.join("|")})`,`(border|b)-<directions>-style-(${ne.join("|")})`,`(border|b)-style-(${ne.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Q],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Q],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Q],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Q]],Ui=e=>([,t],r)=>{let o=fe(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${e}-color`]:M(i,n)}:e===""?{"--un-border-opacity":oe(i),"border-color":M(i,"var(--un-border-opacity)")}:{"--un-border-opacity":oe(i),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:M(i,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:M(a,n)}};function Se(e,t){let r=be(e,t),o=Q(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function be([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.global.px(t||"1");if(e in U&&o!=null)return U[e].map(a=>[`border${a}-width`,o])}function Ce([,e="",t],{theme:r}){if(e in U&&De(t,r))return Object.assign({},...U[e].map(o=>Ui(o)(["",t],r)))}function Re([,e="",t]){let r=s.bracket.percent(t);if(e in U&&r!=null)return U[e].map(o=>[`--un-border${o}-opacity`,r])}function ze([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||s.bracket.cssvar.global.fraction.rem(t||"1");if(e in ft&&o!=null)return ft[e].map(a=>[`border${a}-radius`,o])}function Q([,e="",t]){if(ne.includes(t)&&e in U)return U[e].map(r=>[`border${r}-style`,t])}var Er=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:s.bracket.percent.cssvar(e)})]],Tr=[[/^(?:color|c)-(.+)$/,S("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^text-(.+)$/,S("color","text",e=>{var t;return!((t=e.color)!=null&&t.toString().match(ue))}),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":s.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],jr=[[/^bg-(.+)$/,S("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":s.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var He={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Vr=e=>s.properties(e)??He[e],Ar=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?Vr(e):[He.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??s.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(He).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??s.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"])??s.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"])??s.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":s.bracket.global(e)||Vr(e)}),{autocomplete:[`transition-property-(${[...v,...Object.keys(He)].join("|")})`]}],["transition-none",{transition:"none"}],...b("transition")];var Or=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:s.bracket(e)!=null?s.bracket(e).split(" ").map(t=>s.cssvar.fraction(t)??t).join(" "):s.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":s.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":s.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??s.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Pr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Mr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||s.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=L((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":s.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n;let r=L((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??s.bracket.cssvar.global.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Pr[e]||s.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Pr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||s.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":s.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||s.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])||s.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],Fr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=s.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Ur=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],_r=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,S("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":s.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Wr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":me(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":s.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,S("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":s.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var Lr={"":"",x:"column-",y:"row-"},Nr=([,e="",t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??s.bracket.cssvar.global.rem(t);if(o!=null)return{[`grid-${Lr[e]}gap`]:o,[`${Lr[e]}gap`]:o}},Br=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Nr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Nr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var Y=e=>e.replace("col","column"),yt=e=>e[0]==="r"?"Row":"Column",_i=(e,t,r)=>{var n;let o=(n=t[`gridAuto${yt(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 s.bracket.cssvar.auto.rem(r)},Dr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-${Y(e)}`]:((o=r[`grid${yt(e)}`])==null?void 0:o[t])??s.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Y(e)}`]:"1/-1"};let r=s.bracket.number(t);if(r!=null)return{[`grid-${Y(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Y(e)}-start`]:s.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Y(e)}-end`]:s.bracket.cssvar(t)??t}),{autocomplete:["grid-(row|col)-(start|end)-<num>"]}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${Y(e)}`]:_i(e,r,t)}),{autocomplete:["grid-auto-(rows|cols)-<num>"]}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":s.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Y(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-template-${Y(e)}`]:((o=r[`gridTemplate${yt(e)}`])==null?void 0:o[t])??s.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Y(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Y(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:["grid-(rows|cols)-<num>","grid-(rows|cols)-none"]}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Ke=["auto","hidden","clip","visible","scroll",...v],Hr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ke.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ke.join("|")})`,`(overflow|of)-(x|y)-(${Ke.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ke.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Kr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>v.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ir=[["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"}],...b("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],...b("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],...b("justify-self")],qr=[[/^order-(.+)$/,([,e])=>({order:s.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Gr=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],...b("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],...b("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],...b("self","align-self")],Yr=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],...b("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],...b("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],...b("place-self")];function vt(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??s.bracket.cssvar.global.auto.fraction.rem(e)}function Ie([,e,t],r){let o=vt(t,r);if(o!=null&&e in ut)return ut[e].map(n=>[n.slice(1),o])}var Xr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:vt(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])-(.+)$/,Ie],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ie],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ie],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ie],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:vt(t,r)})]],Zr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...b("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...b("clear")],Jr=[[/^z([\d.]+)$/,([,e])=>({"z-index":s.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":s.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Qr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...b("box","box-sizing")];var Wi=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],$=" ",eo=[["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:s.bracket.cssvar.global(e)||e})]],to=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...b("backface","backface-visibility")],ro=[[/^cursor-(.+)$/,([,e])=>({cursor:s.bracket.cssvar.global(e)})],...Wi.map(e=>[`cursor-${e}`,{cursor:e}])],oo=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...b("pointer-events")],no=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...b("resize")],ao=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}],...b("select","user-select")],io=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...v].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],so=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],[/^content-(\$.+)]$/,([,e])=>({content:s.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],co=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],lo=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],po=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...b("case","text-transform")],uo=[["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"}]],fo=[["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 mo={"--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 rgba(0,0,0,0)"},go=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??s.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??s.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])??s.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,S("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":s.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,S("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":s.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var bo={"--un-ring-offset-shadow":"0 0 rgba(0,0,0,0)","--un-ring-shadow":"0 0 rgba(0,0,0,0)","--un-shadow-inset":$,"--un-shadow":"0 0 rgba(0,0,0,0)"},ho=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":me(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,S("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":s.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 Ee(e,t){return`${e||""}${Li[t]}`}function xo(e,t,r,o){var i;let n=Ee(e,t).replace(/-(\w)/g,(c,p)=>p.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 s.bracket.cssvar.global.auto.fraction.rem(o)}var yo=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[Ee(e,t)]:xo(e,t,o,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[Ee(e,t)]:xo(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[Ee(e,t)]:(n=$r(o))==null?void 0:n[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[Ee(e,t)]:(n=de(o))==null?void 0:n[r]}},{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Ni(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return s.bracket.cssvar.global.auto.number(e)}var vo=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ni(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var $o=[[/^pa?()-?(-?.+)$/,z("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,z("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,z("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,z("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,z("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,z("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],ko=[[/^ma?()-?(-?.+)$/,z("margin")],[/^m-?xy()()$/,z("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,z("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,z("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,z("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,z("margin")]];var wo=["translate","rotate","scale"],ae=["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(" "),Bi=["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(" "),zo={"--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},Eo=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":A[e]??s.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(A).join("|")})`,`origin-(${Object.keys(A).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=s.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=s.bracket.cssvar(e)??(e.length>=3?A[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,So],[/^(?:transform-)?translate-([xyz])-(.+)$/,So],[/^(?:transform-)?rotate-()(.+)$/,Ro],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ro],[/^(?:transform-)?skew-([xy])-(.+)$/,Di,{autocomplete:["transform-skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Co],[/^(?:transform-)?scale-([xyz])-(.+)$/,Co,{autocomplete:[`transform-(${wo.join("|")})-<percent>`,`transform-(${wo.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:ae}],["transform-cpu",{transform:ae}],["transform-gpu",{transform:Bi}],["transform-none",{transform:"none"}],...b("transform")];function So([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??s.bracket.cssvar.fraction.rem(t);if(o!=null)return[...mt[e].map(a=>[`--un-translate${a}`,o]),["transform",ae]]}function Co([,e,t]){let r=s.bracket.cssvar.fraction.percent(t);if(r!=null)return[...mt[e].map(o=>[`--un-scale${o}`,r]),["transform",ae]]}function Ro([,e="",t]){let r=s.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:ae}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:ae}}function Di([,e,t]){let r=s.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:ae}}var Hi={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"},To=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Hi[e];if(r)return{[r]:s.cssvar(t)}}]],jo=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:s.bracket(`[${t}]`)})]];var Vo=[[/^(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 Ao=["solid","double","dotted","dashed","wavy",...v],Oo=[[/^(?: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])??s.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=S("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":s.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])??s.auto.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ao.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ao.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Po=[[/^fill-(.+)$/,S("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":s.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])??s.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":s.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])??s.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,S("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":s.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 $t={},Mo=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}`},Fo={name:"breakpoints",match(e,t){let r=Object.entries(de(t)??{}).map(([o,n],a)=>[o,n,a]);for(let[o,n,a]of r){$t[o]||($t[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let i=e.match($t[o]);if(!i)continue;let[,c]=i,p=e.slice(c.length);if(p==="container")continue;let l=c.startsWith("lt-"),f=c.startsWith("at-"),u=1e3;return l?(u-=a+1,{matcher:p,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (max-width: ${Mo(n)})`,parentOrder:u})}):(u+=a+1,f&&a<r.length-1?{matcher:p,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${n}) and (max-width: ${Mo(r[a+1][1])})`,parentOrder:u})}:{matcher:p,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${n})`,parentOrder:u})})}},multiPass:!0,autocomplete:"(at-|lt-|)$breakpoints:"};var X=(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]??"*")}},multiPass:!0}},Uo=[X(!1,"all","&&-s &&-c"),X(!1,"children","&&-s>&&-c"),X(!1,"next","&&-s+&&-c"),X(!1,"sibling","&&-s+&&-c"),X(!1,"siblings","&&-s~&&-c"),X(!0,"group","&&-c &&-s"),X(!0,"parent","&&-c>&&-s"),X(!0,"previous","&&-c+&&-s"),X(!0,"peer","&&-c~&&-s")];var _o=_("print","@media print"),Wo={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),handle:(a,i)=>i({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${n}`})}}},multiPass:!0};var Lo=(e={})=>{if((e==null?void 0:e.dark)==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[I("dark",o=>({prefix:`${t} $$ ${o.prefix}`})),I("light",o=>({prefix:`${r} $$ ${o.prefix}`}))]}return[_("dark","@media (prefers-color-scheme: dark)"),_("light","@media (prefers-color-scheme: light)")]};var No=[I("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),I("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];var Bo={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},Do={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),handle:(r,o)=>o({...r,parent:`${r.parent?`${r.parent} $$ `:""}@layer ${t[1]}`})}}},Ho={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]}}},Ko={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}`}}},Io={name:"variables",match(e){if(!e.startsWith("["))return;let[t,r]=ht(e,"[","]",":")??[];if(!(t&&r&&r!==""))return;let o=s.bracket(t)??"";if(!!(o.startsWith("@")||o.includes("&")))return{matcher:r,handle(n,a){let i=o.startsWith("@")?{parent:`${n.parent?`${n.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,n.selector)};return a({...n,...i})}}},multiPass:!0};var qo=/[0-9.]+(?:[a-z]+|%)?/,Ki=[/opacity|color|flex/],Go={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(o=>o[0]===vr))return;let r=!1;return t.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||Ki.some(i=>o[0].match(i))||qo.test(n)&&(o[1]=n.replace(qo,i=>`-${i}`),r=!0)}),r?t:[]}}}};var Yo={name:"important",match(e){let t,r=e.match(/^(important[:-]|!)/);if(r?t=e.slice(r[0].length):e.endsWith("!")&&(t=e.slice(0,-1)),t)return{matcher:t,body:o=>(o.forEach(n=>{n[1]&&(n[1]+=" !important")}),o)}}};var je=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}`])),Ve=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ii=["not","is","where","has"],kt=Object.entries(je).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),wt=Object.entries(Ve).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Te=Ii.join("|"),Xo=e=>{if(e==="active")return 1},qe=(e,t,r)=>{let o=new RegExp(`^(${G(t)}:)(\\S+)${G(r)}\\1`),n=new RegExp(`^${e}-((?:(${Te})-)?(${kt}))[:-]`),a=new RegExp(`^${e}-((?:(${Te})-)?(${wt}))[:]`);return{name:`pseudo:${e}`,match(i){let c=i.match(n)||i.match(a);if(c){let p=je[c[3]]||Ve[c[3]]||`:${c[3]}`;return c[2]&&(p=`:${c[2]}(${p})`),{matcher:i.slice(c[0].length),handle:(l,f)=>f({...l,prefix:`${t}${p}${r}${l.prefix}`.replace(o,"$1$2:"),sort:Xo(c[3])})}}},multiPass:!0}},Zo=Object.entries(je).map(([e])=>e).join("|"),qi=Object.entries(Ve).map(([e])=>e).join("|"),Gi=new RegExp(`^(${Zo})[:-]`),Yi=new RegExp(`^(${qi})[:]`),Jo={name:"pseudo",match:e=>{let t=e.match(Gi)||e.match(Yi);if(t){let r=je[t[1]]||Ve[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),handle:(o,n)=>{let a=r.startsWith("::")?{pseudo:`${o.pseudo}${r}`}:{selector:`${o.selector}${r}`};return n({...o,...a,sort:Xo(t[1])})}}}},multiPass:!0,autocomplete:`(${Zo}):`},Xi=new RegExp(`^(${Te})-(${kt})[:-]`),Zi=new RegExp(`^(${Te})-(${wt})[:]`),Qo={match:e=>{let t=e.match(Xi)||e.match(Zi);if(t){let r=t[1],o=je[t[2]]||Ve[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${Te})-(${kt}|${wt}):`},en=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[qe("group",t?'[group=""]':".group"," "),qe("peer",t?'[peer=""]':".peer","~"),qe("parent",t?'[parent=""]':".parent",">"),qe("previous",t?'[previous=""]':".previous","+")]},Ji=/(part-\[(.+)]:)(.+)/,tn={match:e=>{let t=e.match(Ji);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var rn=e=>[Io,Do,Bo,Ho,Go,Yo,_o,Wo,Fo,...Uo,Jo,Qo,...en(e),tn,...Lo(e),...No,Ko];var on=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{var o,n;let r=(n=(o=t.animation)==null?void 0:o.keyframes)==null?void 0:n[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{var o,n,a,i,c,p,l,f,u,d;let r=(n=(o=t.animation)==null?void 0:o.keyframes)==null?void 0:n[e];if(r){let m=((i=(a=t.animation)==null?void 0:a.durations)==null?void 0:i[e])??"1s",h=((p=(c=t.animation)==null?void 0:c.timingFns)==null?void 0:p[e])??"linear",x=((f=(l=t.animation)==null?void 0:l.counts)==null?void 0:f[e])??1,j=(d=(u=t.animation)==null?void 0:u.properties)==null?void 0:d[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${m} ${h} ${x}`,...j}]}return{animation:s.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":s.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??s.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"])??s.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"])??s.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?v:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?v:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":s.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?v:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...b("animate","animation")];var nn=e=>e?M(e,0):"rgba(255,255,255,0)",Qi=(e,t,r,o)=>t?o!=null?M(t,o):M(t,`var(--un-${e}-opacity, ${oe(t)})`):M(r,o),St=e=>([,t],{theme:r})=>{let o=fe(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let c=Qi(e,i,a,n);switch(e){case"from":return{"--un-gradient-from":c,"--un-gradient-to":nn(i),"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-to":nn(i),"--un-gradient-stops":`var(--un-gradient-from), ${c}, var(--un-gradient-to)`};case"to":return{"--un-gradient-to":c}}},es=/^\[url\(.+\)\]$/,ts=/^\[length:.+\]$/,rs=/^\[position:.+\]$/,an=[[/^bg-(.+)$/,([,e])=>{if(es.test(e))return{"--un-url":s.bracket(e),"background-image":"var(--un-url)"};if(ts.test(e)&&s.bracketOfLength(e)!=null)return{"background-size":s.bracketOfLength(e).split(" ").map(t=>s.fraction.auto.px.cssvar(t)).join(" ")};if(rs.test(e)&&s.bracketOfPosition(e)!=null)return{"background-position":s.bracketOfPosition(e).split(" ").map(t=>s.position.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":s.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":s.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,St("from")],[/^(?:bg-gradient-)?via-(.+)$/,St("via")],[/^(?:bg-gradient-)?to-(.+)$/,St("to")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":s.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":s.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":s.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 A)return{"--un-gradient-shape":`to ${A[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(A).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in A?`to ${A[e]}`:s.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(A).join("|")})`,`shape-(${Object.keys(A).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...b("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...v.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":A[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...b("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...b("bg-origin","background-origin")];var Ct={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"},sn=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=Ct[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Ct).join("|")})`,`list-(${Object.keys(Ct).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],...b("list","list-style-type")],cn=[[/^accent-(.+)$/,S("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":s.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ln=[[/^caret-(.+)$/,S("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":s.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],pn=[["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"]]]],un=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...b("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...b("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...b("overscroll-y","overscroll-behavior-y")],fn=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...b("scroll","scroll-behavior")];var mn=[[/^columns-(.+)$/,([,e])=>({columns:s.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...b("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...b("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...b("break-after")];var os=/@media \(min-width: (.+)\)/,dn=[[/^__container$/,(e,{theme:t,variantHandlers:r})=>{var n,a,i,c;let o="100%";for(let p of r){let l=(a=(n=p.handle)==null?void 0:n.call(p,{},f=>f))==null?void 0:a.parent;if(typeof l=="string"){let f=(i=l.match(os))==null?void 0:i[1];f&&(o=f)}}return(c=t.container)!=null&&c.center?{"max-width":o,"margin-left":"auto","margin-right":"auto"}:{"max-width":o}},{internal:!0}]],gn=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(de(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 bn={"--un-blur":$,"--un-brightness":$,"--un-contrast":$,"--un-drop-shadow":$,"--un-grayscale":$,"--un-hue-rotate":$,"--un-invert":$,"--un-saturate":$,"--un-sepia":$},Ge="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)",hn={"--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":$},Ye="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)",Rt=e=>{let t=s.bracket.cssvar(e||"");if(t!=null||(t=e?s.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},Z=(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":Ye,"backdrop-filter":Ye}:{[`--un-${e}`]:`${e}(${a})`,filter:Ge}},ns=([,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(${me(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Ge};if(r=s.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Ge}},xn=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Z("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Z("brightness",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Z("contrast",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,ns,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,S("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":s.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Z("grayscale",Rt),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Z("hue-rotate",e=>s.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Z("invert",Rt),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,Z("opacity",e=>s.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Z("saturate",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Z("sepia",Rt),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ge}],["backdrop-filter",{"-webkit-backdrop-filter":Ye,"backdrop-filter":Ye}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...v.map(e=>[`filter-${e}`,{filter:e}]),...v.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var vn=[[/^space-?([xy])-?(-?.+)$/,yn,{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)-(-?.+)$/,yn],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function yn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let a=U[e].map(i=>{let c=`margin${i}`,p=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[c,p]});if(a)return[[`--un-space-${e}-reverse`,0],...a]}}var $n=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],kn=[...["manual","auto","none",...v].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],wn=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...b("write","writing-mode")],Sn=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...b("write-orient","text-orientation")],Cn=[["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"}]],Rn=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],zn=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(A[e])return{"object-position":A[e]};if(s.bracketOfPosition(e)!=null)return{"object-position":s.bracketOfPosition(e).split(" ").map(t=>s.position.fraction.auto.px.cssvar(t)).join(" ")}},{autocomplete:`object-(${Object.keys(A).join("|")})`}]],En=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...b("bg-blend","background-blend")],Tn=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...b("mix-blend")];var Vn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},jn="var(--un-border-spacing-x) var(--un-border-spacing-y)",An=[["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])??s.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":jn}},{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])??s.bracket.cssvar.global.auto.fraction.rem(t);if(o!=null)return{[`--un-border-spacing-${e}`]:o,"border-spacing":jn}},{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 as={"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"},On=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=as[e];if(r)return{[r]:s.cssvar(t)}}]];var Pn=[[/^divide-?([xy])$/,Xe,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Xe],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Xe],[/^divide-(block|inline)-(-?.+)$/,Xe],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,S("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":s.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...ne.map(e=>[`divide-${e}`,{"border-style":e}])];function Xe([,e,t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.px(t||"1");if(o!=null){let a=U[e].map(c=>{let p=`border${c}-width`,l=c.endsWith("right")||c.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[p,l]}),i=Q(["",e,"solid"]);if(a&&i)return[[`--un-divide-${e}-reverse`,0],...a,...i]}}var Mn=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...v].map(e=>[`line-clamp-${e}`,{"-webkit-line-clamp":e,"line-clamp":e}])];var Fn={"--un-ordinal":$,"--un-slashed-zero":$,"--un-numeric-figure":$,"--un-numeric-spacing":$,"--un-numeric-fraction":$},ee=e=>({...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),Un=[[/^ordinal$/,()=>ee({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ee({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ee({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ee({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ee({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ee({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ee({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ee({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var _n={"--un-pan-x":$,"--un-pan-y":$,"--un-pinch-zoom":$},zt="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Wn=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":zt}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":zt})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":zt}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...b("touch","touch-action")];var Ln={"--un-scroll-snap-strictness":"proximity"},Nn=[[/^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?()-?(-?.+)$/,z("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])-?(-?.+)$/,z("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,z("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,z("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,z("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,z("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,z("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,z("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,z("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,z("scroll-padding")]];var Bn=[[/^\$ placeholder-(.+)$/,S("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":s.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Et=[To,On,jo,dn,Cn,oo,to,Kr,Xr,Mn,Rn,Jr,qr,Dr,Zr,ko,Qr,eo,vo,yo,Or,An,Eo,on,ro,Wn,ao,no,Nn,sn,Cr,mn,Yr,Gr,Ir,Br,vn,Pn,Hr,un,fn,lo,io,co,zr,jr,an,Po,zn,$o,xr,Ur,hr,Mr,po,$n,uo,Un,Tr,Oo,fo,Fr,_r,Wr,kn,wn,Sn,ln,cn,Er,En,Tn,ho,Sr,go,pn,xn,Ar,Rr,so,Bn,Vo].flat(1);var Tt=[...gn];var jt={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(jt).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 is={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"]},Ru={...is,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 At={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Dn=["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"],Ae=Object.assign({},...Dn.map(e=>({[e.replace(/ /,"-")]:e})),...Dn.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),Ot=["inherit","initial","revert","revert-layer","unset"],Pt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,ss=/^(-?[0-9.]+)$/i,Hn=/^(px)$/i,cs=["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"];function D(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ls(e){let t=e.match(Pt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${D(n)}${o}`}function ps(e){if(e==="auto"||e==="a")return"auto"}function us(e){if(e.match(Hn))return`1${e}`;let t=e.match(Pt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${D(n)}${o}`:`${D(n/4)}rem`}function fs(e){if(e.match(Hn))return`1${e}`;let t=e.match(Pt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${D(n)}${o}`:`${D(n)}px`}function ms(e){if(!ss.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return D(t)}function ds(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${D(t/100)}`}function gs(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${D(o*100)}%`}var bs=/^\[(color|length|position):/i;function Qe(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(bs);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r)return;let n=0;for(let a of r)if(a==="[")n+=1;else if(a==="]"&&(n-=1,n<0))return;return n?void 0:r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function hs(e){return Qe(e)}function xs(e){return Qe(e,"color")}function ys(e){return Qe(e,"length")}function vs(e){return Qe(e,"position")}function $s(e){if(e.match(/^\$\S/))return`var(--${ye(e.slice(1))})`}function ks(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?`${D(n)}${o}`:`${D(n)}ms`}function ws(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?`${D(n)}${o}`:`${D(n)}deg`}function Ss(e){if(Ot.includes(e))return e}function Cs(e){if(e.split(",").every(t=>cs.includes(t)))return e}function Rs(e){if(["top","left","right","bottom","center"].includes(e))return e}var zs={__proto__:null,numberWithUnit:ls,auto:ps,rem:us,px:fs,number:ms,percent:ds,fraction:gs,bracket:hs,bracketOfColor:xs,bracketOfLength:ys,bracketOfPosition:vs,cssvar:$s,time:ks,degree:ws,global:Ss,properties:Cs,position:Rs},O=We(zs);function Vt(e,t){let r=e.colors,o=-1;for(let n of t){if(o+=1,r&&typeof r!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,i=>i.slice(1).toUpperCase());if(r[a])return r[a];if(r[n]){r=r[n];continue}}return}return r}function Es(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 c,p=O.bracketOfColor(o),l=p||o;l.match(/^#[\da-fA-F]+/g)?c=l:l.match(/^hex-[\da-fA-F]+/g)?c=`#${l.slice(4)}`:o.startsWith("$")&&(c=O.cssvar(o)),c=c||p;let f="DEFAULT";if(!c){let u,[d]=a.slice(-1);d.match(/^\d+$/)?(f=d,u=Vt(t,a.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[f]):(u=Vt(t,a),!u&&a.length<=2&&([,f=f]=a,u=Vt(t,[i])),typeof u=="string"?c=u:f&&u&&(c=u[f]))}return{opacity:n,name:i,no:f,color:c,cssColor:qn(c),alpha:O.bracket.cssvar.percent(n??"")}}function et(e,t,r){return([,o],{theme:n})=>{let a=Es(o,n);if(!a)return;let{alpha:i,color:c,cssColor:p}=a,l={};if(p?i!=null?l[e]=Ze(p,i):(l[`--un-${t}-opacity`]=Vs(p),l[e]=Ze(p,`var(--un-${t}-opacity)`)):c&&(l[e]=Ze(c,i)),(r==null?void 0:r(l))!==!1)return l}}function Kn(e,t){let r=[];e=L(e);for(let o=0;o<e.length;o++){let n=Je(e[o]," ",6);if(!n||n.length<3)return e;let a=qn(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${Ze(a)})`)}return r}function ie(e,t){return Ot.map(r=>[`${e}-${r}`,{[t??e]:r}])}function Ts(e,t,r,o){if(e==="")return;let n=e.length,a=0;for(let i=0;i<n;i++)switch(e[i]){case t:a++;break;case r:if(--a<0)return;break;case o:if(a===0)return i===0||i===n-1?void 0:[e.slice(0,i),e.slice(i+1)]}return[e,""]}function Je(e,t,r){if(t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Ts(e,"(",")",t);if(!a)return;let[i,c]=a;o.push(i),e=c}if(o.length>0)return o}var Mt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],In=["%alpha","<alpha-value>"],js=new RegExp(In.map(e=>G(e)).join("|"));function qn(e=""){let t=As(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)&&!(Mt.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o.map(i=>typeof i=="string"?i.trim():i),alpha:typeof n=="string"?n.trim():n}}function Vs(e){let t=e.alpha??1;return typeof t=="string"&&In.includes(t)?1:t}function Ze(e,t){if(typeof e=="string")return e.replace(js,`${t??1}`);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}`,Mt.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function As(e){if(!e)return;let t=Os(e);if(t!=null||(t=Ps(e),t!=null)||(t=Ms(e),t!=null)||(t=Us(e),t!=null)||(t=_s(e),t!=null))return t}function Os(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 Ps(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ms(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=Je(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 Fs=new RegExp(`^(${Mt.join("|")})\\((.+)\\)$`,"i");function Us(e){let t=e.match(Fs);if(!t)return;let[,r,o]=t,n=Gn(`${r} ${o}`);if(n){let{alpha:a,components:[i,...c]}=n;return{type:i,components:c,alpha:a}}}function _s(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Gn(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Gn(e){let t=Je(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=Je(t[r-1],"/",2);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}}var Ws=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],Qn=" ";var Tu=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...ie("backface","backface-visibility")],ju=[[/^cursor-(.+)$/,([,e])=>({cursor:O.bracket.cssvar.global(e)})],...Ws.map(e=>[`cursor-${e}`,{cursor:e}])],Vu=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...ie("pointer-events")],Au=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...ie("resize")],Ou=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}],...ie("select","user-select")];var Pu=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...ie("case","text-transform")];var ea={"--un-ring-inset":Qn,"--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 rgba(0,0,0,0)"},Mu=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??O.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??O.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])??O.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,et("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":O.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,et("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":O.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],ta={"--un-ring-offset-shadow":"0 0 rgba(0,0,0,0)","--un-ring-shadow":"0 0 rgba(0,0,0,0)","--un-shadow-inset":Qn,"--un-shadow":"0 0 rgba(0,0,0,0)"},Fu=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":Kn(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,et("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":O.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Yn=["translate","rotate","scale"],se=["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(" "),Ls=["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(" "),ra={"--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},Uu=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Ae[e]??O.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Ae).join("|")})`,`origin-(${Object.keys(Ae).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=O.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=O.bracket.cssvar(e)??(e.length>=3?Ae[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Xn],[/^(?:transform-)?translate-([xyz])-(.+)$/,Xn],[/^(?:transform-)?rotate-()(.+)$/,Jn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Jn],[/^(?:transform-)?skew-([xy])-(.+)$/,Ns,{autocomplete:["transform-skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Zn],[/^(?:transform-)?scale-([xyz])-(.+)$/,Zn,{autocomplete:[`transform-(${Yn.join("|")})-<percent>`,`transform-(${Yn.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:se}],["transform-cpu",{transform:se}],["transform-gpu",{transform:Ls}],["transform-none",{transform:"none"}],...ie("transform")];function Xn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??O.bracket.cssvar.fraction.rem(t);if(o!=null)return[...At[e].map(a=>[`--un-translate${a}`,o]),["transform",se]]}function Zn([,e,t]){let r=O.bracket.cssvar.fraction.percent(t);if(r!=null)return[...At[e].map(o=>[`--un-scale${o}`,r]),["transform",se]]}function Jn([,e="",t]){let r=O.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:se}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:se}}function Ns([,e,t]){let r=O.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:se}}var oa={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(",")},na={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"]},aa={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},ia={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},sa={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 rgba(0,0,0,0)",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)"]},ca={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},_t={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},la=_t,Wt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},pa={...Wt},ua={DEFAULT:"1px",none:"0px"},fa={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"},ma={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},da={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ga={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 rgba(0,0,0,0)",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)"},ba={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)"},ha={DEFAULT:"1px",none:"0px"},xa={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ya={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 rgba(0,0,0,0)"},Me={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ft={auto:"auto",...Me,screen:"100vw"},Oe={none:"none",...Me,screen:"100vw"},Ut={auto:"auto",...Me,screen:"100vh"},Pe={none:"none",...Me,screen:"100vh"},va={...ra,...ta,...ea},Lt={width:Ft,height:Ut,maxWidth:Oe,maxHeight:Pe,minWidth:Oe,minHeight:Pe,inlineSize:Ft,blockSize:Ut,maxInlineSize:Oe,maxBlockSize:Pe,minInlineSize:Oe,minBlockSize:Pe,colors:jt,fontFamily:oa,fontSize:na,breakpoints:Wt,verticalBreakpoints:pa,borderRadius:da,lineHeight:ca,letterSpacing:_t,wordSpacing:la,boxShadow:ga,textIndent:aa,textShadow:sa,textStrokeWidth:ia,blur:xa,dropShadow:ya,easing:ba,lineWidth:ua,spacing:fa,duration:ma,ringWidth:ha,preflightBase:va};var Nt={...Lt,animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1% to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",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:{...zo,..._n,...Ln,...Fn,...Vn,...bo,...mo,...bn,...hn}};var $a=[I("svg",e=>({selector:`${e.selector} svg`}))];var ka=[I(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),I(".light",e=>({prefix:`.light $$ ${e.prefix}`})),_("@dark","@media (prefers-color-scheme: dark)"),_("@light","@media (prefers-color-scheme: light)")];var wa=[_("contrast-more","@media (prefers-contrast: more)"),_("contrast-less","@media (prefers-contrast: less)")],Sa=[_("motion-reduce","@media (prefers-reduced-motion: reduce)"),_("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ca=[_("landscape","@media (orientation: landscape)"),_("portrait","@media (orientation: portrait)")];var Ra=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var za=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(De(a,t)||Bs(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function Bs(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?s.bracket.percent(t[1])!=null:!1}var Bt=e=>[za,Ra,...rn(e),...wa,...Ca,...Sa,...$a,...ka];var Ea=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,Ta=(e,t,r)=>{let o=[e,t],n=[];for(let i=0;i<2;++i){let c=typeof o[i]=="string"?ge(o[i]):o[i];if(!c||!["rgb","rgba"].includes(c.type))return;n.push(c)}let a=[];for(let i=0;i<3;++i)a.push(Ea(n[0].components[i],n[1].components[i],r));return{type:"rgb",components:a,alpha:Ea(n[0].alpha??1,n[1].alpha??1,r)}},ja=(e,t)=>Ta("#fff",e,t),Va=(e,t)=>Ta("#000",e,t),Ds=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Va(e,t):ja(e,-r)},Hs={tint:ja,shade:Va,shift:Ds},Aa=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=ge(`${o[1]}`);if(n){let a=Hs[t[1]](n,t[2]);a&&(o[1]=M(a))}}}),r)}};var Ks=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:Nt,rules:Et,shortcuts:Tt,variants:[...Bt(e),Aa],options:e,preflights:pt,prefix:e.prefix}),Oa=Ks;var Dt={"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":"var(--un-prose-font-mono)"},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}};function Pa(e,t,r){let o="";for(let n in r){let a=r[n],i=`:not(:where(.not-${t},.not-${t} *))`,c=n.split(",").map(p=>{let l=p.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(l){let f=l[0];return p=p.replace(f,""),`${e} :where(${p})${i}${f}`}return null}).filter(p=>p);c.length?o+=c.join(","):o+=`${e} :where(${n})${i}`,o+="{";for(let p in a){let l=a[p];o+=`${p}:${l};`}o+="}"}return o}function Ma(e,t,r){return e.startsWith(".")||(e=`:is(${e},.${t})`),r?Pa(e,t,$e(Dt,r)):Pa(e,t,Dt)}function Is(e){e!=null&&e.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Use "selectorName" instead.');let t=!1,r="",o=(e==null?void 0:e.selectorName)||(e==null?void 0:e.className)||"prose",n=new RegExp(`^${o}$`),a=new RegExp(`^${o}-([-\\w]+)$`),i=new RegExp(`^${o}-invert$`),c=e==null?void 0:e.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(p,{rawSelector:l})=>(t=!0,r=st(l),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[a,([,p],{theme:l})=>{var d,m;let f=(d=l.colors)==null?void 0:d[p];if(f==null)return;let u=typeof f=="object"?f:{};return{"--un-prose-body":u[700]??f,"--un-prose-headings":u[900]??f,"--un-prose-links":u[900]??f,"--un-prose-lists":u[400]??f,"--un-prose-hr":u[200]??f,"--un-prose-captions":u[500]??f,"--un-prose-code":u[900]??f,"--un-prose-borders":u[200]??f,"--un-prose-bg-soft":u[100]??f,"--un-prose-invert-body":u[200]??f,"--un-prose-invert-headings":u[100]??f,"--un-prose-invert-links":u[100]??f,"--un-prose-invert-lists":u[500]??f,"--un-prose-invert-hr":u[700]??f,"--un-prose-invert-captions":u[400]??f,"--un-prose-invert-code":u[100]??f,"--un-prose-invert-borders":u[700]??f,"--un-prose-invert-bg-soft":u[800]??f,"--un-prose-font-mono":(m=l.fontFamily)==null?void 0:m.mono}},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],preflights:[{layer:"typography",getCSS:()=>t?Ma(r,o,c):void 0}]}}var Fa=Is;var tt="__TAGIFY__",qs=/<([\w\d-:]+)/g,Ua=e=>{let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:o}){return new Set(Array.from(o.matchAll(qs)).filter(({1:n})=>{for(let a of r)if(typeof a=="string"){if(n===a)return!1}else if(a.test(n))return!1;return n.startsWith(t)}).map(([,n])=>`${tt}${n}`))}}};var _a=e=>{let{extraProperties:t}=e,r=`${tt}${e.prefix??""}`;return{name:"tagify",match(o){if(!o.startsWith(r))return;let n=o.slice(r.length),a={matcher:n,selector:i=>i.slice(tt.length+1)};return t&&(typeof t=="function"?a.body=i=>[...i,...Object.entries(t(n)??{})]:a.body=i=>[...i,...Object.entries(t)]),a}}};function Gs(e={}){let{defaultExtractor:t=!0}=e,r=[_a(e)],o=[Ua(e)];return t&&o.push(re),{name:"@unocss/preset-tagify",variants:r,extractors:o}}var Wa=Gs;var Ys=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),La=e=>e.charAt(0).toUpperCase()+e.slice(1),Na=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),Ba=["Webkit","Moz","ms"];function Da(e){let t={};function r(o){let n=t[o];if(n)return n;let a=Ys(o);if(a!=="filter"&&a in e)return t[o]=Na(a);a=La(a);for(let i=0;i<Ba.length;i++){let c=`${Ba[i]}${a}`;if(c in e)return t[o]=Na(La(c))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Ht(e={}){var w,F;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 g=o.postprocess;g||(g=[]),Array.isArray(g)||(g=[g]),g.unshift(Da(document.createElement("div").style)),o.postprocess=g}(w=r==null?void 0:r.configResolved)==null||w.call(r,t,o);let n,a=!0,i,c=sr(t,o),p=new Set,l,f=[],u=()=>new Promise(g=>{f.push(g),l!=null&&clearTimeout(l),l=setTimeout(()=>m().then(()=>{let C=f;f=[],C.forEach(W=>W())}),0)});function d(g=document.body){if(g.nodeType!==1)return;let C=g;C.hasAttribute("un-cloak")&&C.removeAttribute("un-cloak"),C.querySelectorAll("[un-cloak]").forEach(W=>{W.removeAttribute("un-cloak")})}async function m(){let g=await c.generate(p);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=g.css,p=g.matched}async function h(g){let C=p.size;await c.applyExtractors(g,void 0,p),C!==p.size&&await u()}async function x(){let g=document.body&&document.body.outerHTML;g&&(await h(g),d())}let j=new MutationObserver(g=>{a||g.forEach(async C=>{if(C.target.nodeType!==1)return;let W=C.target;if(W!==n)if(C.type==="childList")C.addedNodes.forEach(async te=>{if(te.nodeType!==1)return;let J=te;i&&!i(J)||(await h(J.outerHTML),d(J))});else{if(i&&!i(W))return;if(C.attributeName!=="un-cloak"){let te=Array.from(W.attributes).map(E=>E.value?`${E.name}="${E.value}"`:E.name).join(" "),J=`<${W.tagName.toLowerCase()} ${te}>`;await h(J)}W.hasAttribute("un-cloak")&&W.removeAttribute("un-cloak")}})}),y=!1;function T(){if(y)return;let g=document.documentElement||document.body;!g||(j.observe(g,{childList:!0,subtree:!0,attributes:!0}),y=!0)}function V(){x(),T()}function k(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",V):V()}let R=window.__unocss_runtime=window.__unocss_runtime={version:c.version,uno:c,async extract(g){typeof g!="string"&&(g.forEach(C=>p.add(C)),g=""),await h(g)},extractAll:x,inspect(g){i=g},toggleObserver(g){g===void 0?a=!a:a=!!g,!y&&!a&&k()}};((F=r==null?void 0:r.ready)==null?void 0:F.call(r,R))!==!1&&(a=!1,k())}Ht({defaults:{presets:[dr(),Oa(),Fa(),Wa()]}});})();
1
+ "use strict";(()=>{var ci=Object.defineProperty;var li=(e,t)=>{for(var r in t)ci(e,r,{get:t[r],enumerable:!0})};function Y(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ce(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 qe=Ce;function F(e=[]){return Array.isArray(e)?e:[e]}function fe(e){return Array.from(new Set(e))}function M(e){return typeof e=="string"}function de(e){return M(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function ir(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>de(t)):[e]:[de(e)]}function pi(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 me(e){return e==null?"":pi(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ge(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ze(e,t){let r=e,o=t;if(Array.isArray(r))return[...o];let n={...r};return Ge(r)&&Ge(o)&&Object.keys(o).forEach(a=>{Ge(r[a])&&Ge(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?n[a]=ze(r[a],o[a]):Object.assign(n,{[a]:o[a]})}),n}function Re(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?Re(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Re(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?Re(o):o;return r}return e}function sr(e){return M(e[0])}function cr(e){return M(e[0])}var ui=/^\[(.+?)~?="(.*)"\]$/;var fi=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,bt="$$shortcut-no-merge";function lr(e){return e.match(ui)}function je(e=""){return fi.test(e)}function pr(e){return typeof e=="function"?{match:e}:e}function gt(e){return e.length===3}function ur(e){return e!=null}function ht(){}var Ye=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 fr=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function dr(e,t=["-",":"]){fr.lastIndex=0;let r=!1,o=e.toString();do{let n=o;o=o.replace(fr,(a,i,c,p)=>t.includes(c)?p.split(/\s/g).filter(Boolean).map(l=>l==="~"?i:l.replace(/^(!?)(.*)/,`$1${i}${c}$2`)).join(" "):a),r=o!==n}while(r);return typeof e=="string"?o:e.overwrite(0,e.length(),o)}var mr=new Set;function br(e){mr.has(e)||(console.warn("[unocss]",e),mr.add(e))}function Xe(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 c=e[i](o);if(c!=null)return c}};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 di=e=>e.split(/[\s'"`;=]+/g).filter(je),se={name:"split",order:0,extract({code:e}){return new Set(di(e))}};function gr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}var Ze="default",Je="preflights",mi="shortcuts",hr={[Je]:-100,[mi]:-10,[Ze]:0};function xr(e){return F(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}function bi(e){var r;let t=e.shortcuts?xr(e.shortcuts):void 0;if(e.shortcuts=t,e.prefix||e.layer){let o=n=>{n[2]||(n[2]={});let a=n[2];a.prefix==null&&e.prefix&&(a.prefix=e.prefix),a.layer==null&&e.layer&&(a.prefix=e.layer)};t==null||t.forEach(o),(r=e.rules)==null||r.forEach(o)}return e}function xt(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(F).map(bi),n=[...o.filter(d=>d.enforce==="pre"),...o.filter(d=>!d.enforce),...o.filter(d=>d.enforce==="post")],a=Object.assign(hr,...o.map(d=>d.layers),e.layers);function i(d){return fe([...n.flatMap(x=>F(x[d]||[])),...F(r[d]||[])])}let c=i("extractors");c.length||c.push(se),c.sort((d,x)=>(d.order||0)-(x.order||0));let p=i("rules"),l={},f=p.length;p.forEach((d,x)=>{var y;if(sr(d)){let A=((y=d[2])==null?void 0:y.prefix)||"";l[A+d[0]]=[x,d[1],d[2],d],delete p[x]}});let u=Re([...n.map(d=>d.theme||{}),r.theme||{}].reduce((d,x)=>ze(d,x),{}));i("extendTheme").forEach(d=>d(u));let m={templates:fe(n.map(d=>{var x;return F((x=d.autocomplete)==null?void 0:x.templates)}).flat()),extractors:n.map(d=>{var x;return F((x=d.autocomplete)==null?void 0:x.extractors)}).flat().sort((d,x)=>(d.order||0)-(x.order||0))};return{mergeSelectors:!0,warn:!0,blocklist:[],sortLayers:d=>d,...r,presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:u,rulesSize:f,rulesDynamic:p,rulesStaticMap:l,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:m,variants:i("variants").map(pr),shortcuts:xr(i("shortcuts")),extractors:c,safelist:i("safelist")}}var yr="0.45.1";var yt=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=xt(t,r),this.events.emit("config",this.config)}version=yr;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=gr();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=xt(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(c=>o.add(c))}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 p;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 l of this.config.preprocess)n=l(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 c=this.expandShortcut(i.currentSelector,i);if(c){let l=await this.stringifyShortcuts(i.variantMatch,i,c[0],c[1]);if(l!=null&&l.length)return this._cache.set(o,l),l}else{let l=(p=await this.parseUtil(i.variantMatch,i))==null?void 0:p.map(f=>this.stringifyUtil(f,i)).filter(ur);if(l!=null&&l.length)return this._cache.set(o,l),l}this._cache.set(o,null)}async generate(t,r={}){let{id:o,scope:n,preflights:a=!0,safelist:i=!0,minify:c=!1}=r,p=M(t)?await this.applyExtractors(t,o):Array.isArray(t)?new Set(t):t;i&&this.config.safelist.forEach(w=>p.add(w));let l=c?"":`
2
+ `,f=new Set([Ze]),u=new Set,m=new Map,d={},x=Array.from(p).map(async w=>{var S;if(u.has(w))return;let z=await this.parseToken(w);if(z!=null){u.add(w);for(let _ of z){let b=_[3]||"",R=(S=_[4])==null?void 0:S.layer;m.has(b)||m.set(b,[]),m.get(b).push(_),R&&f.add(R)}}}),y=(async()=>{if(!a)return;let w={generator:this,theme:this.config.theme},z=new Set([]);this.config.preflights.forEach(({layer:S=Je})=>{f.add(S),z.add(S)}),d=Object.fromEntries(await Promise.all(Array.from(z).map(async S=>{let b=(await Promise.all(this.config.preflights.filter(R=>(R.layer||Je)===S).map(async R=>await R.getCSS(w)))).filter(Boolean).join(l);return[S,b]})))})();await Promise.all([...x,y]);let A=this.config.sortLayers(Array.from(f).sort((w,z)=>(this.config.layers[w]??0)-(this.config.layers[z]??0)||w.localeCompare(z))),$={},T=w=>{if($[w])return $[w];let z=Array.from(m).sort((_,b)=>{var R;return(this.parentOrders.get(_[0])??0)-(this.parentOrders.get(b[0])??0)||((R=_[0])==null?void 0:R.localeCompare(b[0]||""))||0}).map(([_,b])=>{let R=b.length,D=b.filter(E=>{var B;return(((B=E[4])==null?void 0:B.layer)||Ze)===w}).sort((E,B)=>{var I,we,Se,K;return E[0]-B[0]||(((I=E[4])==null?void 0:I.sort)||0)-(((we=B[4])==null?void 0:we.sort)||0)||((Se=E[1])==null?void 0:Se.localeCompare(B[1]||""))||((K=E[2])==null?void 0:K.localeCompare(B[2]||""))||0}).map(([,E,B,,I])=>[[[(E&&xi(E,n))??"",(I==null?void 0:I.sort)??0]],B,!!(I!=null&&I.noMerge)]);if(!D.length)return;let ie=D.reverse().map(([E,B,I],we)=>{if(!I&&this.config.mergeSelectors)for(let K=we+1;K<R;K++){let G=D[K];if(G&&!G[2]&&(E&&G[0]||E==null&&G[0]==null)&&G[1]===B)return E&&G[0]&&G[0].push(...E),null}let Se=E?fe(E.sort((K,G)=>{var ar;return K[1]-G[1]||((ar=K[0])==null?void 0:ar.localeCompare(G[0]||""))||0}).map(K=>K[0]).filter(Boolean)):[];return Se.length?`${Se.join(`,${l}`)}{${B}}`:B}).filter(Boolean).reverse().join(l);if(!_)return ie;let re=_.split(" $$ ");return`${re.join("{")}{${l}${ie}${l}}${re.map(E=>"").join("}")}`}).filter(Boolean).join(l);a&&(z=[d[w],z].filter(Boolean).join(l));let S=c?"":`/* layer: ${w} */${l}`;return $[w]=z?S+z:""},O=(w=A,z)=>w.filter(S=>!(z!=null&&z.includes(S))).map(S=>T(S)||"").filter(Boolean).join(l);return{get css(){return O()},layers:A,matched:u,getLayers:O,getLayer:T}}matchVariants(t,r){let o=new Set,n=[],a=r||t,i=!1,c={rawSelector:t,theme:this.config.theme,generator:this};for(;;){i=!1;for(let p of this.config.variants){if(!p.multiPass&&o.has(p))continue;let l=p.match(a,c);if(!!l){M(l)&&(l={matcher:l}),a=l.matcher,n.unshift(l),o.add(p),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 a=[...r].sort((l,f)=>(l.order||0)-(f.order||0)).reverse().reduce((l,f)=>u=>{var x,y;let m=((x=f.body)==null?void 0:x.call(f,u.entries))||u.entries,d=Array.isArray(f.parent)?f.parent:[f.parent,void 0];return(f.handle??$i)({...u,entries:m,selector:((y=f.selector)==null?void 0:y.call(f,u.selector,m))||u.selector,parent:d[0]||u.parent,parentOrder:d[1]||u.parentOrder,layer:f.layer||u.layer,sort:f.sort||u.sort},l)},l=>l)({prefix:"",selector:$t(o),pseudo:"",entries:t[2]}),{parent:i,parentOrder:c}=a;i!=null&&c!=null&&this.parentOrders.set(i,c);let p={selector:yi([a.prefix,a.selector,a.pseudo].join("")),entries:a.entries,parent:i,layer:a.layer,sort:a.sort};for(let l of this.config.postprocess)l(p);return p}constructCustomCSS(t,r,o){let n=de(r);if(M(n))return n;let{selector:a,entries:i,parent:c}=this.applyVariants([0,o||t.rawSelector,n,void 0,t.variantHandlers]),p=`${a}{${me(i)}}`;return c?`${c}{${p}}`:p}async parseUtil(t,r,o=!1){var u,m;let[n,a,i]=M(t)?this.matchVariants(t):t,c=this.config.details?d=>{r.rules=r.rules??[],r.rules.push(d)}:ht,p=this.config.rulesStaticMap[a];if(p&&p[1]&&(o||!((u=p[2])!=null&&u.internal))){c(p[3]);let d=p[0],x=de(p[1]),y=p[2];return M(x)?[[d,x,y]]:[[d,n,x,y,i]]}r.variantHandlers=i;let{rulesDynamic:l,rulesSize:f}=this.config;for(let d=f-1;d>=0;d--){let x=l[d];if(!x||((m=x[2])==null?void 0:m.internal)&&!o)continue;let[y,A,$]=x;if(($==null?void 0:$.prefix)&&!a.startsWith($.prefix))continue;let O=($!=null&&$.prefix?a.slice($.prefix.length):a).match(y);if(!O)continue;let w=await A(O,r);if(!w)continue;c(x);let z=ir(w).filter(S=>S.length);if(z.length)return z.map(S=>M(S)?[d,S,$]:[d,n,S,$,i])}}stringifyUtil(t,r){if(!t)return;if(gt(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:c}=this.applyVariants(t),p=me(n);if(!p)return;let{layer:l,sort:f,...u}=t[3]??{},m={...u,layer:i??l,sort:c??f};return[t[0],o,p,a,m,this.config.details?r:void 0]}expandShortcut(t,r,o=5){var c;if(o===0)return;let n=this.config.details?p=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(p)}:ht,a,i;for(let p of this.config.shortcuts){let l=(c=p[2])!=null&&c.prefix?t.slice(p[2].prefix.length):t;if(cr(p)){if(p[0]===l){a=a||p[2],i=p[1],n(p);break}}else{let f=l.match(p[0]);if(f&&(i=p[1](f,r)),i){a=a||p[2],n(p);break}}}if(M(i)&&(i=dr(i).split(/\s+/g)),!i){let[p,l]=M(t)?this.matchVariants(t):t;if(p!==l){let f=this.expandShortcut(l,r,o-1);f&&(i=f[0].map(u=>M(u)?p.replace(l,u):u))}}if(!!i)return[i.flatMap(p=>{var l;return(M(p)?(l=this.expandShortcut(p,r,o-1))==null?void 0:l[0]:void 0)||[p]}).filter(Boolean),a]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var f;let a=new Ye,i=(await Promise.all(fe(o).map(async u=>{let m=M(u)?await this.parseUtil(u,r,!0):[[1/0,"{inline}",de(u),void 0,[]]];return m||br(`unmatched utility "${u}" in shortcut "${t[1]}"`),m||[]}))).flat(1).filter(Boolean).sort((u,m)=>u[0]-m[0]),[c,,p]=t,l=[];for(let u of i){if(gt(u)){l.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:m,entries:d,parent:x,sort:y}=this.applyVariants(u,[...u[4],...p],c);a.getFallback(m,x,[[],u[0]])[0].push([d,!!((f=u[3])!=null&&f.noMerge),y??0])}return l.concat(a.map(([u,m],d,x)=>{let y=($,T,O)=>{let w=Math.max(...O.map(S=>S[1])),z=O.map(S=>S[0]);return($?[z.flat(1)]:z).map(S=>{let _=me(S);if(_)return[m,d,_,x,{...n,noMerge:T,sort:w},r]})};return[[u.filter(([,$])=>$).map(([$,,T])=>[$,T]),!0],[u.filter(([,$])=>!$).map(([$,,T])=>[$,T]),!1]].map(([$,T])=>[...y(!1,T,$.filter(([O])=>O.some(w=>w[0]===bt))),...y(!0,T,$.filter(([O])=>O.every(w=>w[0]!==bt)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>M(r)?r===t:r.test(t))}};function vr(e,t){return new yt(e,t)}var kr=/ \$\$ /,hi=e=>e.match(kr);function xi(e,t){return hi(e)?e.replace(kr,t?` ${t} `:" "):t?`${t} ${e}`:e}function yi(e){let t=e.match(/::[\w-]+(\([\w-]+\))?/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var $r=/^\[(.+?)(~?=)"(.*)"\]$/;function $t(e){return $r.test(e)?e.replace($r,(t,r,o,n)=>`[${qe(r)}${o}"${qe(n)}"]`):`.${qe(e)}`}function $i(e,t){return t(e)}var vt=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,wr=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,o=e.trueToNonValued??!1;return{name:"attributify",match(n){let a=lr(n);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let c=a[2],[,p="",l=c]=c.match(vt)||[];return l==="~"||o&&l==="true"||!l?`${p}${i}`:`${p}${i}-${l}`}}};var vi=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,ki=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,Sr=/[\s'"`;>]+/,Cr={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(vi),o,n=0;for(let y of r){let[,A,$]=y,T=y.index+A.length;if(t>T&&t<=T+$.length){n=T,o=$;break}}if(!o)return null;let a=o.matchAll(ki),i=0,c,p;for(let y of a){let[A,$,T]=y,O=n+y.index;if(t>O&&t<=O+A.length){i=O,c=$,p=T==null?void 0:T.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;if(p===void 0)return{extracted:c,resolveReplacement(y){return{start:i,end:i+c.length,replacement:y}}};let l=i+c.length+2,f=Sr.exec(p),u=0,m;for(;f;){let[y]=f;if(t>l+u&&t<=l+u+f.index){m=p.slice(u,u+f.index);break}u+=f.index+y.length,f=Sr.exec(p.slice(u))}m===void 0&&(m=p.slice(u));let[,d="",x]=m.match(vt)||[];return{extracted:`${d}${c}-${x}`,transformSuggestions(y){return y.filter(A=>A.startsWith(`${d}${c}-`)).map(A=>d+A.slice(d.length+c.length+1))},resolveReplacement(y){return{start:u+l,end:u+l+m.length,replacement:d+y.slice(d.length+c.length+1)}}}}};var wi=["v-bind:",":"],Rr=/[\s'"`;]+/g,Si=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,Ci=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:={?(["'])([^\2]*?)\2}?)?/g,kt=["placeholder"],zr=e=>{let t=(e==null?void 0:e.ignoreAttributes)??kt,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(Si)).flatMap(i=>Array.from((i[1]||"").matchAll(Ci))).flatMap(([,i,c,p])=>{if(t.includes(i))return[];for(let l of wi)if(i.startsWith(l)){i=i.slice(l.length);break}if(!p){if(je(i)&&r!==!1){let l=[`[${i}=""]`];return o&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?p.split(Rr).filter(je):p.split(Rr).filter(Boolean).map(l=>`[${i}~="${l}"]`)});return new Set(a)}}};var Ri=(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??kt;let t=[wr(e)],r=[zr(e)],o=[Cr];return e.strict||r.unshift(se),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},jr=Ri;var wt=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase){let t=me(Object.entries(e.theme.preflightBase));return`*,::before,::after{${t}}::backdrop{${t}}`}}}];var L={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"]},St={...L,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"]},Ct={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"]},Rt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Er=["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"],P=Object.assign({},...Er.map(e=>({[e.replace(/ /,"-")]:e})),...Er.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),v=["inherit","initial","revert","revert-layer","unset"];var Tr={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",...Object.fromEntries(v.map(e=>[e,e]))},Ar=[[/^(?:vertical|align|v)-([-\w]+)$/,([,e])=>({"vertical-align":Tr[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(Tr).join("|")})`}]],Vr=["center","left","right","justify","start","end",...v].map(e=>[`text-${e}`,{"text-align":e}]);var jt={};li(jt,{auto:()=>Ei,bracket:()=>Mi,bracketOfColor:()=>Ui,bracketOfLength:()=>_i,bracketOfPosition:()=>Li,cssvar:()=>Wi,degree:()=>Bi,fraction:()=>Pi,global:()=>Ni,number:()=>Vi,numberWithUnit:()=>ji,percent:()=>Oi,position:()=>Ii,properties:()=>Hi,px:()=>Ai,rem:()=>Ti,time:()=>Di});var be=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,Or=/^(-?[0-9.]+)$/i,zt=/^(px)$/i;var zi=["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"];function N(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ji(e){let t=e.match(be);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${N(n)}${o}`}function Ei(e){if(e==="auto"||e==="a")return"auto"}function Ti(e){if(e.match(zt))return`1${e}`;let t=e.match(be);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n/4)}rem`}function Ai(e){if(e.match(zt))return`1${e}`;let t=e.match(be);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}px`}function Vi(e){if(!Or.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return N(t)}function Oi(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${N(t/100)}`}function Pi(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 Fi=/^\[(color|length|position):/i;function Qe(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(Fi);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r)return;let n=0;for(let a of r)if(a==="[")n+=1;else if(a==="]"&&(n-=1,n<0))return;return n?void 0:r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function Mi(e){return Qe(e)}function Ui(e){return Qe(e,"color")}function _i(e){return Qe(e,"length")}function Li(e){return Qe(e,"position")}function Wi(e){if(e.match(/^\$\S/))return`var(--${Ce(e.slice(1))})`}function Di(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 Bi(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 Ni(e){if(v.includes(e))return e}function Hi(e){if(e.split(",").every(t=>zi.includes(t)))return e}function Ii(e){if(["top","left","right","bottom","center"].includes(e))return e}var s=Xe(jt);var Pr="$$mini-no-negative";function j(e){return([t,r,o],{theme:n})=>{var i;let a=((i=n.spacing)==null?void 0:i[o||"DEFAULT"])??s.bracket.cssvar.global.auto.fraction.rem(o);if(a!=null)return L[r].map(c=>[`${e}${c}`,a])}}function Et(e,t){let r=e.colors,o=-1;for(let n of t){if(o+=1,r&&typeof r!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,i=>i.slice(1).toUpperCase());if(r[a])return r[a];if(r[n]){r=r[n];continue}}return}return r}function ge(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 c,p=s.bracketOfColor(o),l=p||o;l.match(/^#[\da-fA-F]+/g)?c=l:l.match(/^hex-[\da-fA-F]+/g)?c=`#${l.slice(4)}`:o.startsWith("$")&&(c=s.cssvar(o)),c=c||p;let f="DEFAULT";if(!c){let u,[m]=a.slice(-1);m.match(/^\d+$/)?(f=m,u=Et(t,a.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[f]):(u=Et(t,a),!u&&a.length<=2&&([,f=f]=a,u=Et(t,[i])),typeof u=="string"?c=u:f&&u&&(c=u[f]))}return{opacity:n,name:i,no:f,color:c,cssColor:ye(c),alpha:s.bracket.cssvar.percent(n??"")}}function C(e,t,r){return([,o],{theme:n})=>{let a=ge(o,n);if(!a)return;let{alpha:i,color:c,cssColor:p}=a,l={};if(p?i!=null?l[e]=U(p,i):(l[`--un-${t}-opacity`]=ce(p),l[e]=U(p,`var(--un-${t}-opacity)`)):c&&(l[e]=U(c,i)),(r==null?void 0:r(l))!==!1)return l}}function he(e,t){let r=[];e=F(e);for(let o=0;o<e.length;o++){let n=Ee(e[o]," ",6);if(!n||n.length<3)return e;let a=ye(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${U(a)})`)}return r}function et(e,t){var r;return e!=null&&!!((r=ge(e,t))!=null&&r.color)}function xe({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r}function Fr({theme:e,generator:t}){let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r}function g(e,t){return v.map(r=>[`${e}-${r}`,{[t??e]:r}])}function Tt(e,t,r,o){if(e==="")return;let n=e.length,a=0;for(let i=0;i<n;i++)switch(e[i]){case t:a++;break;case r:if(--a<0)return;break;case o:if(a===0)return i===0||i===n-1?void 0:[e.slice(0,i),e.slice(i+1)]}return[e,""]}function Ee(e,t,r){if(t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Tt(e,"(",")",t);if(!a)return;let[i,c]=a;o.push(i),e=c}if(o.length>0)return o}var At=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Mr=["%alpha","<alpha-value>"],Ki=new RegExp(Mr.map(e=>Y(e)).join("|"));function ye(e=""){let t=qi(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)&&!(At.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o.map(i=>typeof i=="string"?i.trim():i),alpha:typeof n=="string"?n.trim():n}}function ce(e){let t=e.alpha??1;return typeof t=="string"&&Mr.includes(t)?1:t}function U(e,t){if(typeof e=="string")return e.replace(Ki,`${t??1}`);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}`,At.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function qi(e){if(!e)return;let t=Gi(e);if(t!=null||(t=Yi(e),t!=null)||(t=Xi(e),t!=null)||(t=Ji(e),t!=null)||(t=Qi(e),t!=null))return t}function Gi(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 Yi(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Xi(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=Ee(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(`^(${At.join("|")})\\((.+)\\)$`,"i");function Ji(e){let t=e.match(Zi);if(!t)return;let[,r,o]=t,n=Ur(`${r} ${o}`);if(n){let{alpha:a,components:[i,...c]}=n;return{type:i,components:c,alpha:a}}}function Qi(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Ur(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Ur(e){let t=Ee(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let a=t.splice(r-2);t.push(a.join(" ")),--r}let o=Ee(t[r-1],"/",2);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}}var q=(e,t)=>{let r=new RegExp(`^${Y(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),handle:(a,i)=>i({...a,...t(a)})}},autocomplete:`${e}:`}},W=(e,t)=>{let r=new RegExp(`^${Y(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),handle:(a,i)=>i({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}};var _r=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??s.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,C("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])??s.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...v].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Lr=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],es=e=>s.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],Wr=[[/^will-change-(.+)/,([,e])=>({"will-change":es(e)})]];var le=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...v],Dr=[[/^(?:border|b)()(?:-(.+))?$/,Te,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Te],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Te],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Te],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Te],[/^(?:border|b)-()(?:width|size)-(.+)$/,$e,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,$e],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,$e],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,$e],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,$e],[/^(?:border|b)-()(?:color-)?(.+)$/,Ae,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ae],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ae],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ae],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ae],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ve,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ve],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ve],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ve],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ve],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Oe,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,Oe],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Oe],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,Oe],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Oe],[/^(?:border|b)-(?:style-)?()(.+)$/,oe,{autocomplete:["(border|b)-style",`(border|b)-(${le.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${le.join("|")})`,`(border|b)-<directions>-style-(${le.join("|")})`,`(border|b)-style-(${le.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,oe],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,oe],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,oe],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,oe]],ts=e=>([,t],r)=>{let o=ge(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${e}-color`]:U(i,n)}:e===""?{"--un-border-opacity":ce(i),"border-color":U(i,"var(--un-border-opacity)")}:{"--un-border-opacity":ce(i),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:U(i,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:U(a,n)}};function Te(e,t){let r=$e(e,t),o=oe(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function $e([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.global.px(t||"1");if(e in L&&o!=null)return L[e].map(a=>[`border${a}-width`,o])}function Ae([,e="",t],{theme:r}){if(e in L&&et(t,r))return Object.assign({},...L[e].map(o=>ts(o)(["",t],r)))}function Ve([,e="",t]){let r=s.bracket.percent(t);if(e in L&&r!=null)return L[e].map(o=>[`--un-border${o}-opacity`,r])}function Oe([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||s.bracket.cssvar.global.fraction.rem(t||"1");if(e in Ct&&o!=null)return Ct[e].map(a=>[`border${a}-radius`,o])}function oe([,e="",t]){if(le.includes(t)&&e in L)return L[e].map(r=>[`border${r}-style`,t])}var Br=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:s.bracket.percent.cssvar(e)})]],Nr=[[/^(?:color|c)-(.+)$/,C("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^text-(.+)$/,C("color","text",e=>{var t;return!((t=e.color)!=null&&t.toString().match(be))}),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":s.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],Hr=[[/^bg-(.+)$/,C("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":s.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var tt={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},Ir=e=>s.properties(e)??tt[e],Kr=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?Ir(e):[tt.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??s.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(tt).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??s.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"])??s.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"])??s.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":s.bracket.global(e)||Ir(e)}),{autocomplete:[`transition-property-(${[...v,...Object.keys(tt)].join("|")})`]}],["transition-none",{transition:"none"}],...g("transition")];var qr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:s.bracket(e)!=null?s.bracket(e).split(" ").map(t=>s.cssvar.fraction(t)??t).join(" "):s.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":s.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":s.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??s.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Gr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Yr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||s.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=F((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":s.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n;let r=F((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??s.bracket.cssvar.global.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Gr[e]||s.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Gr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||s.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":s.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||s.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])||s.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],Xr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=s.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Zr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],Jr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,C("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":s.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Qr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":he(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":s.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,C("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":s.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var eo={"":"",x:"column-",y:"row-"},to=([,e="",t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??s.bracket.cssvar.global.rem(t);if(o!=null)return{[`grid-${eo[e]}gap`]:o,[`${eo[e]}gap`]:o}},ro=[[/^(?:flex-|grid-)?gap-?()(.+)$/,to,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,to,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var X=e=>e.replace("col","column"),Vt=e=>e[0]==="r"?"Row":"Column",rs=(e,t,r)=>{var n;let o=(n=t[`gridAuto${Vt(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 s.bracket.cssvar.auto.rem(r)},oo=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-${X(e)}`]:((o=r[`grid${Vt(e)}`])==null?void 0:o[t])??s.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${X(e)}`]:"1/-1"};let r=s.bracket.number(t);if(r!=null)return{[`grid-${X(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${X(e)}-start`]:s.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${X(e)}-end`]:s.bracket.cssvar(t)??t}),{autocomplete:["grid-(row|col)-(start|end)-<num>"]}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${X(e)}`]:rs(e,r,t)}),{autocomplete:["grid-auto-(rows|cols)-<num>"]}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":s.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":X(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-template-${X(e)}`]:((o=r[`gridTemplate${Vt(e)}`])==null?void 0:o[t])??s.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${X(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${X(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:["grid-(rows|cols)-<num>","grid-(rows|cols)-none"]}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var rt=["auto","hidden","clip","visible","scroll",...v],no=[[/^(?:overflow|of)-(.+)$/,([,e])=>rt.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${rt.join("|")})`,`(overflow|of)-(x|y)-(${rt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>rt.includes(t)?{[`overflow-${e}`]:t}:void 0]];var ao=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>v.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],io=[["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"}],...g("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],...g("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],...g("justify-self")],so=[[/^order-(.+)$/,([,e])=>({order:s.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],co=[["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"}],...g("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],...g("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],...g("self","align-self")],lo=[["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"}],...g("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],...g("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],...g("place-self")];function Ot(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??s.bracket.cssvar.global.auto.fraction.rem(e)}function ot([,e,t],r){let o=Ot(t,r);if(o!=null&&e in St)return St[e].map(n=>[n.slice(1),o])}var po=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Ot(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])-(.+)$/,ot],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ot],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ot],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ot],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Ot(t,r)})]],uo=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...g("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...g("clear")],fo=[[/^z([\d.]+)$/,([,e])=>({"z-index":s.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":s.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],mo=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...g("box","box-sizing")];var os=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],k=" ",bo=[["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:s.bracket.cssvar.global(e)||e})]],go=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...g("backface","backface-visibility")],ho=[[/^cursor-(.+)$/,([,e])=>({cursor:s.bracket.cssvar.global(e)})],...os.map(e=>[`cursor-${e}`,{cursor:e}])],xo=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...g("pointer-events")],yo=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...g("resize")],$o=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}],...g("select","user-select")],vo=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...v].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ko=[[/^content-\[(.+)\]$/,([,e])=>({content:`"${e}"`})],[/^content-(\$.+)]$/,([,e])=>({content:s.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:'""'}]],wo=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],So=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Co=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...g("case","text-transform")],Ro=[["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"}]],zo=[["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 jo={"--un-ring-inset":k,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 rgba(0,0,0,0)"},Eo=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??s.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??s.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])??s.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,C("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":s.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,C("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":s.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var To={"--un-ring-offset-shadow":"0 0 rgba(0,0,0,0)","--un-ring-shadow":"0 0 rgba(0,0,0,0)","--un-shadow-inset":k,"--un-shadow":"0 0 rgba(0,0,0,0)"},Ao=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":he(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,C("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":s.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var ns={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Pe(e,t){return`${e||""}${ns[t]}`}function Vo(e,t,r,o){var i;let n=Pe(e,t).replace(/-(\w)/g,(c,p)=>p.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 s.bracket.cssvar.global.auto.fraction.rem(o)}var Oo=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[Pe(e,t)]:Vo(e,t,o,r)})],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[Pe(e,t)]:Vo(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[Pe(e,t)]:(n=Fr(o))==null?void 0:n[r]}}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[Pe(e,t)]:(n=xe(o))==null?void 0:n[r]}},{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function as(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return s.bracket.cssvar.global.auto.number(e)}var Po=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":as(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Fo=[[/^pa?()-?(-?.+)$/,j("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,j("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,j("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,j("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,j("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,j("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Mo=[[/^ma?()-?(-?.+)$/,j("margin")],[/^m-?xy()()$/,j("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,j("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,j("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,j("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,j("margin")]];var Uo=["translate","rotate","scale"],pe=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),is=["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(" "),Do={"--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},Bo=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":P[e]??s.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(P).join("|")})`,`origin-(${Object.keys(P).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=s.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=s.bracket.cssvar(e)??(e.length>=3?P[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,_o],[/^(?:transform-)?translate-([xyz])-(.+)$/,_o],[/^(?:transform-)?rotate-()(.+)$/,Wo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Wo],[/^(?:transform-)?skew-([xy])-(.+)$/,ss,{autocomplete:["transform-skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Lo],[/^(?:transform-)?scale-([xyz])-(.+)$/,Lo,{autocomplete:[`transform-(${Uo.join("|")})-<percent>`,`transform-(${Uo.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:pe}],["transform-cpu",{transform:pe}],["transform-gpu",{transform:is}],["transform-none",{transform:"none"}],...g("transform")];function _o([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??s.bracket.cssvar.fraction.rem(t);if(o!=null)return[...Rt[e].map(a=>[`--un-translate${a}`,o]),["transform",pe]]}function Lo([,e,t]){let r=s.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Rt[e].map(o=>[`--un-scale${o}`,r]),["transform",pe]]}function Wo([,e="",t]){let r=s.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:pe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:pe}}function ss([,e,t]){let r=s.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:pe}}var cs={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"},No=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=cs[e];if(r)return{[r]:s.cssvar(t)}}]],Ho=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:s.bracket(`[${t}]`)})]];var Io=[[/^(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 Ko=["solid","double","dotted","dashed","wavy",...v],qo=[[/^(?: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])??s.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=C("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":s.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])??s.auto.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ko.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ko.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Go=[[/^fill-(.+)$/,C("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":s.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])??s.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":s.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])??s.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,C("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":s.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 Pt={},Yo=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}`},Xo={name:"breakpoints",match(e,t){let r=Object.entries(xe(t)??{}).map(([o,n],a)=>[o,n,a]);for(let[o,n,a]of r){Pt[o]||(Pt[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let i=e.match(Pt[o]);if(!i)continue;let[,c]=i,p=e.slice(c.length);if(p==="container")continue;let l=c.startsWith("lt-"),f=c.startsWith("at-"),u=1e3;return l?(u-=a+1,{matcher:p,handle:(m,d)=>d({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${Yo(n)})`,parentOrder:u})}):(u+=a+1,f&&a<r.length-1?{matcher:p,handle:(m,d)=>d({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${n}) and (max-width: ${Yo(r[a+1][1])})`,parentOrder:u})}:{matcher:p,handle:(m,d)=>d({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${n})`,parentOrder:u})})}},multiPass:!0,autocomplete:"(at-|lt-|)$breakpoints:"};var Q=(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]??"*")}},multiPass:!0}},Zo=[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 Jo=W("print","@media print"),Qo={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),handle:(a,i)=>i({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${n}`})}}},multiPass:!0};var en=(e={})=>{if((e==null?void 0:e.dark)==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[q("dark",o=>({prefix:`${t} $$ ${o.prefix}`})),q("light",o=>({prefix:`${r} $$ ${o.prefix}`}))]}return[W("dark","@media (prefers-color-scheme: dark)"),W("light","@media (prefers-color-scheme: light)")]};var tn=[q("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),q("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];var rn={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},on={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),handle:(r,o)=>o({...r,parent:`${r.parent?`${r.parent} $$ `:""}@layer ${t[1]}`})}}},nn={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]}}},an={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}`}}},sn={name:"variables",match(e){if(!e.startsWith("["))return;let[t,r]=Tt(e,"[","]",":")??[];if(!(t&&r&&r!==""))return;let o=s.bracket(t)??"";if(!!(o.startsWith("@")||o.includes("&")))return{matcher:r,handle(n,a){let i=o.startsWith("@")?{parent:`${n.parent?`${n.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,n.selector)};return a({...n,...i})}}},multiPass:!0};var cn=/[0-9.]+(?:[a-z]+|%)?/,ls=[/opacity|color|flex/],ln={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(o=>o[0]===Pr))return;let r=!1;return t.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||ls.some(i=>o[0].match(i))||cn.test(n)&&(o[1]=n.replace(cn,i=>`-${i}`),r=!0)}),r?t:[]}}}};var pn={name:"important",match(e){let t,r=e.match(/^(important[:-]|!)/);if(r?t=e.slice(r[0].length):e.endsWith("!")&&(t=e.slice(0,-1)),t)return{matcher:t,body:o=>(o.forEach(n=>{n[1]&&(n[1]+=" !important")}),o)}}};var Me=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}`])),Ue=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ps=["not","is","where","has"],Ft=Object.entries(Me).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Mt=Object.entries(Ue).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),Fe=ps.join("|"),un=e=>{if(e==="active")return 1},nt=(e,t,r)=>{let o=new RegExp(`^(${Y(t)}:)(\\S+)${Y(r)}\\1`),n=new RegExp(`^${e}-((?:(${Fe})-)?(${Ft}))[:-]`),a=new RegExp(`^${e}-((?:(${Fe})-)?(${Mt}))[:]`);return{name:`pseudo:${e}`,match(i){let c=i.match(n)||i.match(a);if(c){let p=Me[c[3]]||Ue[c[3]]||`:${c[3]}`;return c[2]&&(p=`:${c[2]}(${p})`),{matcher:i.slice(c[0].length),handle:(l,f)=>f({...l,prefix:`${t}${p}${r}${l.prefix}`.replace(o,"$1$2:"),sort:un(c[3])})}}},multiPass:!0}},fn=Object.entries(Me).map(([e])=>e).join("|"),us=Object.entries(Ue).map(([e])=>e).join("|"),fs=new RegExp(`^(${fn})[:-]`),ds=new RegExp(`^(${us})[:]`),dn={name:"pseudo",match:e=>{let t=e.match(fs)||e.match(ds);if(t){let r=Me[t[1]]||Ue[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),handle:(o,n)=>{let a=r.startsWith("::")?{pseudo:`${o.pseudo}${r}`}:{selector:`${o.selector}${r}`};return n({...o,...a,sort:un(t[1])})}}}},multiPass:!0,autocomplete:`(${fn}):`},ms=new RegExp(`^(${Fe})-(${Ft})[:-]`),bs=new RegExp(`^(${Fe})-(${Mt})[:]`),mn={match:e=>{let t=e.match(ms)||e.match(bs);if(t){let r=t[1],o=Me[t[2]]||Ue[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${Fe})-(${Ft}|${Mt}):`},bn=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[nt("group",t?'[group=""]':".group"," "),nt("peer",t?'[peer=""]':".peer","~"),nt("parent",t?'[parent=""]':".parent",">"),nt("previous",t?'[previous=""]':".previous","+")]},gs=/(part-\[(.+)]:)(.+)/,gn={match:e=>{let t=e.match(gs);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var hn=e=>[sn,on,rn,nn,ln,pn,Jo,Qo,Xo,...Zo,dn,mn,...bn(e),gn,...en(e),...tn,an];var xn=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{var o,n;let r=(n=(o=t.animation)==null?void 0:o.keyframes)==null?void 0:n[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{var o,n,a,i,c,p,l,f,u,m;let r=(n=(o=t.animation)==null?void 0:o.keyframes)==null?void 0:n[e];if(r){let d=((i=(a=t.animation)==null?void 0:a.durations)==null?void 0:i[e])??"1s",x=((p=(c=t.animation)==null?void 0:c.timingFns)==null?void 0:p[e])??"linear",y=((f=(l=t.animation)==null?void 0:l.counts)==null?void 0:f[e])??1,A=(m=(u=t.animation)==null?void 0:u.properties)==null?void 0:m[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${d} ${x} ${y}`,...A}]}return{animation:s.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":s.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??s.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"])??s.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"])??s.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?v:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?v:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":s.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?v:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...g("animate","animation")];var yn=e=>e?U(e,0):"rgba(255,255,255,0)",hs=(e,t,r,o)=>t?o!=null?U(t,o):U(t,`var(--un-${e}-opacity, ${ce(t)})`):U(r,o),Ut=e=>([,t],{theme:r})=>{let o=ge(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let c=hs(e,i,a,n);switch(e){case"from":return{"--un-gradient-from":c,"--un-gradient-to":yn(i),"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-to":yn(i),"--un-gradient-stops":`var(--un-gradient-from), ${c}, var(--un-gradient-to)`};case"to":return{"--un-gradient-to":c}}},xs=/^\[url\(.+\)\]$/,ys=/^\[length:.+\]$/,$s=/^\[position:.+\]$/,$n=[[/^bg-(.+)$/,([,e])=>{if(xs.test(e))return{"--un-url":s.bracket(e),"background-image":"var(--un-url)"};if(ys.test(e)&&s.bracketOfLength(e)!=null)return{"background-size":s.bracketOfLength(e).split(" ").map(t=>s.fraction.auto.px.cssvar(t)).join(" ")};if($s.test(e)&&s.bracketOfPosition(e)!=null)return{"background-position":s.bracketOfPosition(e).split(" ").map(t=>s.position.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":s.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":s.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,Ut("from")],[/^(?:bg-gradient-)?via-(.+)$/,Ut("via")],[/^(?:bg-gradient-)?to-(.+)$/,Ut("to")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":s.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":s.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":s.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 P)return{"--un-gradient-shape":`to ${P[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(P).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in P?`to ${P[e]}`:s.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(P).join("|")})`,`shape-(${Object.keys(P).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...g("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...v.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":P[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"}],...g("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...g("bg-origin","background-origin")];var _t={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"},vn=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=_t[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(_t).join("|")})`,`list-(${Object.keys(_t).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],...g("list","list-style-type")],kn=[[/^accent-(.+)$/,C("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":s.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],wn=[[/^caret-(.+)$/,C("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":s.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Sn=[["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"]]]],Cn=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...g("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...g("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...g("overscroll-y","overscroll-behavior-y")],Rn=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...g("scroll","scroll-behavior")];var zn=[[/^columns-(.+)$/,([,e])=>({columns:s.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"}],...g("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...g("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...g("break-after")];var vs=/@media \(min-width: (.+)\)/,jn=[[/^__container$/,(e,{theme:t,variantHandlers:r})=>{var n,a,i,c;let o="100%";for(let p of r){let l=(a=(n=p.handle)==null?void 0:n.call(p,{},f=>f))==null?void 0:a.parent;if(typeof l=="string"){let f=(i=l.match(vs))==null?void 0:i[1];f&&(o=f)}}return(c=t.container)!=null&&c.center?{"max-width":o,"margin-left":"auto","margin-right":"auto"}:{"max-width":o}},{internal:!0}]],En=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(xe(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 Tn={"--un-blur":k,"--un-brightness":k,"--un-contrast":k,"--un-drop-shadow":k,"--un-grayscale":k,"--un-hue-rotate":k,"--un-invert":k,"--un-saturate":k,"--un-sepia":k},at="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)",An={"--un-backdrop-blur":k,"--un-backdrop-brightness":k,"--un-backdrop-contrast":k,"--un-backdrop-grayscale":k,"--un-backdrop-hue-rotate":k,"--un-backdrop-invert":k,"--un-backdrop-opacity":k,"--un-backdrop-saturate":k,"--un-backdrop-sepia":k},it="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)",Lt=e=>{let t=s.bracket.cssvar(e||"");if(t!=null||(t=e?s.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},ee=(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":it,"backdrop-filter":it}:{[`--un-${e}`]:`${e}(${a})`,filter:at}},ks=([,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(${he(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:at};if(r=s.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:at}},Vn=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ee("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||s.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ee("brightness",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ee("contrast",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,ks,{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)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":s.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ee("grayscale",Lt),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ee("hue-rotate",e=>s.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ee("invert",Lt),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,ee("opacity",e=>s.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ee("saturate",e=>s.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ee("sepia",Lt),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:at}],["backdrop-filter",{"-webkit-backdrop-filter":it,"backdrop-filter":it}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...v.map(e=>[`filter-${e}`,{filter:e}]),...v.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var Pn=[[/^space-?([xy])-?(-?.+)$/,On,{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)-(-?.+)$/,On],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function On([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let a=L[e].map(i=>{let c=`margin${i}`,p=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[c,p]});if(a)return[[`--un-space-${e}-reverse`,0],...a]}}var Fn=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Mn=[...["manual","auto","none",...v].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Un=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...g("write","writing-mode")],_n=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...g("write-orient","text-orientation")],Ln=[["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"}]],Wn=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Dn=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(P[e])return{"object-position":P[e]};if(s.bracketOfPosition(e)!=null)return{"object-position":s.bracketOfPosition(e).split(" ").map(t=>s.position.fraction.auto.px.cssvar(t)).join(" ")}},{autocomplete:`object-(${Object.keys(P).join("|")})`}]],Bn=[["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"}],...g("bg-blend","background-blend")],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"}],...g("mix-blend")];var In={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Hn="var(--un-border-spacing-x) var(--un-border-spacing-y)",Kn=[["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])??s.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Hn}},{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])??s.bracket.cssvar.global.auto.fraction.rem(t);if(o!=null)return{[`--un-border-spacing-${e}`]:o,"border-spacing":Hn}},{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 ws={"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"},qn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=ws[e];if(r)return{[r]:s.cssvar(t)}}]];var Gn=[[/^divide-?([xy])$/,st,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,st],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,st],[/^divide-(block|inline)-(-?.+)$/,st],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,C("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":s.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...le.map(e=>[`divide-${e}`,{"border-style":e}])];function st([,e,t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??s.bracket.cssvar.px(t||"1");if(o!=null){let a=L[e].map(c=>{let p=`border${c}-width`,l=c.endsWith("right")||c.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[p,l]}),i=oe(["",e,"solid"]);if(a&&i)return[[`--un-divide-${e}-reverse`,0],...a,...i]}}var Yn=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...v].map(e=>[`line-clamp-${e}`,{"-webkit-line-clamp":e,"line-clamp":e}])];var Xn={"--un-ordinal":k,"--un-slashed-zero":k,"--un-numeric-figure":k,"--un-numeric-spacing":k,"--un-numeric-fraction":k},ne=e=>({...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),Zn=[[/^ordinal$/,()=>ne({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>ne({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>ne({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>ne({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>ne({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>ne({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>ne({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>ne({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Jn={"--un-pan-x":k,"--un-pan-y":k,"--un-pinch-zoom":k},Wt="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Qn=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Wt}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Wt})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Wt}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...g("touch","touch-action")];var ea={"--un-scroll-snap-strictness":"proximity"},ta=[[/^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?()-?(-?.+)$/,j("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])-?(-?.+)$/,j("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,j("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,j("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,j("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,j("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,j("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,j("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,j("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,j("scroll-padding")]];var ra=[[/^\$ placeholder-(.+)$/,C("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":s.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Dt=[No,qn,Ho,jn,Ln,xo,go,ao,po,Yn,Wn,fo,so,oo,uo,Mo,mo,bo,Po,Oo,qr,Kn,Bo,xn,ho,Qn,$o,yo,ta,vn,Lr,zn,lo,co,io,ro,Pn,Gn,no,Cn,Rn,So,vo,wo,Dr,Hr,$n,Go,Dn,Fo,Vr,Zr,Ar,Yr,Co,Fn,Ro,Zn,Nr,qo,zo,Xr,Jr,Qr,Mn,Un,_n,wn,kn,Br,Bn,Nn,Ao,_r,Eo,Sn,Vn,Kr,Wr,ko,ra,Io].flat(1);var Bt=[...En];var Nt={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(Nt).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 Z={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"]},Ss={...Z,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"]},It={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"]},Kt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},oa=["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"],_e=Object.assign({},...oa.map(e=>({[e.replace(/ /,"-")]:e})),...oa.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),J=["inherit","initial","revert","revert-layer","unset"],qt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,Cs=/^(-?[0-9.]+)$/i,na=/^(px)$/i,Rs=["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"];function H(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function zs(e){let t=e.match(qt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${H(n)}${o}`}function js(e){if(e==="auto"||e==="a")return"auto"}function Es(e){if(e.match(na))return`1${e}`;let t=e.match(qt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${H(n)}${o}`:`${H(n/4)}rem`}function Ts(e){if(e.match(na))return`1${e}`;let t=e.match(qt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${H(n)}${o}`:`${H(n)}px`}function As(e){if(!Cs.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return H(t)}function Vs(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${H(t/100)}`}function Os(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${H(o*100)}%`}var Ps=/^\[(color|length|position):/i;function lt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(Ps);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),!r)return;let n=0;for(let a of r)if(a==="[")n+=1;else if(a==="]"&&(n-=1,n<0))return;return n?void 0:r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>a.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function Fs(e){return lt(e)}function Ms(e){return lt(e,"color")}function Us(e){return lt(e,"length")}function _s(e){return lt(e,"position")}function Ls(e){if(e.match(/^\$\S/))return`var(--${Ce(e.slice(1))})`}function Ws(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?`${H(n)}${o}`:`${H(n)}ms`}function Ds(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?`${H(n)}${o}`:`${H(n)}deg`}function Bs(e){if(J.includes(e))return e}function Ns(e){if(e.split(",").every(t=>Rs.includes(t)))return e}function Hs(e){if(["top","left","right","bottom","center"].includes(e))return e}var Is={__proto__:null,numberWithUnit:zs,auto:js,rem:Es,px:Ts,number:As,percent:Vs,fraction:Os,bracket:Fs,bracketOfColor:Ms,bracketOfLength:Us,bracketOfPosition:_s,cssvar:Ls,time:Ws,degree:Ds,global:Bs,properties:Ns,position:Hs},h=Xe(Is);function Ht(e,t){let r=e.colors,o=-1;for(let n of t){if(o+=1,r&&typeof r!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,i=>i.slice(1).toUpperCase());if(r[a])return r[a];if(r[n]){r=r[n];continue}}return}return r}function pt(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 c,p=h.bracketOfColor(o),l=p||o;l.match(/^#[\da-fA-F]+/g)?c=l:l.match(/^hex-[\da-fA-F]+/g)?c=`#${l.slice(4)}`:o.startsWith("$")&&(c=h.cssvar(o)),c=c||p;let f="DEFAULT";if(!c){let u,[m]=a.slice(-1);m.match(/^\d+$/)?(f=m,u=Ht(t,a.slice(0,-1)),!u||typeof u=="string"?c=void 0:c=u[f]):(u=Ht(t,a),!u&&a.length<=2&&([,f=f]=a,u=Ht(t,[i])),typeof u=="string"?c=u:f&&u&&(c=u[f]))}return{opacity:n,name:i,no:f,color:c,cssColor:sa(c),alpha:h.bracket.cssvar.percent(n??"")}}function ae(e,t,r){return([,o],{theme:n})=>{let a=pt(o,n);if(!a)return;let{alpha:i,color:c,cssColor:p}=a,l={};if(p?i!=null?l[e]=te(p,i):(l[`--un-${t}-opacity`]=ut(p),l[e]=te(p,`var(--un-${t}-opacity)`)):c&&(l[e]=te(c,i)),(r==null?void 0:r(l))!==!1)return l}}function Gt(e,t){let r=[];e=F(e);for(let o=0;o<e.length;o++){let n=ct(e[o]," ",6);if(!n||n.length<3)return e;let a=sa(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${te(a)})`)}return r}function aa(e,t){var r;return e!=null&&!!((r=pt(e,t))!=null&&r.color)}function V(e,t){return J.map(r=>[`${e}-${r}`,{[t??e]:r}])}function Ks(e,t,r,o){if(e==="")return;let n=e.length,a=0;for(let i=0;i<n;i++)switch(e[i]){case t:a++;break;case r:if(--a<0)return;break;case o:if(a===0)return i===0||i===n-1?void 0:[e.slice(0,i),e.slice(i+1)]}return[e,""]}function ct(e,t,r){if(t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Ks(e,"(",")",t);if(!a)return;let[i,c]=a;o.push(i),e=c}if(o.length>0)return o}var Yt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],ia=["%alpha","<alpha-value>"],qs=new RegExp(ia.map(e=>Y(e)).join("|"));function sa(e=""){let t=Gs(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)&&!(Yt.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o.map(i=>typeof i=="string"?i.trim():i),alpha:typeof n=="string"?n.trim():n}}function ut(e){let t=e.alpha??1;return typeof t=="string"&&ia.includes(t)?1:t}function te(e,t){if(typeof e=="string")return e.replace(qs,`${t??1}`);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}`,Yt.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Gs(e){if(!e)return;let t=Ys(e);if(t!=null||(t=Xs(e),t!=null)||(t=Zs(e),t!=null)||(t=Qs(e),t!=null)||(t=ec(e),t!=null))return t}function Ys(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 Xs(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Zs(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=ct(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 Js=new RegExp(`^(${Yt.join("|")})\\((.+)\\)$`,"i");function Qs(e){let t=e.match(Js);if(!t)return;let[,r,o]=t,n=ca(`${r} ${o}`);if(n){let{alpha:a,components:[i,...c]}=n;return{type:i,components:c,alpha:a}}}function ec(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=ca(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function ca(e){let t=ct(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=ct(t[r-1],"/",2);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}}var la={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",...Object.fromEntries(J.map(e=>[e,e]))},Ku=[[/^(?:vertical|align|v)-([-\w]+)$/,([,e])=>({"vertical-align":la[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(la).join("|")})`}]],qu=["center","left","right","justify","start","end",...J].map(e=>[`text-${e}`,{"text-align":e}]),Gu=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??h.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ae("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])??h.bracket.cssvar.global.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...J].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];var Ne=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...J],Yu=[[/^(?:border|b)()(?:-(.+))?$/,Le,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Le],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Le],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Le],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Le],[/^(?:border|b)-()(?:width|size)-(.+)$/,ve,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ve],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ve],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ve],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ve],[/^(?:border|b)-()(?:color-)?(.+)$/,We,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,We],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,We],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,We],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,We],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,De,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,De],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,De],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,De],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,De],[/^(?: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-)?()(.+)$/,ke,{autocomplete:["(border|b)-style",`(border|b)-(${Ne.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Ne.join("|")})`,`(border|b)-<directions>-style-(${Ne.join("|")})`,`(border|b)-style-(${Ne.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ke],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ke],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ke],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ke]],tc=e=>([,t],r)=>{let o=pt(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${e}-color`]:te(i,n)}:e===""?{"--un-border-opacity":ut(i),"border-color":te(i,"var(--un-border-opacity)")}:{"--un-border-opacity":ut(i),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:te(i,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:te(a,n)}};function Le(e,t){let r=ve(e,t),o=ke(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function ve([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??h.bracket.cssvar.global.px(t||"1");if(e in Z&&o!=null)return Z[e].map(a=>[`border${a}-width`,o])}function We([,e="",t],{theme:r}){if(e in Z&&aa(t,r))return Object.assign({},...Z[e].map(o=>tc(o)(["",t],r)))}function De([,e="",t]){let r=h.bracket.percent(t);if(e in Z&&r!=null)return Z[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"])||h.bracket.cssvar.global.fraction.rem(t||"1");if(e in It&&o!=null)return It[e].map(a=>[`border${a}-radius`,o])}function ke([,e="",t]){if(Ne.includes(t)&&e in Z)return Z[e].map(r=>[`border${r}-style`,t])}var dt={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},pa=e=>h.properties(e)??dt[e],Xu=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?pa(e):[dt.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??h.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(dt).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??h.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"])??h.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"])??h.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":h.bracket.global(e)||pa(e)}),{autocomplete:[`transition-property-(${[...J,...Object.keys(dt)].join("|")})`]}],["transition-none",{transition:"none"}],...V("transition")],ua={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Zu=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||h.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=F((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":h.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n;let r=F((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??h.bracket.cssvar.global.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":ua[e]||h.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(ua).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||h.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":h.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||h.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])||h.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]];var Ju=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||h.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,ae("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":h.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Qu=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Gt(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":h.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,ae("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":h.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],ft=["auto","hidden","clip","visible","scroll",...J],ef=[[/^(?:overflow|of)-(.+)$/,([,e])=>ft.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${ft.join("|")})`,`(overflow|of)-(x|y)-(${ft.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>ft.includes(t)?{[`overflow-${e}`]:t}:void 0]];var tf=[["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"}],...V("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],...V("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],...V("justify-self")];var rf=[["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"}],...V("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],...V("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],...V("self","align-self")],of=[["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"}],...V("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],...V("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],...V("place-self")];var nf=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],...V("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}],...V("clear")];var af=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...V("box","box-sizing")],rc=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],ha=" ";var sf=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...V("backface","backface-visibility")],cf=[[/^cursor-(.+)$/,([,e])=>({cursor:h.bracket.cssvar.global(e)})],...rc.map(e=>[`cursor-${e}`,{cursor:e}])],lf=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...V("pointer-events")],pf=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...V("resize")],uf=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}],...V("select","user-select")];var ff=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...V("case","text-transform")];var xa={"--un-ring-inset":ha,"--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 rgba(0,0,0,0)"},df=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??h.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??h.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])??h.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,ae("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":h.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,ae("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":h.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],ya={"--un-ring-offset-shadow":"0 0 rgba(0,0,0,0)","--un-ring-shadow":"0 0 rgba(0,0,0,0)","--un-shadow-inset":ha,"--un-shadow":"0 0 rgba(0,0,0,0)"},mf=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":Gt(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,ae("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":h.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],fa=["translate","rotate","scale"],ue=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),oc=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),$a={"--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},bf=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":_e[e]??h.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(_e).join("|")})`,`origin-(${Object.keys(_e).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=h.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=h.bracket.cssvar(e)??(e.length>=3?_e[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,da],[/^(?:transform-)?translate-([xyz])-(.+)$/,da],[/^(?:transform-)?rotate-()(.+)$/,ba],[/^(?:transform-)?rotate-([xyz])-(.+)$/,ba],[/^(?:transform-)?skew-([xy])-(.+)$/,nc,{autocomplete:["transform-skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ma],[/^(?:transform-)?scale-([xyz])-(.+)$/,ma,{autocomplete:[`transform-(${fa.join("|")})-<percent>`,`transform-(${fa.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:ue}],["transform-cpu",{transform:ue}],["transform-gpu",{transform:oc}],["transform-none",{transform:"none"}],...V("transform")];function da([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??h.bracket.cssvar.fraction.rem(t);if(o!=null)return[...Kt[e].map(a=>[`--un-translate${a}`,o]),["transform",ue]]}function ma([,e,t]){let r=h.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Kt[e].map(o=>[`--un-scale${o}`,r]),["transform",ue]]}function ba([,e="",t]){let r=h.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:ue}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:ue}}function nc([,e,t]){let r=h.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:ue}}var ga=["solid","double","dotted","dashed","wavy",...J],gf=[[/^(?: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])??h.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=ae("text-decoration-color","line")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":h.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])??h.auto.bracket.cssvar.global.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ga.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...ga.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var va={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(",")},ka={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"]},wa={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Sa={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Ca={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 rgba(0,0,0,0)",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)"]},Ra={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Jt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},za=Jt,Qt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ja={...Qt},Ea={DEFAULT:"1px",none:"0px"},Ta={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"},Aa={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Va={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Oa={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 rgba(0,0,0,0)",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)"},Pa={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)"},Fa={DEFAULT:"1px",none:"0px"},Ma={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ua={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 rgba(0,0,0,0)"},Ke={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Xt={auto:"auto",...Ke,screen:"100vw"},He={none:"none",...Ke,screen:"100vw"},Zt={auto:"auto",...Ke,screen:"100vh"},Ie={none:"none",...Ke,screen:"100vh"},_a={...$a,...ya,...xa},er={width:Xt,height:Zt,maxWidth:He,maxHeight:Ie,minWidth:He,minHeight:Ie,inlineSize:Xt,blockSize:Zt,maxInlineSize:He,maxBlockSize:Ie,minInlineSize:He,minBlockSize:Ie,colors:Nt,fontFamily:va,fontSize:ka,breakpoints:Qt,verticalBreakpoints:ja,borderRadius:Va,lineHeight:Ra,letterSpacing:Jt,wordSpacing:za,boxShadow:Oa,textIndent:wa,textShadow:Ca,textStrokeWidth:Sa,blur:Ma,dropShadow:Ua,easing:Pa,lineWidth:Ea,spacing:Ta,duration:Aa,ringWidth:Fa,preflightBase:_a};var tr={...er,animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1% to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",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:{...Do,...Jn,...ea,...Xn,...In,...To,...jo,...Tn,...An}};var La=[q("svg",e=>({selector:`${e.selector} svg`}))];var Wa=[q(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),q(".light",e=>({prefix:`.light $$ ${e.prefix}`})),W("@dark","@media (prefers-color-scheme: dark)"),W("@light","@media (prefers-color-scheme: light)")];var Da=[W("contrast-more","@media (prefers-contrast: more)"),W("contrast-less","@media (prefers-contrast: less)")],Ba=[W("motion-reduce","@media (prefers-reduced-motion: reduce)"),W("motion-safe","@media (prefers-reduced-motion: no-preference)")],Na=[W("landscape","@media (orientation: landscape)"),W("portrait","@media (orientation: portrait)")];var Ha=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var Ia=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(et(a,t)||ac(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function ac(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?s.bracket.percent(t[1])!=null:!1}var rr=e=>[Ia,Ha,...hn(e),...Da,...Na,...Ba,...La,...Wa];var Ka=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,qa=(e,t,r)=>{let o=[e,t],n=[];for(let i=0;i<2;++i){let c=typeof o[i]=="string"?ye(o[i]):o[i];if(!c||!["rgb","rgba"].includes(c.type))return;n.push(c)}let a=[];for(let i=0;i<3;++i)a.push(Ka(n[0].components[i],n[1].components[i],r));return{type:"rgb",components:a,alpha:Ka(n[0].alpha??1,n[1].alpha??1,r)}},Ga=(e,t)=>qa("#fff",e,t),Ya=(e,t)=>qa("#000",e,t),ic=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?Ya(e,t):Ga(e,-r)},sc={tint:Ga,shade:Ya,shift:ic},Xa=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=ye(`${o[1]}`);if(n){let a=sc[t[1]](n,t[2]);a&&(o[1]=U(a))}}}),r)}};var cc=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:tr,rules:Dt,shortcuts:Bt,variants:[...rr(e),Xa],options:e,preflights:wt,prefix:e.prefix}),Za=cc;var or={"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":"var(--un-prose-font-mono)"},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}};function Ja(e,t,r){let o="";for(let n in r){let a=r[n],i=`:not(:where(.not-${t},.not-${t} *))`,c=n.split(",").map(p=>{let l=p.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(l){let f=l[0];return p=p.replace(f,""),`${e} :where(${p})${i}${f}`}return null}).filter(p=>p);c.length?o+=c.join(","):o+=`${e} :where(${n})${i}`,o+="{";for(let p in a){let l=a[p];o+=`${p}:${l};`}o+="}"}return o}function Qa(e,t,r){return e.startsWith(".")||(e=`:is(${e},.${t})`),r?Ja(e,t,ze(or,r)):Ja(e,t,or)}function lc(e){e!=null&&e.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Use "selectorName" instead.');let t=!1,r="",o=(e==null?void 0:e.selectorName)||(e==null?void 0:e.className)||"prose",n=new RegExp(`^${o}$`),a=new RegExp(`^${o}-([-\\w]+)$`),i=new RegExp(`^${o}-invert$`),c=e==null?void 0:e.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(p,{rawSelector:l})=>(t=!0,r=$t(l),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[a,([,p],{theme:l})=>{var m,d;let f=(m=l.colors)==null?void 0:m[p];if(f==null)return;let u=typeof f=="object"?f:{};return{"--un-prose-body":u[700]??f,"--un-prose-headings":u[900]??f,"--un-prose-links":u[900]??f,"--un-prose-lists":u[400]??f,"--un-prose-hr":u[200]??f,"--un-prose-captions":u[500]??f,"--un-prose-code":u[900]??f,"--un-prose-borders":u[200]??f,"--un-prose-bg-soft":u[100]??f,"--un-prose-invert-body":u[200]??f,"--un-prose-invert-headings":u[100]??f,"--un-prose-invert-links":u[100]??f,"--un-prose-invert-lists":u[500]??f,"--un-prose-invert-hr":u[700]??f,"--un-prose-invert-captions":u[400]??f,"--un-prose-invert-code":u[100]??f,"--un-prose-invert-borders":u[700]??f,"--un-prose-invert-bg-soft":u[800]??f,"--un-prose-font-mono":(d=l.fontFamily)==null?void 0:d.mono}},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],preflights:[{layer:"typography",getCSS:()=>t?Qa(r,o,c):void 0}]}}var ei=lc;var mt="__TAGIFY__",pc=/<([\w\d-:]+)/g,ti=e=>{let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:o}){return new Set(Array.from(o.matchAll(pc)).filter(({1:n})=>{for(let a of r)if(typeof a=="string"){if(n===a)return!1}else if(a.test(n))return!1;return n.startsWith(t)}).map(([,n])=>`${mt}${n}`))}}};var ri=e=>{let{extraProperties:t}=e,r=`${mt}${e.prefix??""}`;return{name:"tagify",match(o){if(!o.startsWith(r))return;let n=o.slice(r.length),a={matcher:n,selector:i=>i.slice(mt.length+1)};return t&&(typeof t=="function"?a.body=i=>[...i,...Object.entries(t(n)??{})]:a.body=i=>[...i,...Object.entries(t)]),a}}};function uc(e={}){let{defaultExtractor:t=!0}=e,r=[ri(e)],o=[ti(e)];return t&&o.push(se),{name:"@unocss/preset-tagify",variants:r,extractors:o}}var oi=uc;var fc=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),ni=e=>e.charAt(0).toUpperCase()+e.slice(1),ai=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),ii=["Webkit","Moz","ms"];function si(e){let t={};function r(o){let n=t[o];if(n)return n;let a=fc(o);if(a!=="filter"&&a in e)return t[o]=ai(a);a=ni(a);for(let i=0;i<ii.length;i++){let c=`${ii[i]}${a}`;if(c in e)return t[o]=ai(ni(c))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function nr(e={}){var S,_;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 b=o.postprocess;b||(b=[]),Array.isArray(b)||(b=[b]),b.unshift(si(document.createElement("div").style)),o.postprocess=b}(S=r==null?void 0:r.configResolved)==null||S.call(r,t,o);let n,a=!0,i,c=vr(t,o),p=new Set,l,f=[],u=()=>new Promise(b=>{f.push(b),l!=null&&clearTimeout(l),l=setTimeout(()=>d().then(()=>{let R=f;f=[],R.forEach(D=>D())}),0)});function m(b=document.body){if(b.nodeType!==1)return;let R=b;R.hasAttribute("un-cloak")&&R.removeAttribute("un-cloak"),R.querySelectorAll("[un-cloak]").forEach(D=>{D.removeAttribute("un-cloak")})}async function d(){let b=await c.generate(p);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=b.css,p=b.matched}async function x(b){let R=p.size;await c.applyExtractors(b,void 0,p),R!==p.size&&await u()}async function y(){let b=document.body&&document.body.outerHTML;b&&(await x(b),m())}let A=new MutationObserver(b=>{a||b.forEach(async R=>{if(R.target.nodeType!==1)return;let D=R.target;if(D!==n)if(R.type==="childList")R.addedNodes.forEach(async ie=>{if(ie.nodeType!==1)return;let re=ie;i&&!i(re)||(await x(re.outerHTML),m(re))});else{if(i&&!i(D))return;if(R.attributeName!=="un-cloak"){let ie=Array.from(D.attributes).map(E=>E.value?`${E.name}="${E.value}"`:E.name).join(" "),re=`<${D.tagName.toLowerCase()} ${ie}>`;await x(re)}D.hasAttribute("un-cloak")&&D.removeAttribute("un-cloak")}})}),$=!1;function T(){if($)return;let b=document.documentElement||document.body;!b||(A.observe(b,{childList:!0,subtree:!0,attributes:!0}),$=!0)}function O(){y(),T()}function w(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",O):O()}let z=window.__unocss_runtime=window.__unocss_runtime={version:c.version,uno:c,async extract(b){typeof b!="string"&&(b.forEach(R=>p.add(R)),b=""),await x(b)},extractAll:y,inspect(b){i=b},toggleObserver(b){b===void 0?a=!a:a=!!b,!$&&!a&&w()}};((_=r==null?void 0:r.ready)==null?void 0:_.call(r,z))!==!1&&(a=!1,w())}nr({defaults:{presets:[jr(),Za(),ei(),oi()]}});})();