@unocss/runtime 0.37.4 → 0.38.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/full.global.js CHANGED
@@ -1,5 +1,5 @@
1
- (()=>{var Pt=Object.defineProperty,Ta=Object.defineProperties;var Ea=Object.getOwnPropertyDescriptors;var Te=Object.getOwnPropertySymbols;var Mt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable;var Vt=(e,t,r)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))Mt.call(t,r)&&Vt(e,r,t[r]);if(Te)for(var r of Te(t))Ft.call(t,r)&&Vt(e,r,t[r]);return e},z=(e,t)=>Ta(e,Ea(t));var Ut=(e,t)=>{var r={};for(var o in e)Mt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Te)for(var o of Te(e))t.indexOf(o)<0&&Ft.call(e,o)&&(r[o]=e[o]);return r};var ja=(e,t)=>{for(var r in t)Pt(e,r,{get:t[r],enumerable:!0})};function se(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 Ee=ce;function pe(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function _t(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>pe(t)):[e]:[pe(e)]}function Aa(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 ee(e){return e==null?"":Aa(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function je(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ue(e,t){let r=e,o=t;if(Array.isArray(r)&&Array.isArray(o))return[...r,...o];if(Array.isArray(r))return[...r];let n=h({},r);return je(r)&&je(o)&&Object.keys(o).forEach(a=>{je(r[a])&&je(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?n[a]=ue(r[a],o[a]):Object.assign(n,{[a]:o[a]})}),n}function le(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?le(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:le(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?le(o):o;return r}return e}function Wt(e){return typeof e[0]=="string"}function Nt(e){return typeof e[0]=="string"}function O(e=[]){return Array.isArray(e)?e:[e]}function fe(e){return Array.from(new Set(e))}var Oa=/^\[(.+?)~?="(.*)"\]$/;var Va=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,Xe="$$shortcut-no-merge";function Bt(e){return e.match(Oa)}function me(e=""){return Va.test(e)}function Lt(e){return typeof e=="function"?{match:e}:e}function Ye(e){return e.length===3}function Dt(e){return e!=null}function Ge(){}var Ae=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 It=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Kt(e){It.lastIndex=0;let t=!1;do{let r=e.toString();e=e.replace(It,(o,n,a,i)=>i.split(/\s/g).map(s=>s==="~"?n:s.replace(/^(!?)(.*)/,`$1${n}${a}$2`)).join(" ")),t=e.toString()!==r}while(t);return e}var Ht=new Set;function qt(e){Ht.has(e)||(console.warn("[unocss]",e),Ht.add(e))}function Oe(e){let t=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of n){let s=e[i](o);if(s!=null)return s}};function r(o,n){return o.__options||(o.__options={sequence:[]}),o.__options.sequence.push(n),o}for(let o of Object.keys(e))Object.defineProperty(t,o,{enumerable:!0,get(){return r(this,o)}});return t}var Pa=e=>e.split(/[\s'"`;>=]+/g).filter(me),G={name:"split",order:0,extract({code:e}){return new Set(Pa(e))}};function Xt(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function Ma(e){return O(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Fa={preflights:-100,shortcuts:-1,default:0};function Ze(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(O),n=[...o.filter(m=>m.enforce==="pre"),...o.filter(m=>!m.enforce),...o.filter(m=>m.enforce==="post")],a=Object.assign(Fa,...o.map(m=>m.layers),e.layers);function i(m){return fe([...n.flatMap(y=>O(y[m]||[])),...O(r[m]||[])])}let s=i("extractors");s.length||s.push(G),s.sort((m,y)=>(m.order||0)-(y.order||0));let l=i("rules"),p={},f=l.length;l.forEach((m,y)=>{Wt(m)&&(p[m[0]]=[y,m[1],m[2],m],delete l[y])});let u=le([...n.map(m=>m.theme||{}),r.theme||{}].reduce((m,y)=>ue(m,y),{}));i("extendTheme").forEach(m=>m(u));let x={templates:fe(n.map(m=>{var y;return O((y=m.autocomplete)==null?void 0:y.templates)}).flat()),extractors:n.map(m=>{var y;return O((y=m.autocomplete)==null?void 0:y.extractors)}).flat().sort((m,y)=>(m.order||0)-(y.order||0))};return z(h({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:l,rulesStaticMap:p,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:x,variants:i("variants").map(Lt),shortcuts:Ma(i("shortcuts")),extractors:s,safelist:i("safelist")})}var Yt="0.37.4";var Je=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Ze(t,r),this.events.emit("config",this.config)}version=Yt;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=Xt();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Ze(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,o=new Set){let n={get original(){return t},code:t,id:r};for(let a of this.config.extractors){let i=await a.extract(n);i==null||i.forEach(s=>o.add(s))}return o}makeContext(t,r){let o={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(o,...n),variantMatch:r};return o}async parseToken(t,r){var l;if(this.blocked.has(t))return;let o=`${t}${r?` ${r}`:""}`;if(this._cache.has(o))return this._cache.get(o);let n=t;for(let p of this.config.preprocess)n=p(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(o,null);return}let a=this.matchVariants(t,n);if(!a||this.isBlocked(a[1])){this.blocked.add(t),this._cache.set(o,null);return}let i=this.makeContext(t,[r||a[0],a[1],a[2],a[3]]);this.config.details&&(i.variants=[...a[3]]);let s=this.expandShortcut(i.currentSelector,i);if(s){let p=await this.stringifyShortcuts(i.variantMatch,i,s[0],s[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(i.variantMatch,i))==null?void 0:l.map(f=>this.stringifyUtil(f,i)).filter(Dt);if(p!=null&&p.length)return this._cache.set(o,p),p}this._cache.set(o,null)}async generate(t="",{id:r,scope:o,preflights:n=!0,safelist:a=!0,minify:i=!1}={}){let s=typeof t=="string"?await this.applyExtractors(t,r):t;a&&this.config.safelist.forEach(g=>s.add(g));let l=i?"":`
2
- `,p=new Set(["default"]),f=new Set,u=new Map;await Promise.all(Array.from(s).map(async g=>{var $;if(f.has(g))return;let b=await this.parseToken(g);if(b!=null){f.add(g);for(let C of b){let T=C[3]||"";u.has(T)||u.set(T,[]),u.get(T).push(C),($=C[4])!=null&&$.layer&&p.add(C[4].layer)}}})),n&&this.config.preflights.forEach(g=>{g.layer&&p.add(g.layer)});let x={},m=this.config.sortLayers(Array.from(p).sort((g,b)=>(this.config.layers[g]??0)-(this.config.layers[b]??0)||g.localeCompare(b))),y={};if(n){let g={generator:this,theme:this.config.theme};y=Object.fromEntries(await Promise.all(m.map(async b=>{let C=(await Promise.all(this.config.preflights.filter(T=>(T.layer||"default")===b).map(async T=>await T.getCSS(g)))).filter(Boolean).join(l);return[b,C]})))}let S=g=>{if(x[g])return x[g];let b=Array.from(u).sort(($,C)=>{var T;return(this.parentOrders.get($[0])??0)-(this.parentOrders.get(C[0])??0)||((T=$[0])==null?void 0:T.localeCompare(C[0]||""))||0}).map(([$,C])=>{let T=C.length,U=C.filter(d=>{var k;return(((k=d[4])==null?void 0:k.layer)||"default")===g}).sort((d,k)=>{var P,K,_;return d[0]-k[0]||(((P=d[4])==null?void 0:P.sort)||0)-(((K=k[4])==null?void 0:K.sort)||0)||((_=d[1])==null?void 0:_.localeCompare(k[1]||""))||0}).map(d=>{var k;return[d[1]?Wa(d[1],o):d[1],d[2],!!((k=d[4])!=null&&k.noMerge)]}).map(d=>[d[0]==null?d[0]:[d[0]],d[1],d[2]]);if(!U.length)return;let X=U.reverse().map(([d,k,P],K)=>{if(!P&&d&&this.config.mergeSelectors)for(let _=K+1;_<T;_++){let D=U[_];if(D&&!D[2]&&D[0]&&D[1]===k)return D[0].push(...d),null}return d?`${[...new Set(d)].join(`,${l}`)}{${k}}`:k}).filter(Boolean).reverse().join(l);return $?`${$}{${l}${X}${l}}`:X}).filter(Boolean).join(l);return n&&(b=[y[g],b].filter(Boolean).join(l)),x[g]=!i&&b?`/* layer: ${g} */${l}${b}`:b},A=(g=m,b)=>g.filter($=>!(b!=null&&b.includes($))).map($=>S($)||"").filter(Boolean).join(l);return{get css(){return A()},layers:m,getLayers:A,getLayer:S,matched:f}}matchVariants(t,r){let o=new Set,n=[],a=r||t,i=!1,s={rawSelector:t,theme:this.config.theme,generator:this};for(;;){i=!1;for(let l of this.config.variants){if(!l.multiPass&&o.has(l))continue;let p=l.match(a,s);if(!!p){typeof p=="string"&&(p={matcher:p}),a=p.matcher,Array.isArray(p.parent)&&this.parentOrders.set(p.parent[0],p.parent[1]),n.unshift(p),o.add(l),i=!0;break}}if(!i)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,a,n,o]}applyVariants(t,r=t[4],o=t[1]){let n=[...r].sort((l,p)=>(l.order||0)-(p.order||0)),a=n.reduce((l,p)=>{var f;return((f=p.body)==null?void 0:f.call(p,l))||l},t[2]),i=n.reduce((l,p)=>{var f;return((f=p.selector)==null?void 0:f.call(p,l,a))||l},Qe(o)),s={selector:Na(i),entries:a,parent:n.reduce((l,p)=>Array.isArray(p.parent)?p.parent[0]:p.parent||l,void 0),layer:n.reduce((l,p)=>p.layer||l,void 0),sort:n.reduce((l,p)=>p.sort||l,void 0)};for(let l of this.config.postprocess)l(s);return s}constructCustomCSS(t,r,o){r=pe(r);let{selector:n,entries:a,parent:i}=this.applyVariants([0,o||t.rawSelector,r,void 0,t.variantHandlers]),s=`${n}{${ee(a)}}`;return i?`${i}{${s}}`:s}async parseUtil(t,r,o=!1){var u,x;let[n,a,i]=typeof t=="string"?this.matchVariants(t):t,s=this.config.details?m=>{r.rules=r.rules??[],r.rules.push(m)}:Ge,l=this.config.rulesStaticMap[a];if(l&&l[1]&&(o||!((u=l[2])!=null&&u.internal)))return s(l[3]),[[l[0],n,pe(l[1]),l[2],i]];r.variantHandlers=i;let{rulesDynamic:p,rulesSize:f}=this.config;for(let m=f-1;m>=0;m--){let y=p[m];if(!y||((x=y[2])==null?void 0:x.internal)&&!o)continue;let[S,A,g]=y,b=a.match(S);if(!b)continue;let $=await A(b,r);if(!$)continue;if(s(y),typeof $=="string")return[[m,$,g]];let C=_t($).filter(T=>T.length);if(C.length)return C.map(T=>[m,n,T,g,i])}}stringifyUtil(t,r){if(!t)return;if(Ye(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0];let{selector:o,entries:n,parent:a,layer:i,sort:s}=this.applyVariants(t),l=ee(n);if(!l)return;let m=t[3]??{},{layer:p,sort:f}=m,u=Ut(m,["layer","sort"]),x=z(h({},u),{layer:i??p,sort:s??f});return[t[0],o,l,a,x,this.config.details?r:void 0]}expandShortcut(t,r,o=3){if(o===0)return;let n=this.config.details?s=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(s)}:Ge,a,i;for(let s of this.config.shortcuts)if(Nt(s)){if(s[0]===t){a=a||s[2],i=s[1],n(s);break}}else{let l=t.match(s[0]);if(l&&(i=s[1](l,r)),i){a=a||s[2],n(s);break}}if(typeof i=="string"&&(i=Kt(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var l;return((l=this.expandShortcut(s,r,o-1))==null?void 0:l[0])||[s]}).filter(s=>s!==""),a]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var f;let a=new Ae,i=(await Promise.all(fe(o).map(async u=>{let x=await this.parseUtil(u,r,!0);return x||qt(`unmatched utility "${u}" in shortcut "${t[1]}"`),x||[]}))).flat(1).filter(Boolean).sort((u,x)=>u[0]-x[0]),[s,,l]=t,p=[];for(let u of i){if(Ye(u)){p.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:x,entries:m,parent:y,sort:S}=this.applyVariants(u,[...u[4],...l],s);a.getFallback(x,y,[[],u[0]])[0].push([m,!!((f=u[3])!=null&&f.noMerge),S??0])}return p.concat(a.map(([u,x],m,y)=>{let S=(g,b,$)=>{let C=Math.max(...$.map(U=>U[1])),T=$.map(U=>U[0]);return(g?[T.flat(1)]:T).map(U=>{let X=ee(U);if(X)return[x,m,X,y,z(h({},n),{noMerge:b,sort:C}),r]})};return[[u.filter(([,g])=>g).map(([g,,b])=>[g,b]),!0],[u.filter(([,g])=>!g).map(([g,,b])=>[g,b]),!1]].map(([g,b])=>[...S(!1,b,g.filter(([$])=>$.some(C=>C[0]===Xe))),...S(!0,b,g.filter(([$])=>$.every(C=>C[0]!==Xe)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function Zt(e,t){return new Je(e,t)}var Jt=/ \$\$ /,_a=e=>e.match(Jt);function Wa(e,t){return _a(e)?e.replace(Jt,t?` ${t} `:" "):t?`${t} ${e}`:e}function Na(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var Gt=/^\[(.+?)(~?=)"(.*)"\]$/;function Qe(e){return Gt.test(e)?e.replace(Gt,(t,r,o,n)=>`[${Ee(r)}${o}"${Ee(n)}"]`):`.${Ee(e)}`}var et=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,Qt=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,o=e.trueToNonValued??!1;return{name:"attributify",match(n){let a=Bt(n);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let s=a[2],[,l="",p=s]=s.match(et)||[];return p==="~"||o&&p==="true"||!p?`${l}${i}`:`${l}${i}-${p}`}}};var Ba=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,La=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,er=/[\s'"`;>]+/,tr={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(Ba),o,n=0;for(let S of r){let[,A,g]=S,b=S.index+A.length;if(t>b&&t<=b+g.length){n=b,o=g;break}}if(!o)return null;let a=o.matchAll(La),i=0,s,l;for(let S of a){let[A,g,b]=S,$=n+S.index;if(t>$&&t<=$+A.length){i=$,s=g,l=b==null?void 0:b.slice(1);break}}if(!s||s==="class"||s==="className")return null;if(l===void 0)return{extracted:s,resolveReplacement(S){return{start:i,end:i+s.length,replacement:S}}};let p=i+s.length+2,f=er.exec(l),u=0,x;for(;f;){let[S]=f;if(t>p+u&&t<=p+u+f.index){x=l.slice(u,u+f.index);break}u+=f.index+S.length,f=er.exec(l.slice(u))}x===void 0&&(x=l.slice(u));let[,m="",y]=x.match(et)||[];return{extracted:`${m}${s}-${y}`,transformSuggestions(S){return S.filter(A=>A.startsWith(`${m}${s}-`)).map(A=>m+A.slice(m.length+s.length+1))},resolveReplacement(S){return{start:u+p,end:u+p+x.length,replacement:m+S.slice(m.length+s.length+1)}}}}};var Da=["v-bind:",":"],rr=/[\s'"`;]+/g,Ia=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,Ka=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,or=e=>{let t=(e==null?void 0:e.ignoreAttributes)??[],r=(e==null?void 0:e.nonValuedAttribute)??!0,o=(e==null?void 0:e.trueToNonValued)??!1;return{name:"attributify",extract({code:n}){let a=Array.from(n.matchAll(Ia)).flatMap(i=>Array.from((i[1]||"").matchAll(Ka))).flatMap(([,i,s,l])=>{if(t.includes(i))return[];for(let p of Da)if(i.startsWith(p)){i=i.slice(p.length);break}if(!l){if(me(i)&&r!==!1){let p=[`[${i}=""]`];return o&&p.push(`[${i}="true"]`),p}return[]}return["class","className"].includes(i)?l.split(rr).filter(me):l.split(rr).filter(Boolean).map(p=>`[${i}~="${p}"]`)});return new Set(a)}}};var Ha=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??[];let t=[Qt(e)],r=[or(e)],o=[tr];return e.strict||r.unshift(G),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},nr=Ha;var tt=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase)return`*,::before,::after{${ee(Object.entries(e.theme.preflightBase))}}`}}];var V={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},rt=z(h({},V),{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"]}),ot={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"]},nt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ar=["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({},...ar.map(e=>({[e.replace(/ /,"-")]:e})),...ar.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),W=["inherit","initial","revert","revert-layer","unset"];var ir={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"},sr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ir[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(ir).join("|")})`}]],cr=["center","left","right","justify","start","end",...W].map(e=>[`text-${e}`,{"text-align":e}]);var at=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function te(e=""){let t=qa(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,alpha:n}}function Z(e){let t=e.alpha??1;return t==="%alpha"?1:t}function M(e,t){if(typeof e=="string")return e.replace("%alpha",`${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 qa(e){if(!e)return;let t=Xa(e);if(t!=null||(t=Ya(e),t!=null)||(t=Ga(e),t!=null)||(t=Ja(e),t!=null)||(t=Qa(e),t!=null))return t}function Xa(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 Ya(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ga(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=de(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 Za=new RegExp(`^(${at.join("|")})\\((.+)\\)$`,"i");function Ja(e){let t=e.match(Za);if(!t)return;let[,r,o]=t,n=lr(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function Qa(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=lr(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function lr(e){let t=de(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=de(t[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:t};let n=o.pop();return t[r-1]=o.join("/"),{components:t,alpha:n}}function ei(e,t){if(e=e.trim(),e==="")return;let r=e.length,o=0;for(let n=0;n<r;n++)switch(e[n]){case"(":o++;break;case")":if(--o<0)return;break;case t:if(o===0){let a=e.slice(0,n).trim();return a===""?void 0:[a,e.slice(n+1).trim()]}}return[e,""]}function de(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=ei(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var st={};ja(st,{auto:()=>ni,bracket:()=>ui,bracketOfColor:()=>fi,bracketOfLength:()=>mi,bracketOfPosition:()=>di,cssvar:()=>gi,degree:()=>hi,fraction:()=>li,global:()=>xi,number:()=>si,numberWithUnit:()=>oi,percent:()=>ci,position:()=>vi,properties:()=>yi,px:()=>ii,rem:()=>ai,time:()=>bi});var ti=["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"],it=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,ri=/^(-?[0-9.]+)$/i,pr=/^(px)$/i;function N(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function oi(e){let t=e.match(it);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${N(n)}${o}`}function ni(e){if(e==="auto"||e==="a")return"auto"}function ai(e){if(e.match(pr))return`1${e}`;let t=e.match(it);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n/4)}rem`}function ii(e){if(e.match(pr))return`1${e}`;let t=e.match(it);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${N(n)}${o}`:`${N(n)}px`}function si(e){if(!ri.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return N(t)}function ci(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${N(t/100)}`}function li(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 pi=/^\[(color|length|position):/i;function Ve(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(pi);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,n=>n.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function ui(e){return Ve(e)}function fi(e){return Ve(e,"color")}function mi(e){return Ve(e,"length")}function di(e){return Ve(e,"position")}function gi(e){if(e.match(/^\$\S/))return`var(--${ce(e.slice(1))})`}function bi(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 hi(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 xi(e){if(W.includes(e))return e}function yi(e){if(e.split(",").every(t=>ti.includes(t)))return e}function vi(e){if(["top","left","right","bottom","center"].includes(e))return e}var c=Oe(st);var L=(e,t)=>{let r=new RegExp(`^${se(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),selector:t}},autocomplete:`${e}:`}},F=(e,t)=>{let r=new RegExp(`^${se(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),parent:t}},autocomplete:`${e}:`}};var ur="$$mini-no-negative",R=e=>([t,r,o],{theme:n})=>{var i;let a=((i=n.spacing)==null?void 0:i[o||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(o);if(a!=null)return V[r].map(s=>[`${e}${s}`,a])},ct=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},re=(e,t)=>{let r=e.split(/(?:\/|:)/),o,n;r[0]==="[color"?(o=r.slice(0,2).join(":"),n=r[2]):[o,n]=r;let a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=a;if(!i)return;let s,l=c.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=c.cssvar(o)),s=s||l;let f="DEFAULT";if(!s){let u,[x]=a.slice(-1);x.match(/^\d+$/)?(f=x,u=ct(t,a.slice(0,-1))):(u=ct(t,a),!u&&a.length<=2&&([,f=f]=a,u=ct(t,[i]))),typeof u=="string"?s=u:f&&u&&(s=u[f])}return{opacity:n,name:i,no:f,color:s,cssColor:te(s),alpha:c.bracket.cssvar.percent(n??"")}},w=(e,t)=>([,r],{theme:o})=>{let n=re(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:M(s,a)}:{[`--un-${t}-opacity`]:Z(s),[e]:M(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:M(i,a)}},oe=(e,t)=>{let r=[];e=O(e);for(let o=0;o<e.length;o++){let n=de(e[o]," ",6);if(!n||n.length<3)return e;let a=te(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${M(a)})`)}return r},Pe=(e,t)=>{var r;return e!=null&&!!((r=re(e,t))!=null&&r.color)},ne=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},fr=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var mr=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,w("outline-color","outline-color"),{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"outline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...W].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],dr=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],$i=e=>c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],gr=[[/^will-change-(.+)/,([,e])=>({"will-change":$i(e)})]];var ye=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...W],br=[[/^(?:border|b)()(?:-(.+))?$/,ge,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ge],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ge],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ge],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ge],[/^(?:border|b)-()(?:width|size)-(.+)$/,ae,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ae],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ae],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ae],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ae],[/^(?:border|b)-()(?:color-)?(.+)$/,be,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,be],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,be],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,be],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,be],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,he,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,he],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,he],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,he],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,he],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,xe,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,xe],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,xe],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,xe],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,xe],[/^(?:border|b)-(?:style-)?()(.+)$/,ie,{autocomplete:["(border|b)-style",`(border|b)-(${ye.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ye.join("|")})`,`(border|b)-<directions>-style-(${ye.join("|")})`,`(border|b)-style-(${ye.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ie],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ie],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ie],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ie]],ki=e=>([,t],r)=>{let o=re(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":Z(i),"border-color":M(i,"var(--un-border-opacity)")}:{"--un-border-opacity":Z(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 ge(e,t){let r=ae(e,t),o=ie(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function ae([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(e in V&&o!=null)return V[e].map(a=>[`border${a}-width`,o])}function be([,e="",t],{theme:r}){if(e in V&&Pe(t,r))return Object.assign({},...V[e].map(o=>ki(o)(["",t],r)))}function he([,e="",t]){let r=c.bracket.percent(t);if(e in V&&r!=null)return V[e].map(o=>[`--un-border${o}-opacity`,r])}function xe([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in ot&&o!=null)return ot[e].map(a=>[`border${a}-radius`,o])}function ie([,e="",t]){if(ye.includes(t)&&e in V)return V[e].map(r=>[`border${r}-style`,t])}var hr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],xr=[[/^(?:text|color|c)-(.+)$/,w("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],yr=[[/^bg-(.+)$/,w("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var Me={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=>c.properties(e)??Me[e],$r=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?vr(e):[Me.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??c.time(t||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":a}}},{autocomplete:`transition-(${Object.keys(Me).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"transition-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||vr(e)}),{autocomplete:[`transition-property-(${[...W,...Object.keys(Me)].join("|")})`]}],["transition-none",{transition:"none"}]];var kr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var wr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Sr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=O((o=t.fontSize)==null?void 0:o[e]);if(r!=null&&r[0]){let[n,a="1"]=r;return{"font-size":n,"line-height":a}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n;let r=O((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??c.bracket.cssvar.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":wr[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(wr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":e}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],Cr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Rr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],zr=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,w("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Tr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":oe(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,w("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var Er={"":"",x:"column-",y:"row-"},jr=([,e="",t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.rem(t);if(o!=null)return{[`grid-${Er[e]}gap`]:o,[`${Er[e]}gap`]:o}},Ar=[[/^(?:flex-|grid-)?gap-?()(.+)$/,jr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,jr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var I=e=>e.replace("col","column"),lt=e=>e[0]==="r"?"Row":"Column",wi=(e,t,r)=>{var n;let o=(n=t[`gridAuto${lt(e)}`])==null?void 0:n[r];if(o!=null)return o;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},Or=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-${I(e)}`]:((o=r[`grid${lt(e)}`])==null?void 0:o[t])??c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${I(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${I(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${I(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${I(e)}-end`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${I(e)}`]:wi(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":I(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-template-${I(e)}`]:((o=r[`gridTemplate${lt(e)}`])==null?void 0:o[t])??c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${I(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${I(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var Fe=["auto","hidden","clip","visible","scroll"],Vr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Fe.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Fe.join("|")})`,`(overflow|of)-(x|y)-(${Fe.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Fe.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Pr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Mr=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}]],Fr=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Ur=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}]],_r=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}]];function pt(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}function Ue([,e,t],r){let o=pt(t,r);if(o!=null&&e in rt)return rt[e].map(n=>[n.slice(1),o])}var Wr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:pt(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])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ue],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ue],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ue],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:pt(t,r)})]],Nr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],Br=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],Lr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var v="var(--un-empty,/*!*/ /*!*/)",Dr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:c.bracket.cssvar(e)||e})]],Ir=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],Kr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Hr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],qr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Xr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Yr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Gr=[[/^content-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e);return{content:t??`"${e}"`}}],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Zr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Jr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Qr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],eo=[["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"}]],to=[["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 ro={"--un-ring-inset":v,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},oo=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,w("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,w("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var no={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":v,"--un-shadow":"0 0 #0000"},ao=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":oe(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,w("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Si={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ve(e,t){return`${e||""}${Si[t]}`}function io(e,t,r,o){var i;let n=ve(e,t).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),a=(i=r[n])==null?void 0:i[o];if(a!=null)return a;switch(o){case"fit":case"max":case"min":return`${o}-content`}return c.bracket.cssvar.auto.fraction.rem(o)}var so=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[ve(e,t)]:io(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[ve(e,t)]:io(e,t,o,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[ve(e,t)]:(n=fr(o))==null?void 0:n[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[ve(e,t)]:(n=ne(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Ci(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(e)}var co=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ci(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var lo=[[/^pa?()-?(-?.+)$/,R("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,R("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(-?.+))?$/,R("padding")],[/^p-?([rltbse])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(-?.+))?$/,R("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],po=[[/^ma?()-?(-?.+)$/,R("margin")],[/^m-?xy()()$/,R("margin")],[/^m-?([xy])(?:-?(-?.+))?$/,R("margin")],[/^m-?([rltbse])(?:-?(-?.+))?$/,R("margin")],[/^m-(block|inline)(?:-(-?.+))?$/,R("margin")],[/^m-?([bi][se])(?:-?(-?.+))?$/,R("margin")]];var J=["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(" "),Ri=["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(" "),go={"--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":E[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(E).join("|")})`,`origin-(${Object.keys(E).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?E[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,uo],[/^(?:transform-)?translate-([xyz])-(.+)$/,uo],[/^(?:transform-)?rotate-()(.+)$/,mo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,mo],[/^(?:transform-)?skew-([xy])-(.+)$/,zi],[/^(?:transform-)?scale-()(.+)$/,fo],[/^(?:transform-)?scale-([xyz])-(.+)$/,fo],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:J}],["transform-cpu",{transform:J}],["transform-gpu",{transform:Ri}],["transform-none",{transform:"none"}]];function uo([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.fraction.rem(t);if(o!=null)return[...nt[e].map(a=>[`--un-translate${a}`,o]),["transform",J]]}function fo([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...nt[e].map(o=>[`--un-scale${o}`,r]),["transform",J]]}function mo([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:J}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:J}}function zi([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:J}}var Ti={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"},ho=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ti[e];if(r)return{[r]:c.cssvar(t)}}]],xo=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var yo=[[/^(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 vo=["solid","double","dotted","dashed","wavy",...W],$o=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"text-decoration-thickness":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=w("text-decoration-color","line")(e,t);if(r)return h({"-webkit-text-decoration-color":r["text-decoration-color"]},r)},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"text-underline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...vo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...vo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var ko=[[/^fill-(.+)$/,w("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-dashoffset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,w("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var ut={},wo=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}`},So={name:"breakpoints",match(e,t){let r=Object.entries(ne(t)??{}).map(([o,n],a)=>[o,n,a]);for(let[o,n,a]of r){ut[o]||(ut[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let i=e.match(ut[o]);if(!i)continue;let[,s]=i,l=e.slice(s.length);if(l==="container")continue;let p=s.startsWith("lt-"),f=s.startsWith("at-"),u=1e3;return p?(u-=a+1,{matcher:l,parent:[`@media (max-width: ${wo(n)})`,u]}):(u+=a+1,f&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${n}) and (max-width: ${wo(r[a+1][1])})`,u]}:{matcher:l,parent:[`@media (min-width: ${n})`,u]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var H=(e,t,r)=>{let o=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:n=>{let a=n.match(o);if(a)return{matcher:n.slice(a[0].length),selector:i=>r.replace("&&-s",i).replace("&&-c",a[1]??"*")}}}},Co=[H(!1,"all","&&-s &&-c"),H(!1,"children","&&-s>&&-c"),H(!1,"next","&&-s+&&-c"),H(!1,"sibling","&&-s+&&-c"),H(!1,"siblings","&&-s~&&-c"),H(!0,"group","&&-c &&-s"),H(!0,"parent","&&-c>&&-s"),H(!0,"previous","&&-c+&&-s"),H(!0,"peer","&&-c~&&-s")];var Ro=F("print","@media print"),zo={name:"media",match(e,{theme:t}){var o;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let n=((o=t.media)==null?void 0:o[r[1]])??`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${n}`}}}};var To=(e={})=>(e==null?void 0:e.dark)==="class"?[L("dark",t=>`.dark $$ ${t}`),L("light",t=>`.light $$ ${t}`)]:[F("dark","@media (prefers-color-scheme: dark)"),F("light","@media (prefers-color-scheme: light)")];var Eo=[L("rtl",e=>`[dir="rtl"] $$ ${e}`),L("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Ao={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},Oo={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),parent:`@layer ${t[1]}`}}},Vo={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]}}},Po={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}`}}},Mo={name:"important",match(e){let t=e.match(/^(important[:-]|!)/);if(t)return{matcher:e.slice(t[0].length),body:r=>(r.forEach(o=>{o[1]&&(o[1]+=" !important")}),r)}},autocomplete:"(important)"},jo=/[0-9.]+(?:[a-z]+|%)?/,Fo={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(o=>o[0]===ur))return;let r=!1;if(t.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||jo.test(n)&&(o[1]=n.replace(jo,i=>`-${i}`),r=!0)}),r)return t}}}};var ke=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}`])),we=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ei=["not","is","where","has"],ft=Object.entries(ke).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),mt=Object.entries(we).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),$e=Ei.join("|"),Uo=e=>{if(e==="active")return 1},_e=(e,t,r)=>{let o=new RegExp(`^${se(t)}:`),n=new RegExp(`^${e}-((?:(${$e})-)?(${ft}))[:-]`),a=new RegExp(`^${e}-((?:(${$e})-)?(${mt}))[:]`);return{name:`pseudo:${e}`,match(i){let s=i.match(n)||i.match(a);if(s){let l=ke[s[3]]||we[s[3]]||`:${s[3]}`;return s[2]&&(l=`:${s[2]}(${l})`),{matcher:i.slice(s[0].length),selector:p=>o.test(p)?p.replace(o,`${t}${l}:`):`${t}${l}${r}${p}`,sort:Uo(s[3])}}}}},_o=Object.entries(ke).map(([e])=>e).join("|"),ji=Object.entries(we).map(([e])=>e).join("|"),Ai=new RegExp(`^(${_o})[:-]`),Oi=new RegExp(`^(${ji})[:]`),Wo={name:"pseudo",match:e=>{let t=e.match(Ai)||e.match(Oi);if(t){let r=ke[t[1]]||we[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}${r}`,sort:Uo(t[1])}}},multiPass:!0,autocomplete:`(${_o}):`},Vi=new RegExp(`^(${$e})-(${ft})[:-]`),Pi=new RegExp(`^(${$e})-(${mt})[:]`),No={match:e=>{let t=e.match(Vi)||e.match(Pi);if(t){let r=t[1],o=ke[t[2]]||we[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${$e})-(${ft}|${mt}):`},Bo=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[z(h({},_e("group",t?'[group=""]':".group"," ")),{multiPass:!0}),z(h({},_e("peer",t?'[peer=""]':".peer","~")),{multiPass:!0}),z(h({},_e("parent",t?'[parent=""]':".parent",">")),{multiPass:!0}),z(h({},_e("previous",t?'[previous=""]':".previous","+")),{multiPass:!0})]},Mi=/(part-\[(.+)]:)(.+)/,Lo={match:e=>{let t=e.match(Mi);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var Do=e=>[Oo,Ao,Vo,Fo,Mo,Ro,zo,So,...Co,Wo,No,...Bo(e),Lo,...To(e),...Eo,Po];var Io=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o)return`@keyframes ${e}${o}
4
- ${r({animation:`${e}`})}`},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a,i,s,l,p,f,u;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o){let x=((s=(i=t.animation)==null?void 0:i.durations)==null?void 0:s[e])??"1s",m=((p=(l=t.animation)==null?void 0:l.timingFns)==null?void 0:p[e])??"linear",y=(u=(f=t.animation)==null?void 0:f.properties)==null?void 0:u[e];return`@keyframes ${e}${o}
5
- ${r(Object.assign({animation:`${e} ${x} ${m} infinite`},y))}`}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"animation-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-fill-mode":e}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-direction":e}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":c.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-play-state":e}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}]];var dt=e=>([,t],{theme:r})=>{let o=re(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let s=a;switch(i&&(n!=null?s=M(i,n):s=M(i,`var(--un-${e}-opacity, ${Z(i)})`)),e){case"from":return{"--un-gradient-from":s,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to, rgba(255, 255, 255, 0))"};case"via":return{"--un-gradient-stops":`var(--un-gradient-from), ${s}, var(--un-gradient-to, rgba(255, 255, 255, 0))`};case"to":return{"--un-gradient-to":s}}},Fi=/^\[url\(.+\)\]$/,Ui=/^\[length:.+\]$/,_i=/^\[position:.+\]$/,Ko=[[/^bg-(.+)$/,([,e])=>{if(Fi.test(e))return{"--un-url":c.bracket(e),"background-image":"var(--un-url)"};if(Ui.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)).join(" ")};if(_i.test(e)&&c.bracketOfPosition(e)!=null)return{"background-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,dt("from")],[/^(?:bg-gradient-)?to-(.+)$/,dt("to")],[/^(?:bg-gradient-)?via-(.+)$/,dt("via")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":c.bracket.percent(e)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgba(255, 255, 255, 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in E)return{"--un-gradient-shape":`to ${E[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(E).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in E?`to ${E[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(E).join("|")})`,`shape-(${Object.keys(E).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":E[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var We={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"},Ho=[[/^list-(.+)(?:-(outside|inside))?$/,([,e,t])=>t!=null?{"list-style-position":t,"list-style-type":We[e]}:{"list-style-type":We[e]},{autocomplete:[`list-(${Object.keys(We).join("|")})`,`list-(${Object.keys(We).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],qo=[[/^accent-(.+)$/,w("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Xo=[[/^caret-(.+)$/,w("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Yo=[["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"]]]],Go=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}]],Zo=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var Jo=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}]];var Wi=/@media \(min-width: (.+)\)/,Qo=[[/^__container$/,(e,{variantHandlers:t})=>{var o;let r="100%";for(let n of t){let a=O(n.parent||[])[0];if(typeof a=="string"){let i=(o=a.match(Wi))==null?void 0:o[1];i&&(r=i)}}return{"max-width":r}},{internal:!0}]],en=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(ne(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":v,"--un-brightness":v,"--un-contrast":v,"--un-drop-shadow":v,"--un-grayscale":v,"--un-hue-rotate":v,"--un-invert":v,"--un-saturate":v,"--un-sepia":v},Ne="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)",rn={"--un-backdrop-blur":v,"--un-backdrop-brightness":v,"--un-backdrop-contrast":v,"--un-backdrop-grayscale":v,"--un-backdrop-hue-rotate":v,"--un-backdrop-invert":v,"--un-backdrop-opacity":v,"--un-backdrop-saturate":v,"--un-backdrop-sepia":v},Be="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)",gt=e=>{let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},q=(e,t)=>([,r,o],{theme:n})=>{let a=t(o,n)??(o==="none"?"0":"");if(a!=="")return r?{[`--un-${r}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":Be,"backdrop-filter":Be}:{[`--un-${e}`]:`${e}(${a})`,filter:Ne}},Ni=([,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(${oe(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Ne};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Ne}},on=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,q("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,q("brightness",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,q("contrast",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ni,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,w("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,q("grayscale",gt),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,q("hue-rotate",e=>c.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,q("invert",gt),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,q("opacity",e=>c.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,q("saturate",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,q("sepia",gt),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ne}],["backdrop-filter",{"-webkit-backdrop-filter":Be,"backdrop-filter":Be}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}]];var an=[[/^space-?([xy])-?(-?.+)$/,nn,{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)-(-?.+)$/,nn],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function nn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let a=V[e].map(i=>{let s=`margin${i}`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-space-${e}-reverse`,0],...a]}}var sn=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],cn=[["hyphens-manual",{"-webkit-hyphens":"manual","-ms-hyphens":"manual",hyphens:"manual"}],["hyphens-auto",{"-webkit-hyphens":"auto","-ms-hyphens":"auto",hyphens:"auto"}],["hyphens-none",{"-webkit-hyphens":"none","-ms-hyphens":"none",hyphens:"none"}]],ln=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}]],pn=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}]],un=[["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"}]],fn=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],mn=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-([-\w]+)$/,([,e])=>({"object-position":E[e]}),{autocomplete:`object-(${Object.keys(E).join("|")})`}]],dn=[["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"}]],gn=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}]];var hn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},bn="var(--un-border-spacing-x) var(--un-border-spacing-y)",xn=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{var o;let r=((o=t.spacing)==null?void 0:o[e])??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":bn}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.global.auto.fraction.rem(t);if(o!=null)return{[`--un-border-spacing-${e}`]:o,"border-spacing":bn}},{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 Bi={"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"},yn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Bi[e];if(r)return{[r]:c.cssvar(t)}}]];var vn=[[/^divide-?([xy])$/,Le,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Le],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Le],[/^divide-(block|inline)-(-?.+)$/,Le],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,w("border-color","divide"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],["divide-solid",{"border-style":"solid"}],["divide-dashed",{"border-style":"dashed"}],["divide-dotted",{"border-style":"dotted"}],["divide-double",{"border-style":"double"}],["divide-none",{"border-style":"none"}]];function Le([,e,t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(o!=null){let a=V[e].map(i=>{let s=`border${i}-width`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-divide-${e}-reverse`,0],...a]}}var $n=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],["line-clamp-none",{"-webkit-line-clamp":"unset","line-clamp":"unset"}]];var kn={"--un-ordinal":v,"--un-slashed-zero":v,"--un-numeric-figure":v,"--un-numeric-spacing":v,"--un-numeric-fraction":v},Y=e=>z(h({},e),{"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),wn=[[/^ordinal$/,()=>Y({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Y({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Y({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Y({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Y({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Y({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Y({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Y({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Sn={"--un-pan-x":v,"--un-pan-y":v,"--un-pinch-zoom":v},bt="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Cn=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":bt}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":bt})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":bt}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}]];var Rn={"--un-scroll-snap-strictness":"proximity"},zn=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"})],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(-?.+)$/,R("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([rltb])-?(-?.+)$/,R("scroll-margin")],[/^scroll-m-(block|inline)-(-?.+)$/,R("scroll-margin")],[/^scroll-m-?([bi][se])-?(-?.+)$/,R("scroll-margin")],[/^scroll-pa?()-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([xy])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([rltb])-?(-?.+)$/,R("scroll-padding")],[/^scroll-p-(block|inline)-(-?.+)$/,R("scroll-padding")],[/^scroll-p-?([bi][se])-?(-?.+)$/,R("scroll-padding")]];var Tn=[[/^\$ placeholder-(.+)$/,w("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var ht=[ho,yn,xo,Qo,un,Hr,Ir,Pr,Wr,$n,fn,Br,Fr,Or,Nr,po,Lr,Dr,co,so,kr,xn,bo,Io,Kr,Cn,Xr,qr,zn,Ho,dr,Jo,_r,Ur,Mr,Ar,an,vn,Vr,Go,Zo,Jr,Yr,Zr,br,yr,Ko,ko,mn,lo,cr,Rr,sr,Sr,Qr,sn,eo,wn,xr,$o,to,Cr,zr,Tr,cn,ln,pn,Xo,qo,hr,dn,gn,ao,mr,oo,Yo,on,$r,gr,Gr,Tn,yo].flat(1);var xt=[...en];var yt={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(yt).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 Li={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"]},Ip=z(h({},Li),{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 $t={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},En=["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"],Se=Object.assign({},...En.map(e=>({[e.replace(/ /,"-")]:e})),...En.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),Di=["inherit","initial","revert","revert-layer","unset"],kt=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function jn(e=""){let t=Ki(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)&&!(kt.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function Ii(e){let t=e.alpha??1;return t==="%alpha"?1:t}function De(e,t){if(typeof e=="string")return e.replace("%alpha",`${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}`,kt.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Ki(e){if(!e)return;let t=Hi(e);if(t!=null||(t=qi(e),t!=null)||(t=Xi(e),t!=null)||(t=Gi(e),t!=null)||(t=Zi(e),t!=null))return t}function Hi(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 qi(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=Ie(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 Yi=new RegExp(`^(${kt.join("|")})\\((.+)\\)$`,"i");function Gi(e){let t=e.match(Yi);if(!t)return;let[,r,o]=t,n=An(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function Zi(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=An(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function An(e){let t=Ie(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=Ie(t[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:t};let n=o.pop();return t[r-1]=o.join("/"),{components:t,alpha:n}}function Ji(e,t){if(e=e.trim(),e==="")return;let r=e.length,o=0;for(let n=0;n<r;n++)switch(e[n]){case"(":o++;break;case")":if(--o<0)return;break;case t:if(o===0){let a=e.slice(0,n).trim();return a===""?void 0:[a,e.slice(n+1).trim()]}}return[e,""]}function Ie(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=Ji(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var Qi=["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"],wt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i,es=/^(-?[0-9.]+)$/i,On=/^(px)$/i;function B(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ts(e){let t=e.match(wt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${B(n)}${o}`}function rs(e){if(e==="auto"||e==="a")return"auto"}function os(e){if(e.match(On))return`1${e}`;let t=e.match(wt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n/4)}rem`}function ns(e){if(e.match(On))return`1${e}`;let t=e.match(wt);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}px`}function as(e){if(!es.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return B(t)}function is(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${B(t/100)}`}function ss(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 cs=/^\[(color|length|position):/i;function Ke(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(cs);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,n=>n.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function ls(e){return Ke(e)}function ps(e){return Ke(e,"color")}function us(e){return Ke(e,"length")}function fs(e){return Ke(e,"position")}function ms(e){if(e.match(/^\$\S/))return`var(--${ce(e.slice(1))})`}function ds(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 gs(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 bs(e){if(Di.includes(e))return e}function hs(e){if(e.split(",").every(t=>Qi.includes(t)))return e}function xs(e){if(["top","left","right","bottom","center"].includes(e))return e}var ys={__proto__:null,numberWithUnit:ts,auto:rs,rem:os,px:ns,number:as,percent:is,fraction:ss,bracket:ls,bracketOfColor:ps,bracketOfLength:us,bracketOfPosition:fs,cssvar:ms,time:ds,degree:gs,global:bs,properties:hs,position:xs},j=Oe(ys);var vt=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},vs=(e,t)=>{let r=e.split(/(?:\/|:)/),o,n;r[0]==="[color"?(o=r.slice(0,2).join(":"),n=r[2]):[o,n]=r;let a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=a;if(!i)return;let s,l=j.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=j.cssvar(o)),s=s||l;let f="DEFAULT";if(!s){let u,[x]=a.slice(-1);x.match(/^\d+$/)?(f=x,u=vt(t,a.slice(0,-1))):(u=vt(t,a),!u&&a.length<=2&&([,f=f]=a,u=vt(t,[i]))),typeof u=="string"?s=u:f&&u&&(s=u[f])}return{opacity:n,name:i,no:f,color:s,cssColor:jn(s),alpha:j.bracket.cssvar.percent(n??"")}},He=(e,t)=>([,r],{theme:o})=>{let n=vs(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:De(s,a)}:{[`--un-${t}-opacity`]:Ii(s),[e]:De(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:De(i,a)}},Vn=(e,t)=>{let r=[];e=O(e);for(let o=0;o<e.length;o++){let n=Ie(e[o]," ",6);if(!n||n.length<3)return e;let a=jn(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${De(a)})`)}return r};var Un="var(--un-empty,/*!*/ /*!*/)";var _n={"--un-ring-inset":Un,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},qp=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??j.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??j.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??j.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,He("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":j.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,He("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":j.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Wn={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":Un,"--un-shadow":"0 0 #0000"},Xp=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":Vn(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,He("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":j.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Q=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),$s=["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(" "),Nn={"--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},Yp=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Se[e]??j.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Se).join("|")})`,`origin-(${Object.keys(Se).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=j.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=j.bracket.cssvar(e)??(e.length>=3?Se[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Pn],[/^(?:transform-)?translate-([xyz])-(.+)$/,Pn],[/^(?:transform-)?rotate-()(.+)$/,Fn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Fn],[/^(?:transform-)?skew-([xy])-(.+)$/,ks],[/^(?:transform-)?scale-()(.+)$/,Mn],[/^(?:transform-)?scale-([xyz])-(.+)$/,Mn],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Q}],["transform-cpu",{transform:Q}],["transform-gpu",{transform:$s}],["transform-none",{transform:"none"}]];function Pn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??j.bracket.cssvar.fraction.rem(t);if(o!=null)return[...$t[e].map(a=>[`--un-translate${a}`,o]),["transform",Q]]}function Mn([,e,t]){let r=j.bracket.cssvar.fraction.percent(t);if(r!=null)return[...$t[e].map(o=>[`--un-scale${o}`,r]),["transform",Q]]}function Fn([,e="",t]){let r=j.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Q}}function ks([,e,t]){let r=j.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:Q}}var Bn={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(",")},Ln={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"]},Dn={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},In={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Kn={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 #0000",sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"]},Hn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Rt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},qn=Rt,zt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Xn=h({},zt),Yn={DEFAULT:"1px",none:"0px"},Gn={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"},Zn={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Jn={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Qn={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],none:"0 0 #0000",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)"},ea={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)"},ta={DEFAULT:"1px",none:"0px"},ra={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},oa={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},ze={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},St=z(h({auto:"auto"},ze),{screen:"100vw"}),Ce=z(h({none:"none"},ze),{screen:"100vw"}),Ct=z(h({auto:"auto"},ze),{screen:"100vh"}),Re=z(h({none:"none"},ze),{screen:"100vh"}),na=h(h(h({},Nn),Wn),_n),Tt={width:St,height:Ct,maxWidth:Ce,maxHeight:Re,minWidth:Ce,minHeight:Re,inlineSize:St,blockSize:Ct,maxInlineSize:Ce,maxBlockSize:Re,minInlineSize:Ce,minBlockSize:Re,colors:yt,fontFamily:Bn,fontSize:Ln,breakpoints:zt,verticalBreakpoints:Xn,borderRadius:Jn,lineHeight:Hn,letterSpacing:Rt,wordSpacing:qn,boxShadow:Qn,textIndent:Dn,textShadow:Kn,textStrokeWidth:In,blur:ra,dropShadow:oa,easing:ea,lineWidth:Yn,spacing:Gn,duration:Zn,ringWidth:ta,preflightBase:na};var Et=z(h({},Tt),{animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1% to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",useData_ok:"(prefers-reduced-data: no-preference)",useData_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},preflightBase:h(h(h(h(h(h(h(h(h({},go),Sn),Rn),kn),hn),no),ro),tn),rn)});var aa=[L("svg",e=>`${e} svg`)];var ia=[L(".dark",e=>`.dark $$ ${e}`),L(".light",e=>`.light $$ ${e}`),F("@dark","@media (prefers-color-scheme: dark)"),F("@light","@media (prefers-color-scheme: light)")];var sa=[F("contrast-more","@media (prefers-contrast: more)"),F("contrast-less","@media (prefers-contrast: less)")],ca=[F("motion-reduce","@media (prefers-reduced-motion: reduce)"),F("motion-safe","@media (prefers-reduced-motion: no-preference)")],la=[F("landscape","@media (orientation: landscape)"),F("portrait","@media (orientation: portrait)")];var pa=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var ua=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(Pe(a,t)||ws(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function ws(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}var jt=e=>[ua,pa,...Do(e),...sa,...la,...ca,...aa,...ia];var fa=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,ma=(e,t,r)=>{let o=[e,t],n=[];for(let i=0;i<2;++i){let s=typeof o[i]=="string"?te(o[i]):o[i];if(!s||!["rgb","rgba"].includes(s.type))return;n.push(s)}let a=[];for(let i=0;i<3;++i)a.push(fa(n[0].components[i],n[1].components[i],r));return{type:"rgb",components:a,alpha:fa(n[0].alpha??1,n[1].alpha??1,r)}},da=(e,t)=>ma("#fff",e,t),ga=(e,t)=>ma("#000",e,t),Ss=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?ga(e,t):da(e,-r)},Cs={tint:da,shade:ga,shift:Ss},ba=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=te(`${o[1]}`);if(n){let a=Cs[t[1]](n,t[2]);a&&(o[1]=M(a))}}}),r)}};var Rs=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:Et,rules:ht,shortcuts:xt,variants:[...jt(e),ba],options:e,preflights:tt}),ha=Rs;var At={"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":"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 xa(e,t,r){let o="";for(let n in r){let a=r[n],i=n.split(",").map(s=>{let l=s.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(l){let p=l[0];return s=s.replace(p,""),`${e} :where(${s}):not(.not-${t})${p}`}return null}).filter(s=>s);i.length?o+=i.join(","):o+=`${e} :where(${n}):not(.not-${t})`,o+="{";for(let s in a){let l=a[s];o+=`${s}:${l};`}o+="}"}return o}function ya(e,t,r){return e.startsWith(".")||(e=`:is(${e},.${t})`),r?xa(e,t,ue(At,r)):xa(e,t,At)}function zs(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$`),s=e==null?void 0:e.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-1},rules:[[n,(l,{rawSelector:p})=>(t=!0,r=Qe(p),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[a,([,l],{theme:p})=>{var x,m;let f=(x=p.colors)==null?void 0:x[l];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=p.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?ya(r,o,s):void 0}]}}var va=zs;var qe="__TAGIFY__",Ts=/<([\w\d-:]+)/g,$a=e=>{let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:o}){return new Set(Array.from(o.matchAll(Ts)).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])=>`${qe}${n}`))}}};var ka=e=>{let{extraProperties:t}=e,r=`${qe}${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(qe.length+1)};return t&&(typeof t=="function"?a.body=i=>[...i,...Object.entries(t(n)??{})]:a.body=i=>[...i,...Object.entries(t)]),a}}};var Es=(e={})=>{let{defaultExtractor:t=!0}=e,r=[ka(e)],o=[$a(e)];return t&&o.push(G),{name:"@unocss/preset-tagify",variants:r,extractors:o}},wa=Es;var js=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),Sa=e=>e.charAt(0).toUpperCase()+e.slice(1),Ca=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),Ra=["Webkit","Moz","ms"];function za(e){let t={};function r(o){let n=t[o];if(n)return n;let a=js(o);if(a!=="filter"&&a in e)return t[o]=Ca(a);a=Sa(a);for(let i=0;i<Ra.length;i++){let s=`${Ra[i]}${a}`;if(s in e)return t[o]=Ca(Sa(s))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Ot(e={}){var U,X;if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let t=window.__unocss||{},r=t==null?void 0:t.runtime,o=Object.assign(e.defaults||{},r);if(r!=null&&r.autoPrefix){let d=o.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(za(document.createElement("div").style)),o.postprocess=d}(U=r==null?void 0:r.configResolved)==null||U.call(r,t,o);let n,a=!0,i,s=Zt(t,o),l=new Set,p,f=[],u=()=>new Promise(d=>{f.push(d),p!=null&&clearTimeout(p),p=setTimeout(()=>m().then(()=>{let k=f;f=[],k.forEach(P=>P())}),0)});function x(d=document.body){if(d.nodeType!==1)return;let k=d;k.hasAttribute("un-cloak")&&k.removeAttribute("un-cloak"),k.querySelectorAll("[un-cloak]").forEach(P=>{P.removeAttribute("un-cloak")})}async function m(){let d=await s.generate(l);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=d.css,l=d.matched}async function y(d){let k=l.size;await s.applyExtractors(d,void 0,l),k!==l.size&&await u()}async function S(){let d=document.body&&document.body.outerHTML;d&&(await y(d),x())}let A=new MutationObserver(d=>{a||d.forEach(async k=>{if(k.target.nodeType!==1)return;let P=k.target;if(P!==n)if(k.type==="childList")k.addedNodes.forEach(async K=>{if(K.nodeType!==1)return;let _=K;i&&!i(_)||(await y(_.outerHTML),x(_))});else{if(i&&!i(P))return;if(k.attributeName!=="un-cloak"){let K=Array.from(P.attributes).map(D=>D.value?`${D.name}="${D.value}"`:D.name).join(" "),_=`<${P.tagName.toLowerCase()} ${K}>`;await y(_)}P.hasAttribute("un-cloak")&&P.removeAttribute("un-cloak")}})}),g=!1;function b(){if(g)return;let d=document.documentElement||document.body;!d||(A.observe(d,{childList:!0,subtree:!0,attributes:!0}),g=!0)}function $(){S(),b()}function C(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",$):$()}let T=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(d){typeof d!="string"&&(d.forEach(k=>l.add(k)),d=""),await y(d)},extractAll:S,inspect(d){i=d},toggleObserver(d){d===void 0?a=!a:a=!!d,!g&&!a&&C()}};((X=r==null?void 0:r.ready)==null?void 0:X.call(r,T))!==!1&&(a=!1,C())}Ot({defaults:{presets:[nr(),ha(),va(),wa()]}});})();
1
+ (()=>{var Ft=Object.defineProperty,Aa=Object.defineProperties;var Va=Object.getOwnPropertyDescriptors;var je=Object.getOwnPropertySymbols;var Ut=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var Mt=(e,t,r)=>t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Ut.call(t,r)&&Mt(e,r,t[r]);if(je)for(var r of je(t))_t.call(t,r)&&Mt(e,r,t[r]);return e},T=(e,t)=>Aa(e,Va(t));var Wt=(e,t)=>{var r={};for(var o in e)Ut.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&je)for(var o of je(e))t.indexOf(o)<0&&_t.call(e,o)&&(r[o]=e[o]);return r};var Oa=(e,t)=>{for(var r in t)Ft(e,r,{get:t[r],enumerable:!0})};function le(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pe(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 Ae=pe;function fe(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Nt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>fe(t)):[e]:[fe(e)]}function Pa(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 te(e){return e==null?"":Pa(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Ve(e){return e&&typeof e=="object"&&!Array.isArray(e)}function me(e,t){let r=e,o=t;if(Array.isArray(r)&&Array.isArray(o))return[...r,...o];if(Array.isArray(r))return[...r];let n=g({},r);return Ve(r)&&Ve(o)&&Object.keys(o).forEach(a=>{Ve(r[a])&&Ve(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?n[a]=me(r[a],o[a]):Object.assign(n,{[a]:o[a]})}),n}function ue(e){let t,r,o;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(o=e[t])&&typeof o=="object"?ue(o):o;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:ue(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(o=e[t])&&typeof o=="object"?ue(o):o;return r}return e}function Bt(e){return typeof e[0]=="string"}function Lt(e){return typeof e[0]=="string"}function U(e=[]){return Array.isArray(e)?e:[e]}function de(e){return Array.from(new Set(e))}var Ma=/^\[(.+?)~?="(.*)"\]$/;var Fa=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/,Ge="$$shortcut-no-merge";function Dt(e){return e.match(Ma)}function ge(e=""){return Fa.test(e)}function It(e){return typeof e=="function"?{match:e}:e}function Ze(e){return e.length===3}function qt(e){return e!=null}function Je(){}var Oe=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 Kt=/([!\w+:_/-]+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Ht(e){Kt.lastIndex=0;let t=!1;do{let r=e.toString();e=e.replace(Kt,(o,n,a,i)=>i.split(/\s/g).map(s=>s==="~"?n:s.replace(/^(!?)(.*)/,`$1${n}${a}$2`)).join(" ")),t=e.toString()!==r}while(t);return e}var Xt=new Set;function Yt(e){Xt.has(e)||(console.warn("[unocss]",e),Xt.add(e))}function Pe(e){let t=function(o){var a;let n=((a=this.__options)==null?void 0:a.sequence)||[];this.__options.sequence=[];for(let i of n){let s=e[i](o);if(s!=null)return s}};function r(o,n){return o.__options||(o.__options={sequence:[]}),o.__options.sequence.push(n),o}for(let o of Object.keys(e))Object.defineProperty(t,o,{enumerable:!0,get(){return r(this,o)}});return t}var Ua=e=>e.split(/[\s'"`;>=]+/g).filter(ge),G={name:"split",order:0,extract({code:e}){return new Set(Ua(e))}};function Gt(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function _a(e){return U(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Wa={preflights:-100,shortcuts:-10,default:0};function Qe(e={},t={}){let r=Object.assign({},t,e),o=(r.presets||[]).flatMap(U),n=[...o.filter(m=>m.enforce==="pre"),...o.filter(m=>!m.enforce),...o.filter(m=>m.enforce==="post")],a=Object.assign(Wa,...o.map(m=>m.layers),e.layers);function i(m){return de([...n.flatMap(x=>U(x[m]||[])),...U(r[m]||[])])}let s=i("extractors");s.length||s.push(G),s.sort((m,x)=>(m.order||0)-(x.order||0));let l=i("rules"),p={},f=l.length;l.forEach((m,x)=>{Bt(m)&&(p[m[0]]=[x,m[1],m[2],m],delete l[x])});let u=ue([...n.map(m=>m.theme||{}),r.theme||{}].reduce((m,x)=>me(m,x),{}));i("extendTheme").forEach(m=>m(u));let b={templates:de(n.map(m=>{var x;return U((x=m.autocomplete)==null?void 0:x.templates)}).flat()),extractors:n.map(m=>{var x;return U((x=m.autocomplete)==null?void 0:x.extractors)}).flat().sort((m,x)=>(m.order||0)-(x.order||0))};return T(g({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:l,rulesStaticMap:p,preprocess:i("preprocess"),postprocess:i("postprocess"),preflights:i("preflights"),autocomplete:b,variants:i("variants").map(It),shortcuts:_a(i("shortcuts")),extractors:s,safelist:i("safelist")})}var Zt="0.38.2";var et=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=Qe(t,r),this.events.emit("config",this.config)}version=Zt;_cache=new Map;config;blocked=new Set;parentOrders=new Map;events=Gt();setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=Qe(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,o=new Set){let n={get original(){return t},code:t,id:r};for(let a of this.config.extractors){let i=await a.extract(n);i==null||i.forEach(s=>o.add(s))}return o}makeContext(t,r){let o={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(o,...n),variantMatch:r};return o}async parseToken(t,r){var l;if(this.blocked.has(t))return;let o=`${t}${r?` ${r}`:""}`;if(this._cache.has(o))return this._cache.get(o);let n=t;for(let p of this.config.preprocess)n=p(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(o,null);return}let a=this.matchVariants(t,n);if(!a||this.isBlocked(a[1])){this.blocked.add(t),this._cache.set(o,null);return}let i=this.makeContext(t,[r||a[0],a[1],a[2],a[3]]);this.config.details&&(i.variants=[...a[3]]);let s=this.expandShortcut(i.currentSelector,i);if(s){let p=await this.stringifyShortcuts(i.variantMatch,i,s[0],s[1]);if(p!=null&&p.length)return this._cache.set(o,p),p}else{let p=(l=await this.parseUtil(i.variantMatch,i))==null?void 0:l.map(f=>this.stringifyUtil(f,i)).filter(qt);if(p!=null&&p.length)return this._cache.set(o,p),p}this._cache.set(o,null)}async generate(t="",{id:r,scope:o,preflights:n=!0,safelist:a=!0,minify:i=!1}={}){let s=typeof t=="string"?await this.applyExtractors(t,r):t;a&&this.config.safelist.forEach(h=>s.add(h));let l=i?"":`
2
+ `,p=new Set(["default"]),f=new Set,u=new Map,b={},m=Array.from(s).map(async h=>{var S;if(f.has(h))return;let $=await this.parseToken(h);if($!=null){f.add(h);for(let j of $){let F=j[3]||"",d=(S=j[4])==null?void 0:S.layer;u.has(F)||u.set(F,[]),u.get(F).push(j),d&&p.add(d)}}}),x=(async()=>{if(!n)return;let h={generator:this,theme:this.config.theme},$=new Set(["default"]);this.config.preflights.forEach(({layer:S})=>{S&&(p.add(S),$.add(S))}),b=Object.fromEntries(await Promise.all(Array.from($).map(async S=>{let F=(await Promise.all(this.config.preflights.filter(d=>(d.layer||"default")===S).map(async d=>await d.getCSS(h)))).filter(Boolean).join(l);return[S,F]})))})();await Promise.all([...m,x]);let w=this.config.sortLayers(Array.from(p).sort((h,$)=>(this.config.layers[h]??0)-(this.config.layers[$]??0)||h.localeCompare($))),E={},k=h=>{if(E[h])return E[h];let $=Array.from(u).sort((S,j)=>{var F;return(this.parentOrders.get(S[0])??0)-(this.parentOrders.get(j[0])??0)||((F=S[0])==null?void 0:F.localeCompare(j[0]||""))||0}).map(([S,j])=>{let F=j.length,d=j.filter(y=>{var V;return(((V=y[4])==null?void 0:V.layer)||"default")===h}).sort((y,V)=>{var I,K,ee;return y[0]-V[0]||(((I=y[4])==null?void 0:I.sort)||0)-(((K=V[4])==null?void 0:K.sort)||0)||((ee=y[1])==null?void 0:ee.localeCompare(V[1]||""))||0}).map(y=>{var V;return[y[1]?La(y[1],o):y[1],y[2],!!((V=y[4])!=null&&V.noMerge)]}).map(y=>[y[0]==null?y[0]:[y[0]],y[1],y[2]]);if(!d.length)return;let A=d.reverse().map(([y,V,I],K)=>{if(!I&&y&&this.config.mergeSelectors)for(let ee=K+1;ee<F;ee++){let ce=d[ee];if(ce&&!ce[2]&&ce[0]&&ce[1]===V)return ce[0].push(...y),null}return y?`${[...new Set(y)].join(`,${l}`)}{${V}}`:V}).filter(Boolean).reverse().join(l);return S?`${S}{${l}${A}${l}}`:A}).filter(Boolean).join(l);return n&&($=[b[h],$].filter(Boolean).join(l)),E[h]=!i&&$?`/* layer: ${h} */${l}${$}`:$},R=(h=w,$)=>h.filter(S=>!($!=null&&$.includes(S))).map(S=>k(S)||"").filter(Boolean).join(l);return{get css(){return R()},layers:w,getLayers:R,getLayer:k,matched:f}}matchVariants(t,r){let o=new Set,n=[],a=r||t,i=!1,s={rawSelector:t,theme:this.config.theme,generator:this};for(;;){i=!1;for(let l of this.config.variants){if(!l.multiPass&&o.has(l))continue;let p=l.match(a,s);if(!!p){typeof p=="string"&&(p={matcher:p}),a=p.matcher,Array.isArray(p.parent)&&this.parentOrders.set(p.parent[0],p.parent[1]),n.unshift(p),o.add(l),i=!0;break}}if(!i)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,a,n,o]}applyVariants(t,r=t[4],o=t[1]){let n=[...r].sort((l,p)=>(l.order||0)-(p.order||0)),a=n.reduce((l,p)=>{var f;return((f=p.body)==null?void 0:f.call(p,l))||l},t[2]),i=n.reduce((l,p)=>{var f;return((f=p.selector)==null?void 0:f.call(p,l,a))||l},tt(o)),s={selector:Da(i),entries:a,parent:n.reduce((l,p)=>Array.isArray(p.parent)?p.parent[0]:p.parent||l,void 0),layer:n.reduce((l,p)=>p.layer||l,void 0),sort:n.reduce((l,p)=>p.sort||l,void 0)};for(let l of this.config.postprocess)l(s);return s}constructCustomCSS(t,r,o){r=fe(r);let{selector:n,entries:a,parent:i}=this.applyVariants([0,o||t.rawSelector,r,void 0,t.variantHandlers]),s=`${n}{${te(a)}}`;return i?`${i}{${s}}`:s}async parseUtil(t,r,o=!1){var u,b;let[n,a,i]=typeof t=="string"?this.matchVariants(t):t,s=this.config.details?m=>{r.rules=r.rules??[],r.rules.push(m)}:Je,l=this.config.rulesStaticMap[a];if(l&&l[1]&&(o||!((u=l[2])!=null&&u.internal)))return s(l[3]),[[l[0],n,fe(l[1]),l[2],i]];r.variantHandlers=i;let{rulesDynamic:p,rulesSize:f}=this.config;for(let m=f-1;m>=0;m--){let x=p[m];if(!x||((b=x[2])==null?void 0:b.internal)&&!o)continue;let[w,E,k]=x,R=a.match(w);if(!R)continue;let h=await E(R,r);if(!h)continue;if(s(x),typeof h=="string")return[[m,h,k]];let $=Nt(h).filter(S=>S.length);if($.length)return $.map(S=>[m,n,S,k,i])}}stringifyUtil(t,r){if(!t)return;if(Ze(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0];let{selector:o,entries:n,parent:a,layer:i,sort:s}=this.applyVariants(t),l=te(n);if(!l)return;let m=t[3]??{},{layer:p,sort:f}=m,u=Wt(m,["layer","sort"]),b=T(g({},u),{layer:i??p,sort:s??f});return[t[0],o,l,a,b,this.config.details?r:void 0]}expandShortcut(t,r,o=3){if(o===0)return;let n=this.config.details?s=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(s)}:Je,a,i;for(let s of this.config.shortcuts)if(Lt(s)){if(s[0]===t){a=a||s[2],i=s[1],n(s);break}}else{let l=t.match(s[0]);if(l&&(i=s[1](l,r)),i){a=a||s[2],n(s);break}}if(typeof i=="string"&&(i=Ht(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var l;return((l=this.expandShortcut(s,r,o-1))==null?void 0:l[0])||[s]}).filter(s=>s!==""),a]}async stringifyShortcuts(t,r,o,n={layer:this.config.shortcutsLayer}){var f;let a=new Oe,i=(await Promise.all(de(o).map(async u=>{let b=await this.parseUtil(u,r,!0);return b||Yt(`unmatched utility "${u}" in shortcut "${t[1]}"`),b||[]}))).flat(1).filter(Boolean).sort((u,b)=>u[0]-b[0]),[s,,l]=t,p=[];for(let u of i){if(Ze(u)){p.push([u[0],void 0,u[1],void 0,u[2],r]);continue}let{selector:b,entries:m,parent:x,sort:w}=this.applyVariants(u,[...u[4],...l],s);a.getFallback(b,x,[[],u[0]])[0].push([m,!!((f=u[3])!=null&&f.noMerge),w??0])}return p.concat(a.map(([u,b],m,x)=>{let w=(k,R,h)=>{let $=Math.max(...h.map(j=>j[1])),S=h.map(j=>j[0]);return(k?[S.flat(1)]:S).map(j=>{let F=te(j);if(F)return[b,m,F,x,T(g({},n),{noMerge:R,sort:$}),r]})};return[[u.filter(([,k])=>k).map(([k,,R])=>[k,R]),!0],[u.filter(([,k])=>!k).map(([k,,R])=>[k,R]),!1]].map(([k,R])=>[...w(!1,R,k.filter(([h])=>h.some($=>$[0]===Ge))),...w(!0,R,k.filter(([h])=>h.every($=>$[0]!==Ge)))])}).flat(2).filter(Boolean))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function Qt(e,t){return new et(e,t)}var er=/ \$\$ /,Ba=e=>e.match(er);function La(e,t){return Ba(e)?e.replace(er,t?` ${t} `:" "):t?`${t} ${e}`:e}function Da(e){let t=e.match(/::[\w-]+/g);return t&&(t.forEach(r=>e=e.replace(r,"")),e+=t.join("")),e}var Jt=/^\[(.+?)(~?=)"(.*)"\]$/;function tt(e){return Jt.test(e)?e.replace(Jt,(t,r,o,n)=>`[${Ae(r)}${o}"${Ae(n)}"]`):`.${Ae(e)}`}var rt=/^(?!\[(?:[^:]+):(?:.+)\]$)((?:.+:)?!?)?(.*)$/,tr=(e={})=>{let t=e.prefix??"un-",r=e.prefixedOnly??!1,o=e.trueToNonValued??!1;return{name:"attributify",match(n){let a=Dt(n);if(!a)return;let i=a[1];if(i.startsWith(t))i=i.slice(t.length);else if(r)return;let s=a[2],[,l="",p=s]=s.match(rt)||[];return p==="~"||o&&p==="true"||!p?`${l}${i}`:`${l}${i}-${p}`}}};var Ia=/(<\w[\w:\.$-]*\s)((?:'[^>]*?'|"[^>]*?"|`[^>]*?`|\{[^>]*?\}|[^>]*?)*)/g,qa=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=("[^"]*|'[^']*))?/g,rr=/[\s'"`;>]+/,or={name:"attributify",extract:({content:e,cursor:t})=>{let r=e.matchAll(Ia),o,n=0;for(let w of r){let[,E,k]=w,R=w.index+E.length;if(t>R&&t<=R+k.length){n=R,o=k;break}}if(!o)return null;let a=o.matchAll(qa),i=0,s,l;for(let w of a){let[E,k,R]=w,h=n+w.index;if(t>h&&t<=h+E.length){i=h,s=k,l=R==null?void 0:R.slice(1);break}}if(!s||s==="class"||s==="className")return null;if(l===void 0)return{extracted:s,resolveReplacement(w){return{start:i,end:i+s.length,replacement:w}}};let p=i+s.length+2,f=rr.exec(l),u=0,b;for(;f;){let[w]=f;if(t>p+u&&t<=p+u+f.index){b=l.slice(u,u+f.index);break}u+=f.index+w.length,f=rr.exec(l.slice(u))}b===void 0&&(b=l.slice(u));let[,m="",x]=b.match(rt)||[];return{extracted:`${m}${s}-${x}`,transformSuggestions(w){return w.filter(E=>E.startsWith(`${m}${s}-`)).map(E=>m+E.slice(m.length+s.length+1))},resolveReplacement(w){return{start:u+p,end:u+p+b.length,replacement:m+w.slice(m.length+s.length+1)}}}}};var Ka=["v-bind:",":"],nr=/[\s'"`;]+/g,Ha=/<\w(?=.*>)[\w:\.$-]*\s((?:['"`\{].*?['"`\}]|.*?)*?)>/gs,Xa=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:!%-]+)(?:=(["'])([^\2]*?)\2)?/g,ar=e=>{let t=(e==null?void 0:e.ignoreAttributes)??[],r=(e==null?void 0:e.nonValuedAttribute)??!0,o=(e==null?void 0:e.trueToNonValued)??!1;return{name:"attributify",extract({code:n}){let a=Array.from(n.matchAll(Ha)).flatMap(i=>Array.from((i[1]||"").matchAll(Xa))).flatMap(([,i,s,l])=>{if(t.includes(i))return[];for(let p of Ka)if(i.startsWith(p)){i=i.slice(p.length);break}if(!l){if(ge(i)&&r!==!1){let p=[`[${i}=""]`];return o&&p.push(`[${i}="true"]`),p}return[]}return["class","className"].includes(i)?l.split(nr).filter(ge):l.split(nr).filter(Boolean).map(p=>`[${i}~="${p}"]`)});return new Set(a)}}};var Ya=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??[];let t=[tr(e)],r=[ar(e)],o=[or];return e.strict||r.unshift(G),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e,autocomplete:{extractors:o}}},ir=Ya;var ot=[{layer:"preflights",getCSS(e){if(e.theme.preflightBase)return`*,::before,::after{${te(Object.entries(e.theme.preflightBase))}}`}}];var _={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},nt=T(g({},_),{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"]}),at={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"]},it={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},sr=["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"],O=Object.assign({},...sr.map(e=>({[e.replace(/ /,"-")]:e})),...sr.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),N=["inherit","initial","revert","revert-layer","unset"];var cr={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"},lr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":cr[e]}),{autocomplete:`(vertical|align|v)-(${Object.keys(cr).join("|")})`}]],pr=["center","left","right","justify","start","end",...N].map(e=>[`text-${e}`,{"text-align":e}]);var st=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function re(e=""){let t=Ga(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)&&!(st.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function Z(e){let t=e.alpha??1;return t==="%alpha"?1:t}function P(e,t){if(typeof e=="string")return e.replace("%alpha",`${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}`,st.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Ga(e){if(!e)return;let t=Za(e);if(t!=null||(t=Ja(e),t!=null)||(t=Qa(e),t!=null)||(t=ti(e),t!=null)||(t=ri(e),t!=null))return t}function Za(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 Ja(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Qa(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=be(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 ei=new RegExp(`^(${st.join("|")})\\((.+)\\)$`,"i");function ti(e){let t=e.match(ei);if(!t)return;let[,r,o]=t,n=ur(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function ri(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=be(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=be(t[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:t};let n=o.pop();return t[r-1]=o.join("/"),{components:t,alpha:n}}function oi(e,t){if(e=e.trim(),e==="")return;let r=e.length,o=0;for(let n=0;n<r;n++)switch(e[n]){case"(":o++;break;case")":if(--o<0)return;break;case t:if(o===0){let a=e.slice(0,n).trim();return a===""?void 0:[a,e.slice(n+1).trim()]}}return[e,""]}function be(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=oi(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var lt={};Oa(lt,{auto:()=>si,bracket:()=>di,bracketOfColor:()=>gi,bracketOfLength:()=>bi,bracketOfPosition:()=>hi,cssvar:()=>xi,degree:()=>vi,fraction:()=>fi,global:()=>$i,number:()=>pi,numberWithUnit:()=>ii,percent:()=>ui,position:()=>wi,properties:()=>ki,px:()=>li,rem:()=>ci,time:()=>yi});var ni=["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"],ct=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,ai=/^(-?[0-9.]+)$/i,fr=/^(px)$/i;function B(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function ii(e){let t=e.match(ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${B(n)}${o}`}function si(e){if(e==="auto"||e==="a")return"auto"}function ci(e){if(e.match(fr))return`1${e}`;let t=e.match(ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n/4)}rem`}function li(e){if(e.match(fr))return`1${e}`;let t=e.match(ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${B(n)}${o}`:`${B(n)}px`}function pi(e){if(!ai.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return B(t)}function ui(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${B(t/100)}`}function fi(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 mi=/^\[(color|length|position):/i;function Me(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(mi);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,n=>n.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function di(e){return Me(e)}function gi(e){return Me(e,"color")}function bi(e){return Me(e,"length")}function hi(e){return Me(e,"position")}function xi(e){if(e.match(/^\$\S/))return`var(--${pe(e.slice(1))})`}function yi(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 vi(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 $i(e){if(N.includes(e))return e}function ki(e){if(e.split(",").every(t=>ni.includes(t)))return e}function wi(e){if(["top","left","right","bottom","center"].includes(e))return e}var c=Pe(lt);var D=(e,t)=>{let r=new RegExp(`^${le(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),selector:t}},autocomplete:`${e}:`}},W=(e,t)=>{let r=new RegExp(`^${le(e)}[:-]`);return{name:e,match:o=>{let n=o.match(r);if(n)return{matcher:o.slice(n[0].length),parent:t}},autocomplete:`${e}:`}};var mr="$$mini-no-negative",z=e=>([t,r,o],{theme:n})=>{var i;let a=((i=n.spacing)==null?void 0:i[o||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(o);if(a!=null)return _[r].map(s=>[`${e}${s}`,a])},pt=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},oe=(e,t)=>{let r=e.split(/(?:\/|:)/),o,n;r[0]==="[color"?(o=r.slice(0,2).join(":"),n=r[2]):[o,n]=r;let a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=a;if(!i)return;let s,l=c.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=c.cssvar(o)),s=s||l;let f="DEFAULT";if(!s){let u,[b]=a.slice(-1);b.match(/^\d+$/)?(f=b,u=pt(t,a.slice(0,-1))):(u=pt(t,a),!u&&a.length<=2&&([,f=f]=a,u=pt(t,[i]))),typeof u=="string"?s=u:f&&u&&(s=u[f])}return{opacity:n,name:i,no:f,color:s,cssColor:re(s),alpha:c.bracket.cssvar.percent(n??"")}},C=(e,t)=>([,r],{theme:o})=>{let n=oe(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:P(s,a)}:{[`--un-${t}-opacity`]:Z(s),[e]:P(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:P(i,a)}},ne=(e,t)=>{let r=[];e=U(e);for(let o=0;o<e.length;o++){let n=be(e[o]," ",6);if(!n||n.length<3)return e;let a=re(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${P(a)})`)}return r},Fe=(e,t)=>{var r;return e!=null&&!!((r=oe(e,t))!=null&&r.color)},ae=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.breakpoints),r||(r=e.breakpoints),r},dr=({theme:e,generator:t})=>{let r;return t.userConfig&&t.userConfig.theme&&(r=t.userConfig.theme.verticalBreakpoints),r||(r=e.verticalBreakpoints),r};var gr=[[/^outline-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"outline-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,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])??c.bracket.cssvar.px(e)}},{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...N].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],br=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],Si=e=>c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e],hr=[[/^will-change-(.+)/,([,e])=>({"will-change":Si(e)})]];var $e=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...N],xr=[[/^(?:border|b)()(?:-(.+))?$/,he,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,he],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,he],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,he],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,he],[/^(?:border|b)-()(?:width|size)-(.+)$/,ie,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ie],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ie],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ie],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ie],[/^(?:border|b)-()(?:color-)?(.+)$/,xe,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,xe],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,xe],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,xe],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,xe],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ye,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ye],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ye],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ye],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ye],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,ve,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-<num>","(rounded|rd)","(rounded|rd)-<num>"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltb])(?:-(.+))?$/,ve],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,ve],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se])(?:-(.+))?$/,ve],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,ve],[/^(?:border|b)-(?:style-)?()(.+)$/,se,{autocomplete:["(border|b)-style",`(border|b)-(${$e.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${$e.join("|")})`,`(border|b)-<directions>-style-(${$e.join("|")})`,`(border|b)-style-(${$e.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,se],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,se],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,se],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,se]],Ci=e=>([,t],r)=>{let o=oe(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(i)return n!=null?{[`border${e}-color`]:P(i,n)}:e===""?{"--un-border-opacity":Z(i),"border-color":P(i,"var(--un-border-opacity)")}:{"--un-border-opacity":Z(i),[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:P(i,`var(--un-border${e}-opacity)`)};if(a)return{[`border${e}-color`]:P(a,n)}};function he(e,t){let r=ie(e,t),o=se(["",e[1],"solid"]);if(r&&o)return[...r,...o]}function ie([,e="",t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(e in _&&o!=null)return _[e].map(a=>[`border${a}-width`,o])}function xe([,e="",t],{theme:r}){if(e in _&&Fe(t,r))return Object.assign({},..._[e].map(o=>Ci(o)(["",t],r)))}function ye([,e="",t]){let r=c.bracket.percent(t);if(e in _&&r!=null)return _[e].map(o=>[`--un-border${o}-opacity`,r])}function ve([,e="",t],{theme:r}){var n;let o=((n=r.borderRadius)==null?void 0:n[t||"DEFAULT"])||c.bracket.cssvar.fraction.rem(t||"1");if(e in at&&o!=null)return at[e].map(a=>[`border${a}-radius`,o])}function se([,e="",t]){if($e.includes(t)&&e in _)return _[e].map(r=>[`border${r}-style`,t])}var yr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],vr=[[/^(?:text|color|c)-(.+)$/,C("color","text"),{autocomplete:"(text|color|c)-$colors"}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}]],$r=[[/^bg-(.+)$/,C("background-color","bg"),{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]];var Ue={all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),none:"none",opacity:"opacity",shadow:"box-shadow",transform:"transform"},kr=e=>c.properties(e)??Ue[e],wr=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{var n;let o=e!=null?kr(e):[Ue.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",");if(o){let a=((n=r.duration)==null?void 0:n[t||"DEFAULT"])??c.time(t||"150");return{"transition-property":o,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":a}}},{autocomplete:`transition-(${Object.keys(Ue).join("|")})`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>{var r;return{"transition-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"transition-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||kr(e)}),{autocomplete:[`transition-property-(${[...N,...Object.keys(Ue)].join("|")})`]}],["transition-none",{transition:"none"}]];var Sr=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink$/,()=>({"flex-shrink":1})],[/^(?:flex-)?shrink-0$/,()=>({"flex-shrink":0})],[/^(?:flex-)?grow$/,()=>({"flex-grow":1})],[/^(?:flex-)?grow-0$/,()=>({"flex-grow":0})],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>{var r;return{"flex-basis":((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var Cr={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Rr=[[/^font-(.+)$/,([,e],{theme:t})=>{var r;return{"font-family":((r=t.fontFamily)==null?void 0:r[e])||c.bracket.cssvar.global(e)}},{autocomplete:"font-$fontFamily"}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=U((o=t.fontSize)==null?void 0:o[e]);if(r!=null&&r[0]){let[n,a="1"]=r;return{"font-size":n,"line-height":a}}return{"font-size":c.bracketOfLength.rem(e)}},{autocomplete:"text-$fontSize"}],[/^text-size-(.+)$/,([,e],{theme:t})=>{var n;let r=U((n=t.fontSize)==null?void 0:n[e]),o=(r==null?void 0:r[0])??c.bracket.cssvar.rem(e);if(o!=null)return{"font-size":o}},{autocomplete:"text-size-$fontSize"}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>({"font-weight":Cr[e]||c.global.number(e)}),{autocomplete:`(font|fw)-(100|200|300|400|500|600|700|800|900|${Object.keys(Cr).join("|")})`}],[/^(?:font-)?(?:leading|lh)-(.+)$/,([,e],{theme:t})=>{var r;return{"line-height":((r=t.lineHeight)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"(leading|lh)-$lineHeight"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":e}),{autocomplete:"font-synthesis-(none|weight|style|small-caps)"}],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{var r;return{"letter-spacing":((r=t.letterSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{var r;return{"word-spacing":((r=t.wordSpacing)==null?void 0:r[e])||c.bracket.cssvar.global.rem(e)}},{autocomplete:"word-spacing-$wordSpacing"}]],zr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Tr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"text-indent":((r=t.textIndent)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.global.fraction.rem(e)}},{autocomplete:"indent-$textIndent"}]],Er=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"-webkit-text-stroke-width":((r=t.textStrokeWidth)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}},{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,C("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],jr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.textShadow)==null?void 0:o[e||"DEFAULT"];return r!=null?{"--un-text-shadow":ne(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,C("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];var Ar={"":"",x:"column-",y:"row-"},Vr=([,e="",t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.rem(t);if(o!=null)return{[`grid-${Ar[e]}gap`]:o,[`${Ar[e]}gap`]:o}},Or=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Vr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Vr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}]];var q=e=>e.replace("col","column"),ut=e=>e[0]==="r"?"Row":"Column",Ri=(e,t,r)=>{var n;let o=(n=t[`gridAuto${ut(e)}`])==null?void 0:n[r];if(o!=null)return o;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return c.bracket.cssvar.auto.rem(r)},Pr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-${q(e)}`]:((o=r[`grid${ut(e)}`])==null?void 0:o[t])??c.bracket.cssvar.auto(t)}}],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${q(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${q(e)}`]:`span ${r}/span ${r}`}},{autocomplete:["grid-(row|col)-span-<num>","(row|col)-span-<num>"]}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${q(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${q(e)}-end`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${q(e)}`]:Ri(e,r,t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":q(e).replace("-"," ")})],[/^grid-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>{var o;return{[`grid-template-${q(e)}`]:((o=r[`gridTemplate${ut(e)}`])==null?void 0:o[t])??c.bracket.cssvar(t)}}],[/^grid-(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${q(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^grid-(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${q(e)}`]:`repeat(${t},minmax(0,1fr))`})],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}]];var _e=["auto","hidden","clip","visible","scroll"],Mr=[[/^(?:overflow|of)-(.+)$/,([,e])=>_e.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${_e.join("|")})`,`(overflow|of)-(x|y)-(${_e.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>_e.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Fr=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Ur=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}]],_r=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Wr=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}]],Nr=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}]];function ft(e,{theme:t}){var r;return((r=t.spacing)==null?void 0:r[e])??c.bracket.cssvar.auto.fraction.rem(e)}function We([,e,t],r){let o=ft(t,r);if(o!=null&&e in nt)return nt[e].map(n=>[n.slice(1),o])}var Br=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:ft(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,We],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,We],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,We],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,We],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:ft(t,r)})]],Lr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],Dr=[[/^z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^z-(.+)$/,([,e])=>({"z-index":c.bracket.cssvar.auto.number(e)}),{autocomplete:"z-<num>"}]],Ir=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var v="var(--un-empty,/*!*/ /*!*/)",qr=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:c.bracket.cssvar(e)||e})]],Kr=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],Hr=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar(e)||e})]],Xr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],Yr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Gr=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Zr=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)$/,([,e])=>({"white-space":e}),{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Jr=[[/^content-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e);return{content:t??`"${e}"`}}],["content-empty",{content:'""'}],["content-none",{content:'""'}]],Qr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],eo=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],to=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],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"}]],oo=[["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 no={"--un-ring-inset":v,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},ao=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-offset-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,C("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,C("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];var io={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":v,"--un-shadow":"0 0 #0000"},so=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":ne(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,C("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var zi={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ke(e,t){return`${e||""}${zi[t]}`}function co(e,t,r,o){var i;let n=ke(e,t).replace(/-(\w)/g,(s,l)=>l.toUpperCase()),a=(i=r[n])==null?void 0:i[o];if(a!=null)return a;switch(o){case"fit":case"max":case"min":return`${o}-content`}return c.bracket.cssvar.auto.fraction.rem(o)}var lo=[[/^(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:o})=>({[ke(e,t)]:co(e,t,o,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:o})=>({[ke(e,t)]:co(e,t,o,r)}),{autocomplete:["(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h)-(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize"]}],[/^(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[ke(e,t)]:(n=dr(o))==null?void 0:n[r]}},{autocomplete:["h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints"]}],[/^(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],o)=>{var n;return{[ke(e,t)]:(n=ae(o))==null?void 0:n[r]}},{autocomplete:["w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Ti(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.auto.number(e)}var po=[[/^aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ti(e)}),{autocomplete:["aspect-(square|video)","aspect-ratio-(square|video)"]}]];var uo=[[/^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>"}]],fo=[[/^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 J=["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(" "),Ei=["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(" "),ho={"--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},xo=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":O[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(O).join("|")})`,`origin-(${Object.keys(O).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?O[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,mo],[/^(?:transform-)?translate-([xyz])-(.+)$/,mo],[/^(?:transform-)?rotate-()(.+)$/,bo],[/^(?:transform-)?rotate-([xyz])-(.+)$/,bo],[/^(?:transform-)?skew-([xy])-(.+)$/,ji],[/^(?:transform-)?scale-()(.+)$/,go],[/^(?:transform-)?scale-([xyz])-(.+)$/,go],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:J}],["transform-cpu",{transform:J}],["transform-gpu",{transform:Ei}],["transform-none",{transform:"none"}]];function mo([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.fraction.rem(t);if(o!=null)return[...it[e].map(a=>[`--un-translate${a}`,o]),["transform",J]]}function go([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...it[e].map(o=>[`--un-scale${o}`,r]),["transform",J]]}function bo([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:J}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:J}}function ji([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:J}}var Ai={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"},yo=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Ai[e];if(r)return{[r]:c.cssvar(t)}}]],vo=[[/^\[([\w_-]+):([^'"]+)\]$/,([,e,t])=>({[e]:c.bracket(`[${t}]`)})]];var $o=[[/^(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",...N],wo=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"text-decoration-thickness":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=C("text-decoration-color","line")(e,t);if(r)return g({"-webkit-text-decoration-color":r["text-decoration-color"]},r)},{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"text-underline-offset":((r=t.lineWidth)==null?void 0:r[e])??c.auto.bracket.cssvar.px(e)}},{autocomplete:"(underline|decoration)-(offset)-<num>"}],...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 So=[[/^fill-(.+)$/,C("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-width":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.fraction.px.number(e)}},{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>{var r;return{"stroke-dashoffset":((r=t.lineWidth)==null?void 0:r[e])??c.bracket.cssvar.px.numberWithUnit(e)}},{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,C("stroke","stroke"),{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];var mt={},Co=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}`},Ro={name:"breakpoints",match(e,t){let r=Object.entries(ae(t)??{}).map(([o,n],a)=>[o,n,a]);for(let[o,n,a]of r){mt[o]||(mt[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let i=e.match(mt[o]);if(!i)continue;let[,s]=i,l=e.slice(s.length);if(l==="container")continue;let p=s.startsWith("lt-"),f=s.startsWith("at-"),u=1e3;return p?(u-=a+1,{matcher:l,parent:[`@media (max-width: ${Co(n)})`,u]}):(u+=a+1,f&&a<r.length-1?{matcher:l,parent:[`@media (min-width: ${n}) and (max-width: ${Co(r[a+1][1])})`,u]}:{matcher:l,parent:[`@media (min-width: ${n})`,u]})}},autocomplete:"(at-|lt-|)$breakpoints:"};var H=(e,t,r)=>{let o=e?new RegExp(`^${t}(?:-\\[(.+?)\\])[:-]`):new RegExp(`^${t}(?:-\\[(.+?)\\])?[:-]`);return{name:`combinator:${t}`,match:n=>{let a=n.match(o);if(a)return{matcher:n.slice(a[0].length),selector:i=>r.replace("&&-s",i).replace("&&-c",a[1]??"*")}}}},zo=[H(!1,"all","&&-s &&-c"),H(!1,"children","&&-s>&&-c"),H(!1,"next","&&-s+&&-c"),H(!1,"sibling","&&-s+&&-c"),H(!1,"siblings","&&-s~&&-c"),H(!0,"group","&&-c &&-s"),H(!0,"parent","&&-c>&&-s"),H(!0,"previous","&&-c+&&-s"),H(!0,"peer","&&-c~&&-s")];var To=W("print","@media print"),Eo={name:"media",match(e,{theme:t}){var o;let r=e.match(/^media-([_\d\w]+)[:-]/);if(r){let n=((o=t.media)==null?void 0:o[r[1]])??`(--${r[1]})`;return{matcher:e.slice(r[0].length),parent:`@media ${n}`}}}};var jo=(e={})=>(e==null?void 0:e.dark)==="class"?[D("dark",t=>`.dark $$ ${t}`),D("light",t=>`.light $$ ${t}`)]:[W("dark","@media (prefers-color-scheme: dark)"),W("light","@media (prefers-color-scheme: light)")];var Ao=[D("rtl",e=>`[dir="rtl"] $$ ${e}`),D("ltr",e=>`[dir="ltr"] $$ ${e}`)];var Oo={name:"selector",match(e){let t=e.match(/^selector-\[(.+?)\][:-]/);if(t)return{matcher:e.slice(t[0].length),selector:()=>t[1]}}},Po={name:"layer",match(e){let t=e.match(/^layer-([_\d\w]+)[:-]/);if(t)return{matcher:e.slice(t[0].length),parent:`@layer ${t[1]}`}}},Mo={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]}}},Fo={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}`}}},Uo={name:"important",match(e){let t=e.match(/^(important[:-]|!)/);if(t)return{matcher:e.slice(t[0].length),body:r=>(r.forEach(o=>{o[1]&&(o[1]+=" !important")}),r)}},autocomplete:"(important)"},Vo=/[0-9.]+(?:[a-z]+|%)?/,_o={name:"negative",match(e){if(!!e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(o=>o[0]===mr))return;let r=!1;if(t.forEach(o=>{var a;let n=(a=o[1])==null?void 0:a.toString();!n||n==="0"||Vo.test(n)&&(o[1]=n.replace(Vo,i=>`-${i}`),r=!0)}),r)return t}}}};var Se=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}`])),Ce=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Vi=["not","is","where","has"],dt=Object.entries(Se).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),gt=Object.entries(Ce).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).join("|"),we=Vi.join("|"),Wo=e=>{if(e==="active")return 1},Ne=(e,t,r)=>{let o=new RegExp(`^${le(t)}:`),n=new RegExp(`^${e}-((?:(${we})-)?(${dt}))[:-]`),a=new RegExp(`^${e}-((?:(${we})-)?(${gt}))[:]`);return{name:`pseudo:${e}`,match(i){let s=i.match(n)||i.match(a);if(s){let l=Se[s[3]]||Ce[s[3]]||`:${s[3]}`;return s[2]&&(l=`:${s[2]}(${l})`),{matcher:i.slice(s[0].length),selector:p=>o.test(p)?p.replace(o,`${t}${l}:`):`${t}${l}${r}${p}`,sort:Wo(s[3])}}}}},No=Object.entries(Se).map(([e])=>e).join("|"),Oi=Object.entries(Ce).map(([e])=>e).join("|"),Pi=new RegExp(`^(${No})[:-]`),Mi=new RegExp(`^(${Oi})[:]`),Bo={name:"pseudo",match:e=>{let t=e.match(Pi)||e.match(Mi);if(t){let r=Se[t[1]]||Ce[t[1]]||`:${t[1]}`;return{matcher:e.slice(t[0].length),selector:o=>`${o}${r}`,sort:Wo(t[1])}}},multiPass:!0,autocomplete:`(${No}):`},Fi=new RegExp(`^(${we})-(${dt})[:-]`),Ui=new RegExp(`^(${we})-(${gt})[:]`),Lo={match:e=>{let t=e.match(Fi)||e.match(Ui);if(t){let r=t[1],o=Se[t[2]]||Ce[t[2]]||`:${t[2]}`;return{matcher:e.slice(t[0].length),selector:n=>`${n}:${r}(${o})`}}},multiPass:!0,autocomplete:`(${we})-(${dt}|${gt}):`},Do=(e={})=>{let t=!!(e!=null&&e.attributifyPseudo);return[T(g({},Ne("group",t?'[group=""]':".group"," ")),{multiPass:!0}),T(g({},Ne("peer",t?'[peer=""]':".peer","~")),{multiPass:!0}),T(g({},Ne("parent",t?'[parent=""]':".parent",">")),{multiPass:!0}),T(g({},Ne("previous",t?'[previous=""]':".previous","+")),{multiPass:!0})]},_i=/(part-\[(.+)]:)(.+)/,Io={match:e=>{let t=e.match(_i);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:o=>`${o}::${r}`}}},multiPass:!0};var qo=e=>[Po,Oo,Mo,_o,Uo,To,Eo,Ro,...zo,Bo,Lo,...Do(e),Io,...jo(e),...Ao,Fo];var Ko=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o)return`@keyframes ${e}${o}
4
+ ${r({animation:`${e}`})}`},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t,constructCSS:r})=>{var n,a,i,s,l,p,f,u,b,m;let o=(a=(n=t.animation)==null?void 0:n.keyframes)==null?void 0:a[e];if(o){let x=((s=(i=t.animation)==null?void 0:i.durations)==null?void 0:s[e])??"1s",w=((p=(l=t.animation)==null?void 0:l.timingFns)==null?void 0:p[e])??"linear",E=(u=(f=t.animation)==null?void 0:f.properties)==null?void 0:u[e],k=((m=(b=t.animation)==null?void 0:b.counts)==null?void 0:m[e])??1;return`@keyframes ${e}${o}
5
+ ${r(Object.assign({animation:`${e} ${x} ${w} ${k}`},E))}`}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-duration":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>{var r;return{"animation-delay":((r=t.duration)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar.time(e)}},{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>{var r;return{"animation-timing-function":((r=t.easing)==null?void 0:r[e||"DEFAULT"])??c.bracket.cssvar(e)}},{autocomplete:"animate-delay-$easing"}],[/^animate-(?:fill-|mode-|fill-mode-)?(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-fill-mode":e}),{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:direction-)?(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-direction":e}),{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-|count-|iteration-count-)(.+)$/,([,e])=>({"animation-iteration-count":c.bracket.cssvar(e)??e.replace(/\-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(?:play-|state-|play-state-)?(paused|running|inherit|initial|revert|revert-layer|unset)$/,([,e])=>({"animation-play-state":e}),{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}]];var Ho=e=>e?P(e,0):"rgba(255,255,255,0)",Wi=(e,t,r,o)=>t?o!=null?P(t,o):P(t,`var(--un-${e}-opacity, ${Z(t)})`):P(r,o),bt=e=>([,t],{theme:r})=>{let o=oe(t,r);if(!o)return;let{alpha:n,color:a,cssColor:i}=o;if(!a)return;let s=Wi(e,i,a,n);switch(e){case"from":return{"--un-gradient-from":s,"--un-gradient-to":Ho(i),"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-to":Ho(i),"--un-gradient-stops":`var(--un-gradient-from), ${s}, var(--un-gradient-to)`};case"to":return{"--un-gradient-to":s}}},Ni=/^\[url\(.+\)\]$/,Bi=/^\[length:.+\]$/,Li=/^\[position:.+\]$/,Xo=[[/^bg-(.+)$/,([,e])=>{if(Ni.test(e))return{"--un-url":c.bracket(e),"background-image":"var(--un-url)"};if(Bi.test(e)&&c.bracketOfLength(e)!=null)return{"background-size":c.bracketOfLength(e).split(" ").map(t=>c.fraction.auto.px.cssvar(t)).join(" ")};if(Li.test(e)&&c.bracketOfPosition(e)!=null)return{"background-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)).join(" ")}}],[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?from-(.+)$/,bt("from")],[/^(?:bg-gradient-)?to-(.+)$/,bt("to")],[/^(?:bg-gradient-)?via-(.+)$/,bt("via")],[/^(?:bg-gradient-)?from-op(?:acity)?-?(.+)$/,([,e])=>({"--un-from-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?to-op(?:acity)?-?(.+)$/,([,e])=>({"--un-to-opacity":c.bracket.percent(e)})],[/^(?:bg-gradient-)?via-op(?:acity)?-?(.+)$/,([,e])=>({"--un-via-opacity":c.bracket.percent(e)})],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgba(255, 255, 255, 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in O)return{"--un-gradient-shape":`to ${O[e]}`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(O).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in O?`to ${O[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":t,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(O).join("|")})`,`shape-(${Object.keys(O).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":O[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}]];var Be={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"},Yo=[[/^list-(.+)(?:-(outside|inside))?$/,([,e,t])=>t!=null?{"list-style-position":t,"list-style-type":Be[e]}:{"list-style-type":Be[e]},{autocomplete:[`list-(${Object.keys(Be).join("|")})`,`list-(${Object.keys(Be).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}]],Go=[[/^accent-(.+)$/,C("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Zo=[[/^caret-(.+)$/,C("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Jo=[["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"]]]],Qo=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}]],en=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}]];var tn=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}]];var Di=/@media \(min-width: (.+)\)/,rn=[[/^__container$/,(e,{variantHandlers:t})=>{var o;let r="100%";for(let n of t){let a=U(n.parent||[])[0];if(typeof a=="string"){let i=(o=a.match(Di))==null?void 0:o[1];i&&(r=i)}}return{"max-width":r}},{internal:!0}]],on=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=Object.keys(ae(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 nn={"--un-blur":v,"--un-brightness":v,"--un-contrast":v,"--un-drop-shadow":v,"--un-grayscale":v,"--un-hue-rotate":v,"--un-invert":v,"--un-saturate":v,"--un-sepia":v},Le="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":v,"--un-backdrop-brightness":v,"--un-backdrop-contrast":v,"--un-backdrop-grayscale":v,"--un-backdrop-hue-rotate":v,"--un-backdrop-invert":v,"--un-backdrop-opacity":v,"--un-backdrop-saturate":v,"--un-backdrop-sepia":v},De="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)",ht=e=>{let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&parseFloat(t)<=1))return t},X=(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":De,"backdrop-filter":De}:{[`--un-${e}`]:`${e}(${a})`,filter:Le}},Ii=([,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(${ne(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Le};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Le}},sn=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X("blur",(e,t)=>{var r;return((r=t.blur)==null?void 0:r[e||"DEFAULT"])||c.bracket.cssvar.px(e)}),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X("brightness",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X("contrast",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ii,{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":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X("grayscale",ht),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X("hue-rotate",e=>c.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X("invert",ht),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)-(.+)$/,X("opacity",e=>c.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X("saturate",e=>c.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X("sepia",ht),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Le}],["backdrop-filter",{"-webkit-backdrop-filter":De,"backdrop-filter":De}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}]];var ln=[[/^space-?([xy])-?(-?.+)$/,cn,{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)-(-?.+)$/,cn],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function cn([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.auto.fraction.rem(t||"1");if(o!=null){let a=_[e].map(i=>{let s=`margin${i}`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-space-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-space-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-space-${e}-reverse`,0],...a]}}var pn=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],un=[["hyphens-manual",{"-webkit-hyphens":"manual","-ms-hyphens":"manual",hyphens:"manual"}],["hyphens-auto",{"-webkit-hyphens":"auto","-ms-hyphens":"auto",hyphens:"auto"}],["hyphens-none",{"-webkit-hyphens":"none","-ms-hyphens":"none",hyphens:"none"}]],fn=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}]],mn=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}]],dn=[["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"}]],gn=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],bn=[["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(O[e])return{"object-position":O[e]};if(c.bracketOfPosition(e)!=null)return{"object-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)).join(" ")}},{autocomplete:`object-(${Object.keys(O).join("|")})`}]],hn=[["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"}]],xn=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}]];var vn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},yn="var(--un-border-spacing-x) var(--un-border-spacing-y)",$n=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{var o;let r=((o=t.spacing)==null?void 0:o[e])??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":yn}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{var n;let o=((n=r.spacing)==null?void 0:n[t])??c.bracket.cssvar.global.auto.fraction.rem(t);if(o!=null)return{[`--un-border-spacing-${e}`]:o,"border-spacing":yn}},{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 qi={"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"},kn=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=qi[e];if(r)return{[r]:c.cssvar(t)}}]];var wn=[[/^divide-?([xy])$/,Ie,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(-?.+)$/,Ie],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ie],[/^divide-(block|inline)-(-?.+)$/,Ie],[/^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":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],["divide-solid",{"border-style":"solid"}],["divide-dashed",{"border-style":"dashed"}],["divide-dotted",{"border-style":"dotted"}],["divide-double",{"border-style":"double"}],["divide-none",{"border-style":"none"}]];function Ie([,e,t],{theme:r}){var n;let o=((n=r.lineWidth)==null?void 0:n[t||"DEFAULT"])??c.bracket.cssvar.px(t||"1");if(o!=null){let a=_[e].map(i=>{let s=`border${i}-width`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[s,l]});if(a)return[[`--un-divide-${e}-reverse`,0],...a]}}var Sn=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],["line-clamp-none",{"-webkit-line-clamp":"unset","line-clamp":"unset"}]];var Cn={"--un-ordinal":v,"--un-slashed-zero":v,"--un-numeric-figure":v,"--un-numeric-spacing":v,"--un-numeric-fraction":v},Y=e=>T(g({},e),{"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}),Rn=[[/^ordinal$/,()=>Y({"--un-ordinal":"ordinal"}),{autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Y({"--un-slashed-zero":"slashed-zero"}),{autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Y({"--un-numeric-figure":"lining-nums"}),{autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Y({"--un-numeric-figure":"oldstyle-nums"}),{autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Y({"--un-numeric-spacing":"proportional-nums"}),{autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Y({"--un-numeric-spacing":"tabular-nums"}),{autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Y({"--un-numeric-fraction":"diagonal-fractions"}),{autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Y({"--un-numeric-fraction":"stacked-fractions"}),{autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var zn={"--un-pan-x":v,"--un-pan-y":v,"--un-pinch-zoom":v},xt="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Tn=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":xt}),{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":xt})],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":xt}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}]];var En={"--un-scroll-snap-strictness":"proximity"},jn=[[/^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 An=[[/^\$ placeholder-(.+)$/,C("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var yt=[yo,kn,vo,rn,dn,Xr,Kr,Fr,Br,Sn,gn,Dr,_r,Pr,Lr,fo,Ir,qr,po,lo,Sr,$n,xo,Ko,Hr,Tn,Gr,Yr,jn,Yo,br,tn,Nr,Wr,Ur,Or,ln,wn,Mr,Qo,en,eo,Zr,Qr,xr,$r,Xo,So,bn,uo,pr,Tr,lr,Rr,to,pn,ro,Rn,vr,wo,oo,zr,Er,jr,un,fn,mn,Zo,Go,yr,hn,xn,so,gr,ao,Jo,sn,wr,hr,Jr,An,$o].flat(1);var vt=[...on];var $t={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($t).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 Ki={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"]},Xp=T(g({},Ki),{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 wt={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Vn=["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"],Re=Object.assign({},...Vn.map(e=>({[e.replace(/ /,"-")]:e})),...Vn.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),Hi=["inherit","initial","revert","revert-layer","unset"],St=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];function On(e=""){let t=Yi(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)&&!(St.includes(a)&&![1,3].includes(o.length)))return{type:a,components:o,alpha:n}}function Xi(e){let t=e.alpha??1;return t==="%alpha"?1:t}function qe(e,t){if(typeof e=="string")return e.replace("%alpha",`${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}`,St.includes(n)?`${n}(${r.join(" ")}${o})`:`color(${n} ${r.join(" ")}${o})`)}function Yi(e){if(!e)return;let t=Gi(e);if(t!=null||(t=Zi(e),t!=null)||(t=Ji(e),t!=null)||(t=es(e),t!=null)||(t=ts(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 Zi(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ji(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,o]=t,n=Ke(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 Qi=new RegExp(`^(${St.join("|")})\\((.+)\\)$`,"i");function es(e){let t=e.match(Qi);if(!t)return;let[,r,o]=t,n=Pn(`${r} ${o}`);if(n){let{alpha:a,components:[i,...s]}=n;return{type:i,components:s,alpha:a}}}function ts(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Pn(t[1]);if(r){let{alpha:o,components:[n,...a]}=r;return{type:n,components:a,alpha:o}}}function Pn(e){let t=Ke(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=Ke(t[r-1],"/",3);if(!o)return;if(o.length===1||o[o.length-1]==="")return{components:t};let n=o.pop();return t[r-1]=o.join("/"),{components:t,alpha:n}}function rs(e,t){if(e=e.trim(),e==="")return;let r=e.length,o=0;for(let n=0;n<r;n++)switch(e[n]){case"(":o++;break;case")":if(--o<0)return;break;case t:if(o===0){let a=e.slice(0,n).trim();return a===""?void 0:[a,e.slice(n+1).trim()]}}return[e,""]}function Ke(e,t,r){if(t=t??" ",t.length!==1)return;r=r??10;let o=[],n=0;for(;e!=="";){if(++n>r)return;let a=rs(e,t);if(!a)return;let[i,s]=a;o.push(i),e=s}if(o.length>0)return o}var os=["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"],Ct=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|rpx)?$/i,ns=/^(-?[0-9.]+)$/i,Mn=/^(px)$/i;function L(e){return e.toFixed(10).replace(/\.0+$/,"").replace(/(\.\d+?)0+$/,"$1")}function as(e){let t=e.match(Ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(o&&!Number.isNaN(n))return`${L(n)}${o}`}function is(e){if(e==="auto"||e==="a")return"auto"}function ss(e){if(e.match(Mn))return`1${e}`;let t=e.match(Ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${L(n)}${o}`:`${L(n/4)}rem`}function cs(e){if(e.match(Mn))return`1${e}`;let t=e.match(Ct);if(!t)return;let[,r,o]=t,n=parseFloat(r);if(!Number.isNaN(n))return o?`${L(n)}${o}`:`${L(n)}px`}function ls(e){if(!ns.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return L(t)}function ps(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${L(t/100)}`}function us(e){if(e==="full")return"100%";let[t,r]=e.split("/"),o=parseFloat(t)/parseFloat(r);if(!Number.isNaN(o))return`${L(o*100)}%`}var fs=/^\[(color|length|position):/i;function He(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o=e.match(fs);if(o?t&&o[1]===t&&(r=e.slice(o[0].length,-1)):r=e.slice(1,-1),r!==void 0)return r.replace(/(url\(.*?\))/g,n=>n.replace(/_/g,"\\_")).replace(/([^\\])_/g,"$1 ").replace(/calc\((.*)/g,n=>n.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}}function ms(e){return He(e)}function ds(e){return He(e,"color")}function gs(e){return He(e,"length")}function bs(e){return He(e,"position")}function hs(e){if(e.match(/^\$\S/))return`var(--${pe(e.slice(1))})`}function xs(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?`${L(n)}${o}`:`${L(n)}ms`}function ys(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?`${L(n)}${o}`:`${L(n)}deg`}function vs(e){if(Hi.includes(e))return e}function $s(e){if(e.split(",").every(t=>os.includes(t)))return e}function ks(e){if(["top","left","right","bottom","center"].includes(e))return e}var ws={__proto__:null,numberWithUnit:as,auto:is,rem:ss,px:cs,number:ls,percent:ps,fraction:us,bracket:ms,bracketOfColor:ds,bracketOfLength:gs,bracketOfPosition:bs,cssvar:hs,time:xs,degree:ys,global:vs,properties:$s,position:ks},M=Pe(ws);var kt=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,o=>o.slice(1).toUpperCase())]},Ss=(e,t)=>{let r=e.split(/(?:\/|:)/),o,n;r[0]==="[color"?(o=r.slice(0,2).join(":"),n=r[2]):[o,n]=r;let a=o.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=a;if(!i)return;let s,l=M.bracketOfColor(o),p=l||o;p.startsWith("#")?s=p:p.startsWith("hex-")?s=`#${p.slice(4)}`:o.startsWith("$")&&(s=M.cssvar(o)),s=s||l;let f="DEFAULT";if(!s){let u,[b]=a.slice(-1);b.match(/^\d+$/)?(f=b,u=kt(t,a.slice(0,-1))):(u=kt(t,a),!u&&a.length<=2&&([,f=f]=a,u=kt(t,[i]))),typeof u=="string"?s=u:f&&u&&(s=u[f])}return{opacity:n,name:i,no:f,color:s,cssColor:On(s),alpha:M.bracket.cssvar.percent(n??"")}},Xe=(e,t)=>([,r],{theme:o})=>{let n=Ss(r,o);if(!n)return;let{alpha:a,color:i,cssColor:s}=n;if(s)return a!=null?{[e]:qe(s,a)}:{[`--un-${t}-opacity`]:Xi(s),[e]:qe(s,`var(--un-${t}-opacity)`)};if(i)return{[e]:qe(i,a)}},Fn=(e,t)=>{let r=[];e=U(e);for(let o=0;o<e.length;o++){let n=Ke(e[o]," ",6);if(!n||n.length<3)return e;let a=On(n.pop());if(a==null)return e;r.push(`${n.join(" ")} var(${t}, ${qe(a)})`)}return r};var Nn="var(--un-empty,/*!*/ /*!*/)";var Bn={"--un-ring-inset":Nn,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgba(147,197,253,0.5)","--un-shadow":"0 0 #0000"},Zp=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=((o=t.ringWidth)==null?void 0:o[e||"DEFAULT"])??M.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}},{autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,([,e],{theme:t})=>{var r;return{"--un-ring-width":((r=t.lineWidth)==null?void 0:r[e])??M.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])??M.bracket.cssvar.px(e)}},{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Xe("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":M.bracket.percent(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,Xe("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":M.bracket.percent(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Ln={"--un-ring-offset-shadow":"0 0 #0000","--un-ring-shadow":"0 0 #0000","--un-shadow-inset":Nn,"--un-shadow":"0 0 #0000"},Jp=[[/^shadow(?:-(.+))?$/,([,e],{theme:t})=>{var o;let r=(o=t.boxShadow)==null?void 0:o[e||"DEFAULT"];if(r)return{"--un-shadow":Fn(r,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}},{autocomplete:"shadow-$boxShadow"}],[/^shadow-(.+)$/,Xe("--un-shadow-color","shadow"),{autocomplete:"shadow-$colors"}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":M.bracket.percent(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Q=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Cs=["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(" "),Dn={"--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},Qp=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Re[e]??M.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Re).join("|")})`,`origin-(${Object.keys(Re).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=M.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=M.bracket.cssvar(e)??(e.length>=3?Re[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Un],[/^(?:transform-)?translate-([xyz])-(.+)$/,Un],[/^(?:transform-)?rotate-()(.+)$/,Wn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Wn],[/^(?:transform-)?skew-([xy])-(.+)$/,Rs],[/^(?:transform-)?scale-()(.+)$/,_n],[/^(?:transform-)?scale-([xyz])-(.+)$/,_n],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Q}],["transform-cpu",{transform:Q}],["transform-gpu",{transform:Cs}],["transform-none",{transform:"none"}]];function Un([,e,t],{theme:r}){var n;let o=((n=r.spacing)==null?void 0:n[t])??M.bracket.cssvar.fraction.rem(t);if(o!=null)return[...wt[e].map(a=>[`--un-translate${a}`,o]),["transform",Q]]}function _n([,e,t]){let r=M.bracket.cssvar.fraction.percent(t);if(r!=null)return[...wt[e].map(o=>[`--un-scale${o}`,r]),["transform",Q]]}function Wn([,e="",t]){let r=M.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Q}}function Rs([,e,t]){let r=M.bracket.cssvar.degree(t);if(r!=null)return{[`--un-skew-${e}`]:r,transform:Q}}var In={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(",")},qn={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"]},Kn={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Hn={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Xn={DEFAULT:["0 0 1px rgba(0,0,0,0.2)","0 0 1px rgba(1,0,5,0.1)"],none:"0 0 #0000",sm:"1px 1px 3px rgba(36,37,47,0.25)",md:["0 1px 2px rgba(30,29,39,0.19)","1px 2px 4px rgba(54,64,147,0.18)"],lg:["3px 3px 6px rgba(0,0,0,0.26)","0 0 5px rgba(15,3,86,0.22)"],xl:["1px 1px 3px rgba(0,0,0,0.29)","2px 4px 7px rgba(73,64,125,0.35)"]},Yn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Tt={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Gn=Tt,Et={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Zn=g({},Et),Jn={DEFAULT:"1px",none:"0px"},Qn={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"},ea={DEFAULT:"150ms",none:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},ta={DEFAULT:"0.25rem",none:"0rem",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ra={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgba(0,0,0,0.1)"],none:"0 0 #0000",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgba(0,0,0,0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgba(0,0,0,0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgba(0,0,0,0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgba(0,0,0,0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgba(0,0,0,0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)"},oa={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)"},na={DEFAULT:"1px",none:"0px"},aa={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ia={DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},Ee={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Rt=T(g({auto:"auto"},Ee),{screen:"100vw"}),ze=T(g({none:"none"},Ee),{screen:"100vw"}),zt=T(g({auto:"auto"},Ee),{screen:"100vh"}),Te=T(g({none:"none"},Ee),{screen:"100vh"}),sa=g(g(g({},Dn),Ln),Bn),jt={width:Rt,height:zt,maxWidth:ze,maxHeight:Te,minWidth:ze,minHeight:Te,inlineSize:Rt,blockSize:zt,maxInlineSize:ze,maxBlockSize:Te,minInlineSize:ze,minBlockSize:Te,colors:$t,fontFamily:In,fontSize:qn,breakpoints:Et,verticalBreakpoints:Zn,borderRadius:ta,lineHeight:Yn,letterSpacing:Tt,wordSpacing:Gn,boxShadow:ra,textIndent:Kn,textShadow:Xn,textStrokeWidth:Hn,blur:aa,dropShadow:ia,easing:oa,lineWidth:Jn,spacing:Qn,duration:ea,ringWidth:na,preflightBase:sa};var At=T(g({},jt),{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:g(g(g(g(g(g(g(g(g({},ho),zn),En),Cn),vn),io),no),nn),an)});var ca=[D("svg",e=>`${e} svg`)];var la=[D(".dark",e=>`.dark $$ ${e}`),D(".light",e=>`.light $$ ${e}`),W("@dark","@media (prefers-color-scheme: dark)"),W("@light","@media (prefers-color-scheme: light)")];var pa=[W("contrast-more","@media (prefers-contrast: more)"),W("contrast-less","@media (prefers-contrast: less)")],ua=[W("motion-reduce","@media (prefers-reduced-motion: reduce)"),W("motion-safe","@media (prefers-reduced-motion: no-preference)")],fa=[W("landscape","@media (orientation: landscape)"),W("portrait","@media (orientation: portrait)")];var ma=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var da=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,o="",n,a]=r;if(Fe(a,t)||zs(a))return{matcher:`${o}placeholder-$ ${n}${a}`}}};function zs(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}var Vt=e=>[da,ma,...qo(e),...pa,...fa,...ua,...ca,...la];var ga=(e,t,r)=>`calc(${t} + (${e} - ${t}) * ${r} / 100)`,ba=(e,t,r)=>{let o=[e,t],n=[];for(let i=0;i<2;++i){let s=typeof o[i]=="string"?re(o[i]):o[i];if(!s||!["rgb","rgba"].includes(s.type))return;n.push(s)}let a=[];for(let i=0;i<3;++i)a.push(ga(n[0].components[i],n[1].components[i],r));return{type:"rgb",components:a,alpha:ga(n[0].alpha??1,n[1].alpha??1,r)}},ha=(e,t)=>ba("#fff",e,t),xa=(e,t)=>ba("#000",e,t),Ts=(e,t)=>{let r=parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?xa(e,t):ha(e,-r)},Es={tint:ha,shade:xa,shift:Ts},ya=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=re(`${o[1]}`);if(n){let a=Es[t[1]](n,t[2]);a&&(o[1]=P(a))}}}),r)}};var js=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,{name:"@unocss/preset-uno",theme:At,rules:yt,shortcuts:vt,variants:[...Vt(e),ya],options:e,preflights:ot}),va=js;var Ot={"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 $a(e,t,r){let o="";for(let n in r){let a=r[n],i=n.split(",").map(s=>{let l=s.match(/::?(?:[\(\)\:\-\d\w]+)$/g);if(l){let p=l[0];return s=s.replace(p,""),`${e} :where(${s}):not(.not-${t})${p}`}return null}).filter(s=>s);i.length?o+=i.join(","):o+=`${e} :where(${n}):not(.not-${t})`,o+="{";for(let s in a){let l=a[s];o+=`${s}:${l};`}o+="}"}return o}function ka(e,t,r){return e.startsWith(".")||(e=`:is(${e},.${t})`),r?$a(e,t,me(Ot,r)):$a(e,t,Ot)}function As(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$`),s=e==null?void 0:e.cssExtend;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(l,{rawSelector:p})=>(t=!0,r=tt(p),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[a,([,l],{theme:p})=>{var b,m;let f=(b=p.colors)==null?void 0:b[l];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=p.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?ka(r,o,s):void 0}]}}var wa=As;var Ye="__TAGIFY__",Vs=/<([\w\d-:]+)/g,Sa=e=>{let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:o}){return new Set(Array.from(o.matchAll(Vs)).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])=>`${Ye}${n}`))}}};var Ca=e=>{let{extraProperties:t}=e,r=`${Ye}${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(Ye.length+1)};return t&&(typeof t=="function"?a.body=i=>[...i,...Object.entries(t(n)??{})]:a.body=i=>[...i,...Object.entries(t)]),a}}};var Os=(e={})=>{let{defaultExtractor:t=!0}=e,r=[Ca(e)],o=[Sa(e)];return t&&o.push(G),{name:"@unocss/preset-tagify",variants:r,extractors:o}},Ra=Os;var Ps=e=>e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():""),za=e=>e.charAt(0).toUpperCase()+e.slice(1),Ta=e=>e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase(),Ea=["Webkit","Moz","ms"];function ja(e){let t={};function r(o){let n=t[o];if(n)return n;let a=Ps(o);if(a!=="filter"&&a in e)return t[o]=Ta(a);a=za(a);for(let i=0;i<Ea.length;i++){let s=`${Ea[i]}${a}`;if(s in e)return t[o]=Ta(za(s))}return o}return({entries:o})=>o.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Pt(e={}){var j,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 d=o.postprocess;d||(d=[]),Array.isArray(d)||(d=[d]),d.unshift(ja(document.createElement("div").style)),o.postprocess=d}(j=r==null?void 0:r.configResolved)==null||j.call(r,t,o);let n,a=!0,i,s=Qt(t,o),l=new Set,p,f=[],u=()=>new Promise(d=>{f.push(d),p!=null&&clearTimeout(p),p=setTimeout(()=>m().then(()=>{let A=f;f=[],A.forEach(y=>y())}),0)});function b(d=document.body){if(d.nodeType!==1)return;let A=d;A.hasAttribute("un-cloak")&&A.removeAttribute("un-cloak"),A.querySelectorAll("[un-cloak]").forEach(y=>{y.removeAttribute("un-cloak")})}async function m(){let d=await s.generate(l);n||(n=document.createElement("style"),document.documentElement.prepend(n)),n.innerHTML=d.css,l=d.matched}async function x(d){let A=l.size;await s.applyExtractors(d,void 0,l),A!==l.size&&await u()}async function w(){let d=document.body&&document.body.outerHTML;d&&(await x(d),b())}let E=new MutationObserver(d=>{a||d.forEach(async A=>{if(A.target.nodeType!==1)return;let y=A.target;if(y!==n)if(A.type==="childList")A.addedNodes.forEach(async V=>{if(V.nodeType!==1)return;let I=V;i&&!i(I)||(await x(I.outerHTML),b(I))});else{if(i&&!i(y))return;if(A.attributeName!=="un-cloak"){let V=Array.from(y.attributes).map(K=>K.value?`${K.name}="${K.value}"`:K.name).join(" "),I=`<${y.tagName.toLowerCase()} ${V}>`;await x(I)}y.hasAttribute("un-cloak")&&y.removeAttribute("un-cloak")}})}),k=!1;function R(){if(k)return;let d=document.documentElement||document.body;!d||(E.observe(d,{childList:!0,subtree:!0,attributes:!0}),k=!0)}function h(){w(),R()}function $(){document.readyState==="loading"?window.addEventListener("DOMContentLoaded",h):h()}let S=window.__unocss_runtime=window.__unocss_runtime={version:s.version,uno:s,async extract(d){typeof d!="string"&&(d.forEach(A=>l.add(A)),d=""),await x(d)},extractAll:w,inspect(d){i=d},toggleObserver(d){d===void 0?a=!a:a=!!d,!k&&!a&&$()}};((F=r==null?void 0:r.ready)==null?void 0:F.call(r,S))!==!1&&(a=!1,$())}Pt({defaults:{presets:[ir(),va(),wa(),Ra()]}});})();