@unocss/runtime 66.5.12 → 66.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +11 -11
- package/core.global.js +2 -2
- package/full.global.js +11 -11
- package/mini.global.js +11 -11
- package/package.json +4 -4
- package/preset-attributify.global.js +1 -1
- package/preset-icons.global.js +1 -1
- package/preset-mini.global.js +10 -10
- package/preset-rem-to-px.global.js +1 -1
- package/preset-tagify.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-uno.global.js +10 -10
- package/preset-web-fonts.global.js +6 -6
- package/preset-wind.global.js +10 -10
- package/preset-wind3.global.js +10 -10
- package/preset-wind4.global.js +14 -14
- package/uno.global.js +11 -11
package/full.global.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var Ca=Object.defineProperty;var Ra=(t,e)=>{for(var r in e)Ca(t,r,{get:e[r],enumerable:!0})};var _t="default",ie="preflights",Ta="shortcuts",Ea="imports",On={[Ea]:-200,[ie]:-100,[Ta]:-10,[_t]:0};var se=/[\\:]?[\s'"`;{}]+/g;function ja(t){return t.split(se)}var ae={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return ja(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function ot(t){return Array.from(new Set(t))}function Fr(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function _(t){return typeof t=="string"}var Ft=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}};function le(t){return t instanceof Ft}function Z(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function tt(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var ce=tt;function An(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var za=/^\[(.+?)~?="(.*)"\]$/;var Oa=/[\w\u00A0-\uFFFF%-?]/;function Pn(t){return t.match(za)}function Lt(t=""){return Oa.test(t)}function Vn(t){return typeof t=="function"?{match:t}:t}function Lr(t){return t.length===3}function Ut(t){return t!=null}function Mn(){}var pe=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>e(i,r,o)))}},ue=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,o)=>{r.push(e(n,o))}),r}flatMap(e){let r=[];return this.forEach((n,o)=>{r.push(...e(n,o))}),r}};function Wt(t){return _(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function _n(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Wt(e)):[t]:[Wt(t)]}function Aa(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Ur="__virtual_key__";function Ct(t){return t==null?"":Aa(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Ur?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function fe(t){return t&&typeof t=="object"&&!Array.isArray(t)}function gt(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return fe(n)&&fe(o)&&Object.keys(o).forEach(a=>{fe(n[a])&&fe(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=gt(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function yt(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?yt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:yt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?yt(n):n;return r}return t}function Fn(t){return _(t[0])}function Ln(t){return _(t[0])}var de={};function Pa(t=["-",":"]){let e=t.join("|");return de[e]||(de[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),de[e].lastIndex=0,de[e]}function Va(t,e=["-",":"],r=5){let n=Pa(e),o,i=t.toString(),a=new Set,l=new Map;do o=!1,i=i.replace(n,(p,f,d,m,g)=>{if(!e.includes(d))return p;o=!0,a.add(f+d);let h=g+f.length+d.length+1,v={length:p.length,items:[]};l.set(g,v);for(let $ of[...m.matchAll(/\S+/g)]){let T=h+$.index,x=l.get(T)?.items;x?l.delete(T):x=[{offset:T,length:$[0].length,className:$[0]}];for(let b of x)b.className=b.className==="~"?f:b.className.replace(/^(!?)(.*)/,`$1${f}${d}$2`),v.items.push(b)}return"$".repeat(p.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let p=0;for(let[f,d]of l)c+=t.slice(p,f),c+=d.items.map(m=>m.className).join(" "),p=f+d.length;c+=t.slice(p)}else{c=t;for(let[p,f]of l)c.overwrite(p,p+f.length,f.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:l,get expanded(){return c.toString()}}}function Un(t,e=["-",":"],r=5){let n=Va(t,e,r);return typeof t=="string"?n.expanded:t}var Wn=new Set;function Bn(t){Wn.has(t)||(console.warn("[unocss]",t),Wn.add(t))}function Nn(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var In="_uno_resolved";async function Ma(t){let e=typeof t=="function"?await t():await t;if(In in e)return e;e={...e},Object.defineProperty(e,In,{value:!0,enumerable:!1});let r=e.shortcuts?Nn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=O(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Kn(t){let e=await Ma(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(Kn))).flat();return[e,...r]}function _a(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let l of t){if(l.pipeline===!1){n=!0;break}else l.pipeline?.include&&e.push(l.pipeline.include),l.pipeline?.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline)}let a={pipeline:n?!1:{include:ot(Dn(...e)),exclude:ot(Dn(...r))}};return o.length&&(a.filesystem=ot(o.flat())),i.length&&(a.inline=ot(i.flat())),a}async function Wr(t={},e={}){let r=Object.assign({},e,t),n=Fr((await Promise.all((r.presets||[]).flatMap(O).flatMap(Kn))).flat(),(y,R)=>y.name===R.name),o=[...n.filter(y=>y.enforce==="pre"),...n.filter(y=>!y.enforce),...n.filter(y=>y.enforce==="post")],i=[...o,r],a=[...i].reverse(),l=Object.assign({},On,...i.map(y=>y.layers));function c(y){return ot(i.flatMap(R=>O(R[y]||[])))}let p=c("extractors"),f=a.find(y=>y.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=ae),f&&!p.includes(f)&&p.unshift(f),p.sort((y,R)=>(y.order||0)-(R.order||0));let d=c("rules"),m=d.length,g={},h=[];for(let[y,R]of d.entries()){let w=R[2]??(R[2]={});w.__index=y,Fn(R)?O(w.prefix??"").forEach(A=>{g[A+R[0]]=R}):h.unshift(R)}let v={templates:ot(i.flatMap(y=>O(y.autocomplete?.templates))),extractors:i.flatMap(y=>O(y.autocomplete?.extractors)).sort((y,R)=>(y.order||0)-(R.order||0)),shorthands:La(i.map(y=>y.autocomplete?.shorthands||{}))},$=c("separators");$.length||($=[":","-"]);let T=c("content"),x=_a(T),b={mergeSelectors:!0,warn:!0,sortLayers:y=>y,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:l,theme:Fa(i.map(y=>y.theme)),rules:d,rulesSize:m,rulesDynamic:h,rulesStaticMap:g,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:v,variants:c("variants").map(Vn).sort((y,R)=>(y.order||0)-(R.order||0)),shortcuts:Nn(c("shortcuts")).reverse(),extractors:p,safelist:c("safelist"),separators:$,details:r.details??r.envMode==="dev",content:x,transformers:Fr(c("transformers"),(y,R)=>y.name===R.name)},z=c("extendTheme");for(let y of z)b.theme=y(b.theme,b)||b.theme;for(let y of i)y?.configResolved?.(b);return b}function Fa(t){return t.map(e=>e?yt(e):{}).reduce((e,r)=>gt(e,r),{})}function La(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Dn(...t){return t.flatMap(Ua)}function Ua(t){return Array.isArray(t)?t:t?[t]:[]}var Gn="66.5.12";var Q={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},Br=class t{constructor(e={},r={}){this.userConfig=e;this.defaults=r}version=Gn;events=An();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){let n=new t(e,r);return n.config=await Wr(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Wr(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(le(a)&&le(n))for(let l of a)n.setCount(l,n.getCount(l)+a.getCount(l));else for(let l of a)n.add(l)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:Q,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,p)=>p(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let p=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(p.variants=[...c[3]]);let f=await this.expandShortcut(p.currentSelector,p);return f?await this.stringifyShortcuts(p.variantMatch,p,f[0],f[1]):(await this.parseUtil(p.variantMatch,p))?.flatMap(m=>this.stringifyUtil(m,p)).filter(Ut)},l=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(l?.length)return this.cache.set(n,l),l;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:l=!1,extendedInfo:c=!1}=r,p=_(e)?await this.applyExtractors(e,n,c?new Ft:new Set):Array.isArray(e)?new Set(e):e;if(a){let w={generator:this,theme:this.config.theme};this.config.safelist.flatMap(C=>typeof C=="function"?C(w):C).forEach(C=>{let A=C.trim();A&&!p.has(A)&&p.add(A)})}let f=l?"":`
|
|
2
|
-
`,d=new Set([_t]),m=c?new Map:new Set,g=new Map,h={},v=Array.from(p).map(async w=>{if(m.has(w))return;let C=await this.parseToken(w);if(C!=null){m instanceof Map?m.set(w,{data:C,count:le(p)?p.getCount(w):-1}):m.add(w);for(let A of C){let I=A[3]||"",G=A[4]?.layer;g.has(I)||g.set(I,[]),g.get(I).push(A),G&&d.add(G)}}});await Promise.all(v),await(async()=>{if(!i)return;let w={generator:this,theme:this.config.theme},C=new Set([]);this.config.preflights.forEach(({layer:A=ie})=>{d.add(A),C.add(A)}),h=Object.fromEntries(await Promise.all(Array.from(C).map(async A=>{let G=(await Promise.all(this.config.preflights.filter(J=>(J.layer||ie)===A).map(async J=>await J.getCSS(w)))).filter(Boolean).join(f);return[A,G]})))})();let $=this.config.sortLayers(Array.from(d).sort((w,C)=>(this.config.layers[w]??0)-(this.config.layers[C]??0)||w.localeCompare(C))),T={},x=this.config.outputToCssLayers,b=w=>{let C=w;return typeof x=="object"&&(C=x.cssLayerName?.(w)),C===null?null:C??w},z=(w=_t)=>{if(T[w])return T[w];let C=Array.from(g).sort((G,J)=>(this.parentOrders.get(G[0])??0)-(this.parentOrders.get(J[0])??0)||G[0]?.localeCompare(J[0]||"")||0).map(([G,J])=>{let E=J.length,V=J.filter(U=>(U[4]?.layer||_t)===w).sort((U,nt)=>U[0]-nt[0]||(U[4]?.sort||0)-(nt[4]?.sort||0)||U[5]?.currentSelector?.localeCompare(nt[5]?.currentSelector??"")||U[1]?.localeCompare(nt[1]||"")||U[2]?.localeCompare(nt[2]||"")||0).map(([,U,nt,,oe,,Mr])=>[[[(U&&Ia(U,o))??"",oe?.sort??0]],nt,!!(Mr??oe?.noMerge)]);if(!V.length)return;let L=V.reverse().map(([U,nt,oe],Mr)=>{if(!oe&&this.config.mergeSelectors)for(let mt=Mr+1;mt<E;mt++){let at=V[mt];if(at&&!at[2]&&(U&&at[0]||U==null&&at[0]==null)&&at[1]===nt)return U&&at[0]&&at[0].push(...U),null}let _r=U?ot(U.sort((mt,at)=>mt[1]-at[1]||mt[0]?.localeCompare(at[0]||"")||0).map(mt=>mt[0]).filter(Boolean)):[];return _r.length?`${_r.join(`,${f}`)}{${nt}}`:nt}).filter(Boolean),B=Array.from(new Set(L)).reverse().join(f);if(!G)return B;let q=G.split(" $$ ");return`${q.join("{")}{${f}${B}${f}${"}".repeat(q.length)}`}).filter(Boolean).join(f);i&&(C=[h[w],C].filter(Boolean).join(f));let A;x&&C&&(A=b(w),A!==null&&(C=`@layer ${A}{${f}${C}${f}}`));let I=l?"":`/* layer: ${w}${A&&A!==w?`, alias: ${A}`:""} */${f}`;return T[w]=C?I+C:""},y=(w=$,C)=>{let A=w.filter(I=>!C?.includes(I));return[x&&A.length>0?`@layer ${A.map(b).filter(Ut).join(", ")};`:void 0,...A.map(I=>z(I)||"")].filter(Boolean).join(f)};return{get css(){return y()},layers:$,matched:m,getLayers:y,getLayer:z,setLayer:async(w,C)=>{let A=await C(z(w));return T[w]=A,A}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let a=!0,[,,l,c]=i;for(;a;){a=!1;let p=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let d=await f.match(p,n);if(d){if(_(d)){if(d===p)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=d.map(g=>{let h=g.matcher??p,v=[g,...l],$=new Set(c);return $.add(f),[i[0],h,v,$]});return(await Promise.all(m.map(g=>o(g)))).flat()}}i[1]=d.matcher??p,l.unshift(d),c.add(f),a=!0;break}}if(!a)break;if(l.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((p,f)=>(p.order||0)-(f.order||0)).reduceRight((p,f)=>d=>{let m=f.body?.(d.entries)||d.entries,g=Array.isArray(f.parent)?f.parent:[f.parent,void 0],h=f.selector?.(d.selector,m);return(f.handle??Na)({...d,entries:m,selector:h||d.selector,parent:g[0]||d.parent,parentOrder:g[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},p)},p=>p)({prefix:"",selector:Da(n),pseudo:"",entries:e[2]}),{parent:a,parentOrder:l}=i;a!=null&&l!=null&&this.parentOrders.set(a,l);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((p,f)=>{let d=[];for(let m of p){let g=f(m);Array.isArray(g)?d.push(...g.filter(Ut)):d.push(g||m)}return d},[c])}constructCustomCSS(e,r,n){let o=Wt(r);return _(o)?o:this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:a,parent:l})=>{let c=`${i}{${Ct(a)}}`;return l?`${l}{${c}}`:c}).join("")}async parseUtil(e,r,n=!1,o){let i=_(e)?await this.matchVariants(e):[e],a=async([c,p,f])=>{this.config.details&&(r.rules=r.rules??[]);let d={...r,variantHandlers:f},m=this.config.rulesStaticMap[p];if(m&&m[1]&&(n||!m[2]?.internal))return this.resolveCSSResult(c,m[1],m,d);for(let g of this.config.rulesDynamic){let[h,v,$]=g;if($?.internal&&!n)continue;let T=p;if($?.prefix){let y=O($.prefix);if(o){let R=O(o);if(!y.some(w=>R.includes(w)))continue}else{let R=y.find(w=>p.startsWith(w));if(R==null)continue;T=p.slice(R.length)}}let x=T.match(h);if(!x)continue;let b=await v(x,d);if(!b)continue;if(typeof b!="string")if(Symbol.asyncIterator in b){let y=[];for await(let R of b)R&&y.push(R);b=y}else Symbol.iterator in b&&!Array.isArray(b)&&(b=Array.from(b).filter(Ut));let z=this.resolveCSSResult(c,b,g,d);if(z)return z}},l=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(l.length)return l}resolveCSSResult=(e,r,n,o)=>{let i=_n(r).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let a=n[2];return i.map(l=>{if(_(l))return[a.__index,l,a];let c=o.variantHandlers,p=a;for(let f of l)f[0]===Q.variants?typeof f[1]=="function"?c=f[1](c)||c:c=[...O(f[1]),...c]:f[0]===Q.parent?c=[{parent:f[1]},...c]:f[0]===Q.selector?c=[{selector:f[1]},...c]:f[0]===Q.layer?c=[{layer:f[1]},...c]:f[0]===Q.sort?p={...p,sort:f[1]}:f[0]===Q.noMerge?p={...p,noMerge:f[1]}:f[0]===Q.body&&(f[0]=Ur);return[a.__index,e,l,p,c]})}};stringifyUtil(e,r){if(!e)return;if(Lr(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),o=[];for(let i of n){let{selector:a,entries:l,parent:c,layer:p,sort:f,noMerge:d}=i,m=Ct(l);if(!m)continue;let{layer:g,sort:h,...v}=e[3]??{},$={...v,layer:p??g,sort:f??h};o.push([e[0],a,m,c,$,this.config.details?r:void 0,d])}return o}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?p=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(p)}:Mn,i,a,l,c;for(let p of this.config.shortcuts){let f=e;if(p[2]?.prefix){let m=O(p[2].prefix).find(g=>e.startsWith(g));if(m==null)continue;f=e.slice(m.length)}if(Ln(p)){if(p[0]===f){i=i||p[2],a=p[1],o(p);break}}else{let d=f.match(p[0]);if(d&&(a=p[1](d,r)),a){i=i||p[2],o(p);break}}}if(a&&(l=ot(O(a).filter(_).map(p=>Un(p.trim()).split(/\s+/g)).flat()),c=O(a).filter(p=>!_(p)).map(p=>({handles:[],value:p}))),!a){let p=_(e)?await this.matchVariants(e):[e];for(let f of p){let[d,m,g]=f;if(d!==m){let h=await this.expandShortcut(m,r,n-1);h&&(l=h[0].filter(_).map(v=>d.replace(m,v)),c=h[0].filter(v=>!_(v)).map(v=>({handles:[...v.handles,...g],value:v.value})))}}}if(!(!l?.length&&!c?.length))return[[await Promise.all(O(l).map(async p=>(await this.expandShortcut(p,r,n-1))?.[0]||[p])),c].flat(2).filter(p=>!!p),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new ue,a=(await Promise.all(ot(n).map(async f=>{let d=_(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Wt(f.value),void 0,f.handles]];return!d&&this.config.warn&&Bn(`unmatched utility "${f}" in shortcut "${e[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[l,,c]=e,p=[];for(let f of a){if(Lr(f)){p.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let d=Object.fromEntries(f[2])[Q.shortcutsNoMerge],m=[...f[4],...d?[]:c];for(let{selector:g,entries:h,parent:v,sort:$,noMerge:T,layer:x}of this.applyVariants(f,m,l))i.getFallback(x??o.layer,new pe).getFallback(g,v,[[],f[0]])[0].push([h,!!(T??f[3]?.noMerge),$??0])}return p.concat(i.flatMap((f,d)=>f.map(([m,g],h,v)=>{let $=(x,b,z)=>{let y=Math.max(...z.map(w=>w[1])),R=z.map(w=>w[0]);return(x?[R.flat(1)]:R).map(w=>{let C=Ct(w);if(C)return[g,h,C,v,{...o,noMerge:b,sort:y,layer:d},r,void 0]})};return[[m.filter(([,x])=>x).map(([x,,b])=>[x,b]),!0],[m.filter(([,x])=>!x).map(([x,,b])=>[x,b]),!1]].map(([x,b])=>[...$(!1,b,x.filter(([z])=>z.some(y=>y[0]===Q.shortcutsNoMerge))),...$(!0,b,x.filter(([z])=>z.every(y=>y[0]!==Q.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):_(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):_(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Hn(t,e){return await Br.create(t,e)}var Yn=/\s\$\$\s+/g;function Ba(t){return Yn.test(t)}function Ia(t,e){return Ba(t)?t.replace(Yn,e?` ${e} `:" "):e?`${e} ${t}`:t}var qn=/^\[(.+?)(~?=)"(.*)"\]$/;function Da(t){return qn.test(t)?t.replace(qn,(e,r,n,o)=>`[${ce(r)}${n}"${ce(o)}"]`):`.${ce(t)}`}function Na(t,e){return e(t)}var Ir=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Xn(t={}){let e=t.prefix??"un-",r=t.prefixedOnly??!1,n=t.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:a}){let l=Pn(i);if(!l)return;let c=l[1];if(c.startsWith(e))c=c.slice(e.length);else if(r)return;let p=l[2],[,f="",d=p]=p.match(Ir)||[];if(d==="~"||n&&d==="true"||!d)return`${f}${c}`;if(o==null){let m=a?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,g]=p.match(o)||[];if(g)return`${m}${f}${c}-${g}`}if(f&&d.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),g=m.pop()+d,h=m.join("");return[{matcher:`${f}${c}-${d}`},{matcher:`${h}${c}-${g}`}]}return`${f}${c}-${d}`}}}var Ka=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Ga=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Zn=/[\s'"`;>]+/;function Jn(t){return{name:"attributify",extract:({content:e,cursor:r})=>{let n=e.matchAll(Ka),o,i=0;for(let x of n){let[,b,z]=x,y=x.index+b.length;if(r>y&&r<=y+z.length){i=y,o=z;break}}if(!o)return null;let a=o.matchAll(Ga),l=0,c,p;for(let x of a){let[b,z,y]=x,R=i+x.index;if(r>R&&r<=R+b.length){l=R,c=z,p=y?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let f=!!t?.prefix&&c.startsWith(t.prefix);if(t?.prefixedOnly&&!f)return null;let d=f?c.slice(t.prefix.length):c;if(p===void 0)return{extracted:d,resolveReplacement(x){let b=f?t.prefix.length:0;return{start:l+b,end:l+c.length,replacement:x}}};let m=l+c.length+2,g=Zn.exec(p),h=0,v;for(;g;){let[x]=g;if(r>m+h&&r<=m+h+g.index){v=p.slice(h,h+g.index);break}h+=g.index+x.length,g=Zn.exec(p.slice(h))}v===void 0&&(v=p.slice(h));let[,$="",T]=v.match(Ir)||[];return{extracted:`${$}${d}-${T}`,transformSuggestions(x){return x.filter(b=>b.startsWith(`${$}${d}-`)).map(b=>$+b.slice($.length+d.length+1))},resolveReplacement(x){return{start:h+m,end:h+m+v.length,replacement:$+x.slice($.length+d.length+1)}}}}}}var qa=["v-bind:",":"],Qn=/[\s'"`;]+/g,Dr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Ha=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Nr=["placeholder","fill","opacity","stroke-opacity"];function to(t){let e=t?.ignoreAttributes??Nr,r=t?.nonValuedAttribute??!0,n=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Dr)).flatMap(i=>Array.from((i[1]||"").matchAll(Ha))).flatMap(([,i,...a])=>{let l=a.filter(Boolean).join("");if(e.includes(i))return[];for(let c of qa)if(i.startsWith(c)){i=i.slice(c.length);break}if(!l){if(Lt(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?l.split(Qn).filter(Lt):Dr.test(l)?(Dr.lastIndex=0,this.extract({code:l})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:l.split(Qn).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Ya=(t={})=>{t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??Nr;let e=[Xn(t)],r=[to(t)],n=[Jn(t)];return{name:"@unocss/preset-attributify",enforce:"post",variants:e,extractors:r,options:t,autocomplete:{extractors:n},extractorDefault:t.strict?!1:void 0}},eo=Ya;var me="__TAGIFY__",Xa=/<([\w:-]+)/g;function ro(t){let{prefix:e="",excludedTags:r=["b",/^h\d+$/,"table"]}=t;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Xa)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(e)}).map(([,o])=>`${me}${o}`)}}}function no(t){let{extraProperties:e}=t,r=`${me}${t.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:a=>a.slice(me.length+1)};return e&&(typeof e=="function"?i.body=a=>[...a,...Object.entries(e(o)??{})]:i.body=a=>[...a,...Object.entries(e)]),i}}}var Za=(t={})=>{let{defaultExtractor:e=!0}=t,r=[no(t)],n=[ro(t)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:e?void 0:!1}},oo=Za;function ht(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let l=0;l<n;l++)switch(t[l]){case e:i||(i=!0,a=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,l+1),t.slice(l+1),t.slice(0,a)];break}}function Rt(t,e,r,n){if(t===""||(_(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let l of n){let c=l.length;if(c&&l===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function Tt(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let l=Rt(t,n,o,e);if(!l)return;let[c,p]=l;i.push(c),t=p}if(i.length>0)return i}var Kr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"];var ge=["%alpha","<alpha-value>"],Ja=new RegExp(ge.map(t=>Z(t)).join("|"),"g");function it(t=""){let e=Qa(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(Kr.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function vt(t){let e=t.alpha??1;return typeof e=="string"&&ge.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(Ja,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Kr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Qa(t){if(!t)return;let e=tl(t);if(e!=null||(e=el(t),e!=null)||(e=rl(t),e!=null)||(e=ol(t),e!=null)||(e=il(t),e!=null))return e}function tl(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function el(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function rl(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=Tt(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var nl=new RegExp(`^(${Kr.join("|")})\\((.+)\\)$`,"i");function ol(t){let e=t.match(nl);if(!e)return;let[,r,n]=e,o=io(`${r} ${n}`);if(o){let{alpha:i,components:[a,...l]}=o;return{type:a,components:l,alpha:i}}}function il(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=io(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function io(t){let e=Tt(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=Tt(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var sl=44,al=59,so="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",co=new Uint8Array(64),ll=new Uint8Array(128);for(let t=0;t<so.length;t++){let e=so.charCodeAt(t);co[t]=e,ll[e]=t}function Bt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(co[o])}while(n>0);return e}var ao=1024*16,lo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},cl=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ao)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===ao&&(this.out+=lo.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+lo.decode(t.subarray(0,r)):e}};function po(t){let e=new cl,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let l=t[a];if(a>0&&e.write(al),l.length===0)continue;let c=0;for(let p=0;p<l.length;p++){let f=l[p];p>0&&e.write(sl),c=Bt(e,f[0],c),f.length!==1&&(r=Bt(e,f[1],r),n=Bt(e,f[2],n),o=Bt(e,f[3],o),f.length!==4&&(i=Bt(e,f[4],i)))}}return e.flush()}var he=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},be=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function pl(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var ul=pl(),Gr=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=po(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+ul(this.toString())}};function fl(t){let e=t.split(`
|
|
3
|
-
`),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,
|
|
4
|
-
`),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,
|
|
5
|
-
`,0),l=-1;for(;
|
|
6
|
-
`,
|
|
7
|
-
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=!0,c=!1;else{if(this.hires||l||i.has(
|
|
8
|
-
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},
|
|
9
|
-
`,
|
|
10
|
-
`));else for(l=c.start;l<
|
|
11
|
-
`?i=!0:f!=="\r"&&i&&(i=!1,l===c.start||(this._splitChunk(c,l),c=c.next),c.prependRight(e))}l+=1}l=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return Et.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Et.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Et.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Et.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,l=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let p=c?c.previous:this.lastChunk;return a&&(a.next=l),l&&(l.previous=a),p&&(p.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=p,i.next=c||null,p||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(Et.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Et.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let p=this.original.slice(e,r);Object.defineProperty(this.storedNames,p,{writable:!0,value:!0,enumerable:!0})}let l=this.byStart[e],c=this.byEnd[r];if(l){let p=l;for(;p!==c;){if(p.next!==this.byStart[p.end])throw new Error("Cannot overwrite across a split point");p=p.next,p.edit("",!1)}l.edit(n,i,!a)}else{let p=new be(e,r,"").edit(n,i);c.next=p,p.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(It);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(It),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(It),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(It),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(It),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let l=i===o?e-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(l,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=uo(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(l,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let l,c=[];for(;l=i.exec(a);)c.push(l);return c}if(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let l=n(a,this.original);l!==a[0]&&this.overwrite(a.index,a.index+a[0].length,l)}});else{let i=this.original.match(e);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let a=n.slice(i,i+o),l=r;typeof r=="function"&&(l=r(a,i,n)),a!==l&&this.overwrite(i,i+o,l)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};var bl=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function fo(t){return t.includes("theme(")&&t.includes(")")}function mo(t,e,r=!0){let n=Array.from(t.toString().matchAll(bl));if(!n.length)return t;let o=new xe(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let l=xl(a,e,r);l&&o.overwrite(i.index,i.index+i[0].length,l)}return o.toString()}function xl(t,e,r=!0){let[n,o]=t.split("/"),a=n.trim().split(".").reduce((l,c)=>l?.[c],e);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let l=it(a);l&&(a=W(l,o))}return a}else if(r)throw new Error(`theme of "${t}" did not found`)}function Hr(t){let e=t.match(/^-?\d+\.?\d*/)?.[0]||"",r=t.slice(e.length);if(r==="px"){let n=Number.parseFloat(e)-.1;return Number.isNaN(n)?t:`${n}${r}`}return`calc(${t} - 0.1px)`}function go(t){let e=function(n,o){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let a of i){let l=t[a](n,o);if(l!=null)return l}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Dt="__pseudo_placeholder__",jt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Dt})`],["nth-last",`:nth-last-child(${Dt})`],["nth-last-of-type",`:nth-last-of-type(${Dt})`],["nth-of-type",`:nth-of-type(${Dt})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),yo=Object.keys(jt),zt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),vo=Object.keys(zt),yl=["not","is","where","has"],$o=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Yr=Object.entries(jt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Xr=Object.entries(zt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),$t=yl.join("|"),ho=Object.keys($o).sort((t,e)=>e.length-t.length).join("|"),vl=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],bo=Object.entries(jt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),xo=Object.entries(zt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function $l(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${Z(e)}:)(\\S+)${Z(r)}\\1`),l,c,p,f,d=h=>{let v=i(`${t}-`,h,[]);if(!v)return;let[$,T]=v,x=o.bracket($);if(x==null)return;let b=T.split(l,1)?.[0]??"",z=`${e}${tt(b)}`;return[b,h.slice(h.length-(T.length-b.length-1)),x.includes("&")?x.replace(/&/g,z):`${z}${x}`]},m=h=>{let v=h.match(c)||h.match(p);if(!v)return;let[$,T,x]=v,b=v[3]??"",z=jt[x]||zt[x]||`:${x}`;return T&&(z=`:${T}(${z})`),[b,h.slice($.length),`${e}${tt(b)}${z}`,x]},g=h=>{let v=h.match(f);if(!v)return;let[$,T,x]=v,b=v[3]??"",z=`:${T}(${x})`;return[b,h.slice($.length),`${e}${tt(b)}${z}`]};return{name:`pseudo:${t}`,match(h,v){if(l&&c&&p||(l=new RegExp(`(?:${v.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${$t})-)?(${Yr}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.join("|")})`),p=new RegExp(`^${t}-(?:(?:(${$t})-)?(${Xr}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.filter(y=>y!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${$t})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${v.generator.config.separators.filter(y=>y!=="-").join("|")})`)),!h.startsWith(t))return;let $=d(h)||m(h)||g(h);if(!$)return;let[T,x,b,z=""]=$;return{matcher:x,handle:(y,R)=>R({...y,prefix:`${b}${r}${y.prefix}`.replace(a,"$1$2:"),sort:yo.indexOf(z)??vo.indexOf(z)})}},multiPass:!0}}function wo(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${bo})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${xo})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let l=i.match(r)||i.match(n);if(l){let c=jt[l[1]]||zt[l[1]]||`:${l[1]}`;if(l[2]){let f;l[2].startsWith("[")&&l[2].endsWith("]")?f=e.bracket(l[2]):f=l[2],f&&(c=c.replace(Dt,f))}let p=yo.indexOf(l[1]);return p===-1&&(p=vo.indexOf(l[1])),p===-1&&(p=void 0),{matcher:i.slice(l[0].length),handle:(f,d)=>{let m=c.includes("::")&&!vl.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return d({...f,...m,sort:p,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${bo}|${xo}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${ho})(?:${a.generator.config.separators.join("|")})`));let l=i.match(o);if(l)return $o[l[1]].map(p=>({matcher:i.slice(l[0].length),handle:(f,d)=>d({...f,pseudo:`${f.pseudo}${p}`})}))},multiPass:!1,autocomplete:`(${ho}):`}]}function ko(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,l){n&&o||(n=new RegExp(`^(${$t})-(${Yr})(?:${l.generator.config.separators.join("|")})`),o=new RegExp(`^(${$t})-(${Xr})(?:${l.generator.config.separators.filter(p=>p!=="-").join("|")})`),i=new RegExp(`^(${$t})-(\\[.+\\])(?:${l.generator.config.separators.filter(p=>p!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let p=c[1],d=e(c[2],"[","]")?r.bracket(c[2]):jt[c[2]]||zt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:m=>`${m}:${p}(${d})`}}},multiPass:!0,autocomplete:`(${$t})-(${Yr}|${Xr}):`}}function So(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=tt((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,a)=>$l(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var wl=/(part-\[(.+)\]:)(.+)/;function Co(){return{match(t){let e=t.match(wl);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function H(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${Z(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let l=o.slice(a[0].length),c=O(e).map(p=>({matcher:l,handle:(f,d)=>d({...f,...p(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function Y(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${Z(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function lt(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=ht(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function D(t,e,r){for(let n of O(t))if(e.startsWith(n)){let o=lt(n,e,r);if(o){let[i="",a=o[1]]=D("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let l=e.indexOf("/",n.length),c=l===-1||a<=l;return[e.slice(n.length,c?a:l),e.slice(a+i.length),c?"":e.slice(l+1,a)]}}}}var ye=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],Ro={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},k=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),X=t=>`${k(t/16)}rem`,s=(t,e)=>`${k(t/e)}em`,To={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},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":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":s(32,16),"margin-bottom":s(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},Nt={sm:{"font-size":X(14),"line-height":k(24/14),p:{"margin-top":s(16,14),"margin-bottom":s(16,14)},'[class~="lead"]':{"font-size":s(18,14),"line-height":k(28/18),"margin-top":s(16,18),"margin-bottom":s(16,18)},blockquote:{"margin-top":s(24,18),"margin-bottom":s(24,18),"padding-inline-start":s(20,18)},h1:{"font-size":s(30,14),"margin-top":"0","margin-bottom":s(24,30),"line-height":k(36/30)},h2:{"font-size":s(20,14),"margin-top":s(32,20),"margin-bottom":s(16,20),"line-height":k(28/20)},h3:{"font-size":s(18,14),"margin-top":s(28,18),"margin-bottom":s(8,18),"line-height":k(28/18)},h4:{"margin-top":s(20,14),"margin-bottom":s(8,14),"line-height":k(20/14)},img:{"margin-top":s(24,14),"margin-bottom":s(24,14)},picture:{"margin-top":s(24,14),"margin-bottom":s(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":s(24,14),"margin-bottom":s(24,14)},kbd:{"font-size":s(12,14),"border-radius":X(5),"padding-top":s(2,14),"padding-inline-end":s(5,14),"padding-bottom":s(2,14),"padding-inline-start":s(5,14)},code:{"font-size":s(12,14)},"h2 code":{"font-size":s(18,20)},"h3 code":{"font-size":s(16,18)},pre:{"font-size":s(12,14),"line-height":k(20/12),"margin-top":s(20,12),"margin-bottom":s(20,12),"border-radius":X(4),"padding-top":s(8,12),"padding-inline-end":s(12,12),"padding-bottom":s(8,12),"padding-inline-start":s(12,12)},ol:{"margin-top":s(16,14),"margin-bottom":s(16,14),"padding-inline-start":s(22,14)},ul:{"margin-top":s(16,14),"margin-bottom":s(16,14),"padding-inline-start":s(22,14)},li:{"margin-top":s(4,14),"margin-bottom":s(4,14)},"ol > li":{"padding-inline-start":s(6,14)},"ul > li":{"padding-inline-start":s(6,14)},"> ul > li p":{"margin-top":s(8,14),"margin-bottom":s(8,14)},"> ul > li > p:first-child":{"margin-top":s(16,14)},"> ul > li > p:last-child":{"margin-bottom":s(16,14)},"> ol > li > p:first-child":{"margin-top":s(16,14)},"> ol > li > p:last-child":{"margin-bottom":s(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":s(8,14),"margin-bottom":s(8,14)},dl:{"margin-top":s(16,14),"margin-bottom":s(16,14)},dt:{"margin-top":s(16,14)},dd:{"margin-top":s(4,14),"padding-inline-start":s(22,14)},hr:{"margin-top":s(40,14),"margin-bottom":s(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":s(12,14),"line-height":k(18/12)},"thead th":{"padding-inline-end":s(12,12),"padding-bottom":s(8,12),"padding-inline-start":s(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":s(8,12),"padding-inline-end":s(12,12),"padding-bottom":s(8,12),"padding-inline-start":s(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":s(24,14),"margin-bottom":s(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":s(12,14),"line-height":k(16/12),"margin-top":s(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":X(16),"line-height":k(28/16),p:{"margin-top":s(20,16),"margin-bottom":s(20,16)},'[class~="lead"]':{"font-size":s(20,16),"line-height":k(32/20),"margin-top":s(24,20),"margin-bottom":s(24,20)},blockquote:{"margin-top":s(32,20),"margin-bottom":s(32,20),"padding-inline-start":s(20,20)},h1:{"font-size":s(36,16),"margin-top":"0","margin-bottom":s(32,36),"line-height":k(40/36)},h2:{"font-size":s(24,16),"margin-top":s(48,24),"margin-bottom":s(24,24),"line-height":k(32/24)},h3:{"font-size":s(20,16),"margin-top":s(32,20),"margin-bottom":s(12,20),"line-height":k(32/20)},h4:{"margin-top":s(24,16),"margin-bottom":s(8,16),"line-height":k(24/16)},img:{"margin-top":s(32,16),"margin-bottom":s(32,16)},picture:{"margin-top":s(32,16),"margin-bottom":s(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":s(32,16),"margin-bottom":s(32,16)},kbd:{"font-size":s(14,16),"border-radius":X(5),"padding-top":s(3,16),"padding-inline-end":s(6,16),"padding-bottom":s(3,16),"padding-inline-start":s(6,16)},code:{"font-size":s(14,16)},"h2 code":{"font-size":s(21,24)},"h3 code":{"font-size":s(18,20)},pre:{"font-size":s(14,16),"line-height":k(24/14),"margin-top":s(24,14),"margin-bottom":s(24,14),"border-radius":X(6),"padding-top":s(12,14),"padding-inline-end":s(16,14),"padding-bottom":s(12,14),"padding-inline-start":s(16,14)},ol:{"margin-top":s(20,16),"margin-bottom":s(20,16),"padding-inline-start":s(26,16)},ul:{"margin-top":s(20,16),"margin-bottom":s(20,16),"padding-inline-start":s(26,16)},li:{"margin-top":s(8,16),"margin-bottom":s(8,16)},"ol > li":{"padding-inline-start":s(6,16)},"ul > li":{"padding-inline-start":s(6,16)},"> ul > li p":{"margin-top":s(12,16),"margin-bottom":s(12,16)},"> ul > li > p:first-child":{"margin-top":s(20,16)},"> ul > li > p:last-child":{"margin-bottom":s(20,16)},"> ol > li > p:first-child":{"margin-top":s(20,16)},"> ol > li > p:last-child":{"margin-bottom":s(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":s(12,16),"margin-bottom":s(12,16)},dl:{"margin-top":s(20,16),"margin-bottom":s(20,16)},dt:{"margin-top":s(20,16)},dd:{"margin-top":s(8,16),"padding-inline-start":s(26,16)},hr:{"margin-top":s(48,16),"margin-bottom":s(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":s(14,16),"line-height":k(24/14)},"thead th":{"padding-inline-end":s(8,14),"padding-bottom":s(8,14),"padding-inline-start":s(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":s(8,14),"padding-inline-end":s(8,14),"padding-bottom":s(8,14),"padding-inline-start":s(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":s(32,16),"margin-bottom":s(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":s(14,16),"line-height":k(20/14),"margin-top":s(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":X(18),"line-height":k(32/18),p:{"margin-top":s(24,18),"margin-bottom":s(24,18)},'[class~="lead"]':{"font-size":s(22,18),"line-height":k(32/22),"margin-top":s(24,22),"margin-bottom":s(24,22)},blockquote:{"margin-top":s(40,24),"margin-bottom":s(40,24),"padding-inline-start":s(24,24)},h1:{"font-size":s(48,18),"margin-top":"0","margin-bottom":s(40,48),"line-height":k(48/48)},h2:{"font-size":s(30,18),"margin-top":s(56,30),"margin-bottom":s(32,30),"line-height":k(40/30)},h3:{"font-size":s(24,18),"margin-top":s(40,24),"margin-bottom":s(16,24),"line-height":k(36/24)},h4:{"margin-top":s(32,18),"margin-bottom":s(8,18),"line-height":k(28/18)},img:{"margin-top":s(32,18),"margin-bottom":s(32,18)},picture:{"margin-top":s(32,18),"margin-bottom":s(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":s(32,18),"margin-bottom":s(32,18)},kbd:{"font-size":s(16,18),"border-radius":X(5),"padding-top":s(4,18),"padding-inline-end":s(8,18),"padding-bottom":s(4,18),"padding-inline-start":s(8,18)},code:{"font-size":s(16,18)},"h2 code":{"font-size":s(26,30)},"h3 code":{"font-size":s(21,24)},pre:{"font-size":s(16,18),"line-height":k(28/16),"margin-top":s(32,16),"margin-bottom":s(32,16),"border-radius":X(6),"padding-top":s(16,16),"padding-inline-end":s(24,16),"padding-bottom":s(16,16),"padding-inline-start":s(24,16)},ol:{"margin-top":s(24,18),"margin-bottom":s(24,18),"padding-inline-start":s(28,18)},ul:{"margin-top":s(24,18),"margin-bottom":s(24,18),"padding-inline-start":s(28,18)},li:{"margin-top":s(12,18),"margin-bottom":s(12,18)},"ol > li":{"padding-inline-start":s(8,18)},"ul > li":{"padding-inline-start":s(8,18)},"> ul > li p":{"margin-top":s(16,18),"margin-bottom":s(16,18)},"> ul > li > p:first-child":{"margin-top":s(24,18)},"> ul > li > p:last-child":{"margin-bottom":s(24,18)},"> ol > li > p:first-child":{"margin-top":s(24,18)},"> ol > li > p:last-child":{"margin-bottom":s(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":s(16,18),"margin-bottom":s(16,18)},dl:{"margin-top":s(24,18),"margin-bottom":s(24,18)},dt:{"margin-top":s(24,18)},dd:{"margin-top":s(12,18),"padding-inline-start":s(28,18)},hr:{"margin-top":s(56,18),"margin-bottom":s(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":s(16,18),"line-height":k(24/16)},"thead th":{"padding-inline-end":s(12,16),"padding-bottom":s(12,16),"padding-inline-start":s(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":s(12,16),"padding-inline-end":s(12,16),"padding-bottom":s(12,16),"padding-inline-start":s(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":s(32,18),"margin-bottom":s(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":s(16,18),"line-height":k(24/16),"margin-top":s(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":X(20),"line-height":k(36/20),p:{"margin-top":s(24,20),"margin-bottom":s(24,20)},'[class~="lead"]':{"font-size":s(24,20),"line-height":k(36/24),"margin-top":s(24,24),"margin-bottom":s(24,24)},blockquote:{"margin-top":s(48,30),"margin-bottom":s(48,30),"padding-inline-start":s(32,30)},h1:{"font-size":s(56,20),"margin-top":"0","margin-bottom":s(48,56),"line-height":k(56/56)},h2:{"font-size":s(36,20),"margin-top":s(56,36),"margin-bottom":s(32,36),"line-height":k(40/36)},h3:{"font-size":s(30,20),"margin-top":s(48,30),"margin-bottom":s(20,30),"line-height":k(40/30)},h4:{"margin-top":s(36,20),"margin-bottom":s(12,20),"line-height":k(32/20)},img:{"margin-top":s(40,20),"margin-bottom":s(40,20)},picture:{"margin-top":s(40,20),"margin-bottom":s(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":s(40,20),"margin-bottom":s(40,20)},kbd:{"font-size":s(18,20),"border-radius":X(5),"padding-top":s(5,20),"padding-inline-end":s(8,20),"padding-bottom":s(5,20),"padding-inline-start":s(8,20)},code:{"font-size":s(18,20)},"h2 code":{"font-size":s(31,36)},"h3 code":{"font-size":s(27,30)},pre:{"font-size":s(18,20),"line-height":k(32/18),"margin-top":s(36,18),"margin-bottom":s(36,18),"border-radius":X(8),"padding-top":s(20,18),"padding-inline-end":s(24,18),"padding-bottom":s(20,18),"padding-inline-start":s(24,18)},ol:{"margin-top":s(24,20),"margin-bottom":s(24,20),"padding-inline-start":s(32,20)},ul:{"margin-top":s(24,20),"margin-bottom":s(24,20),"padding-inline-start":s(32,20)},li:{"margin-top":s(12,20),"margin-bottom":s(12,20)},"ol > li":{"padding-inline-start":s(8,20)},"ul > li":{"padding-inline-start":s(8,20)},"> ul > li p":{"margin-top":s(16,20),"margin-bottom":s(16,20)},"> ul > li > p:first-child":{"margin-top":s(24,20)},"> ul > li > p:last-child":{"margin-bottom":s(24,20)},"> ol > li > p:first-child":{"margin-top":s(24,20)},"> ol > li > p:last-child":{"margin-bottom":s(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":s(16,20),"margin-bottom":s(16,20)},dl:{"margin-top":s(24,20),"margin-bottom":s(24,20)},dt:{"margin-top":s(24,20)},dd:{"margin-top":s(12,20),"padding-inline-start":s(32,20)},hr:{"margin-top":s(56,20),"margin-bottom":s(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":s(18,20),"line-height":k(28/18)},"thead th":{"padding-inline-end":s(12,18),"padding-bottom":s(16,18),"padding-inline-start":s(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":s(16,18),"padding-inline-end":s(12,18),"padding-bottom":s(16,18),"padding-inline-start":s(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":s(40,20),"margin-bottom":s(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":s(18,20),"line-height":k(28/18),"margin-top":s(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":X(24),"line-height":k(40/24),p:{"margin-top":s(32,24),"margin-bottom":s(32,24)},'[class~="lead"]':{"font-size":s(30,24),"line-height":k(44/30),"margin-top":s(32,30),"margin-bottom":s(32,30)},blockquote:{"margin-top":s(64,36),"margin-bottom":s(64,36),"padding-inline-start":s(40,36)},h1:{"font-size":s(64,24),"margin-top":"0","margin-bottom":s(56,64),"line-height":k(64/64)},h2:{"font-size":s(48,24),"margin-top":s(72,48),"margin-bottom":s(40,48),"line-height":k(52/48)},h3:{"font-size":s(36,24),"margin-top":s(56,36),"margin-bottom":s(24,36),"line-height":k(44/36)},h4:{"margin-top":s(40,24),"margin-bottom":s(16,24),"line-height":k(36/24)},img:{"margin-top":s(48,24),"margin-bottom":s(48,24)},picture:{"margin-top":s(48,24),"margin-bottom":s(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":s(48,24),"margin-bottom":s(48,24)},kbd:{"font-size":s(20,24),"border-radius":X(6),"padding-top":s(6,24),"padding-inline-end":s(8,24),"padding-bottom":s(6,24),"padding-inline-start":s(8,24)},code:{"font-size":s(20,24)},"h2 code":{"font-size":s(42,48)},"h3 code":{"font-size":s(32,36)},pre:{"font-size":s(20,24),"line-height":k(36/20),"margin-top":s(40,20),"margin-bottom":s(40,20),"border-radius":X(8),"padding-top":s(24,20),"padding-inline-end":s(32,20),"padding-bottom":s(24,20),"padding-inline-start":s(32,20)},ol:{"margin-top":s(32,24),"margin-bottom":s(32,24),"padding-inline-start":s(38,24)},ul:{"margin-top":s(32,24),"margin-bottom":s(32,24),"padding-inline-start":s(38,24)},li:{"margin-top":s(12,24),"margin-bottom":s(12,24)},"ol > li":{"padding-inline-start":s(10,24)},"ul > li":{"padding-inline-start":s(10,24)},"> ul > li p":{"margin-top":s(20,24),"margin-bottom":s(20,24)},"> ul > li > p:first-child":{"margin-top":s(32,24)},"> ul > li > p:last-child":{"margin-bottom":s(32,24)},"> ol > li > p:first-child":{"margin-top":s(32,24)},"> ol > li > p:last-child":{"margin-bottom":s(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":s(16,24),"margin-bottom":s(16,24)},dl:{"margin-top":s(32,24),"margin-bottom":s(32,24)},dt:{"margin-top":s(32,24)},dd:{"margin-top":s(12,24),"padding-inline-start":s(38,24)},hr:{"margin-top":s(72,24),"margin-bottom":s(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":s(20,24),"line-height":k(28/20)},"thead th":{"padding-inline-end":s(12,20),"padding-bottom":s(16,20),"padding-inline-start":s(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":s(16,20),"padding-inline-end":s(12,20),"padding-bottom":s(16,20),"padding-inline-start":s(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":s(48,24),"margin-bottom":s(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":s(20,24),"line-height":k(32/20),"margin-top":s(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Eo(t){let e=yt(Ro);if(t)for(let r in t){let[n,o]=O(t[r]),[i,a]=e[r];e[r]=[n??i,o??a]}return e}function jo(t){return t?gt(Nt,t):Nt}function Zr(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,o=e.important===!0,i="";for(let[a,l]of Object.entries(t))if(typeof l!="object")i+=`${a}:${l}${o?" !important":""};`;else{let[c,p]=a.split("::"),f=`:where(${c})${n}${p?`::${p}`:""}`;i+=`${f} {`;for(let[d,m]of Object.entries(l))i+=`${d}:${m}${o?" !important":""};`;i+="}"}return i}function zo(t){for(let[e,...r]of ye)if(e===t)return r.length>0?r:[e]}var kl=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",o=Eo(t?.colorScheme),i=jo(t?.sizeScheme),a=(d,m)=>{let g=typeof t?.cssExtend=="function"?t?.cssExtend(m):t?.cssExtend;return gt(d,g??{})},l=d=>(typeof t?.important=="string"&&(d=`${t.important} ${d}`),t?.compatibility?.noColonIs||(d=`:is(${d})`),d),c=new RegExp(`^${e}-default$`),p=new RegExp(`^${e}-([-\\w]+)$`),f=new RegExp(`^${e}-(${Object.keys(i).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[c,(d,{symbols:m,theme:g})=>{let h=a(gt(To,Nt.base),g),v=Zr(h,t??{});return{[m.body]:v,[m.selector]:l}},{layer:"typography",autocomplete:"prose",internal:!0}],[p,([,d],{theme:m,symbols:g})=>{let h=m.colors?.[d];return!h||typeof h!="object"?void 0:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(d)?{[`${n}-links`]:h[600],[`${n}-invert-links`]:h[500],[g.selector]:l}:Object.entries(o).reduce(($,[T,x])=>{let[b,z]=x,y=I=>h[I]??m[I]??I,R=y(b),w=y(z),C=`${n}-${T}`,A=`${n}-invert-${T}`;$[C]=W(R,`var(${C}-opacity)`),$[A]=W(w,`var(${A}-opacity)`);for(let[I,G]of[[R,`${C}-opacity`],[w,`${A}-opacity`]])ge.some(J=>I.includes(J))&&($[G]="1");return $},{[g.selector]:l})},{layer:"typography",autocomplete:`${e}-$colors`}],[f,([,d],{symbols:m,theme:g})=>{let h=Zr(a(i[d],g),t??{});return{[m.body]:h,[m.selector]:l}},{layer:"typography",autocomplete:`${e}-(${Object.keys(i).join("|")})`}],[`${e}-invert`,[{[`${n}-body`]:`var(${n}-invert-body)`,[`${n}-headings`]:`var(${n}-invert-headings)`,[`${n}-lead`]:`var(${n}-invert-lead)`,[`${n}-links`]:`var(${n}-invert-links)`,[`${n}-bold`]:`var(${n}-invert-bold)`,[`${n}-counters`]:`var(${n}-invert-counters)`,[`${n}-bullets`]:`var(${n}-invert-bullets)`,[`${n}-hr`]:`var(${n}-invert-hr)`,[`${n}-quotes`]:`var(${n}-invert-quotes)`,[`${n}-quote-borders`]:`var(${n}-invert-quote-borders)`,[`${n}-captions`]:`var(${n}-invert-captions)`,[`${n}-kbd`]:`var(${n}-invert-kbd)`,[`${n}-kbd-shadows`]:`var(${n}-invert-kbd-shadows)`,[`${n}-code`]:`var(${n}-invert-code)`,[`${n}-pre-code`]:`var(${n}-invert-pre-code)`,[`${n}-pre-bg`]:`var(${n}-invert-pre-bg)`,[`${n}-th-borders`]:`var(${n}-invert-th-borders)`,[`${n}-td-borders`]:`var(${n}-invert-td-borders)`,[Q.selector]:l}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:d=>{if(d.startsWith(`${e}-`)){let m=new RegExp(`^${e}-(\\w+)[:-].+$`),g=d.match(m)?.[1];if(g){let h=zo(g);if(h?.length)return{matcher:d.slice(e.length+g.length+2),selector:v=>{let $=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?h.map(x=>`${v} ${x}`).join(","):`${v} :is(:where(${h})${$})`}}}}},autocomplete:`${e}-(${ye.map(d=>`${d[0]}:`).join("|")})`}]}},Oo=kl;function Sl(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Ao(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Sl(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function Po(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Cl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Vo(t){return t.includes("sourceMappingURL=")?t.replace(Cl,""):t}var Rl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Tl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,El=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function jl(t){let e=[];for(let o of t.matchAll(Tl))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Rl))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Ao(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(se).forEach(o=>{o.includes(n)&&(o=Po(o,r)),Lt(o)&&!El.test(o)&&e.push(o)}),e}function Mo(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return jl(Vo(t))}}}function _o(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Ct(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),O(e.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}var nn={};Ra(nn,{auto:()=>Al,bracket:()=>Ll,bracketOfColor:()=>Ul,bracketOfLength:()=>Wl,bracketOfPosition:()=>Bl,cssvar:()=>Il,degree:()=>Nl,fraction:()=>Fl,global:()=>Kl,number:()=>Ml,numberWithUnit:()=>Ol,percent:()=>_l,position:()=>ql,properties:()=>Gl,px:()=>Vl,rem:()=>Pl,time:()=>Dl});var K={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"]},Jr={...K,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Qr={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Lo={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Uo=["x","y","z"],Fo=["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"],N=Object.assign({},...Fo.map(t=>({[t.replace(/ /,"-")]:t})),...Fo.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),j=["inherit","initial","revert","revert-layer","unset"],Kt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Wo=/^(var)\s*\((.+)\)(.*)/;var Ot=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,tn=/^(-?\d*(?:\.\d+)?)$/,en=/^(px|[sld]?v[wh])$/i,rn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ve=/^\[(color|image|length|size|position|quoted|string):/i,Bo=/,(?![^()]*\))/g;var zl=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function et(t){return+t.toFixed(10)}function Ol(t){let e=t.match(Ot);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${et(o)}${n}`}function Al(t){if(t==="auto"||t==="a")return"auto"}function Pl(t){if(!t)return;if(en.test(t))return`${rn[t]}${t}`;let e=t.match(Ot);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${et(o)}${n}`:`${et(o/4)}rem`}function Vl(t){if(en.test(t))return`${rn[t]}${t}`;let e=t.match(Ot);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${et(o)}${n}`:`${et(o)}px`}function Ml(t){if(!tn.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return et(e)}function _l(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!tn.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${et(e/100)}`}function Fl(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${et(n*100)}%`}function $e(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(ve);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let l=[];return a.replace(/var\((--.+?)[,)]/g,(c,p)=>(l.push(p),c.replace(p,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>l.shift())})}}function Ll(t){return $e(t)}function Ul(t){return $e(t,"color")}function Wl(t){return $e(t,"length")}function Bl(t){return $e(t,"position")}function Il(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${tt(e)}${r?`, ${r}`:""})`}}function Dl(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${et(o)}${n}`:`${et(o)}ms`}function Nl(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${et(o)}${n}`:`${et(o)}deg`}function Kl(t){if(j.includes(t))return t}function Gl(t){if(t.split(",").every(e=>zl.includes(e)))return t}function ql(t){if(["top","left","right","bottom","center"].includes(t))return t}var Hl=go(nn),u=Hl;var Io={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(j.map(t=>[t,t]))},we=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Io[t]??u.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Io).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Do=["center","left","right","justify","start","end"],ke=[...Do.map(t=>[`text-${t}`,{"text-align":t}]),...[...j,...Do].map(t=>[`text-align-${t}`,{"text-align":t}])];var qo="$$mini-no-negative";function F(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return K[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return K[r].map(l=>[`${t}${l}`,`calc(${a} * -1)`])}}}function No(t,e,r="colors"){let n=t[r];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let l=a.length;l>0;l--){let c=a.slice(0,l).join("-"),p=c.replace(/(-[a-z])/g,d=>d.slice(1).toUpperCase()),f=i[p]??i[c];if(f!=null)return l===a.length?f:o(f,a.slice(l))}}return o(n,e)}function Ko(t,e,r){return No(t,e,r)||No(t,e,"colors")}function sn(t,e){let[r,n]=Rt(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ve)??[])[1];if(o==null||o===e)return[r,n]}}function At(t,e,r){let n=sn(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[l]=a;if(!l)return;let c,p=u.bracketOfColor(o),f=p||o;if(u.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?c=f:/^hex-[\da-fA-F]+$/.test(f)?c=`#${f.slice(4)}`:o.startsWith("$")&&(c=u.cssvar(o)),c=c||p,!c){let m=Ko(e,[o],r);typeof m=="string"&&(c=m)}let d="DEFAULT";if(!c){let m=a,g,[h]=a.slice(-1);/^\d+$/.test(h)&&(d=g=h,m=a.slice(0,-1));let v=Ko(e,m,r);typeof v=="object"?c=v[g??d]:typeof v=="string"&&!g&&(c=v)}return{opacity:i,name:l,no:d,color:c,cssColor:it(c),alpha:u.bracket.cssvar.percent(i??"")}}function M(t,e,r,n){return([,o],{theme:i,generator:a})=>{let l=At(o??"",i,r);if(!l)return;let{alpha:c,color:p,cssColor:f}=l,m=a.config.envMode==="dev"&&p?` /* ${p} */`:"",g={};if(f)if(c!=null)g[t]=W(f,c)+m;else{let h=`--un-${e}-opacity`,v=W(f,`var(${h})`);v.includes(h)&&(g[h]=vt(f)),g[t]=v+m}else if(p)if(c!=null)g[t]=W(p,c)+m;else{let h=`--un-${e}-opacity`,v=W(p,`var(${h})`);v.includes(h)&&(g[h]=1),g[t]=v+m}if(n?.(g)!==!1)return g}}function Pt(t,e){let r=[];t=O(t);for(let n=0;n<t.length;n++){let o=Tt(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let l="",c=o.at(-1);if(it(o.at(0))){let p=it(o.shift());p&&(l=`, ${W(p)}`)}else if(it(c)){let p=it(o.pop());p&&(l=`, ${W(p)}`)}else c&&c.startsWith("var(")&&(l=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${l})`)}return r}function Vt(t,e,r){return t!=null&&!!At(t,e,r)?.color}var Go=/[a-z]+/gi,on=new WeakMap;function wt({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(on.has(t))return on.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(Go,""))-Number.parseInt(a[1].replace(Go,""))).map(([i,a])=>({point:i,size:a}));return on.set(t,o),o}function S(t,e){return j.map(r=>[`${t}-${r}`,{[e??t]:r}])}function rt(t){return t!=null&&Kt.test(t)}function Ho(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Kt.test(t)||Ot.test(t)}function Se(t,e,r){let n=e.split(Bo);return t||!t&&n.length===1?Lo[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${Uo[i]}`,o])}var Ce=[[/^outline-(?:width-|size-)?(.+)$/,Yo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Yl,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...j].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Yo([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}}function Yl(t,e){return rt(u.bracket(t[1]))?Yo(t,e):M("outline-color","outline-color","borderColor")(t,e)}var Re=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Xl(t){return u.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Te=[[/^will-change-(.+)/,([,t])=>({"will-change":Xl(t)})]];var kt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...j],Ee=[[/^(?:border|b)()(?:-(.+))?$/,st,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,st],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,st],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,st],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,st],[/^(?:border|b)-()(?:width|size)-(.+)$/,st,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,st],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,st],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,st],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,st],[/^(?:border|b)-()(?:color-)?(.+)$/,Gt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Gt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ht,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ht],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ht],[/^(?:border|b)-(?:style-)?()(.+)$/,Yt,{autocomplete:["(border|b)-style",`(border|b)-(${kt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${kt.join("|")})`,`(border|b)-<directions>-style-(${kt.join("|")})`,`(border|b)-style-(${kt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Yt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Yt]];function Xo(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:vt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=W(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:vt(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Zl(t){return([,e],r)=>{let n=At(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Xo(a,o,t);if(i)return Xo(i,o,t)}}function st([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??u.bracket.cssvar.global.px(e||"1");if(t in K&&n!=null)return K[t].map(o=>[`border${o}-width`,n])}function Gt([,t="",e],r){if(t in K){if(rt(u.bracket(e)))return st(["",t,e],r);if(Vt(e,r.theme,"borderColor"))return Object.assign({},...K[t].map(n=>Zl(n)(["",e],r.theme)))}}function qt([,t="",e]){let r=u.bracket.percent.cssvar(e);if(t in K&&r!=null)return K[t].map(n=>[`--un-border${n}-opacity`,r])}function Ht([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e||"1");if(t in Qr&&n!=null)return Qr[t].map(o=>[`border${o}-radius`,n])}function Yt([,t="",e]){if(kt.includes(e)&&t in K)return K[t].map(r=>[`border${r}-style`,e])}var je=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:u.bracket.percent.cssvar(t)})]],Jl=/^\[url\(.+\)\]$/,Ql=/^\[(?:length|size):.+\]$/,tc=/^\[position:.+\]$/,ec=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,rc=/^\[image:.+\]$/,ze=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(Jl.test(e))return{"--un-url":u.bracket(e),"background-image":"var(--un-url)"};if(Ql.test(e)&&u.bracketOfLength(e)!=null)return{"background-size":u.bracketOfLength(e).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((Ho(e)||tc.test(e))&&u.bracketOfPosition(e)!=null)return{"background-position":u.bracketOfPosition(e).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(ec.test(e)||rc.test(e)){let r=u.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return M("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Oe=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]];var Ae=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]];var Zo=["solid","double","dotted","dashed","wavy",...j],Pe=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Jo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,nc,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??u.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Zo.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Zo.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Jo([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}}function nc(t,e){if(rt(u.bracket(t[1])))return Jo(t,e);let r=M("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Ve=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:u.bracket(t)!=null?u.bracket(t).split(" ").map(e=>u.cssvar.fraction(e)??e).join(" "):u.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":u.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":u.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??u.bracket.cssvar.auto.fraction.rem(t)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var oc={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function an([,t="",e],{theme:r}){let n=r.spacing?.[e]??u.bracket.cssvar.global.rem(e);if(n!=null)return{[`${oc[t]}gap`]:n}}var Me=[[/^(?:flex-|grid-)?gap-?()(.+)$/,an,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,an,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,an,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ct(t){return t.replace("col","column")}function ln(t){return t[0]==="r"?"Row":"Column"}function ic(t,e,r){let n=e[`gridAuto${ln(t)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var _e=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${ct(t)}`]:r[`grid${ln(t)}`]?.[e]??u.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${ct(t)}`]:"1/-1"};let r=u.bracket.number(e);if(r!=null)return{[`grid-${ct(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${ct(t)}-start`]:u.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${ct(t)}-end`]:u.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${ct(t)}`]:ic(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":u.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":ct(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${ct(t)}`]:r[`gridTemplate${ln(t)}`]?.[e]??u.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${ct(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${ct(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":u.cssvar(e)??e.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]];var Fe=["auto","hidden","clip","visible","scroll","overlay",...j],Le=[[/^(?:overflow|of)-(.+)$/,([,t])=>Fe.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Fe.join("|")})`,`(overflow|of)-(x|y)-(${Fe.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Fe.includes(e)?{[`overflow-${t}`]:e}:void 0]];var Ue=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>j.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Zt=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...S("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...S("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...S("justify-self")],We=[[/^order-(.+)$/,([,t])=>({order:u.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],Jt=[["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"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...S("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...S("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...S("self","align-self")],Qt=[["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-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...S("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...S("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...S("place-self")],Be=[...Zt,...Jt,...Qt].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function cn(t,{theme:e}){return e.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t)}function Xt([,t,e],r){let n=cn(e,r);if(n!=null&&t in Jr)return Jr[t].map(o=>[o.slice(1),n])}var Ie=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:cn(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Xt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Xt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Xt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:cn(e,r)})]],De=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...S("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...S("clear")],Ne=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":u.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??u.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Ke=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...S("box","box-sizing")];var Ge=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var sc=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],ac=["none","strict","content","size","inline-size","layout","style","paint"],P=" ",qe=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:u.bracket.cssvar.global(t)})]],He=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...S("backface","backface-visibility")],Ye=[[/^cursor-(.+)$/,([,t])=>({cursor:u.bracket.cssvar.global(t)})],...sc.map(t=>[`cursor-${t}`,{cursor:t}])],Xe=[[/^contain-(.*)$/,([,t])=>u.bracket(t)!=null?{contain:u.bracket(t).split(" ").map(e=>u.cssvar.fraction(e)??e).join(" ")}:ac.includes(t)?{contain:t}:void 0]],Ze=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...S("pointer-events")],Je=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...S("resize")],Qe=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...S("select","user-select")],tr=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...j].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],er=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...S("content-visibility")],rr=[[/^content-(.+)$/,([,t])=>({content:u.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],nr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],or=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ir=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],sr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...S("case","text-transform")],ar=[["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"}]],lr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],cr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]];var te={"--un-ring-inset":P,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},lc=Object.keys(te),pr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??u.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:lc},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Qo,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??u.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,cc,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,M("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Qo([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??u.bracket.cssvar.px(t)}}function cc(t,e){return rt(u.bracket(t[1]))?Qo(t,e):M("--un-ring-color","ring","borderColor")(t,e)}var ee={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":P,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},pc=Object.keys(ee),ur=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Vt(i,n,"shadowColor")?{"--un-shadow":Pt(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:M("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:pc},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var uc={h:"height",w:"width",inline:"inline-size",block:"block-size"};function St(t,e){return`${t||""}${uc[e]}`}function fr(t,e,r,n){let o=St(t,e).replace(/-(\w)/g,(a,l)=>l.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return u.bracket.cssvar.global.auto.fraction.rem(n)}var dr=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[St(t,"w")]:fr(t,"w",r,e),[St(t,"h")]:fr(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[St(t,e)]:fr(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[St(t,e)]:fr(t,e,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[St(t,e)]:ti(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[St(t,e)]:ti(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function ti(t,e,r="breakpoints"){let n=wt(t,r);if(n)return n.find(o=>o.point===e)?.size}function fc(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(t)}var mr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":fc(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var gr=[[/^pa?()-?(.+)$/,F("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,F("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,F("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,F("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,F("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,F("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],hr=[[/^ma?()-?(.+)$/,F("margin")],[/^m-?xy()()$/,F("margin")],[/^m-?([xy])(?:-?(.+))?$/,F("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,F("margin")],[/^m-(block|inline)(?:-(.+))?$/,F("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,F("margin")]];var br=[[/^fill-(.+)$/,M("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,ei,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":u.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??u.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,dc,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function ei([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??u.bracket.cssvar.fraction.px.number(t)}}function dc(t,e){return rt(u.bracket(t[1]))?ei(t,e):M("stroke","stroke","borderColor")(t,e)}var xr=["translate","rotate","scale"],mc=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Mt=["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(" "),gc=["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(" "),re={"--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},pt=Object.keys(re),yr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":N[t]??u.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(N).join("|")})`,`origin-(${Object.keys(N).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=u.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=u.bracket.cssvar(t)??(t.length>=3?N[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,ri,{custom:{preflightKeys:pt}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,ri,{custom:{preflightKeys:pt}}],[/^(?:transform-)?rotate-()(.+)$/,oi,{custom:{preflightKeys:pt}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,oi,{custom:{preflightKeys:pt}}],[/^(?:transform-)?skew-()(.+)$/,ii,{custom:{preflightKeys:pt}}],[/^(?:transform-)?skew-([xy])-(.+)$/,ii,{custom:{preflightKeys:pt},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ni,{custom:{preflightKeys:pt}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,ni,{custom:{preflightKeys:pt},autocomplete:[`transform-(${xr.join("|")})-<percent>`,`transform-(${xr.join("|")})-(x|y|z)-<percent>`,`(${xr.join("|")})-<percent>`,`(${xr.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Mt},{custom:{preflightKeys:pt}}],["transform-cpu",{transform:mc},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:gc},{custom:{preflightKeys:pt}}],["transform-none",{transform:"none"}],...S("transform")];function ri([,t,e],{theme:r}){let n=r.spacing?.[e]??u.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Se(t,n,"translate"),["transform",Mt]]}function ni([,t,e]){let r=u.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Se(t,r,"scale"),["transform",Mt]]}function oi([,t="",e]){let r=u.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:Mt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Mt}}function ii([,t,e]){let r=u.bracket.cssvar.degree(e);if(r!=null)return[...Se(t,r,"skew"),["transform",Mt]]}function si(t,e){let r;if(u.cssvar(t)!=null)r=u.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var vr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(t!=null){let n=si(t,r),o=r.duration?.[e||"DEFAULT"]??u.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??u.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??u.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=u.global(t)||si(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...j].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...S("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var $r=[[/^text-(.+)$/,bc,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,ai,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,hc,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,M("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>j.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${j.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||u.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":pn(t,e,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":u.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||u.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||u.bracket.cssvar.global.rem(t)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":u.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||u.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],wr=[[/^tab(?:-(.+))?$/,([,t])=>{let e=u.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],kr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],Sr=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||u.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,M("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Cr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":Pt(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,M("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function pn(t,e,r){return e[r]?.[t]||u.bracket.cssvar.global.rem(t)}function ai([,t],{theme:e}){let n=O(e.fontSize?.[t])?.[0]??u.bracket.cssvar.global.rem(t);if(n!=null)return{"font-size":n}}function hc(t,e){return rt(u.bracket(t[1]))?ai(t,e):M("color","text","textColor")(t,e)}function bc([,t="base"],{theme:e}){let r=sn(t,"length");if(!r)return;let[n,o]=r,i=O(e.fontSize?.[n]),a=o?pn(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,p,f]=i;return typeof p=="object"?{"font-size":c,...p}:{"font-size":c,"line-height":a??p??"1","letter-spacing":f?pn(f,e,"letterSpacing"):void 0}}let l=u.bracketOfLength.rem(n);return a&&l?{"font-size":l,"line-height":a}:{"font-size":u.bracketOfLength.rem(t)}}var xc={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"},Rr=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=xc[t];if(r)return{[r]:u.cssvar(e)}}]],Tr=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!vc(e)&&/^[\w-]+$/.test(r)&&yc(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function yc(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function vc(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var li=[Rr,Tr,Xe,Ze,He,Ue,Ie,Ne,We,_e,De,hr,Ke,qe,mr,dr,Ve,yr,Ye,Qe,Je,Re,Qt,Jt,Zt,Me,Be,Le,ir,tr,nr,Ee,ze,Oe,br,gr,ke,kr,or,we,$r,sr,ar,Pe,lr,wr,Sr,Cr,je,ur,Ce,pr,vr,Te,er,rr,Ae,cr,Ge].flat(1);var ci={position:["relative","absolute","fixed","sticky","static"],globalKeyword:j};var un={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(un).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var pi={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ui={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"};var fi={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(",")},di={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"]},mi={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},gi={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},hi={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},bi={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},fn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},xi={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},yi=fn;var dn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},vi={...dn},$i={DEFAULT:"1px",none:"0"},wi={DEFAULT:"1rem",none:"0",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},ki={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Si={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Ci={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Ri={DEFAULT:"3px",none:"0"},Ti={auto:"auto"},Ei={mouse:"(hover) and (pointer: fine)"};var ji={...re,...ee,...te};var ut={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},zi={auto:"auto",...ut,screen:"100vw"},mn={none:"none",...ut,screen:"100vw"},Oi={auto:"auto",...ut,screen:"100vb"},Ai={auto:"auto",...ut,screen:"100vi"},Pi={auto:"auto",...ut,screen:"100vh"},gn={none:"none",...ut,screen:"100vh"},hn={none:"none",...ut,screen:"100vb"},bn={none:"none",...ut,screen:"100vi"},Vi={...ut};var Mi={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)"},_i={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}};var Er={width:zi,height:Pi,maxWidth:mn,maxHeight:gn,minWidth:mn,minHeight:gn,inlineSize:Ai,blockSize:Oi,maxInlineSize:bn,maxBlockSize:hn,minInlineSize:bn,minBlockSize:hn,colors:un,fontFamily:fi,fontSize:di,fontWeight:xi,breakpoints:dn,verticalBreakpoints:vi,borderRadius:Si,lineHeight:bi,letterSpacing:fn,wordSpacing:yi,boxShadow:Ci,textIndent:mi,textShadow:hi,textStrokeWidth:gi,blur:pi,dropShadow:ui,easing:Mi,transitionProperty:_i,lineWidth:$i,spacing:wi,duration:ki,ringWidth:Ri,preflightBase:ji,containers:Vi,zIndex:Ti,media:Ei};var Fi={name:"aria",match(t,e){let r=D("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0};function jr(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=D(`${t}-aria-`,n,o.generator.config.separators);if(i){let[a,l,c]=i,p=u.bracket(a)??o.theme.aria?.[a]??"";if(p){let f=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let m=`${f?`[${d}${t}=""]`:`.${d}${t}`}`,g=tt(c?`/${c}`:"");return{matcher:l,handle:(h,v)=>{let $=new RegExp(`${Z(m)}${Z(g)}(?:\\[.+?\\])+`),T=h.prefix.match($),x;if(T){let b=(T.index??0)+m.length+g.length;x=[h.prefix.slice(0,b),`[aria-${p}]`,h.prefix.slice(b)].join("")}else{let b=Math.max(h.prefix.indexOf(m),0);x=[h.prefix.slice(0,b),m,g,`[aria-${p}]`,e,h.prefix.slice(b)].join("")}return v({...h,prefix:x})}}}}},multiPass:!0}}function $c(){return{name:"has-aria",match(t,e){let r=D("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(a,l)=>l({...a,pseudo:`${a.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function Li(t={}){return[jr("group"," ",t),jr("peer","~",t),jr("parent",">",t),jr("previous","+",t),$c()]}var Ui=/(max|min)-\[([^\]]*)\]:/;function Wi(){let t={};return{name:"breakpoints",match(e,r){if(Ui.test(e)){let o=e.match(Ui);return{matcher:e.replace(o[0],""),handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(wt(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let l=e.match(t[o]);if(!l)continue;let[,c]=l,p=e.slice(c.length);if(p==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~"),m=3e3;return f?(m-=a+1,{matcher:p,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (max-width: ${Hr(i)})`,parentOrder:m})}):(m+=a+1,d&&a<n.length-1?{matcher:p,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Hr(n[a+1][1])})`,parentOrder:m})}:{matcher:p,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Bi=[H("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function ne(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=lt(`${t}-`,r,o);if(!i){for(let l of o)if(r.startsWith(`${t}${l}`)){i=["",r.slice(t.length+l.length)];break}if(!i)return}let a=u.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:l=>`${l}${e}${a}`}},multiPass:!0}}var Ii=[ne("all"," "),ne("children",">"),ne("next","+"),ne("sibling","+"),ne("siblings","~")];var Di={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=D("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=u.bracket(n),l;if(a?l=u.numberWithUnit(a):l=e.theme.containers?.[n]??"",l){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(p,f)=>f({...p,parent:`${p.parent?`${p.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${l})`,parentOrder:c})}}}},multiPass:!0};function Ni(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[H("dark",O(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),H("light",O(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[Y("dark","@media (prefers-color-scheme: dark)"),Y("light","@media (prefers-color-scheme: light)")]}var Ki={name:"data",match(t,e){let r=D("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function zr(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=D(`${t}-data-`,n,o.generator.config.separators);if(i){let[a,l,c]=i,p=u.bracket(a)??o.theme.data?.[a]??"";if(p){let f=!!r?.attributifyPseudo,d=r?.prefix??"";d=(Array.isArray(d)?d:[d]).filter(Boolean)[0]??"";let m=`${f?`[${d}${t}=""]`:`.${d}${t}`}`,g=tt(c?`/${c}`:"");return{matcher:l,handle:(h,v)=>{let $=new RegExp(`${Z(m)}${Z(g)}(?:\\[.+?\\])+`),T=h.prefix.match($),x;if(T){let b=(T.index??0)+m.length+g.length;x=[h.prefix.slice(0,b),`[data-${p}]`,h.prefix.slice(b)].join("")}else{let b=Math.max(h.prefix.indexOf(m),0);x=[h.prefix.slice(0,b),m,g,`[data-${p}]`,e,h.prefix.slice(b)].join("")}return v({...h,prefix:x})}}}}},multiPass:!0}}function wc(){return{name:"has-data",match(t,e){let r=D("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(a,l)=>l({...a,pseudo:`${a.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Gi(t={}){return[zr("group"," ",t),zr("peer","~",t),zr("parent",">",t),zr("previous","+",t),wc()]}var qi=[H("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),H("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Hi(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Yi=Y("print","@media print"),Xi={name:"media",match(t,e){let r=D("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Zi={name:"selector",match(t,e){let r=lt("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Ji={name:"layer",match(t,e){let r=D("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Qi={name:"uno-layer",match(t,e){let r=D("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},ts={name:"scope",match(t,e){let r=lt("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},es={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=ht(t,"[","]")??[];if(!(r&&n))return;let o;for(let l of e.generator.config.separators)if(n.startsWith(l)){o=n.slice(l.length);break}if(o==null)return;let i=u.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(l,c){let p=a?{parent:`${l.parent?`${l.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,l.selector)};return c({...l,...p})}}},multiPass:!0},rs={name:"theme-variables",match(t,e){if(fo(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(mo(JSON.stringify(r.entries),e.theme))})}}}};var ns=/^-?[0-9.]+(?:[a-z]+|%)?$/,os=/-?[0-9.]+(?:[a-z]+|%)?/,kc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Sc(t){let e=t.match(Kt)||t.match(Wo);if(e){let[r,n]=Rt(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Cc=/\b(hue-rotate)\s*(\(.*)/;function Rc(t){let e=t.match(Cc);if(e){let[r,n]=Rt(e[2],"(",")"," ")??[];if(r){let o=ns.test(r.slice(1,-1))?r.replace(os,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var is={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===qo))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||kc.some(l=>l.test(n[0])))return;let i=Sc(o);if(i){n[1]=i,r=!0;return}let a=Rc(o);if(a){n[1]=a,r=!0;return}ns.test(o)&&(n[1]=o.replace(os,l=>l.startsWith("-")?l.slice(1):`-${l}`),r=!0)}),r?e:[]}}}};function ss(){return wo({getBracket:ht,h:u,variantGetBracket:lt})}function as(){return ko({getBracket:ht,h:u,variantGetBracket:lt})}function ls(t={}){return So(t,{getBracket:ht,h:u,variantGetBracket:lt})}var cs=Co();var ps={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}};var us={name:"supports",match(t,e){let r=D("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Or(t){return[Fi,Ki,Ji,Zi,Qi,is,ps,Hi(),us,Yi,Xi,Wi(),...Ii,...ss(),as(),...ls(t),cs,...Ni(t),...qi,ts,...Bi,Di,es,...Gi(t),...Li(t),rs]}var xn=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:Er,rules:li,variants:Or(t),options:t,prefix:t.prefix,postprocess:Tc(t.variablePrefix),preflights:_o(t),extractorDefault:t.arbitraryVariants===!1?void 0:Mo(),autocomplete:{shorthands:ci}}),fs=xn;function Tc(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function ds(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function ms(t){return[...O(fs(t).postprocess),...ds(t.important)]}var gs=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:u.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":u.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??u.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?j:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?j:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":u.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?j:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...S("animate","animation")];function hs(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function Ec(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${vt(e)})`):W(r,n)}function yn(){return([,t,e],{theme:r})=>{let n=At(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let l=Ec(t,a,i,o);switch(t){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${l} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${hs(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":hs(a),"--un-gradient-stops":`var(--un-gradient-from), ${l} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${l} var(--un-gradient-to-position)`}}}}function jc(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(u.bracket.cssvar.percent(e))*100}%`})}var bs=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":u.bracket(t)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,t])=>({"--un-gradient-stops":u.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,yn()],[/^(?:bg-gradient-)?(via)-(.+)$/,yn()],[/^(?:bg-gradient-)?(to)-(.+)$/,yn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:u.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,jc()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,t])=>{if(t in N)return{"--un-gradient-shape":`to ${N[t]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in N?`to ${N[t]}`:u.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(N).join("|")})`,`shape-(${Object.keys(N).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...S("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...j.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":N[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...S("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...S("bg-origin","background-origin")];var vn={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"},xs=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=vn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(vn).join("|")})`,`list-(${Object.keys(vn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":u.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...S("list","list-style-type")],ys=[[/^accent-(.+)$/,M("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":u.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],vs=[[/^caret-(.+)$/,M("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":u.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],$s=[["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"]]]],ws=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...S("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...S("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...S("overscroll-y","overscroll-behavior-y")],ks=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...S("scroll","scroll-behavior")];var Ss=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:u.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["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"}],...S("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...S("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...S("break-after")];var zc=/@media \(min-width: (.+)\)/,Cs=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;_(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,l;for(let p of n){let f=p.handle?.({},d=>d)?.parent;if(_(f)){let d=f.match(zc)?.[1];if(d){let g=(wt(e)??[]).find(h=>h.size===d)?.point;a?g&&(l=a?.[g]):l=d,g&&!_(o)&&(i=o?.[g]??i)}}}let c={"max-width":l};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],Rs=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(wt(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var Ts=[[/^divide-?([xy])$/,Ar,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Ar],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Ar],[/^divide-(block|inline)-(.+)$/,Ar],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,M("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":u.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...kt.map(t=>[`divide-${t}`,{"border-style":t}])];function Ar([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??u.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=K[t].map(i=>{let a=`border${i}-width`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`;return[a,l]});if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var wn={"--un-blur":P,"--un-brightness":P,"--un-contrast":P,"--un-drop-shadow":P,"--un-grayscale":P,"--un-hue-rotate":P,"--un-invert":P,"--un-saturate":P,"--un-sepia":P},js=Object.keys(wn),Es={preflightKeys:js},Pr="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)",kn={"--un-backdrop-blur":P,"--un-backdrop-brightness":P,"--un-backdrop-contrast":P,"--un-backdrop-grayscale":P,"--un-backdrop-hue-rotate":P,"--un-backdrop-invert":P,"--un-backdrop-opacity":P,"--un-backdrop-saturate":P,"--un-backdrop-sepia":P},zs=Object.keys(kn),Oc={preflightKeys:zs},Vr="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)",ft={preflightKeys:[...js,...zs]};function $n(t){let e=u.bracket.cssvar(t||"");if(e!=null||(e=t?u.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function dt(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":Vr,"backdrop-filter":Vr}:{[`--un-${t}`]:`${t}(${i})`,filter:Pr}}}function Ac([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${Pt(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Pr};if(r=u.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Pr}}var Os=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,dt("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||u.bracket.cssvar.px(t)),{custom:ft,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,dt("brightness",t=>u.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,dt("contrast",t=>u.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Ac,{custom:Es,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-(.+)$/,M("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":u.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,dt("grayscale",$n),{custom:ft,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,dt("hue-rotate",t=>u.bracket.cssvar.degree(t)),{custom:ft}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,dt("invert",$n),{custom:ft,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,dt("opacity",t=>u.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,dt("saturate",t=>u.bracket.cssvar.percent(t)),{custom:ft,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,dt("sepia",$n),{custom:ft,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Pr},{custom:Es}],["backdrop-filter",{"-webkit-backdrop-filter":Vr,"backdrop-filter":Vr},{custom:Oc}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...j.map(t=>[`filter-${t}`,{filter:t}]),...j.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])];var As=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...j].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])];var Ps=[[/^\$ placeholder-(.+)$/,M("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":u.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Sn={"--un-scroll-snap-strictness":"proximity"},Vs={preflightKeys:Object.keys(Sn)},Ms=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:Vs,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Vs}],["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?()-?(.+)$/,F("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])-?(.+)$/,F("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,F("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,F("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,F("scroll-margin")],[/^scroll-pa?()-?(.+)$/,F("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,F("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,F("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,F("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,F("scroll-padding")]];var Fs=[[/^space-([xy])-(.+)$/,_s,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,_s],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function _s([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=K[t].map(i=>{let a=`margin${i}`,l=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`;return[a,l]});if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var Ls=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Us=[...["manual","auto","none",...j].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Ws=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...S("write","writing-mode")],Bs=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...S("write-orient","text-orientation")],Is=[["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"}]],Ds=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ns=[["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-(.+)$/,([,t])=>{if(N[t])return{"object-position":N[t]};if(u.bracketOfPosition(t)!=null)return{"object-position":u.bracketOfPosition(t).split(" ").map(e=>u.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(N).join("|")})`}]],Ks=[["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"}],...S("bg-blend","background-blend")],Gs=[["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"}],...S("mix-blend")],qs=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]];var Cn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Hs={preflightKeys:Object.keys(Cn)},Ys="var(--un-border-spacing-x) var(--un-border-spacing-y)",Xs=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Ys}},{custom:Hs,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":Ys}},{custom:Hs,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 En={"--un-pan-x":P,"--un-pan-y":P,"--un-pinch-zoom":P},Rn={preflightKeys:Object.keys(En)},Tn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Zs=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":Tn}),{custom:Rn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":Tn}),{custom:Rn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Tn},{custom:Rn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...S("touch","touch-action")];var jn={"--un-ordinal":P,"--un-slashed-zero":P,"--un-numeric-figure":P,"--un-numeric-spacing":P,"--un-numeric-fraction":P},bt={preflightKeys:Object.keys(jn)};function xt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Js=[[/^ordinal$/,()=>xt({"--un-ordinal":"ordinal"}),{custom:bt,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>xt({"--un-slashed-zero":"slashed-zero"}),{custom:bt,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>xt({"--un-numeric-figure":"lining-nums"}),{custom:bt,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>xt({"--un-numeric-figure":"oldstyle-nums"}),{custom:bt,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>xt({"--un-numeric-spacing":"proportional-nums"}),{custom:bt,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>xt({"--un-numeric-spacing":"tabular-nums"}),{custom:bt,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>xt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:bt,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>xt({"--un-numeric-fraction":"stacked-fractions"}),{custom:bt,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var Pc={"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"},Qs=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Pc[t];if(r)return{[r]:u.cssvar(e)}}]];var ta=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]];var ea=[Rr,Qs,Tr,Cs,Xe,Is,Ze,He,Ue,Ie,As,Ds,Ne,We,_e,De,hr,Ke,qe,mr,dr,Ve,Xs,yr,gs,Ye,Zs,Qe,Je,Ms,xs,Re,Ss,Qt,Jt,Zt,Me,Be,Fs,Ts,Le,ws,ks,ir,tr,nr,Ee,ze,bs,Oe,br,Ns,gr,ke,kr,or,we,$r,sr,Ls,ar,Js,Pe,lr,wr,Sr,Cr,Us,Ws,Bs,vs,ys,je,Ks,Gs,ur,Ce,pr,$s,Os,vr,Te,er,rr,Ps,Ae,ta,qs,cr,Ge].flat(1);var ra=[...Rs];var na={...Er,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},supports:{grid:"(display: grid)"},preflightBase:{...re,...En,...Sn,...jn,...Cn,...ee,...te,...wn,...kn}};var oa=[H("svg",t=>({selector:`${t.selector} svg`}))];var ia=[H(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),H(".light",t=>({prefix:`.light $$ ${t.prefix}`})),Y("@dark","@media (prefers-color-scheme: dark)"),Y("@light","@media (prefers-color-scheme: light)")];var sa=[Y("contrast-more","@media (prefers-contrast: more)"),Y("contrast-less","@media (prefers-contrast: less)")],aa=[Y("motion-reduce","@media (prefers-reduced-motion: reduce)"),Y("motion-safe","@media (prefers-reduced-motion: no-preference)")],la=[Y("landscape","@media (orientation: landscape)"),Y("portrait","@media (orientation: portrait)")];var ca=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},pa=[H("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function ua(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function fa(t,e,r){let n=[t,e],o=[];for(let a=0;a<2;a++){let l=typeof n[a]=="string"?it(n[a]):n[a];if(!l||!["rgb","rgba"].includes(l.type))return;o.push(l)}let i=[];for(let a=0;a<3;a++)i.push(ua(o[0].components[a],o[1].components[a],r));return{type:"rgb",components:i,alpha:ua(o[0].alpha??1,o[1].alpha??1,r)}}function da(t,e){return fa("#fff",t,e)}function ma(t,e){return fa("#000",t,e)}function Vc(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?ma(t,e):da(t,-r)}var Mc={tint:da,shade:ma,shift:Vc};function ga(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let a=it(`${i[1]}`);if(a){let l=Mc[n[1]](a,n[2]);l&&(i[1]=W(l))}}}),o)}}}}var ha=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Vt(i,e,"accentColor")||_c(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function _c(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?u.bracket.percent(e[1])!=null:!1}function ba(t){return[ha,ca,...Or(t),...sa,...la,...aa,...oa,...ia,...pa,ga()]}var xa=(t={})=>(t.important=t.important??!1,{...xn(t),name:"@unocss/preset-wind3",theme:na,rules:ea,shortcuts:ra,variants:ba(t),postprocess:ms(t)});var Fc=(t={})=>({...xa(t),name:"@unocss/preset-uno"}),ya=Fc;function Lc(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function va(t){return t.charAt(0).toUpperCase()+t.slice(1)}function $a(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var wa=["Webkit","Moz","ms"];function ka(t){let e={};function r(n){let o=e[n];if(o)return o;let i=Lc(n);if(i!=="filter"&&i in t)return e[n]=$a(i);i=va(i);for(let a=0;a<wa.length;a++){let l=`${wa[a]}${i}`;if(l in t)return e[n]=$a(va(l))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Sa(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function zn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),a=i.defaults||{},l=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=O(a.postprocess)).unshift(ka(r.createElement("div").style)),i.configResolved?.(o,a);let c=await Hn(o,a),p=E=>{let V=t.rootElement?.();if(V){V.appendChild(E);return}i.inject?i.inject(E):n().prepend(E)},f=()=>i.rootElement?i.rootElement():r.body,d=new Map,m=!0,g=new Set,h,v,$=[],T=()=>new Promise(E=>{$.push(E),v!=null&&clearTimeout(v),v=setTimeout(()=>z().then(()=>{let V=$;$=[],V.forEach(L=>L())}),0)});function x(E,V=!1){if(E.nodeType!==1)return;let L=E;L.hasAttribute(l)&&L.removeAttribute(l),V&&L.querySelectorAll(`[${l}]`).forEach(B=>{B.removeAttribute(l)})}function b(E,V){let L=d.get(E);if(!L)if(L=r.createElement("style"),L.setAttribute("data-unocss-runtime-layer",E),d.set(E,L),V==null)p(L);else{let B=b(V),q=B.parentNode;q?q.insertBefore(L,B.nextSibling):p(L)}return L}async function z(){let E=[...g],V=await c.generate(E);return V.layers.reduce((B,q)=>(b(q,B).innerHTML=V.getLayer(q)??"",q),void 0),E.filter(B=>!V.matched.has(B)).forEach(B=>g.delete(B)),{...V,getStyleElement:B=>d.get(B),getStyleElements:()=>d}}async function y(E){let V=g.size;await c.applyExtractors(E,void 0,g),V!==g.size&&await T()}async function R(E=f()){let V=E&&E.outerHTML;V&&(await y(`${V} ${Sa(V)}`),x(n()),x(E,!0))}let w=new MutationObserver(E=>{m||E.forEach(async V=>{if(V.target.nodeType!==1)return;let L=V.target;for(let B of d)if(L===B[1])return;if(V.type==="childList")V.addedNodes.forEach(async B=>{if(B.nodeType!==1)return;let q=B;h&&!h(q)||(await y(q.outerHTML),x(q))});else{if(h&&!h(L))return;if(V.attributeName!==l){let B=Array.from(L.attributes).map(U=>U.value?`${U.name}="${U.value}"`:U.name).join(" "),q=`<${L.tagName.toLowerCase()} ${B}>`;await y(q)}x(L)}})}),C=!1;function A(){if(C)return;let E=i.observer?.target?i.observer.target():f();E&&(w.observe(E,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function I(){i.bypassDefined&&Uc(c.blocked),R(),A()}function G(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",I):I()}let J=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract(E){_(E)||(E.forEach(V=>g.add(V)),E=""),await y(E)},extractAll:R,inspect(E){h=E},toggleObserver(E){E===void 0?m=!m:m=!!E,!C&&!m&&G()},update:z,presets:e.__unocss_runtime?.presets??{}};i.ready?.(J)!==!1&&(m=!1,G())}function Uc(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}zn({defaults:{presets:[eo(),ya(),Oo(),oo()]}});})();
|
|
1
|
+
"use strict";(()=>{var ta=Object.defineProperty;var ea=(t,e)=>{for(var r in e)ta(t,r,{get:e[r],enumerable:!0})};var de="default",Ir="preflights",ra="shortcuts",na="imports",oa={[na]:-200,[Ir]:-100,[ra]:-10,[de]:0},Ur=/[\\:]?[\s'"`;{}]+/g;function ia(t){return t.split(Ur)}var aa={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return ia(t)}};function _(t=[]){return Array.isArray(t)?t:[t]}function dt(t){return Array.from(new Set(t))}function Bn(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function B(t){return typeof t=="string"}var Gn=class extends Set{constructor(t){if(super(),this._map=new Map,t)for(let e of t)this.add(e)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,e){return this._map.set(t,e),super.add(t)}};function Wr(t){return t instanceof Gn}function Q(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function tt(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var Nr=tt;function sa(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var la=/^\[(.+?)~?="(.*)"\]$/;var ca=/[\w\u00A0-\uFFFF%-?]/;function qn(t){return t.match(la)}function Vt(t=""){return ca.test(t)}function fa(t){return typeof t=="function"?{match:t}:t}function Wn(t){return t.length===3}function le(t){return t!=null}function da(){}var ua=class{constructor(){this._map=new Map}get(t,e){let r=this._map.get(t);if(r)return r.get(e)}getFallback(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(e)||n.set(e,r),n.get(e)}set(t,e,r){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(e,r),this}has(t,e){return this._map.get(t)?.has(e)}delete(t,e){return this._map.get(t)?.delete(e)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,r])=>Array.from(r.entries()).map(([n,o])=>t(o,e,n)))}},pa=class extends Map{getFallback(t,e){let r=this.get(t);return r===void 0?(this.set(t,e),e):r}map(t){let e=[];return this.forEach((r,n)=>{e.push(t(r,n))}),e}flatMap(t){let e=[];return this.forEach((r,n)=>{e.push(...t(r,n))}),e}};function ue(t){return B(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ma(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>ue(e)):[t]:[ue(t)]}function ha(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var Hn="__virtual_key__";function Dt(t){return t==null?"":ha(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Hn?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function ce(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Pt(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return ce(n)&&ce(o)&&Object.keys(o).forEach(s=>{ce(n[s])&&ce(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=Pt(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Rt(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?Rt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:Rt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?Rt(n):n;return r}return t}function ga(t){return B(t[0])}function ba(t){return B(t[0])}var fe={};function ya(t=["-",":"]){let e=t.join("|");return fe[e]||(fe[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),fe[e].lastIndex=0,fe[e]}function xa(t,e=["-",":"],r=5){let n=ya(e),o,i=t.toString(),s=new Set,l=new Map;do o=!1,i=i.replace(n,(f,d,p,m,g)=>{if(!e.includes(p))return f;o=!0,s.add(d+p);let h=g+d.length+p.length+1,v={length:f.length,items:[]};l.set(g,v);for(let w of[...m.matchAll(/\S+/g)]){let k=h+w.index,x=l.get(k)?.items;x?l.delete(k):x=[{offset:k,length:w[0].length,className:w[0]}];for(let y of x)y.className=y.className==="~"?d:y.className.replace(/^(!?)(.*)/,`$1${d}${p}$2`),v.items.push(y)}return"$".repeat(f.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let f=0;for(let[d,p]of l)c+=t.slice(f,d),c+=p.items.map(m=>m.className).join(" "),f=d+p.length;c+=t.slice(f)}else{c=t;for(let[f,d]of l)c.overwrite(f,f+d.length,d.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:l,get expanded(){return c.toString()}}}function va(t,e=["-",":"],r=5){let n=xa(t,e,r);return typeof t=="string"?n.expanded:t}var Nn=new Set;function $a(t){Nn.has(t)||(console.warn("[unocss]",t),Nn.add(t))}function Yn(t){return _(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var In="_uno_resolved";async function wa(t){let e=typeof t=="function"?await t():await t;if(In in e)return e;e={...e},Object.defineProperty(e,In,{value:!0,enumerable:!1});let r=e.shortcuts?Yn(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=_(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Kn(t){let e=await wa(t);return e.presets?[e,...(await Promise.all((e.presets||[]).flatMap(_).flatMap(Kn))).flat()]:[e]}function ka(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let l of t){if(l.pipeline===!1){n=!0;break}else l.pipeline?.include&&e.push(l.pipeline.include),l.pipeline?.exclude&&r.push(l.pipeline.exclude);l.filesystem&&o.push(l.filesystem),l.inline&&i.push(l.inline)}let s={pipeline:n?!1:{include:dt(Dn(...e)),exclude:dt(Dn(...r))}};return o.length&&(s.filesystem=dt(o.flat())),i.length&&(s.inline=dt(i.flat())),s}async function Un(t={},e={}){let r=Object.assign({},e,t),n=Bn((await Promise.all((r.presets||[]).flatMap(_).flatMap(Kn))).flat(),(b,$)=>b.name===$.name),o=[...n.filter(b=>b.enforce==="pre"),...n.filter(b=>!b.enforce),...n.filter(b=>b.enforce==="post")],i=[...o,r],s=[...i].reverse(),l=Object.assign({},oa,...i.map(b=>b.layers));function c(b){return dt(i.flatMap($=>_($[b]||[])))}let f=c("extractors"),d=s.find(b=>b.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=aa),d&&!f.includes(d)&&f.unshift(d),f.sort((b,$)=>(b.order||0)-($.order||0));let p=c("rules"),m=p.length,g={},h=[];for(let[b,$]of p.entries()){let R=$[2]??($[2]={});R.__index=b,ga($)?_(R.prefix??"").forEach(H=>{g[H+$[0]]=$}):h.unshift($)}let v={templates:dt(i.flatMap(b=>_(b.autocomplete?.templates))),extractors:i.flatMap(b=>_(b.autocomplete?.extractors)).sort((b,$)=>(b.order||0)-($.order||0)),shorthands:Ea(i.map(b=>b.autocomplete?.shorthands||{}))},w=c("separators");w.length||(w=[":","-"]);let k=ka(c("content")),x={mergeSelectors:!0,warn:!0,sortLayers:b=>b,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:l,theme:Sa(i.map(b=>b.theme)),rules:p,rulesSize:m,rulesDynamic:h,rulesStaticMap:g,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:v,variants:c("variants").map(fa).sort((b,$)=>(b.order||0)-($.order||0)),shortcuts:Yn(c("shortcuts")).reverse(),extractors:f,safelist:c("safelist"),separators:w,details:r.details??r.envMode==="dev",content:k,transformers:Bn(c("transformers"),(b,$)=>b.name===$.name)},y=c("extendTheme");for(let b of y)x.theme=b(x.theme,x)||x.theme;for(let b of i)b?.configResolved?.(x);return x}function Sa(t){return t.map(e=>e?Rt(e):{}).reduce((e,r)=>Pt(e,r),{})}function Ea(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function Dn(...t){return t.flatMap(Ca)}function Ca(t){return Array.isArray(t)?t:t?[t]:[]}var za="66.6.0",X={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},ja=class Xn{constructor(e={},r={}){this.userConfig=e,this.defaults=r,this.version=za,this.events=sa(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(n,o,i,s)=>{let l=ma(o).filter(c=>c.length);if(l.length){this.config.details&&s.rules.push(i),s.generator.activatedRules.add(i);let c=i[2];return l.map(f=>{if(B(f))return[c.__index,f,c];let d=s.variantHandlers,p=c;for(let m of f)m[0]===X.variants?typeof m[1]=="function"?d=m[1](d)||d:d=[..._(m[1]),...d]:m[0]===X.parent?d=[{parent:m[1]},...d]:m[0]===X.selector?d=[{selector:m[1]},...d]:m[0]===X.layer?d=[{layer:m[1]},...d]:m[0]===X.sort?p={...p,sort:m[1]}:m[0]===X.noMerge?p={...p,noMerge:m[1]}:m[0]===X.body&&(m[0]=Hn);return[c.__index,n,f,p,d]})}}}static async create(e={},r={}){let n=new Xn(e,r);return n.config=await Un(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Un(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(Wr(s)&&Wr(n))for(let l of s)n.setCount(l,n.getCount(l)+s.getCount(l));else for(let l of s)n.add(l)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:X,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,f)=>f(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async c=>{let f=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(f.variants=[...c[3]]);let d=await this.expandShortcut(f.currentSelector,f);return d?await this.stringifyShortcuts(f.variantMatch,f,d[0],d[1]):(await this.parseUtil(f.variantMatch,f))?.flatMap(p=>this.stringifyUtil(p,f)).filter(le)},l=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(l?.length)return this.cache.set(n,l),l;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:l=!1,extendedInfo:c=!1}=r,f=B(e)?await this.applyExtractors(e,n,c?new Gn:new Set):Array.isArray(e)?new Set(e):e;if(s){let j={generator:this,theme:this.config.theme};this.config.safelist.flatMap(z=>typeof z=="function"?z(j):z).forEach(z=>{let A=z.trim();A&&!f.has(A)&&f.add(A)})}let d=l?"":`
|
|
2
|
+
`,p=new Set([de]),m=c?new Map:new Set,g=new Map,h={},v=Array.from(f).map(async j=>{if(m.has(j))return;let z=await this.parseToken(j);if(z!=null){m instanceof Map?m.set(j,{data:z,count:Wr(f)?f.getCount(j):-1}):m.add(j);for(let A of z){let G=A[3]||"",q=A[4]?.layer;g.has(G)||g.set(G,[]),g.get(G).push(A),q&&p.add(q)}}});await Promise.all(v),await(async()=>{if(!i)return;let j={generator:this,theme:this.config.theme},z=new Set([]);this.config.preflights.forEach(({layer:A=Ir})=>{p.add(A),z.add(A)}),h=Object.fromEntries(await Promise.all(Array.from(z).map(async A=>[A,(await Promise.all(this.config.preflights.filter(G=>(G.layer||Ir)===A).map(async G=>await G.getCSS(j)))).filter(Boolean).join(d)])))})();let w=j=>this.config.sortLayers(j.sort((z,A)=>(this.config.layers[z]??0)-(this.config.layers[A]??0)||z.localeCompare(A))),k=w(Array.from(p)),x={},y=this.config.outputToCssLayers,b=j=>{let z=j;return typeof y=="object"&&(z=y.cssLayerName?.(j)),z===null?null:z??j},$=(j=de)=>{if(x[j])return x[j];let z=Array.from(g).sort((q,E)=>(this.parentOrders.get(q[0])??0)-(this.parentOrders.get(E[0])??0)||q[0]?.localeCompare(E[0]||"")||0).map(([q,E])=>{let P=E.length,T=E.filter(D=>(D[4]?.layer||de)===j).sort((D,J)=>D[0]-J[0]||(D[4]?.sort||0)-(J[4]?.sort||0)||D[5]?.currentSelector?.localeCompare(J[5]?.currentSelector??"")||D[1]?.localeCompare(J[1]||"")||D[2]?.localeCompare(J[2]||"")||0).map(([,D,J,,se,,Br])=>[[[(D&&_a(D,o))??"",se?.sort??0]],J,!!(Br??se?.noMerge)]);if(!T.length)return;let I=T.reverse().map(([D,J,se],Br)=>{if(!se&&this.config.mergeSelectors)for(let ht=Br+1;ht<P;ht++){let ot=T[ht];if(ot&&!ot[2]&&(D&&ot[0]||D==null&&ot[0]==null)&&ot[1]===J)return D&&ot[0]&&ot[0].push(...D),null}let Tn=D?dt(D.sort((ht,ot)=>ht[1]-ot[1]||ht[0]?.localeCompare(ot[0]||"")||0).map(ht=>ht[0]).filter(Boolean)):[];return Tn.length?`${Tn.join(`,${d}`)}{${J}}`:J}).filter(Boolean),Y=Array.from(new Set(I)).reverse().join(d);if(!q)return Y;let kt=q.split(" $$ ");return`${kt.join("{")}{${d}${Y}${d}${"}".repeat(kt.length)}`}).filter(Boolean).join(d);i&&(z=[h[j],z].filter(Boolean).join(d));let A;y&&z&&(A=b(j),A!==null&&(z=`@layer ${A}{${d}${z}${d}}`));let G=l?"":`/* layer: ${j}${A&&A!==j?`, alias: ${A}`:""} */${d}`;return x[j]=z?G+z:""},R=(j=k,z)=>{let A=j.filter(q=>!z?.includes(q)),G=A.map($).filter(Boolean);if(y){let q=A;typeof y=="object"&&y.allLayers&&(q=w(Object.keys(this.config.layers))),q.length>0&&G.unshift(`@layer ${q.map(b).filter(le).join(", ")};`)}return G.join(d)};return{get css(){return R()},layers:k,matched:m,getLayers:R,getLayer:$,setLayer:async(j,z)=>{let A=await z($(j));return x[j]=A,A}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,l,c]=i;for(;s;){s=!1;let f=i[1];for(let d of this.config.variants){if(!d.multiPass&&c.has(d))continue;let p=await d.match(f,n);if(p){if(B(p)){if(p===f)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(d.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=p.map(g=>{let h=g.matcher??f,v=[g,...l],w=new Set(c);return w.add(d),[i[0],h,v,w]});return(await Promise.all(m.map(g=>o(g)))).flat()}}i[1]=p.matcher??f,l.unshift(p),c.add(d),s=!0;break}}if(!s)break;if(l.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,f)=>(c.order||0)-(f.order||0)).reduceRight((c,f)=>d=>{let p=f.body?.(d.entries)||d.entries,m=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(d.selector,p);return(f.handle??Pa)({...d,entries:p,selector:g||d.selector,parent:m[0]||d.parent,parentOrder:m[1]||d.parentOrder,layer:f.layer||d.layer,sort:f.sort||d.sort},c)},c=>c)({prefix:"",selector:Ra(n),pseudo:"",entries:e[2]}),{parent:i,parentOrder:s}=o;i!=null&&s!=null&&this.parentOrders.set(i,s);let l={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:i,layer:o.layer,sort:o.sort,noMerge:o.noMerge};return this.config.postprocess.reduce((c,f)=>{let d=[];for(let p of c){let m=f(p);Array.isArray(m)?d.push(...m.filter(le)):d.push(m||p)}return d},[l])}constructCustomCSS(e,r,n){let o=ue(r);return B(o)?o:this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]).map(({selector:i,entries:s,parent:l})=>{let c=`${i}{${Dt(s)}}`;return l?`${l}{${c}}`:c}).join("")}async parseUtil(e,r,n=!1,o){let i=B(e)?await this.matchVariants(e):[e],s=async([c,f,d])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:d},m=this.config.rulesStaticMap[f];if(m&&m[1]&&(n||!m[2]?.internal))return this.resolveCSSResult(c,m[1],m,p);for(let g of this.config.rulesDynamic){let[h,v,w]=g;if(w?.internal&&!n)continue;let k=f;if(w?.prefix){let $=_(w.prefix);if(o){let R=_(o);if(!$.some(H=>R.includes(H)))continue}else{let R=$.find(H=>f.startsWith(H));if(R==null)continue;k=f.slice(R.length)}}let x=k.match(h);if(!x)continue;let y=await v(x,p);if(!y)continue;if(typeof y!="string")if(Symbol.asyncIterator in y){let $=[];for await(let R of y)R&&$.push(R);y=$}else Symbol.iterator in y&&!Array.isArray(y)&&(y=Array.from(y).filter(le));let b=this.resolveCSSResult(c,y,g,p);if(b)return b}},l=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(l.length)return l}stringifyUtil(e,r){if(!e)return;if(Wn(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0]];let n=this.applyVariants(e),o=[];for(let i of n){let{selector:s,entries:l,parent:c,layer:f,sort:d,noMerge:p}=i,m=Dt(l);if(!m)continue;let{layer:g,sort:h,...v}=e[3]??{},w={...v,layer:f??g,sort:d??h};o.push([e[0],s,m,c,w,this.config.details?r:void 0,p])}return o}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?f=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(f)}:da,i,s,l,c;for(let f of this.config.shortcuts){let d=e;if(f[2]?.prefix){let p=_(f[2].prefix).find(m=>e.startsWith(m));if(p==null)continue;d=e.slice(p.length)}if(ba(f)){if(f[0]===d){i=i||f[2],s=f[1],o(f);break}}else{let p=d.match(f[0]);if(p&&(s=f[1](p,r)),s){i=i||f[2],o(f);break}}}if(s&&(l=dt(_(s).filter(B).map(f=>va(f.trim()).split(/\s+/g)).flat()),c=_(s).filter(f=>!B(f)).map(f=>({handles:[],value:f}))),!s){let f=B(e)?await this.matchVariants(e):[e];for(let d of f){let[p,m,g]=d;if(p!==m){let h=await this.expandShortcut(m,r,n-1);h&&(l=h[0].filter(B).map(v=>p.replace(m,v)),c=h[0].filter(v=>!B(v)).map(v=>({handles:[...v.handles,...g],value:v.value})))}}}if(!(!l?.length&&!c?.length))return[[await Promise.all(_(l).map(async f=>(await this.expandShortcut(f,r,n-1))?.[0]||[f])),c].flat(2).filter(f=>!!f),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new pa,s=(await Promise.all(dt(n).map(async d=>{let p=B(d)?await this.parseUtil(d,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",ue(d.value),void 0,d.handles]];return!p&&this.config.warn&&$a(`unmatched utility "${d}" in shortcut "${e[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((d,p)=>d[0]-p[0]),[l,,c]=e,f=[];for(let d of s){if(Wn(d)){f.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}let p=Object.fromEntries(d[2])[X.shortcutsNoMerge],m=[...d[4],...p?[]:c];for(let{selector:g,entries:h,parent:v,sort:w,noMerge:k,layer:x}of this.applyVariants(d,m,l))i.getFallback(x??o.layer,new ua).getFallback(g,v,[[],d[0]])[0].push([h,!!(k??d[3]?.noMerge),w??0])}return f.concat(i.flatMap((d,p)=>d.map(([m,g],h,v)=>{let w=(k,x,y)=>{let b=Math.max(...y.map(R=>R[1])),$=y.map(R=>R[0]);return(k?[$.flat(1)]:$).map(R=>{let H=Dt(R);if(H)return[g,h,H,v,{...o,noMerge:x,sort:b,layer:p},r,void 0]})};return[[m.filter(([,k])=>k).map(([k,,x])=>[k,x]),!0],[m.filter(([,k])=>!k).map(([k,,x])=>[k,x]),!1]].map(([k,x])=>[...w(!1,x,k.filter(([y])=>y.some(b=>b[0]===X.shortcutsNoMerge))),...w(!0,x,k.filter(([y])=>y.every(b=>b[0]!==X.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):B(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):B(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Zn(t,e){return await ja.create(t,e)}var Jn=/\s\$\$\s+/g;function Aa(t){return Jn.test(t)}function _a(t,e){return Aa(t)?t.replace(Jn,e?` ${e} `:" "):e?`${e} ${t}`:t}var Vn=/^\[(.+?)(~?=)"(.*)"\]$/;function Ra(t){return Vn.test(t)?t.replace(Vn,(e,r,n,o)=>`[${Nr(r)}${n}"${Nr(o)}"]`):`.${Nr(t)}`}function Pa(t,e){return e(t)}var eo=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Oa(t={}){let e=t.prefix??"un-",r=t.prefixedOnly??!1,n=t.trueToNonValued??!1,o;return{name:"attributify",match(i,{generator:s}){let l=qn(i);if(!l)return;let c=l[1];if(c.startsWith(e))c=c.slice(e.length);else if(r)return;let f=l[2],[,d="",p=f]=f.match(eo)||[];if(p==="~"||n&&p==="true"||!p)return`${d}${c}`;if(o==null){let m=s?.config?.separators?.join("|");m?o=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):o=!1}if(o){let[,m,g]=f.match(o)||[];if(g)return`${m}${d}${c}-${g}`}if(d&&p.match(/^[\d.]+$/)){let m=d.split(/([^:]*:)/g).filter(Boolean),g=m.pop()+p,h=m.join("");return[{matcher:`${d}${c}-${p}`},{matcher:`${h}${c}-${g}`}]}return`${d}${c}-${p}`}}}var Ma=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,La=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Qn=/[\s'"`;>]+/;function Fa(t){return{name:"attributify",extract:({content:e,cursor:r})=>{let n=e.matchAll(Ma),o,i=0;for(let x of n){let[,y,b]=x,$=x.index+y.length;if(r>$&&r<=$+b.length){i=$,o=b;break}}if(!o)return null;let s=o.matchAll(La),l=0,c,f;for(let x of s){let[y,b,$]=x,R=i+x.index;if(r>R&&r<=R+y.length){l=R,c=b,f=$?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;let d=!!t?.prefix&&c.startsWith(t.prefix);if(t?.prefixedOnly&&!d)return null;let p=d?c.slice(t.prefix.length):c;if(f===void 0)return{extracted:p,resolveReplacement(x){let y=d?t.prefix.length:0;return{start:l+y,end:l+c.length,replacement:x}}};let m=l+c.length+2,g=Qn.exec(f),h=0,v;for(;g;){let[x]=g;if(r>m+h&&r<=m+h+g.index){v=f.slice(h,h+g.index);break}h+=g.index+x.length,g=Qn.exec(f.slice(h))}v===void 0&&(v=f.slice(h));let[,w="",k]=v.match(eo)||[];return{extracted:`${w}${p}-${k}`,transformSuggestions(x){return x.filter(y=>y.startsWith(`${w}${p}-`)).map(y=>w+y.slice(w.length+p.length+1))},resolveReplacement(x){return{start:h+m,end:h+m+v.length,replacement:w+x.slice(w.length+p.length+1)}}}}}}var Ta=["v-bind:",":"],to=/[\s'"`;]+/g,Dr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Ba=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,ro=["placeholder","fill","opacity","stroke-opacity"];function Wa(t){let e=t?.ignoreAttributes??ro,r=t?.nonValuedAttribute??!0,n=t?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Dr)).flatMap(i=>Array.from((i[1]||"").matchAll(Ba))).flatMap(([,i,...s])=>{let l=s.filter(Boolean).join("");if(e.includes(i))return[];for(let c of Ta)if(i.startsWith(c)){i=i.slice(c.length);break}if(!l){if(Vt(i)&&r!==!1){let c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?l.split(to).filter(Vt):Dr.test(l)?(Dr.lastIndex=0,this.extract({code:l})):t?.prefixedOnly&&t.prefix&&!i.startsWith(t.prefix)?[]:l.split(to).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}var Na=(t={})=>(t.strict=t.strict??!1,t.prefix=t.prefix??"un-",t.prefixedOnly=t.prefixedOnly??!1,t.nonValuedAttribute=t.nonValuedAttribute??!0,t.ignoreAttributes=t.ignoreAttributes??ro,{name:"@unocss/preset-attributify",enforce:"post",variants:[Oa(t)],extractors:[Wa(t)],options:t,autocomplete:{extractors:[Fa(t)]},extractorDefault:t.strict?!1:void 0}),no=Na;var Gr="__TAGIFY__",Ia=/<([\w:-]+)/g;function Ua(t){let{prefix:e="",excludedTags:r=["b",/^h\d+$/,"table"]}=t;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(Ia)).filter(({1:o})=>{for(let i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(e)}).map(([,o])=>`${Gr}${o}`)}}}function Da(t){let{extraProperties:e}=t,r=`${Gr}${t.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let o=n.slice(r.length),i={matcher:o,selector:s=>s.slice(Gr.length+1)};return e&&(typeof e=="function"?i.body=s=>[...s,...Object.entries(e(o)??{})]:i.body=s=>[...s,...Object.entries(e)]),i}}}var Va=(t={})=>{let{defaultExtractor:e=!0}=t;return{name:"@unocss/preset-tagify",variants:[Da(t)],extractors:[Ua(t)],extractorDefault:e?void 0:!1}},oo=Va;var an={};ea(an,{PseudoClassFunctions:()=>$o,PseudoClassFunctionsStr:()=>gt,PseudoClasses:()=>Et,PseudoClassesAndElementsColonStr:()=>Xr,PseudoClassesAndElementsStr:()=>Kr,PseudoClassesColon:()=>Ct,PseudoClassesColonKeys:()=>Qr,PseudoClassesColonStr:()=>be,PseudoClassesKeys:()=>Jr,PseudoClassesMulti:()=>tn,PseudoClassesMultiStr:()=>Yr,PseudoClassesStr:()=>ge,alphaPlaceholders:()=>Yt,alphaPlaceholdersRE:()=>go,calcMaxWidthBySize:()=>us,colorOpacityToString:()=>bt,colorToString:()=>W,createPartClasses:()=>on,createPseudoClassFunctions:()=>rn,createPseudoClassesAndElements:()=>en,createTaggedPseudoClassMatcher:()=>ko,createTaggedPseudoClasses:()=>nn,createValueHandler:()=>Zr,cssColorFunctions:()=>ye,excludedPseudo:()=>wo,getBracket:()=>uo,getStringComponent:()=>St,getStringComponents:()=>Mt,hasIconFn:()=>ms,hasThemeFn:()=>fs,hex2rgba:()=>ns,hueInterpolationMethods:()=>ho,iconFnRE:()=>ps,isInterpolatedMethod:()=>rs,parseCssColor:()=>et,polarColorSpace:()=>mo,rectangularColorSpace:()=>po,themeFnRE:()=>xo,transformThemeFn:()=>ds,transformThemeString:()=>vo,variantGetBracket:()=>So,variantGetParameter:()=>Eo,variantMatcher:()=>zt,variantParentMatcher:()=>it});var Ga=44,qa=59,io="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lo=new Uint8Array(64),Ha=new Uint8Array(128);for(let t=0;t<io.length;t++){let e=io.charCodeAt(t);lo[t]=e,Ha[e]=t}function Gt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(lo[o])}while(n>0);return e}var ao=1024*16,so=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},Ya=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ao)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===ao&&(this.out+=so.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+so.decode(t.subarray(0,r)):e}};function co(t){let e=new Ya,r=0,n=0,o=0,i=0;for(let s=0;s<t.length;s++){let l=t[s];if(s>0&&e.write(qa),l.length===0)continue;let c=0;for(let f=0;f<l.length;f++){let d=l[f];f>0&&e.write(Ga),c=Gt(e,d[0],c),d.length!==1&&(r=Gt(e,d[1],r),n=Gt(e,d[2],n),o=Gt(e,d[3],o),d.length!==4&&(i=Gt(e,d[4],i)))}}return e.flush()}var pe=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},me=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function Ka(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Xa=Ka(),qr=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=co(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Xa(this.toString())}};function Za(t){let e=t.split(`
|
|
3
|
+
`),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let l=/^ +/.exec(s)[0].length;return Math.min(l,i)},1/0);return new Array(o+1).join(" ")}function Ja(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Qa=Object.prototype.toString;function ts(t){return Qa.call(t)==="[object Object]"}function fo(t){let e=t.split(`
|
|
4
|
+
`),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let f=i+s>>1;o<r[f]?s=f:i=f+1}let l=i-1,c=o-r[l];return{line:l,column:c}}}var es=/\w/,Hr=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
|
|
5
|
+
`,0),l=-1;for(;s>=0&&i>s;){let f=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&f.push(o),this.rawSegments.push(f),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=s,s=r.indexOf(`
|
|
6
|
+
`,s+1)}let c=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(l+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let s=r.start,l=!0,c=!1;for(;s<r.end;){if(n[s]===`
|
|
7
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=!0,c=!1;else{if(this.hires||l||i.has(s)){let f=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?es.test(n[s])?c||(this.rawSegments.push(f),c=!0):(this.rawSegments.push(f),c=!1):this.rawSegments.push(f)}o.column+=1,this.generatedCodeColumn+=1,l=!1}s+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
|
|
8
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},qt=`
|
|
9
|
+
`,Ot={insertLeft:!1,insertRight:!1,storeName:!1},he=class t{constructor(e,r={}){let n=new me(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new pe},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new pe(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new Hr(e.hires),i=fo(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{let l=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,l,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,l,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),this.outro&&o.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ja(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new qr(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Za(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(ts(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let p=d[0];p<d[1];p+=1)o[p]=!0});let i=r.indentStart!==!1,s=f=>i?`${e}${f}`:(i=!0,f);this.intro=this.intro.replace(n,s);let l=0,c=this.firstChunk;for(;c;){let f=c.end;if(c.edited)o[l]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
10
|
+
`));else for(l=c.start;l<f;){if(!o[l]){let d=this.original[l];d===`
|
|
11
|
+
`?i=!0:d!=="\r"&&i&&(i=!1,l===c.start||(this._splitChunk(c,l),c=c.next),c.prependRight(e))}l+=1}l=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return Ot.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ot.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Ot.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ot.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],s=o.previous,l=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let f=c?c.previous:this.lastChunk;return s&&(s.next=l),l&&(l.previous=s),f&&(f.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=f,i.next=c||null,f||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(Ot.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ot.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let f=this.original.slice(e,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}let l=this.byStart[e],c=this.byEnd[r];if(l){let f=l;for(;f!==c;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}l.edit(n,i,!s)}else{let f=new me(e,r,"").edit(n,i);c.next=f,f.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(qt);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(qt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(qt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(qt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(qt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let l=i===o?e-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(l,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=fo(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(l,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let l,c=[];for(;l=i.exec(s);)c.push(l);return c}if(e.global)o(e,this.original).forEach(s=>{if(s.index!=null){let l=n(s,this.original);l!==s[0]&&this.overwrite(s.index,s.index+s[0].length,l)}});else{let i=this.original.match(e);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let s=n.slice(i,i+o),l=r;typeof r=="function"&&(l=r(s,i,n)),s!==l&&this.overwrite(i,i+o,l)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function uo(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,s=0;for(let l=0;l<n;l++)switch(t[l]){case e:i||(i=!0,s=l),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(s,l+1),t.slice(l+1),t.slice(0,s)];break}}function St(t,e,r,n){if(t===""||(B(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let s=0;s<o;s++)switch(t[s]){case e:i++;break;case r:if(--i<0)return;break;default:for(let l of n){let c=l.length;if(c&&l===t.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[t.slice(0,s),t.slice(s+c)]}}return[t,""]}function Mt(t,e,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;t!=="";){if(++s>r)return;let l=St(t,n,o,e);if(!l)return;let[c,f]=l;i.push(c),t=f}if(i.length>0)return i}var ye=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],po=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],mo=["hsl","hwb","lch","oklch"],ho=["shorter","longer","increasing","decreasing"],Yt=["%alpha","<alpha-value>"],go=new RegExp(Yt.map(t=>Q(t)).join("|"),"g");function rs(t){return t?po.some(e=>t.includes(e))||mo.some(e=>t.includes(e))||ho.some(e=>t.includes(e)):!1}function ns(t=""){let e=bo(t);if(e!=null){let{components:r,alpha:n}=e;return n==null?r:[...r,n]}}function et(t=""){let e=os(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(ye.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function bt(t){let e=t.alpha??1;return typeof e=="string"&&Yt.includes(e)?1:e}function W(t,e){if(typeof t=="string")return t.replace(go,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,ye.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function os(t){if(!t)return;let e=bo(t);if(e!=null||(e=is(t),e!=null)||(e=as(t),e!=null)||(e=ls(t),e!=null)||(e=cs(t),e!=null))return e}function bo(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function is(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function as(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=Mt(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var ss=new RegExp(`^(${ye.join("|")})\\((.+)\\)$`,"i");function ls(t){let e=t.match(ss);if(!e)return;let[,r,n]=e,o=yo(`${r} ${n}`);if(o){let{alpha:i,components:[s,...l]}=o;return{type:s,components:l,alpha:i}}}function cs(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=yo(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function yo(t){let e=Mt(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=Mt(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var xo=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function fs(t){return t.includes("theme(")&&t.includes(")")}function ds(t,e,r=!0){let n=Array.from(t.toString().matchAll(xo));if(!n.length)return t;let o=new he(t);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let l=vo(s,e,r);l&&o.overwrite(i.index,i.index+i[0].length,l)}return o.toString()}function vo(t,e,r=!0){let[n,o]=t.split("/"),i=n.trim().split(".").reduce((s,l)=>s?.[l],e);if(typeof i=="object"&&(i=i.DEFAULT),typeof i=="string"){if(o){let s=et(i);s&&(i=W(s,o))}return i}else if(r)throw new Error(`theme of "${t}" did not found`)}function us(t){var e;let r=((e=t.match(/^-?\d+\.?\d*/))===null||e===void 0?void 0:e[0])||"",n=t.slice(r.length);if(n==="px"){let o=Number.parseFloat(r)-.1;return Number.isNaN(o)?t:`${o}${n}`}return`calc(${t} - 0.1px)`}function Zr(t){let e=function(n,o){var i;let s=((i=this.__options)===null||i===void 0?void 0:i.sequence)||[];this.__options.sequence=[];for(let l of s){let c=t[l](n,o);if(c!=null)return c}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var ps=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function ms(t){return t.includes("icon(")&&t.includes(")")}var Ht="__pseudo_placeholder__",Et=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Ht})`],["nth-last",`:nth-last-child(${Ht})`],["nth-last-of-type",`:nth-last-of-type(${Ht})`],["nth-of-type",`:nth-of-type(${Ht})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Jr=Object.keys(Et),Ct=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Qr=Object.keys(Ct),$o=["not","is","where","has"],tn=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ge=Object.entries(Et).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),be=Object.entries(Ct).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),gt=$o.join("|"),Yr=Object.keys(tn).sort((t,e)=>e.length-t.length).join("|"),wo=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Kr=Object.entries(Et).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Xr=Object.entries(Ct).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function ko(t,e,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Q(e)}:)(\\S+)${Q(r)}\\1`),l,c,f,d,p=h=>{var v;let w=i(`${t}-`,h,[]);if(!w)return;let[k,x]=w,y=o.bracket(k);if(y==null)return;let b=((v=x.split(l,1))===null||v===void 0?void 0:v[0])??"",$=`${e}${tt(b)}`;return[b,h.slice(h.length-(x.length-b.length-1)),y.includes("&")?y.replace(/&/g,$):`${$}${y}`]},m=h=>{let v=h.match(c)||h.match(f);if(!v)return;let[w,k,x]=v,y=v[3]??"",b=Et[x]||Ct[x]||`:${x}`;return k&&(b=`:${k}(${b})`),[y,h.slice(w.length),`${e}${tt(y)}${b}`,x]},g=h=>{let v=h.match(d);if(!v)return;let[w,k,x]=v,y=v[3]??"",b=`:${k}(${x})`;return[y,h.slice(w.length),`${e}${tt(y)}${b}`]};return{name:`pseudo:${t}`,match(h,v){if(l&&c&&f||(l=new RegExp(`(?:${v.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${gt})-)?(${ge}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.join("|")})`),f=new RegExp(`^${t}-(?:(?:(${gt})-)?(${be}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.filter($=>$!=="-").join("|")})`),d=new RegExp(`^${t}-(?:(${gt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${v.generator.config.separators.filter($=>$!=="-").join("|")})`)),!h.startsWith(t))return;let w=p(h)||m(h)||g(h);if(!w)return;let[k,x,y,b=""]=w;return{matcher:x,handle:($,R)=>R({...$,prefix:`${y}${r}${$.prefix}`.replace(s,"$1$2:"),sort:Jr.indexOf(b)??Qr.indexOf(b)})}},multiPass:!0}}function en(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${Kr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${Xr})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));let l=i.match(r)||i.match(n);if(l){let c=Et[l[1]]||Ct[l[1]]||`:${l[1]}`;if(l[2]){let d;l[2].startsWith("[")&&l[2].endsWith("]")?d=e.bracket(l[2]):d=l[2],d&&(c=c.replace(Ht,d))}let f=Jr.indexOf(l[1]);return f===-1&&(f=Qr.indexOf(l[1])),f===-1&&(f=void 0),{matcher:i.slice(l[0].length),handle:(d,p)=>{let m=c.includes("::")&&!wo.includes(c)?{pseudo:`${d.pseudo}${c}`}:{selector:`${d.selector}${c}`};return p({...d,...m,sort:f,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Kr}|${Xr}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${Yr})(?:${s.generator.config.separators.join("|")})`));let l=i.match(o);if(l)return tn[l[1]].map(c=>({matcher:i.slice(l[0].length),handle:(f,d)=>d({...f,pseudo:`${f.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Yr}):`}]}function rn(t){let{getBracket:e,h:r}=t,n,o,i;return{match(s,l){n&&o||(n=new RegExp(`^(${gt})-(${ge})(?:${l.generator.config.separators.join("|")})`),o=new RegExp(`^(${gt})-(${be})(?:${l.generator.config.separators.filter(f=>f!=="-").join("|")})`),i=new RegExp(`^(${gt})-(\\[.+\\])(?:${l.generator.config.separators.filter(f=>f!=="-").join("|")})`));let c=s.match(n)||s.match(o)||s.match(i);if(c){let f=c[1],d=e(c[2],"[","]")?r.bracket(c[2]):Et[c[2]]||Ct[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:p=>`${p}:${f}(${d})`}}},multiPass:!0,autocomplete:`(${gt})-(${ge}|${be}):`}}function nn(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=tt((Array.isArray(n)?n:[n]).filter(Boolean)[0]??"");let o=(i,s)=>ko(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var hs=/(part-\[(.+)\]:)(.+)/;function on(){return{match(t){let e=t.match(hs);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function zt(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${Q(t)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let l=o.slice(s[0].length),c=_(e).map(f=>({matcher:l,handle:(d,p)=>p({...d,...f(d)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function it(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${Q(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,l)=>l({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function So(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=uo(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function Eo(t,e,r){for(let n of _(t))if(e.startsWith(n)){let o=So(n,e,r);if(o){let[i="",s=o[1]]=Eo("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=e.indexOf(i,n.length);if(s!==-1){let l=e.indexOf("/",n.length),c=l===-1||s<=l;return[e.slice(n.length,c?s:l),e.slice(s+i.length),c?"":e.slice(l+1,s)]}}}}var zo=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],gs={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},S=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),K=t=>`${S(t/16)}rem`,a=(t,e)=>`${S(t/e)}em`,bs={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},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":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":a(32,16),"margin-bottom":a(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},sn={sm:{"font-size":K(14),"line-height":S(24/14),p:{"margin-top":a(16,14),"margin-bottom":a(16,14)},'[class~="lead"]':{"font-size":a(18,14),"line-height":S(28/18),"margin-top":a(16,18),"margin-bottom":a(16,18)},blockquote:{"margin-top":a(24,18),"margin-bottom":a(24,18),"padding-inline-start":a(20,18)},h1:{"font-size":a(30,14),"margin-top":"0","margin-bottom":a(24,30),"line-height":S(36/30)},h2:{"font-size":a(20,14),"margin-top":a(32,20),"margin-bottom":a(16,20),"line-height":S(28/20)},h3:{"font-size":a(18,14),"margin-top":a(28,18),"margin-bottom":a(8,18),"line-height":S(28/18)},h4:{"margin-top":a(20,14),"margin-bottom":a(8,14),"line-height":S(20/14)},img:{"margin-top":a(24,14),"margin-bottom":a(24,14)},picture:{"margin-top":a(24,14),"margin-bottom":a(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":a(24,14),"margin-bottom":a(24,14)},kbd:{"font-size":a(12,14),"border-radius":K(5),"padding-top":a(2,14),"padding-inline-end":a(5,14),"padding-bottom":a(2,14),"padding-inline-start":a(5,14)},code:{"font-size":a(12,14)},"h2 code":{"font-size":a(18,20)},"h3 code":{"font-size":a(16,18)},pre:{"font-size":a(12,14),"line-height":S(20/12),"margin-top":a(20,12),"margin-bottom":a(20,12),"border-radius":K(4),"padding-top":a(8,12),"padding-inline-end":a(12,12),"padding-bottom":a(8,12),"padding-inline-start":a(12,12)},ol:{"margin-top":a(16,14),"margin-bottom":a(16,14),"padding-inline-start":a(22,14)},ul:{"margin-top":a(16,14),"margin-bottom":a(16,14),"padding-inline-start":a(22,14)},li:{"margin-top":a(4,14),"margin-bottom":a(4,14)},"ol > li":{"padding-inline-start":a(6,14)},"ul > li":{"padding-inline-start":a(6,14)},"> ul > li p":{"margin-top":a(8,14),"margin-bottom":a(8,14)},"> ul > li > p:first-child":{"margin-top":a(16,14)},"> ul > li > p:last-child":{"margin-bottom":a(16,14)},"> ol > li > p:first-child":{"margin-top":a(16,14)},"> ol > li > p:last-child":{"margin-bottom":a(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":a(8,14),"margin-bottom":a(8,14)},dl:{"margin-top":a(16,14),"margin-bottom":a(16,14)},dt:{"margin-top":a(16,14)},dd:{"margin-top":a(4,14),"padding-inline-start":a(22,14)},hr:{"margin-top":a(40,14),"margin-bottom":a(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":a(12,14),"line-height":S(18/12)},"thead th":{"padding-inline-end":a(12,12),"padding-bottom":a(8,12),"padding-inline-start":a(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":a(8,12),"padding-inline-end":a(12,12),"padding-bottom":a(8,12),"padding-inline-start":a(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":a(24,14),"margin-bottom":a(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":a(12,14),"line-height":S(16/12),"margin-top":a(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":K(16),"line-height":S(28/16),p:{"margin-top":a(20,16),"margin-bottom":a(20,16)},'[class~="lead"]':{"font-size":a(20,16),"line-height":S(32/20),"margin-top":a(24,20),"margin-bottom":a(24,20)},blockquote:{"margin-top":a(32,20),"margin-bottom":a(32,20),"padding-inline-start":a(20,20)},h1:{"font-size":a(36,16),"margin-top":"0","margin-bottom":a(32,36),"line-height":S(40/36)},h2:{"font-size":a(24,16),"margin-top":a(48,24),"margin-bottom":a(24,24),"line-height":S(32/24)},h3:{"font-size":a(20,16),"margin-top":a(32,20),"margin-bottom":a(12,20),"line-height":S(32/20)},h4:{"margin-top":a(24,16),"margin-bottom":a(8,16),"line-height":S(24/16)},img:{"margin-top":a(32,16),"margin-bottom":a(32,16)},picture:{"margin-top":a(32,16),"margin-bottom":a(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":a(32,16),"margin-bottom":a(32,16)},kbd:{"font-size":a(14,16),"border-radius":K(5),"padding-top":a(3,16),"padding-inline-end":a(6,16),"padding-bottom":a(3,16),"padding-inline-start":a(6,16)},code:{"font-size":a(14,16)},"h2 code":{"font-size":a(21,24)},"h3 code":{"font-size":a(18,20)},pre:{"font-size":a(14,16),"line-height":S(24/14),"margin-top":a(24,14),"margin-bottom":a(24,14),"border-radius":K(6),"padding-top":a(12,14),"padding-inline-end":a(16,14),"padding-bottom":a(12,14),"padding-inline-start":a(16,14)},ol:{"margin-top":a(20,16),"margin-bottom":a(20,16),"padding-inline-start":a(26,16)},ul:{"margin-top":a(20,16),"margin-bottom":a(20,16),"padding-inline-start":a(26,16)},li:{"margin-top":a(8,16),"margin-bottom":a(8,16)},"ol > li":{"padding-inline-start":a(6,16)},"ul > li":{"padding-inline-start":a(6,16)},"> ul > li p":{"margin-top":a(12,16),"margin-bottom":a(12,16)},"> ul > li > p:first-child":{"margin-top":a(20,16)},"> ul > li > p:last-child":{"margin-bottom":a(20,16)},"> ol > li > p:first-child":{"margin-top":a(20,16)},"> ol > li > p:last-child":{"margin-bottom":a(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":a(12,16),"margin-bottom":a(12,16)},dl:{"margin-top":a(20,16),"margin-bottom":a(20,16)},dt:{"margin-top":a(20,16)},dd:{"margin-top":a(8,16),"padding-inline-start":a(26,16)},hr:{"margin-top":a(48,16),"margin-bottom":a(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":a(14,16),"line-height":S(24/14)},"thead th":{"padding-inline-end":a(8,14),"padding-bottom":a(8,14),"padding-inline-start":a(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":a(8,14),"padding-inline-end":a(8,14),"padding-bottom":a(8,14),"padding-inline-start":a(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":a(32,16),"margin-bottom":a(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":a(14,16),"line-height":S(20/14),"margin-top":a(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":K(18),"line-height":S(32/18),p:{"margin-top":a(24,18),"margin-bottom":a(24,18)},'[class~="lead"]':{"font-size":a(22,18),"line-height":S(32/22),"margin-top":a(24,22),"margin-bottom":a(24,22)},blockquote:{"margin-top":a(40,24),"margin-bottom":a(40,24),"padding-inline-start":a(24,24)},h1:{"font-size":a(48,18),"margin-top":"0","margin-bottom":a(40,48),"line-height":S(48/48)},h2:{"font-size":a(30,18),"margin-top":a(56,30),"margin-bottom":a(32,30),"line-height":S(40/30)},h3:{"font-size":a(24,18),"margin-top":a(40,24),"margin-bottom":a(16,24),"line-height":S(36/24)},h4:{"margin-top":a(32,18),"margin-bottom":a(8,18),"line-height":S(28/18)},img:{"margin-top":a(32,18),"margin-bottom":a(32,18)},picture:{"margin-top":a(32,18),"margin-bottom":a(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":a(32,18),"margin-bottom":a(32,18)},kbd:{"font-size":a(16,18),"border-radius":K(5),"padding-top":a(4,18),"padding-inline-end":a(8,18),"padding-bottom":a(4,18),"padding-inline-start":a(8,18)},code:{"font-size":a(16,18)},"h2 code":{"font-size":a(26,30)},"h3 code":{"font-size":a(21,24)},pre:{"font-size":a(16,18),"line-height":S(28/16),"margin-top":a(32,16),"margin-bottom":a(32,16),"border-radius":K(6),"padding-top":a(16,16),"padding-inline-end":a(24,16),"padding-bottom":a(16,16),"padding-inline-start":a(24,16)},ol:{"margin-top":a(24,18),"margin-bottom":a(24,18),"padding-inline-start":a(28,18)},ul:{"margin-top":a(24,18),"margin-bottom":a(24,18),"padding-inline-start":a(28,18)},li:{"margin-top":a(12,18),"margin-bottom":a(12,18)},"ol > li":{"padding-inline-start":a(8,18)},"ul > li":{"padding-inline-start":a(8,18)},"> ul > li p":{"margin-top":a(16,18),"margin-bottom":a(16,18)},"> ul > li > p:first-child":{"margin-top":a(24,18)},"> ul > li > p:last-child":{"margin-bottom":a(24,18)},"> ol > li > p:first-child":{"margin-top":a(24,18)},"> ol > li > p:last-child":{"margin-bottom":a(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":a(16,18),"margin-bottom":a(16,18)},dl:{"margin-top":a(24,18),"margin-bottom":a(24,18)},dt:{"margin-top":a(24,18)},dd:{"margin-top":a(12,18),"padding-inline-start":a(28,18)},hr:{"margin-top":a(56,18),"margin-bottom":a(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":a(16,18),"line-height":S(24/16)},"thead th":{"padding-inline-end":a(12,16),"padding-bottom":a(12,16),"padding-inline-start":a(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":a(12,16),"padding-inline-end":a(12,16),"padding-bottom":a(12,16),"padding-inline-start":a(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":a(32,18),"margin-bottom":a(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":a(16,18),"line-height":S(24/16),"margin-top":a(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":K(20),"line-height":S(36/20),p:{"margin-top":a(24,20),"margin-bottom":a(24,20)},'[class~="lead"]':{"font-size":a(24,20),"line-height":S(36/24),"margin-top":a(24,24),"margin-bottom":a(24,24)},blockquote:{"margin-top":a(48,30),"margin-bottom":a(48,30),"padding-inline-start":a(32,30)},h1:{"font-size":a(56,20),"margin-top":"0","margin-bottom":a(48,56),"line-height":S(56/56)},h2:{"font-size":a(36,20),"margin-top":a(56,36),"margin-bottom":a(32,36),"line-height":S(40/36)},h3:{"font-size":a(30,20),"margin-top":a(48,30),"margin-bottom":a(20,30),"line-height":S(40/30)},h4:{"margin-top":a(36,20),"margin-bottom":a(12,20),"line-height":S(32/20)},img:{"margin-top":a(40,20),"margin-bottom":a(40,20)},picture:{"margin-top":a(40,20),"margin-bottom":a(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":a(40,20),"margin-bottom":a(40,20)},kbd:{"font-size":a(18,20),"border-radius":K(5),"padding-top":a(5,20),"padding-inline-end":a(8,20),"padding-bottom":a(5,20),"padding-inline-start":a(8,20)},code:{"font-size":a(18,20)},"h2 code":{"font-size":a(31,36)},"h3 code":{"font-size":a(27,30)},pre:{"font-size":a(18,20),"line-height":S(32/18),"margin-top":a(36,18),"margin-bottom":a(36,18),"border-radius":K(8),"padding-top":a(20,18),"padding-inline-end":a(24,18),"padding-bottom":a(20,18),"padding-inline-start":a(24,18)},ol:{"margin-top":a(24,20),"margin-bottom":a(24,20),"padding-inline-start":a(32,20)},ul:{"margin-top":a(24,20),"margin-bottom":a(24,20),"padding-inline-start":a(32,20)},li:{"margin-top":a(12,20),"margin-bottom":a(12,20)},"ol > li":{"padding-inline-start":a(8,20)},"ul > li":{"padding-inline-start":a(8,20)},"> ul > li p":{"margin-top":a(16,20),"margin-bottom":a(16,20)},"> ul > li > p:first-child":{"margin-top":a(24,20)},"> ul > li > p:last-child":{"margin-bottom":a(24,20)},"> ol > li > p:first-child":{"margin-top":a(24,20)},"> ol > li > p:last-child":{"margin-bottom":a(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":a(16,20),"margin-bottom":a(16,20)},dl:{"margin-top":a(24,20),"margin-bottom":a(24,20)},dt:{"margin-top":a(24,20)},dd:{"margin-top":a(12,20),"padding-inline-start":a(32,20)},hr:{"margin-top":a(56,20),"margin-bottom":a(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":a(18,20),"line-height":S(28/18)},"thead th":{"padding-inline-end":a(12,18),"padding-bottom":a(16,18),"padding-inline-start":a(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":a(16,18),"padding-inline-end":a(12,18),"padding-bottom":a(16,18),"padding-inline-start":a(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":a(40,20),"margin-bottom":a(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":a(18,20),"line-height":S(28/18),"margin-top":a(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":K(24),"line-height":S(40/24),p:{"margin-top":a(32,24),"margin-bottom":a(32,24)},'[class~="lead"]':{"font-size":a(30,24),"line-height":S(44/30),"margin-top":a(32,30),"margin-bottom":a(32,30)},blockquote:{"margin-top":a(64,36),"margin-bottom":a(64,36),"padding-inline-start":a(40,36)},h1:{"font-size":a(64,24),"margin-top":"0","margin-bottom":a(56,64),"line-height":S(64/64)},h2:{"font-size":a(48,24),"margin-top":a(72,48),"margin-bottom":a(40,48),"line-height":S(52/48)},h3:{"font-size":a(36,24),"margin-top":a(56,36),"margin-bottom":a(24,36),"line-height":S(44/36)},h4:{"margin-top":a(40,24),"margin-bottom":a(16,24),"line-height":S(36/24)},img:{"margin-top":a(48,24),"margin-bottom":a(48,24)},picture:{"margin-top":a(48,24),"margin-bottom":a(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":a(48,24),"margin-bottom":a(48,24)},kbd:{"font-size":a(20,24),"border-radius":K(6),"padding-top":a(6,24),"padding-inline-end":a(8,24),"padding-bottom":a(6,24),"padding-inline-start":a(8,24)},code:{"font-size":a(20,24)},"h2 code":{"font-size":a(42,48)},"h3 code":{"font-size":a(32,36)},pre:{"font-size":a(20,24),"line-height":S(36/20),"margin-top":a(40,20),"margin-bottom":a(40,20),"border-radius":K(8),"padding-top":a(24,20),"padding-inline-end":a(32,20),"padding-bottom":a(24,20),"padding-inline-start":a(32,20)},ol:{"margin-top":a(32,24),"margin-bottom":a(32,24),"padding-inline-start":a(38,24)},ul:{"margin-top":a(32,24),"margin-bottom":a(32,24),"padding-inline-start":a(38,24)},li:{"margin-top":a(12,24),"margin-bottom":a(12,24)},"ol > li":{"padding-inline-start":a(10,24)},"ul > li":{"padding-inline-start":a(10,24)},"> ul > li p":{"margin-top":a(20,24),"margin-bottom":a(20,24)},"> ul > li > p:first-child":{"margin-top":a(32,24)},"> ul > li > p:last-child":{"margin-bottom":a(32,24)},"> ol > li > p:first-child":{"margin-top":a(32,24)},"> ol > li > p:last-child":{"margin-bottom":a(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":a(16,24),"margin-bottom":a(16,24)},dl:{"margin-top":a(32,24),"margin-bottom":a(32,24)},dt:{"margin-top":a(32,24)},dd:{"margin-top":a(12,24),"padding-inline-start":a(38,24)},hr:{"margin-top":a(72,24),"margin-bottom":a(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":a(20,24),"line-height":S(28/20)},"thead th":{"padding-inline-end":a(12,20),"padding-bottom":a(16,20),"padding-inline-start":a(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":a(16,20),"padding-inline-end":a(12,20),"padding-bottom":a(16,20),"padding-inline-start":a(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":a(48,24),"margin-bottom":a(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":a(20,24),"line-height":S(32/20),"margin-top":a(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function ys(t){let e=Rt(gs);if(t)for(let r in t){let[n,o]=_(t[r]),[i,s]=e[r];e[r]=[n??i,o??s]}return e}function xs(t){return t?Pt(sn,t):sn}function Co(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,o=e.important===!0,i="";for(let[s,l]of Object.entries(t))if(typeof l!="object")i+=`${s}:${l}${o?" !important":""};`;else{let[c,f]=s.split("::"),d=`:where(${c})${n}${f?`::${f}`:""}`;i+=`${d} {`;for(let[p,m]of Object.entries(l))i+=`${p}:${m}${o?" !important":""};`;i+="}"}return i}function vs(t){for(let[e,...r]of zo)if(e===t)return r.length>0?r:[e]}var $s=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",o=ys(t?.colorScheme),i=xs(t?.sizeScheme),s=(p,m)=>Pt(p,(typeof t?.cssExtend=="function"?t?.cssExtend(m):t?.cssExtend)??{}),l=p=>(typeof t?.important=="string"&&(p=`${t.important} ${p}`),t?.compatibility?.noColonIs||(p=`:is(${p})`),p),c=new RegExp(`^${e}-default$`),f=new RegExp(`^${e}-([-\\w]+)$`),d=new RegExp(`^${e}-(${Object.keys(i).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[c,(p,{symbols:m,theme:g})=>{let h=Co(s(Pt(bs,sn.base),g),t??{});return{[m.body]:h,[m.selector]:l}},{layer:"typography",autocomplete:"prose",internal:!0}],[f,([,p],{theme:m,symbols:g})=>{let h=m.colors?.[p];if(!(!h||typeof h!="object"))return["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(p)?{[`${n}-links`]:h[600],[`${n}-invert-links`]:h[500],[g.selector]:l}:Object.entries(o).reduce((v,[w,k])=>{let[x,y]=k,b=z=>h[z]??m[z]??z,$=b(x),R=b(y),H=`${n}-${w}`,j=`${n}-invert-${w}`;v[H]=W($,`var(${H}-opacity)`),v[j]=W(R,`var(${j}-opacity)`);for(let[z,A]of[[$,`${H}-opacity`],[R,`${j}-opacity`]])Yt.some(G=>z.includes(G))&&(v[A]="1");return v},{[g.selector]:l})},{layer:"typography",autocomplete:`${e}-$colors`}],[d,([,p],{symbols:m,theme:g})=>{let h=Co(s(i[p],g),t??{});return{[m.body]:h,[m.selector]:l}},{layer:"typography",autocomplete:`${e}-(${Object.keys(i).join("|")})`}],[`${e}-invert`,[{[`${n}-body`]:`var(${n}-invert-body)`,[`${n}-headings`]:`var(${n}-invert-headings)`,[`${n}-lead`]:`var(${n}-invert-lead)`,[`${n}-links`]:`var(${n}-invert-links)`,[`${n}-bold`]:`var(${n}-invert-bold)`,[`${n}-counters`]:`var(${n}-invert-counters)`,[`${n}-bullets`]:`var(${n}-invert-bullets)`,[`${n}-hr`]:`var(${n}-invert-hr)`,[`${n}-quotes`]:`var(${n}-invert-quotes)`,[`${n}-quote-borders`]:`var(${n}-invert-quote-borders)`,[`${n}-captions`]:`var(${n}-invert-captions)`,[`${n}-kbd`]:`var(${n}-invert-kbd)`,[`${n}-kbd-shadows`]:`var(${n}-invert-kbd-shadows)`,[`${n}-code`]:`var(${n}-invert-code)`,[`${n}-pre-code`]:`var(${n}-invert-pre-code)`,[`${n}-pre-bg`]:`var(${n}-invert-pre-bg)`,[`${n}-th-borders`]:`var(${n}-invert-th-borders)`,[`${n}-td-borders`]:`var(${n}-invert-td-borders)`,[X.selector]:l}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:p=>{if(p.startsWith(`${e}-`)){let m=new RegExp(`^${e}-(\\w+)[:-].+$`),g=p.match(m)?.[1];if(g){let h=vs(g);if(h?.length)return{matcher:p.slice(e.length+g.length+2),selector:v=>{let w=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?h.map(k=>`${v} ${k}`).join(","):`${v} :is(:where(${h})${w})`}}}}},autocomplete:`${e}-(${zo.map(p=>`${p[0]}:`).join("|")})`}]}},jo=$s;var ln=Object.defineProperty,ws=Object.getOwnPropertyDescriptor,ks=Object.getOwnPropertyNames,Ss=Object.prototype.hasOwnProperty,xe=(t,e)=>{let r={};for(var n in t)ln(r,n,{get:t[n],enumerable:!0});return e&&ln(r,Symbol.toStringTag,{value:"Module"}),r},Ao=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(var o=ks(e),i=0,s=o.length,l;i<s;i++)l=o[i],!Ss.call(t,l)&&l!==r&&ln(t,l,{get:(c=>e[c]).bind(null,l),enumerable:!(n=ws(e,l))||n.enumerable});return t},cn=(t,e,r)=>(Ao(t,e,"default"),r&&Ao(r,e,"default"));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"]},Lt={...V,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Ft={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},ve={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},$e=["x","y","z"],_o=["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"],U=Object.assign({},..._o.map(t=>({[t.replace(/ /,"-")]:t})),..._o.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),L=["inherit","initial","revert","revert-layer","unset"],jt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Kt=/^(var)\s*\((.+)\)(.*)/,we=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Mo=/^(-?\d*(?:\.\d+)?)$/,Lo=/^(px|[sld]?v[wh])$/i,Fo={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},To=/^\[(color|image|length|size|position|quoted|string):/i,Es=/,(?![^()]*\))/g,ke=xe({auto:()=>js,bracket:()=>Ms,bracketOfColor:()=>Ls,bracketOfLength:()=>Fs,bracketOfPosition:()=>Ts,cssvar:()=>Bs,degree:()=>Ns,fraction:()=>Os,global:()=>Is,number:()=>Rs,numberWithUnit:()=>zs,percent:()=>Ps,position:()=>Ds,properties:()=>Us,px:()=>_s,rem:()=>As,time:()=>Ws}),Cs=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Z(t){return+t.toFixed(10)}function zs(t){let e=t.match(we);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Z(o)}${n}`}function js(t){if(t==="auto"||t==="a")return"auto"}function As(t){if(!t)return;if(Lo.test(t))return`${Fo[t]}${t}`;let e=t.match(we);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Z(o)}${n}`:`${Z(o/4)}rem`}function _s(t){if(Lo.test(t))return`${Fo[t]}${t}`;let e=t.match(we);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Z(o)}${n}`:`${Z(o)}px`}function Rs(t){if(!Mo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return Z(e)}function Ps(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!Mo.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${Z(e/100)}`}function Os(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Z(n*100)}%`}function Se(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(To);if(o?(e||(n=o[1]),r=t.slice(o[0].length,-1)):r=t.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let l=[];return s.replace(/var\((--.+?)[,)]/g,(c,f)=>(l.push(f),c.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>l.shift())})}}function Ms(t){return Se(t)}function Ls(t){return Se(t,"color")}function Fs(t){return Se(t,"length")}function Ts(t){return Se(t,"position")}function Bs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${tt(e)}${r?`, ${r}`:""})`}}function Ws(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${Z(o)}${n}`:`${Z(o)}ms`}function Ns(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${Z(o)}${n}`:`${Z(o)}deg`}function Is(t){if(L.includes(t))return t}function Us(t){if(t.split(",").every(e=>Cs.includes(e)))return t}function Ds(t){if(["top","left","right","bottom","center"].includes(t))return t}var Ee=Zr(ke),u=Ee,Xt="$$mini-no-negative";function F(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return V[r].map(s=>[`${t}${s}`,i]);if(n?.startsWith("-")){let s=o.spacing?.[n.slice(1)];if(s!=null)return V[r].map(l=>[`${t}${l}`,`calc(${s} * -1)`])}}}function Ro(t,e,r="colors"){let n=t[r];function o(i,s){if(s.length===0)return i;if(!(!i||typeof i!="object"))for(let l=s.length;l>0;l--){let c=s.slice(0,l).join("-"),f=i[c.replace(/(-[a-z])/g,d=>d.slice(1).toUpperCase())]??i[c];if(f!=null)return l===s.length?f:o(f,s.slice(l))}}return o(n,e)}function Po(t,e,r){return Ro(t,e,r)||Ro(t,e,"colors")}function Tt(t,e){let[r,n]=St(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(To)??[])[1];if(o==null||o===e)return[r,n]}}function at(t,e,r){let n=Tt(t,"color");if(!n)return;let[o,i]=n,s=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[l]=s;if(!l)return;let c,f=u.bracketOfColor(o),d=f||o;if(u.numberWithUnit(d))return;if(/^#[\da-f]+$/i.test(d)?c=d:/^hex-[\da-fA-F]+$/.test(d)?c=`#${d.slice(4)}`:o.startsWith("$")&&(c=u.cssvar(o)),c=c||f,!c){let m=Po(e,[o],r);typeof m=="string"&&(c=m)}let p="DEFAULT";if(!c){let m=s,g,[h]=s.slice(-1);/^\d+$/.test(h)&&(p=g=h,m=s.slice(0,-1));let v=Po(e,m,r);typeof v=="object"?c=v[g??p]:typeof v=="string"&&!g&&(c=v)}return{opacity:i,name:l,no:p,color:c,cssColor:et(c),alpha:u.bracket.cssvar.percent(i??"")}}function N(t,e,r,n){return([,o],{theme:i,generator:s})=>{let l=at(o??"",i,r);if(!l)return;let{alpha:c,color:f,cssColor:d}=l,p=s.config.envMode==="dev"&&f?` /* ${f} */`:"",m={};if(d)if(c!=null)m[t]=W(d,c)+p;else{let g=`--un-${e}-opacity`,h=W(d,`var(${g})`);h.includes(g)&&(m[g]=bt(d)),m[t]=h+p}else if(f)if(c!=null)m[t]=W(f,c)+p;else{let g=`--un-${e}-opacity`,h=W(f,`var(${g})`);h.includes(g)&&(m[g]=1),m[t]=h+p}if(n?.(m)!==!1)return m}}function yt(t,e){let r=[];t=_(t);for(let n=0;n<t.length;n++){let o=Mt(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let l="",c=o.at(-1);if(et(o.at(0))){let f=et(o.shift());f&&(l=`, ${W(f)}`)}else if(et(c)){let f=et(o.pop());f&&(l=`, ${W(f)}`)}else c&&c.startsWith("var(")&&(l=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${l})`)}return r}function xt(t,e,r){return t!=null&&!!at(t,e,r)?.color}var Oo=/[a-z]+/gi,fn=new WeakMap;function rt({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(fn.has(t))return fn.get(t);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Oo,""))-Number.parseInt(s[1].replace(Oo,""))).map(([i,s])=>({point:i,size:s}));return fn.set(t,o),o}function dn(t){return rt(t,"verticalBreakpoints")}function C(t,e){return L.map(r=>[`${t}-${r}`,{[e??t]:r}])}function st(t){return t!=null&&jt.test(t)}function Zt(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),jt.test(t)||we.test(t)}function At(t,e,r){let n=e.split(Es);return t||!t&&n.length===1?ve[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${$e[i]}`,o])}var ut=xe({CONTROL_MINI_NO_NEGATIVE:()=>Xt,colorResolver:()=>N,colorableShadows:()=>yt,cornerMap:()=>Ft,cssMathFnRE:()=>jt,cssVarFnRE:()=>Kt,directionMap:()=>V,directionSize:()=>F,globalKeywords:()=>L,h:()=>u,handler:()=>Ee,hasParseableColor:()=>xt,insetMap:()=>Lt,isCSSMathFn:()=>st,isSize:()=>Zt,makeGlobalStaticRules:()=>C,parseColor:()=>at,positionMap:()=>U,resolveBreakpoints:()=>rt,resolveVerticalBreakpoints:()=>dn,splitShorthand:()=>Tt,transformXYZ:()=>At,valueHandlers:()=>ke,xyzArray:()=>$e,xyzMap:()=>ve});cn(ut,an);var M=xe({CONTROL_MINI_NO_NEGATIVE:()=>Xt,colorResolver:()=>N,colorableShadows:()=>yt,cornerMap:()=>Ft,cssMathFnRE:()=>jt,cssVarFnRE:()=>Kt,directionMap:()=>V,directionSize:()=>F,globalKeywords:()=>L,h:()=>u,handler:()=>Ee,hasParseableColor:()=>xt,insetMap:()=>Lt,isCSSMathFn:()=>st,isSize:()=>Zt,makeGlobalStaticRules:()=>C,parseColor:()=>at,positionMap:()=>U,resolveBreakpoints:()=>rt,resolveVerticalBreakpoints:()=>dn,splitShorthand:()=>Tt,transformXYZ:()=>At,valueHandlers:()=>ke,xyzArray:()=>$e,xyzMap:()=>ve});cn(M,ut);var Vs=/@media \(min-width: (.+)\)/,Bo=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;B(o)?i=o:i=o?.DEFAULT;let s=r.container?.maxWidth,l;for(let f of n){let d=f.handle?.({},p=>p)?.parent;if(B(d)){let p=d.match(Vs)?.[1];if(p){let m=(rt(e)??[]).find(g=>g.size===p)?.point;s?m&&(l=s?.[m]):l=p,m&&!B(o)&&(i=o?.[m]??i)}}}let c={"max-width":l};return n.length||(c.width="100%"),r.container?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],un=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(rt(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var Wo={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(L.map(t=>[t,t]))},Ae=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Wo[t]??u.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Wo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],No=["center","left","right","justify","start","end"],_e=[...No.map(t=>[`text-${t}`,{"text-align":t}]),...[...L,...No].map(t=>[`text-align-${t}`,{"text-align":t}])],Re=[[/^outline-(?:width-|size-)?(.+)$/,Ko,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Gs,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...L].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Ko([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}}function Gs(t,e){return st(u.bracket(t[1]))?Ko(t,e):N("outline-color","outline-color","borderColor")(t,e)}var Pe=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function qs(t){return u.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Oe=[[/^will-change-(.+)/,([,t])=>({"will-change":qs(t)})]],vt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...L],Me=[[/^(?:border|b)()(?:-(.+))?$/,nt,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,nt],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,nt],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,nt],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,nt],[/^(?:border|b)-()(?:width|size)-(.+)$/,nt,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,nt],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,nt],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,nt],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,nt],[/^(?:border|b)-()(?:color-)?(.+)$/,Jt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Jt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Jt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Jt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Jt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Qt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Qt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Qt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,te,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,te],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,te],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,te],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,te],[/^(?:border|b)-(?:style-)?()(.+)$/,Bt,{autocomplete:["(border|b)-style",`(border|b)-(${vt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${vt.join("|")})`,`(border|b)-<directions>-style-(${vt.join("|")})`,`(border|b)-style-(${vt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Bt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Bt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Bt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Bt]];function Io(t,e,r){if(e!=null)return{[`border${r}-color`]:W(t,e)};if(r===""){let n={},o="--un-border-opacity",i=W(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:bt(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,s=W(t,`var(${i})`);return s.includes(i)&&(n[o]=typeof t=="string"?1:bt(t),n[i]=`var(${o})`),n[`border${r}-color`]=s,n}}function Hs(t){return([,e],r)=>{let n=at(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(s)return Io(s,o,t);if(i)return Io(i,o,t)}}function nt([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??u.bracket.cssvar.global.px(e||"1");if(t in V&&n!=null)return V[t].map(o=>[`border${o}-width`,n])}function Jt([,t="",e],r){if(t in V){if(st(u.bracket(e)))return nt(["",t,e],r);if(xt(e,r.theme,"borderColor"))return Object.assign({},...V[t].map(n=>Hs(n)(["",e],r.theme)))}}function Qt([,t="",e]){let r=u.bracket.percent.cssvar(e);if(t in V&&r!=null)return V[t].map(n=>[`--un-border${n}-opacity`,r])}function te([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e||"1");if(t in Ft&&n!=null)return Ft[t].map(o=>[`border${o}-radius`,n])}function Bt([,t="",e]){if(vt.includes(e)&&t in V)return V[t].map(r=>[`border${r}-style`,e])}var Le=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:u.bracket.percent.cssvar(t)})]],Ys=/^\[url\(.+\)\]$/,Ks=/^\[(?:length|size):.+\]$/,Xs=/^\[position:.+\]$/,Zs=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Js=/^\[image:.+\]$/,Fe=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(Ys.test(e))return{"--un-url":u.bracket(e),"background-image":"var(--un-url)"};if(Ks.test(e)&&u.bracketOfLength(e)!=null)return{"background-size":u.bracketOfLength(e).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((Zt(e)||Xs.test(e))&&u.bracketOfPosition(e)!=null)return{"background-position":u.bracketOfPosition(e).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Zs.test(e)||Js.test(e)){let r=u.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return N("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Te=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]],Be=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Uo=["solid","double","dotted","dashed","wavy",...L],We=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Xo,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Qs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??u.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Uo.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Uo.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Xo([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??u.bracket.cssvar.global.px(t)}}function Qs(t,e){if(st(u.bracket(t[1])))return Xo(t,e);let r=N("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Ne=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:u.bracket(t)!=null?u.bracket(t).split(" ").map(e=>u.cssvar.fraction(e)??e).join(" "):u.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":u.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":u.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??u.bracket.cssvar.auto.fraction.rem(t)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],tl={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function pn([,t="",e],{theme:r}){let n=r.spacing?.[e]??u.bracket.cssvar.global.rem(e);if(n!=null)return{[`${tl[t]}gap`]:n}}var Ie=[[/^(?:flex-|grid-)?gap-?()(.+)$/,pn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,pn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,pn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function lt(t){return t.replace("col","column")}function mn(t){return t[0]==="r"?"Row":"Column"}function el(t,e,r){let n=e[`gridAuto${mn(t)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return u.bracket.cssvar.auto.rem(r)}var Ue=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${lt(t)}`]:r[`grid${mn(t)}`]?.[e]??u.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${lt(t)}`]:"1/-1"};let r=u.bracket.number(e);if(r!=null)return{[`grid-${lt(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${lt(t)}-start`]:u.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${lt(t)}-end`]:u.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${lt(t)}`]:el(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":u.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":lt(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-template-${lt(t)}`]:r[`gridTemplate${mn(t)}`]?.[e]??u.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${lt(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${lt(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":u.cssvar(e)??e.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Ce=["auto","hidden","clip","visible","scroll","overlay",...L],De=[[/^(?:overflow|of)-(.+)$/,([,t])=>Ce.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${Ce.join("|")})`,`(overflow|of)-(x|y)-(${Ce.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Ce.includes(e)?{[`overflow-${t}`]:e}:void 0]],Ve=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>L.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],re=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...C("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...C("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...C("justify-self")],Ge=[[/^order-(.+)$/,([,t])=>({order:u.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],ne=[["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"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...C("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...C("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...C("self","align-self")],oe=[["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-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...C("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...C("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...C("place-self")],qe=[...re,...ne,...oe].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function hn(t,{theme:e}){return e.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t)}function ee([,t,e],r){let n=hn(e,r);if(n!=null&&t in Lt)return Lt[t].map(o=>[o.slice(1),n])}var He=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:hn(t,e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,ee],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,ee],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,ee],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,ee],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,ee],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:hn(e,r)})]],Ye=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...C("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...C("clear")],Ke=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":u.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??u.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Xe=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...C("box","box-sizing")],Ze=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],rl=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],nl=["none","strict","content","size","inline-size","layout","style","paint"],O=" ",Je=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:u.bracket.cssvar.global(t)})]],Qe=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...C("backface","backface-visibility")],tr=[[/^cursor-(.+)$/,([,t])=>({cursor:u.bracket.cssvar.global(t)})],...rl.map(t=>[`cursor-${t}`,{cursor:t}])],er=[[/^contain-(.*)$/,([,t])=>u.bracket(t)!=null?{contain:u.bracket(t).split(" ").map(e=>u.cssvar.fraction(e)??e).join(" ")}:nl.includes(t)?{contain:t}:void 0]],rr=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...C("pointer-events")],nr=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...C("resize")],or=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...C("select","user-select")],ir=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...L].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ar=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,t,e])=>({[`contain-intrinsic-${{block:"block-size",inline:"inline-size",w:"width",h:"height"}[t]??"size"}`]:u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:["intrinsic-size-<num>","intrinsic-<num>","intrinsic-(block|inline|w|h)-<num>"]}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...C("content-visibility")],sr=[[/^content-(.+)$/,([,t])=>({content:u.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],lr=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],cr=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],fr=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],dr=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...C("case","text-transform")],ur=[["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"}]],pr=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],mr=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Nt={"--un-ring-inset":O,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},ol=Object.keys(Nt),hr=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??u.px(t||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:ol},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Zo,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,t],{theme:e})=>({"--un-ring-offset-width":e.lineWidth?.[t]??u.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,il,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,N("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Zo([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??u.bracket.cssvar.px(t)}}function il(t,e){return st(u.bracket(t[1]))?Zo(t,e):N("--un-ring-color","ring","borderColor")(t,e)}var It={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":O,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},al=Object.keys(It),gr=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!xt(i,n,"shadowColor")?{"--un-shadow":yt(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:N("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:al},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],sl={h:"height",w:"width",inline:"inline-size",block:"block-size"};function _t(t,e){return`${t||""}${sl[e]}`}function ze(t,e,r,n){let o=r[_t(t,e).replace(/-(\w)/g,(i,s)=>s.toUpperCase())]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`;case"stretch":return"stretch"}return u.bracket.cssvar.global.auto.fraction.rem(n)}var br=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[_t(t,"w")]:ze(t,"w",r,e),[_t(t,"h")]:ze(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[_t(t,e)]:ze(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[_t(t,e)]:ze(t,e,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[_t(t,e)]:Do(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[_t(t,e)]:Do(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];function Do(t,e,r="breakpoints"){let n=rt(t,r);if(n)return n.find(o=>o.point===e)?.size}function ll(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(t)}var yr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":ll(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],xr=[[/^pa?()-?(.+)$/,F("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,F("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,F("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,F("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,F("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,F("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],vr=[[/^ma?()-?(.+)$/,F("margin")],[/^m-?xy()()$/,F("margin")],[/^m-?([xy])(?:-?(.+))?$/,F("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,F("margin")],[/^m-(block|inline)(?:-(.+))?$/,F("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,F("margin")]],$r=[[/^fill-(.+)$/,N("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Jo,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":u.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??u.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,cl,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Jo([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??u.bracket.cssvar.fraction.px.number(t)}}function cl(t,e){return st(u.bracket(t[1]))?Jo(t,e):N("stroke","stroke","borderColor")(t,e)}var je=["translate","rotate","scale"],fl=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Wt=["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(" "),dl=["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(" "),Ut={"--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},ct=Object.keys(Ut),wr=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":U[t]??u.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(U).join("|")})`,`origin-(${Object.keys(U).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=u.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=u.bracket.cssvar(t)??(t.length>=3?U[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Vo,{custom:{preflightKeys:ct}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,Vo,{custom:{preflightKeys:ct}}],[/^(?:transform-)?rotate-()(.+)$/,qo,{custom:{preflightKeys:ct}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,qo,{custom:{preflightKeys:ct}}],[/^(?:transform-)?skew-()(.+)$/,Ho,{custom:{preflightKeys:ct}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Ho,{custom:{preflightKeys:ct},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Go,{custom:{preflightKeys:ct}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Go,{custom:{preflightKeys:ct},autocomplete:[`transform-(${je.join("|")})-<percent>`,`transform-(${je.join("|")})-(x|y|z)-<percent>`,`(${je.join("|")})-<percent>`,`(${je.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Wt},{custom:{preflightKeys:ct}}],["transform-cpu",{transform:fl},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:dl},{custom:{preflightKeys:ct}}],["transform-none",{transform:"none"}],...C("transform")];function Vo([,t,e],{theme:r}){let n=r.spacing?.[e]??u.bracket.cssvar.fraction.rem(e);if(n!=null)return[...At(t,n,"translate"),["transform",Wt]]}function Go([,t,e]){let r=u.bracket.cssvar.fraction.percent(e);if(r!=null)return[...At(t,r,"scale"),["transform",Wt]]}function qo([,t="",e]){let r=u.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:Wt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Wt}}function Ho([,t,e]){let r=u.bracket.cssvar.degree(e);if(r!=null)return[...At(t,r,"skew"),["transform",Wt]]}function Yo(t,e){let r;if(u.cssvar(t)!=null)r=u.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var kr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{if(!t&&!e)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(t!=null){let n=Yo(t,r),o=r.duration?.[e||"DEFAULT"]??u.time(e||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(e!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[e]??u.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??u.bracket.cssvar(t)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=u.global(t)||Yo(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...L].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...C("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Sr=[[/^text-(.+)$/,pl,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Qo,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,ul,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,N("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>L.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${L.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||u.bracket.global.number(t)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>({"line-height":gn(t,e,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":u.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||u.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||u.bracket.cssvar.global.rem(t)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":u.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||u.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],Er=[[/^tab(?:-(.+))?$/,([,t])=>{let e=u.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Cr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],zr=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||u.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,N("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],jr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":yt(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,N("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function gn(t,e,r){return e[r]?.[t]||u.bracket.cssvar.global.rem(t)}function Qo([,t],{theme:e}){let r=_(e.fontSize?.[t])?.[0]??u.bracket.cssvar.global.rem(t);if(r!=null)return{"font-size":r}}function ul(t,e){return st(u.bracket(t[1]))?Qo(t,e):N("color","text","textColor")(t,e)}function pl([,t="base"],{theme:e}){let r=Tt(t,"length");if(!r)return;let[n,o]=r,i=_(e.fontSize?.[n]),s=o?gn(o,e,"lineHeight"):void 0;if(i?.[0]){let[c,f,d]=i;return typeof f=="object"?{"font-size":c,...f}:{"font-size":c,"line-height":s??f??"1","letter-spacing":d?gn(d,e,"letterSpacing"):void 0}}let l=u.bracketOfLength.rem(n);return s&&l?{"font-size":l,"line-height":s}:{"font-size":u.bracketOfLength.rem(t)}}var ml={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"},Ar=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=ml[t];if(r)return{[r]:u.cssvar(e)}}]],_r=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!gl(e)&&/^[\w-]+$/.test(r)&&hl(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function hl(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function gl(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var bn=[Ar,_r,er,rr,Qe,Ve,He,Ke,Ge,Ue,Ye,vr,Xe,Je,yr,br,Ne,wr,tr,or,nr,Pe,oe,ne,re,Ie,qe,De,fr,ir,lr,Me,Fe,Te,$r,xr,_e,Cr,cr,Ae,Sr,dr,ur,We,pr,Er,zr,jr,Le,gr,Re,hr,kr,Oe,ar,sr,Be,mr,Ze].flat(1);var yl=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...s}]}return{animation:u.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":u.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??u.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??u.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?L:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?L:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":u.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?L:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...C("animate","animation")];function ti(t){return t?W(t,0):"rgb(255 255 255 / 0)"}function xl(t,e,r,n){return e?n!=null?W(e,n):W(e,`var(--un-${t}-opacity, ${bt(e)})`):W(r,n)}function yn(){return([,t,e],{theme:r})=>{let n=at(e,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:s}=n;if(!i)return;let l=xl(t,s,i,o);switch(t){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${l} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${ti(s)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":ti(s),"--un-gradient-stops":`var(--un-gradient-from), ${l} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${l} var(--un-gradient-to-position)`}}}}function vl(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(u.bracket.cssvar.percent(e))*100}%`})}var $l=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":u.bracket(t)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,t])=>({"--un-gradient-stops":u.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,yn()],[/^(?:bg-gradient-)?(via)-(.+)$/,yn()],[/^(?:bg-gradient-)?(to)-(.+)$/,yn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:u.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,vl()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,t])=>{if(t in U)return{"--un-gradient-shape":`to ${U[t]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(U).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in U?`to ${U[t]}`:u.bracket(t);if(e!=null)return{"--un-gradient-shape":`${e} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(U).join("|")})`,`shape-(${Object.keys(U).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...C("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...L.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":U[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...C("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...C("bg-origin","background-origin")],xn={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"},wl=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=xn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(xn).join("|")})`,`list-(${Object.keys(xn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":u.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...C("list","list-style-type")],kl=[[/^accent-(.+)$/,N("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":u.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Sl=[[/^caret-(.+)$/,N("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":u.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],El=[["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"]]]],Cl=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...C("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...C("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...C("overscroll-y","overscroll-behavior-y")],zl=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...C("scroll","scroll-behavior")],jl=[[/^columns-(.+)$/,([,t],{theme:e})=>e.containers&&t in e.containers?{columns:e.containers[t]}:{columns:u.bracket.numberWithUnit.number.cssvar(t)},{autocomplete:["columns-<num>","columns-$containers"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...C("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...C("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...C("break-after")],Al=[[/^divide-?([xy])$/,Rr,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Rr],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Rr],[/^divide-(block|inline)-(.+)$/,Rr],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,N("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":u.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...vt.map(t=>[`divide-${t}`,{"border-style":t}])];function Rr([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??u.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=V[t].map(i=>[`border${i}-width`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`]);if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var kn={"--un-blur":O,"--un-brightness":O,"--un-contrast":O,"--un-drop-shadow":O,"--un-grayscale":O,"--un-hue-rotate":O,"--un-invert":O,"--un-saturate":O,"--un-sepia":O},ai=Object.keys(kn),ei={preflightKeys:ai},Pr="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)",Sn={"--un-backdrop-blur":O,"--un-backdrop-brightness":O,"--un-backdrop-contrast":O,"--un-backdrop-grayscale":O,"--un-backdrop-hue-rotate":O,"--un-backdrop-invert":O,"--un-backdrop-opacity":O,"--un-backdrop-saturate":O,"--un-backdrop-sepia":O},si=Object.keys(Sn),_l={preflightKeys:si},Or="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",pt={preflightKeys:[...ai,...si]};function vn(t){let e=u.bracket.cssvar(t||"");if(e!=null||(e=t?u.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function mt(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":Or,"backdrop-filter":Or}:{[`--un-${t}`]:`${t}(${i})`,filter:Pr}}}function Rl([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${yt(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Pr};if(r=u.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Pr}}var Pl=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,mt("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||u.bracket.cssvar.px(t)),{custom:pt,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,mt("brightness",t=>u.bracket.cssvar.percent(t)),{custom:pt,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,mt("contrast",t=>u.bracket.cssvar.percent(t)),{custom:pt,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Rl,{custom:ei,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-(.+)$/,N("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":u.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,mt("grayscale",vn),{custom:pt,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,mt("hue-rotate",t=>u.bracket.cssvar.degree(t)),{custom:pt}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,mt("invert",vn),{custom:pt,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,mt("opacity",t=>u.bracket.cssvar.percent(t)),{custom:pt,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,mt("saturate",t=>u.bracket.cssvar.percent(t)),{custom:pt,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,mt("sepia",vn),{custom:pt,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Pr},{custom:ei}],["backdrop-filter",{"-webkit-backdrop-filter":Or,"backdrop-filter":Or},{custom:_l}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...L.map(t=>[`filter-${t}`,{filter:t}]),...L.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Ol=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t,"line-clamp":t}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...L].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])],Ml=[[/^\$ placeholder-(.+)$/,N("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":u.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],En={"--un-scroll-snap-strictness":"proximity"},ri={preflightKeys:Object.keys(En)},Ll=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:ri,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:ri}],["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?()-?(.+)$/,F("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])-?(.+)$/,F("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,F("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,F("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,F("scroll-margin")],[/^scroll-pa?()-?(.+)$/,F("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,F("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,F("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,F("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,F("scroll-padding")]],Fl=[[/^space-([xy])-(.+)$/,ni,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,ni],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function ni([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??u.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=V[t].map(i=>[`margin${i}`,i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`]);if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var Tl=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Bl=[...["manual","auto","none",...L].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Wl=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...C("write","writing-mode")],Nl=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...C("write-orient","text-orientation")],Il=[["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"}]],Ul=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Dl=[["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-(.+)$/,([,t])=>{if(U[t])return{"object-position":U[t]};if(u.bracketOfPosition(t)!=null)return{"object-position":u.bracketOfPosition(t).split(" ").map(e=>u.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(U).join("|")})`}]],Vl=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...C("bg-blend","background-blend")],Gl=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...C("mix-blend")],ql=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Cn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},oi={preflightKeys:Object.keys(Cn)},ii="var(--un-border-spacing-x) var(--un-border-spacing-y)",Hl=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.spacing?.[t]??u.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":ii}},{custom:oi,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":ii}},{custom:oi,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"}]],zn={"--un-pan-x":O,"--un-pan-y":O,"--un-pinch-zoom":O},$n={preflightKeys:Object.keys(zn)},wn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Yl=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":wn}),{custom:$n,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":wn}),{custom:$n}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":wn},{custom:$n}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...C("touch","touch-action")],jn={"--un-ordinal":O,"--un-slashed-zero":O,"--un-numeric-figure":O,"--un-numeric-spacing":O,"--un-numeric-fraction":O},$t={preflightKeys:Object.keys(jn)};function wt(t){return{...t,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Kl=[[/^ordinal$/,()=>wt({"--un-ordinal":"ordinal"}),{custom:$t,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>wt({"--un-slashed-zero":"slashed-zero"}),{custom:$t,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>wt({"--un-numeric-figure":"lining-nums"}),{custom:$t,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>wt({"--un-numeric-figure":"oldstyle-nums"}),{custom:$t,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>wt({"--un-numeric-spacing":"proportional-nums"}),{custom:$t,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>wt({"--un-numeric-spacing":"tabular-nums"}),{custom:$t,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>wt({"--un-numeric-fraction":"diagonal-fractions"}),{custom:$t,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>wt({"--un-numeric-fraction":"stacked-fractions"}),{custom:$t,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]],Xl={"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"},Zl=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Xl[t];if(r)return{[r]:u.cssvar(e)}}]],Jl=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],li=[Ar,Zl,_r,Bo,er,Il,rr,Qe,Ve,He,Ol,Ul,Ke,Ge,Ue,Ye,vr,Xe,Je,yr,br,Ne,Hl,wr,yl,tr,Yl,or,nr,Ll,wl,Pe,jl,oe,ne,re,Ie,qe,Fl,Al,De,Cl,zl,fr,ir,lr,Me,Fe,$l,Te,$r,Dl,xr,_e,Cr,cr,Ae,Sr,dr,Tl,ur,Kl,We,pr,Er,zr,jr,Bl,Wl,Nl,Sl,kl,Le,Vl,Gl,gr,Re,hr,El,Pl,kr,Oe,ar,sr,Ml,Be,Jl,ql,mr,Ze].flat(1);var ci=[...un];var Mr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Mr).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var fi={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},di={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 rgb(0 0 0 / 0)"},ui={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(",")},pi={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"]},mi={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},hi={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},gi={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},bi={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},On={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},yi={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},xi=On,Mn={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},vi={...Mn},$i={DEFAULT:"1px",none:"0"},wi={DEFAULT:"1rem",none:"0",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},ki={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Si={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Ei={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Ci={DEFAULT:"3px",none:"0"},zi={auto:"auto"},ji={mouse:"(hover) and (pointer: fine)"},Ai={...Ut,...It,...Nt},ft={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},_i={auto:"auto",...ft,screen:"100vw"},An={none:"none",...ft,screen:"100vw"},Ri={auto:"auto",...ft,screen:"100vb"},Pi={auto:"auto",...ft,screen:"100vi"},Oi={auto:"auto",...ft,screen:"100vh"},_n={none:"none",...ft,screen:"100vh"},Rn={none:"none",...ft,screen:"100vb"},Pn={none:"none",...ft,screen:"100vi"},Mi={...ft},Ql={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)"},tc={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},ie={width:_i,height:Oi,maxWidth:An,maxHeight:_n,minWidth:An,minHeight:_n,inlineSize:Pi,blockSize:Ri,maxInlineSize:Pn,maxBlockSize:Rn,minInlineSize:Pn,minBlockSize:Rn,colors:Mr,fontFamily:ui,fontSize:pi,fontWeight:yi,breakpoints:Mn,verticalBreakpoints:vi,borderRadius:Si,lineHeight:bi,letterSpacing:On,wordSpacing:xi,boxShadow:Ei,textIndent:mi,textShadow:gi,textStrokeWidth:hi,blur:fi,dropShadow:di,easing:Ql,transitionProperty:tc,lineWidth:$i,spacing:wi,duration:ki,ringWidth:Ci,preflightBase:Ai,containers:Mi,zIndex:zi,media:ji};var Li={...ie,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},supports:{grid:"(display: grid)"},preflightBase:{...Ut,...zn,...En,...jn,...Cn,...It,...Nt,...kn,...Sn}};var ec={name:"aria",match(t,e){let r=(0,M.variantGetParameter)("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0};function Lr(t,e,r={}){return{name:`${t}-aria`,match(n,o){let i=(0,M.variantGetParameter)(`${t}-aria-`,n,o.generator.config.separators);if(i){let[s,l,c]=i,f=u.bracket(s)??o.theme.aria?.[s]??"";if(f){let d=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${d?`[${p}${t}=""]`:`.${p}${t}`}`,g=tt(c?`/${c}`:"");return{matcher:l,handle:(h,v)=>{let w=new RegExp(`${Q(m)}${Q(g)}(?:\\[.+?\\])+`),k=h.prefix.match(w),x;if(k){let y=(k.index??0)+m.length+g.length;x=[h.prefix.slice(0,y),`[aria-${f}]`,h.prefix.slice(y)].join("")}else{let y=Math.max(h.prefix.indexOf(m),0);x=[h.prefix.slice(0,y),m,g,`[aria-${f}]`,e,h.prefix.slice(y)].join("")}return v({...h,prefix:x})}}}}},multiPass:!0}}function rc(){return{name:"has-aria",match(t,e){let r=(0,M.variantGetParameter)("has-aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,handle:(s,l)=>l({...s,pseudo:`${s.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function nc(t={}){return[Lr("group"," ",t),Lr("peer","~",t),Lr("parent",">",t),Lr("previous","+",t),rc()]}var Fi=/(max|min)-\[([^\]]*)\]:/;function oc(){let t={};return{name:"breakpoints",match(e,r){if(Fi.test(e)){let o=e.match(Fi);return{matcher:e.replace(o[0],""),handle:(i,s)=>s({...i,parent:`${i.parent?`${i.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(rt(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let l=e.match(t[o]);if(!l)continue;let[,c]=l,f=e.slice(c.length);if(f==="container")continue;let d=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),m=3e3;return d?(m-=s+1,{matcher:f,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (max-width: ${(0,M.calcMaxWidthBySize)(i)})`,parentOrder:m})}):(m+=s+1,p&&s<n.length-1?{matcher:f,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${(0,M.calcMaxWidthBySize)(n[s+1][1])})`,parentOrder:m})}:{matcher:f,handle:(g,h)=>h({...g,parent:`${g.parent?`${g.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var ic=[(0,M.variantMatcher)("*",t=>({selector:`${t.selector} > *`}),{order:-1})];function ae(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=(0,M.variantGetBracket)(`${t}-`,r,o);if(!i){for(let l of o)if(r.startsWith(`${t}${l}`)){i=["",r.slice(t.length+l.length)];break}if(!i)return}let s=u.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:l=>`${l}${e}${s}`}},multiPass:!0}}var ac=[ae("all"," "),ae("children",">"),ae("next","+"),ae("sibling","+"),ae("siblings","~")],sc={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=(0,M.variantGetParameter)("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,s=u.bracket(n),l;if(s?l=u.numberWithUnit(s):l=e.theme.containers?.[n]??"",l){let c=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(f,d)=>d({...f,parent:`${f.parent?`${f.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${l})`,parentOrder:c})}}}},multiPass:!0};function lc(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[(0,M.variantMatcher)("dark",_(e).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`}))),(0,M.variantMatcher)("light",_(r).map(n=>o=>({prefix:`${n} $$ ${o.prefix}`})))]}return[(0,M.variantParentMatcher)("dark","@media (prefers-color-scheme: dark)"),(0,M.variantParentMatcher)("light","@media (prefers-color-scheme: light)")]}var cc={name:"data",match(t,e){let r=(0,M.variantGetParameter)("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function Fr(t,e,r={}){return{name:`${t}-data`,match(n,o){let i=(0,M.variantGetParameter)(`${t}-data-`,n,o.generator.config.separators);if(i){let[s,l,c]=i,f=u.bracket(s)??o.theme.data?.[s]??"";if(f){let d=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${d?`[${p}${t}=""]`:`.${p}${t}`}`,g=tt(c?`/${c}`:"");return{matcher:l,handle:(h,v)=>{let w=new RegExp(`${Q(m)}${Q(g)}(?:\\[.+?\\])+`),k=h.prefix.match(w),x;if(k){let y=(k.index??0)+m.length+g.length;x=[h.prefix.slice(0,y),`[data-${f}]`,h.prefix.slice(y)].join("")}else{let y=Math.max(h.prefix.indexOf(m),0);x=[h.prefix.slice(0,y),m,g,`[data-${f}]`,e,h.prefix.slice(y)].join("")}return v({...h,prefix:x})}}}}},multiPass:!0}}function fc(){return{name:"has-data",match(t,e){let r=(0,M.variantGetParameter)("has-data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,handle:(s,l)=>l({...s,pseudo:`${s.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function dc(t={}){return[Fr("group"," ",t),Fr("peer","~",t),Fr("parent",">",t),Fr("previous","+",t),fc()]}var uc=[(0,M.variantMatcher)("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),(0,M.variantMatcher)("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function pc(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var mc=(0,M.variantParentMatcher)("print","@media print"),hc={name:"media",match(t,e){let r=(0,M.variantGetParameter)("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(s,l)=>l({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},gc={name:"selector",match(t,e){let r=(0,M.variantGetBracket)("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},bc={name:"layer",match(t,e){let r=(0,M.variantGetParameter)("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(s,l)=>l({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},yc={name:"uno-layer",match(t,e){let r=(0,M.variantGetParameter)("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},xc={name:"scope",match(t,e){let r=(0,M.variantGetBracket)("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},vc={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=(0,M.getBracket)(t,"[","]")??[];if(!(r&&n))return;let o;for(let l of e.generator.config.separators)if(n.startsWith(l)){o=n.slice(l.length);break}if(o==null)return;let i=u.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(l,c){let f=s?{parent:`${l.parent?`${l.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,l.selector)};return c({...l,...f})}}},multiPass:!0},$c={name:"theme-variables",match(t,e){if((0,M.hasThemeFn)(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse((0,M.transformThemeFn)(JSON.stringify(r.entries),e.theme))})}}}},Ti=/^-?[0-9.]+(?:[a-z]+|%)?$/,Bi=/-?[0-9.]+(?:[a-z]+|%)?/,wc=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function kc(t){let e=t.match(jt)||t.match(Kt);if(e){let[r,n]=St(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Sc=/\b(hue-rotate)\s*(\(.*)/;function Ec(t){let e=t.match(Sc);if(e){let[r,n]=St(e[2],"(",")"," ")??[];if(r){let o=Ti.test(r.slice(1,-1))?r.replace(Bi,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Cc={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Xt))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||wc.some(l=>l.test(n[0])))return;let i=kc(o);if(i){n[1]=i,r=!0;return}let s=Ec(o);if(s){n[1]=s,r=!0;return}Ti.test(o)&&(n[1]=o.replace(Bi,l=>l.startsWith("-")?l.slice(1):`-${l}`),r=!0)}),r?e:[]}}}};function zc(){return en({getBracket:ut.getBracket,h:u,variantGetBracket:ut.variantGetBracket})}function jc(){return rn({getBracket:ut.getBracket,h:u,variantGetBracket:ut.variantGetBracket})}function Ac(t={}){return nn(t,{getBracket:ut.getBracket,h:u,variantGetBracket:ut.variantGetBracket})}var _c=on(),Rc={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Pc={name:"supports",match(t,e){let r=(0,M.variantGetParameter)("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,l)=>l({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Tr(t){return[ec,cc,bc,gc,yc,Cc,Rc,pc(),Pc,mc,hc,oc(),...ac,...zc(),jc(),...Ac(t),_c,...lc(t),...uc,xc,...ic,sc,vc,...dc(t),...nc(t),$c]}var Oc=[zt("svg",t=>({selector:`${t.selector} svg`}))],Mc=[zt(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),zt(".light",t=>({prefix:`.light $$ ${t.prefix}`})),it("@dark","@media (prefers-color-scheme: dark)"),it("@light","@media (prefers-color-scheme: light)")],Lc=[it("contrast-more","@media (prefers-contrast: more)"),it("contrast-less","@media (prefers-contrast: less)")],Fc=[it("motion-reduce","@media (prefers-reduced-motion: reduce)"),it("motion-safe","@media (prefers-reduced-motion: no-preference)")],Tc=[it("landscape","@media (orientation: landscape)"),it("portrait","@media (orientation: portrait)")],Bc=t=>{if(!t.startsWith("_")&&(/space-[xy]-.+$/.test(t)||/divide-/.test(t)))return{matcher:t,selector:e=>{let r=">:not([hidden])~:not([hidden])";return e.includes(r)?e:`${e}${r}`}}},Wc=[zt("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];function Wi(t,e,r){return`calc(${e} + (${t} - ${e}) * ${r} / 100)`}function Ni(t,e,r){let n=[t,e],o=[];for(let s=0;s<2;s++){let l=typeof n[s]=="string"?et(n[s]):n[s];if(!l||!["rgb","rgba"].includes(l.type))return;o.push(l)}let i=[];for(let s=0;s<3;s++)i.push(Wi(o[0].components[s],o[1].components[s],r));return{type:"rgb",components:i,alpha:Wi(o[0].alpha??1,o[1].alpha??1,r)}}function Ii(t,e){return Ni("#fff",t,e)}function Ui(t,e){return Ni("#000",t,e)}function Nc(t,e){let r=Number.parseFloat(`${e}`);if(!Number.isNaN(r))return r>0?Ui(t,e):Ii(t,-r)}var Ic={tint:Ii,shade:Ui,shift:Nc};function Uc(){let t;return{name:"mix",match(e,r){t||(t=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=e.match(t);if(n)return{matcher:e.slice(n[0].length),body:o=>(o.forEach(i=>{if(i[1]){let s=et(`${i[1]}`);if(s){let l=Ic[n[1]](s,n[2]);l&&(i[1]=W(l))}}}),o)}}}}var Dc=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(xt(i,e,"accentColor")||Vc(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function Vc(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?u.bracket.percent(e[1])!=null:!1}function Di(t){return[Dc,Bc,...Tr(t),...Lc,...Tc,...Fc,...Oc,...Mc,...Wc,Uc()]}function Gc(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function qc(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${Gc(i)}`;e.set(s,i),t=t.replace(i,s)}return t}function Hc(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Yc=/\/\/#\s*sourceMappingURL=.*\n?/g;function Kc(t){return t.includes("sourceMappingURL=")?t.replace(Yc,""):t}var Xc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Zc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Jc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Qc(t){let e=[];for(let o of t.matchAll(Zc))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Xc))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=qc(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Ur).forEach(o=>{o.includes(n)&&(o=Hc(o,r)),Vt(o)&&!Jc.test(o)&&e.push(o)}),e}function Vi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Qc(Kc(t))}}}function Gi(t){if(t.preflight)return[{layer:"preflights",getCSS({theme:e,generator:r}){if(e.preflightBase){let n=Object.entries(e.preflightBase);if(t.preflight==="on-demand"){let o=new Set(Array.from(r.activatedRules).map(i=>i[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([i])=>o.has(i))}if(n.length>0){let o=Dt(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),_(e.preflightRoot??["*,::before,::after","::backdrop"]).map(i=>`${i}{${o}}`).join("")}}}}]}var tf={position:["relative","absolute","fixed","sticky","static"],globalKeyword:L},Ln=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.preflight=t.preflight??!0,t.variablePrefix=t.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:ie,rules:bn,variants:Tr(t),options:t,prefix:t.prefix,postprocess:ef(t.variablePrefix),preflights:Gi(t),extractorDefault:t.arbitraryVariants===!1?void 0:Vi(),autocomplete:{shorthands:tf}}),qi=Ln;function ef(t){if(t!=="un-")return e=>{e.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${t}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${t}`))})}}function rf(t){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function nf(t){return[..._(qi(t).postprocess),...rf(t.important)]}var Hi=(t={})=>(t.important=t.important??!1,{...Ln(t),name:"@unocss/preset-wind3",theme:Li,rules:li,shortcuts:ci,variants:Di(t),postprocess:nf(t)});var of=(t={})=>({...Hi(t),name:"@unocss/preset-uno"}),Yi=of;function af(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Ki(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Xi(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Zi=["Webkit","Moz","ms"];function Ji(t){let e={};function r(n){let o=e[n];if(o)return o;let i=af(n);if(i!=="filter"&&i in t)return e[n]=Xi(i);i=Ki(i);for(let s=0;s<Zi.length;s++){let l=`${Zi[s]}${i}`;if(l in t)return e[n]=Xi(Ki(l))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Qi(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function Fn(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}let e=window,r=window.document,n=()=>r.documentElement,o=e.__unocss||{},i=Object.assign({},t,o.runtime),s=i.defaults||{},l=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=_(s.postprocess)).unshift(Ji(r.createElement("div").style)),i.configResolved?.(o,s);let c=await Zn(o,s),f=E=>{let P=t.rootElement?.();if(P){P.appendChild(E);return}i.inject?i.inject(E):n().prepend(E)},d=()=>i.rootElement?i.rootElement():r.body,p=new Map,m=!0,g=new Set,h,v,w=[],k=()=>new Promise(E=>{w.push(E),v!=null&&clearTimeout(v),v=setTimeout(()=>b().then(()=>{let P=w;w=[],P.forEach(T=>T())}),0)});function x(E,P=!1){if(E.nodeType!==1)return;let T=E;T.hasAttribute(l)&&T.removeAttribute(l),P&&T.querySelectorAll(`[${l}]`).forEach(I=>{I.removeAttribute(l)})}function y(E,P){let T=p.get(E);if(!T)if(T=r.createElement("style"),T.setAttribute("data-unocss-runtime-layer",E),p.set(E,T),P==null)f(T);else{let I=y(P),Y=I.parentNode;Y?Y.insertBefore(T,I.nextSibling):f(T)}return T}async function b(){let E=[...g],P=await c.generate(E);return P.layers.reduce((I,Y)=>(y(Y,I).innerHTML=P.getLayer(Y)??"",Y),void 0),E.filter(I=>!P.matched.has(I)).forEach(I=>g.delete(I)),{...P,getStyleElement:I=>p.get(I),getStyleElements:()=>p}}async function $(E){let P=g.size;await c.applyExtractors(E,void 0,g),P!==g.size&&await k()}async function R(E=d()){let P=E&&E.outerHTML;P&&(await $(`${P} ${Qi(P)}`),x(n()),x(E,!0))}let H=new MutationObserver(E=>{m||E.forEach(async P=>{if(P.target.nodeType!==1)return;let T=P.target;for(let I of p)if(T===I[1])return;if(P.type==="childList")P.addedNodes.forEach(async I=>{if(I.nodeType!==1)return;let Y=I;h&&!h(Y)||(await $(Y.outerHTML),x(Y))});else{if(h&&!h(T))return;if(P.attributeName!==l){let I=Array.from(T.attributes).map(kt=>kt.value?`${kt.name}="${kt.value}"`:kt.name).join(" "),Y=`<${T.tagName.toLowerCase()} ${I}>`;await $(Y)}x(T)}})}),j=!1;function z(){if(j)return;let E=i.observer?.target?i.observer.target():d();E&&(H.observe(E,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),j=!0)}function A(){i.bypassDefined&&sf(c.blocked),R(),z()}function G(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",A):A()}let q=e.__unocss_runtime=e.__unocss_runtime={version:c.version,uno:c,async extract(E){B(E)||(E.forEach(P=>g.add(P)),E=""),await $(E)},extractAll:R,inspect(E){h=E},toggleObserver(E){E===void 0?m=!m:m=!!E,!j&&!m&&G()},update:b,presets:e.__unocss_runtime?.presets??{}};i.ready?.(q)!==!1&&(m=!1,G())}function sf(t=new Set){for(let e=0;e<document.styleSheets.length;e++){let r=document.styleSheets[e],n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),t.add(o))})}catch{continue}}return t}Fn({defaults:{presets:[no(),Yi(),jo(),oo()]}});})();
|