@unocss/runtime 0.65.4 → 65.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- "use strict";(()=>{var Oa=Object.defineProperty;var Aa=(t,e)=>{for(var r in e)Oa(t,r,{get:e[r],enumerable:!0})};var rr=/[\\:]?[\s'"`;{}]+/g;function _(t=[]){return Array.isArray(t)?t:[t]}function rt(t){return typeof t=="string"}function I(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function D(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 Va=/[\w\u00A0-\uFFFF%-?]/;function Yr(t=""){return Va.test(t)}function _a(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})}function Zr(t){return t==null?"":_a(t).map(([e,r])=>r!=null&&typeof r!="function"?`${e}:${r};`:void 0).filter(Boolean).join("")}function Pa(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 Jr(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Pa(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function Qr(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Wa=/\/\/#\s*sourceMappingURL=.*\n?/g;function tn(t){return t.includes("sourceMappingURL=")?t.replace(Wa,""):t}var La=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ma=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ba=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Na(t){let e=[];for(let o of t.matchAll(Ma))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(La))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Jr(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(rr).forEach(o=>{o.includes(n)&&(o=Qr(o,r)),Yr(o)&&!Ba.test(o)&&e.push(o)}),e}function en(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Na(tn(t))}}}function rn(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=Zr(n);return t.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${t.variablePrefix}`)),_(e.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function nt(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let c=0;c<n;c++)switch(t[c]){case e:i||(i=!0,a=c),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,c+1),t.slice(c+1),t.slice(0,a)];break}}function K(t,e,r,n){if(t===""||(rt(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 c of n){let l=c.length;if(l&&c===t.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[t.slice(0,a),t.slice(a+l)]}}return[t,""]}function Y(t,e,r){r=r??10;let n=[],o=0;for(;t!=="";){if(++o>r)return;let i=K(t,"(",")",e);if(!i)return;let[a,c]=i;n.push(a),t=c}if(n.length>0)return n}var nr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],nn=["%alpha","<alpha-value>"],Ua=new RegExp(nn.map(t=>I(t)).join("|"));function P(t=""){let e=Ia(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(nr.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 B(t){let e=t.alpha??1;return typeof e=="string"&&nn.includes(e)?1:e}function k(t,e){if(typeof t=="string")return t.replace(Ua,`${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}`,nr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Ia(t){if(!t)return;let e=Da(t);if(e!=null||(e=Ka(t),e!=null)||(e=qa(t),e!=null)||(e=Ha(t),e!=null)||(e=Xa(t),e!=null))return e}function Da(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:let r=Array.from(e,o=>Number.parseInt(o,16)).map(o=>o<<4|o);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 n=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:e.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Ka(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function qa(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=Y(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 Ga=new RegExp(`^(${nr.join("|")})\\((.+)\\)$`,"i");function Ha(t){let e=t.match(Ga);if(!e)return;let[,r,n]=e,o=on(`${r} ${n}`);if(o){let{alpha:i,components:[a,...c]}=o;return{type:a,components:c,alpha:i}}}function Xa(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=on(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function on(t){let e=Y(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=Y(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}}function _t(t){let e=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=t[i](n);if(a!=null)return a}};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 an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ln=new Uint8Array(64),Ya=new Uint8Array(128);for(let t=0;t<an.length;t++){let e=an.charCodeAt(t);ln[t]=e,Ya[e]=t}function mt(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(ln[o])}while(n>0);return e}var sn=1024*16,cn=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}},or=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(sn)}write(e){let{buffer:r}=this;r[this.pos++]=e,this.pos===sn&&(this.out+=cn.decode(r),this.pos=0)}flush(){let{buffer:e,out:r,pos:n}=this;return n>0?r+cn.decode(e.subarray(0,n)):r}};function un(t){let e=new or,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let c=t[a];if(a>0&&e.write(59),c.length===0)continue;let l=0;for(let u=0;u<c.length;u++){let p=c[u];u>0&&e.write(44),l=mt(e,p[0],l),p.length!==1&&(r=mt(e,p[1],r),n=mt(e,p[2],n),o=mt(e,p[3],o),p.length!==4&&(i=mt(e,p[4],i)))}}return e.flush()}var Pt=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))}},Wt=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 Za(){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 Ja=Za(),ir=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=un(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,"+Ja(this.toString())}};function Qa(t){let e=t.split(`
2
- `),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,a)=>{let c=/^ +/.exec(a)[0].length;return Math.min(c,i)},1/0);return new Array(o+1).join(" ")}function ts(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 es=Object.prototype.toString;function rs(t){return es.call(t)==="[object Object]"}function fn(t){let e=t.split(`
3
- `),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,a=r.length;for(;i<a;){let u=i+a>>1;o<r[u]?a=u:i=u+1}let c=i-1,l=o-r[c];return{line:c,column:l}}}var ns=/\w/,ar=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,a=r.indexOf(`
4
- `,0),c=-1;for(;a>=0&&i>a;){let u=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,c=a,a=r.indexOf(`
5
- `,a+1)}let l=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(r.slice(c+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let a=r.start,c=!0,l=!1;for(;a<r.end;){if(n[a]===`
6
- `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,c=!0,l=!1;else{if(this.hires||c||i.has(a)){let u=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?ns.test(n[a])?l||(this.rawSegments.push(u),l=!0):(this.rawSegments.push(u),l=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,c=!1}a+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
7
- `);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}},ht=`
8
- `,ot={insertLeft:!1,insertRight:!1,storeName:!1},Lt=class t{constructor(e,r={}){let n=new Wt(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 Pt},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 Pt(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 ar(e.hires),i=fn(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let c=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,c,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,c,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?ts(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 ir(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Qa(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(rs(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(p=>{for(let b=p[0];b<p[1];b+=1)o[b]=!0});let i=r.indentStart!==!1,a=u=>i?`${e}${u}`:(i=!0,u);this.intro=this.intro.replace(n,a);let c=0,l=this.firstChunk;for(;l;){let u=l.end;if(l.edited)o[c]||(l.content=l.content.replace(n,a),l.content.length&&(i=l.content[l.content.length-1]===`
9
- `));else for(c=l.start;c<u;){if(!o[c]){let p=this.original[c];p===`
10
- `?i=!0:p!=="\r"&&i&&(i=!1,c===l.start||(this._splitChunk(l,c),l=l.next),l.prependRight(e))}c+=1}c=l.end,l=l.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 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],a=o.previous,c=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let u=l?l.previous:this.lastChunk;return a&&(a.next=c),c&&(c.previous=a),u&&(u.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=l||null,u||(this.firstChunk=o),l||(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,a=o!==void 0?o.overwrite:!1;if(i){let u=this.original.slice(e,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}let c=this.byStart[e],l=this.byEnd[r];if(c){let u=c;for(;u!==l;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}c.edit(n,i,!a)}else{let u=new Wt(e,r,"").edit(n,i);l.next=u,u.previous=l}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(ht);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(ht),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(ht),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(ht),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(ht),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 c=i===o?e-o.start:0,l=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(c,l),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=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=fn(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,(c,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,a,i.groups)}function o(i,a){let c,l=[];for(;c=i.exec(a);)l.push(c);return l}if(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let c=n(a,this.original);c!==a[0]&&this.overwrite(a.index,a.index+a[0].length,c)}});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&&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))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);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 os=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function pn(t){return t.includes("theme(")&&t.includes(")")}function dn(t,e,r=!0){let n=Array.from(t.toString().matchAll(os));if(!n.length)return t;let o=new Lt(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let c=is(a,e,r);c&&o.overwrite(i.index,i.index+i[0].length,c)}return o.toString()}function is(t,e,r=!0){let[n,o]=t.split("/"),a=n.trim().split(".").reduce((c,l)=>c?.[l],e);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let c=P(a);c&&(a=k(c,o))}return a}else if(r)throw new Error(`theme of "${t}" did not found`)}function E(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${I(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,c)=>c({...a,...e(a)})}},autocomplete:`${t}:`}}function z(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${I(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function q(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=nt(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 R(t,e,r){if(e.startsWith(t)){let n=q(t,e,r);if(n){let[o="",i=n[1]]=R("/",n[1],r)??[];return[n[0],i,o]}for(let o of r.filter(i=>i!=="/")){let i=e.indexOf(o,t.length);if(i!==-1){let a=e.indexOf("/",t.length),c=a===-1||i<=a;return[e.slice(t.length,c?i:a),e.slice(i+o.length),c?"":e.slice(a+1,i)]}}}}var pr={};Aa(pr,{auto:()=>cs,bracket:()=>ms,bracketOfColor:()=>hs,bracketOfLength:()=>gs,bracketOfPosition:()=>bs,cssvar:()=>xs,degree:()=>vs,fraction:()=>ds,global:()=>ws,number:()=>fs,numberWithUnit:()=>ss,percent:()=>ps,position:()=>$s,properties:()=>ks,px:()=>us,rem:()=>ls,time:()=>ys});var C={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"]},sr={...C,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"]},cr={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"]},hn={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},gn=["x","y","z"],mn=["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"],S=Object.assign({},...mn.map(t=>({[t.replace(/ /,"-")]:t})),...mn.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),h=["inherit","initial","revert","revert-layer","unset"],gt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Mt=/^(var)\s*\((.+)\)(.*)/;var it=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,lr=/^(-?\d*(?:\.\d+)?)$/,ur=/^(px|[sld]?v[wh])$/i,fr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Bt=/^\[(color|image|length|size|position|quoted|string):/i,bn=/,(?![^()]*\))/g;var as=["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 T(t){return+t.toFixed(10)}function ss(t){let e=t.match(it);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${T(o)}${n}`}function cs(t){if(t==="auto"||t==="a")return"auto"}function ls(t){if(!t)return;if(ur.test(t))return`${fr[t]}${t}`;let e=t.match(it);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${T(o)}${n}`:`${T(o/4)}rem`}function us(t){if(ur.test(t))return`${fr[t]}${t}`;let e=t.match(it);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${T(o)}${n}`:`${T(o)}px`}function fs(t){if(!lr.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return T(e)}function ps(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!lr.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${T(e/100)}`}function ds(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":`${T(n*100)}%`}function Nt(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(Bt);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 c=[];return a.replace(/var\((--.+?)[,)]/g,(l,u)=>(c.push(u),l.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>c.shift())})}}function ms(t){return Nt(t)}function hs(t){return Nt(t,"color")}function gs(t){return Nt(t,"length")}function bs(t){return Nt(t,"position")}function xs(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${D(e)}${r?`, ${r}`:""})`}}function ys(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?`${T(o)}${n}`:`${T(o)}ms`}function vs(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?"0":n?`${T(o)}${n}`:`${T(o)}deg`}function ws(t){if(h.includes(t))return t}function ks(t){if(t.split(",").every(e=>as.includes(e)))return t}function $s(t){if(["top","left","right","bottom","center"].includes(t))return t}var Ss=_t(pr),s=Ss;var xn={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(h.map(t=>[t,t]))},Ut=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,t])=>({"vertical-align":xn[t]??s.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(xn).join("|")})`,"(vertical|align|v)-<percentage>"]}]],yn=["center","left","right","justify","start","end"],It=[...yn.map(t=>[`text-${t}`,{"text-align":t}]),...[...h,...yn].map(t=>[`text-align-${t}`,{"text-align":t}])];var $n="$$mini-no-negative";function w(t){return([e,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??s.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return C[r].map(a=>[`${t}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return C[r].map(c=>[`${t}${c}`,`calc(${a} * -1)`])}}}function vn(t,e,r="colors"){let n=t[r],o=-1;for(let i of e){if(o+=1,n&&typeof n!="string"){let a=e.slice(o).join("-").replace(/(-[a-z])/g,c=>c.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function wn(t,e,r){return vn(t,e,r)||vn(t,e,"colors")}function mr(t,e){let[r,n]=K(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Bt)??[])[1];if(o==null||o===e)return[r,n]}}function at(t,e,r){let n=mr(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[c]=a;if(!c)return;let l,u=s.bracketOfColor(o),p=u||o;if(s.numberWithUnit(p))return;if(/^#[\da-f]+$/i.test(p)?l=p:/^hex-[\da-fA-F]+$/.test(p)?l=`#${p.slice(4)}`:o.startsWith("$")&&(l=s.cssvar(o)),l=l||u,!l){let m=wn(e,[o],r);typeof m=="string"&&(l=m)}let b="DEFAULT";if(!l){let m=a,f,[g]=a.slice(-1);/^\d+$/.test(g)&&(b=f=g,m=a.slice(0,-1));let x=wn(e,m,r);typeof x=="object"?l=x[f??b]:typeof x=="string"&&!f&&(l=x)}return{opacity:i,name:c,no:b,color:l,cssColor:P(l),alpha:s.bracket.cssvar.percent(i??"")}}function v(t,e,r,n){return([,o],{theme:i,generator:a})=>{let c=at(o,i,r);if(!c)return;let{alpha:l,color:u,cssColor:p}=c,m=a.config.envMode==="dev"&&u?` /* ${u} */`:"",f={};if(p)if(l!=null)f[t]=k(p,l)+m;else{let g=`--un-${e}-opacity`,x=k(p,`var(${g})`);x.includes(g)&&(f[g]=B(p)),f[t]=x+m}else if(u)if(l!=null)f[t]=k(u,l)+m;else{let g=`--un-${e}-opacity`,x=k(u,`var(${g})`);x.includes(g)&&(f[g]=1),f[t]=x+m}if(n?.(f)!==!1)return f}}function st(t,e){let r=[];t=_(t);for(let n=0;n<t.length;n++){let o=Y(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 c="",l=o.at(-1);if(P(o.at(0))){let u=P(o.shift());u&&(c=`, ${k(u)}`)}else if(P(l)){let u=P(o.pop());u&&(c=`, ${k(u)}`)}else l&&Mt.test(l)&&(c=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${c})`)}return r}function ct(t,e,r){return t!=null&&!!at(t,e,r)?.color}var kn=/[a-z]+/gi,dr=new WeakMap;function Z({theme:t,generator:e},r="breakpoints"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(dr.has(t))return dr.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(kn,""))-Number.parseInt(a[1].replace(kn,""))).map(([i,a])=>({point:i,size:a}));return dr.set(t,o),o}function d(t,e){return h.map(r=>[`${t}-${r}`,{[e??t]:r}])}function j(t){return t!=null&&gt.test(t)}function Sn(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),gt.test(t)||it.test(t)}function Dt(t,e,r){let n=e.split(bn);return t||!t&&n.length===1?hn[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${gn[i]}`,o])}var Kt=[[/^outline-(?:width-|size-)?(.+)$/,Cn,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Cs,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,t],{theme:e})=>({"outline-offset":e.lineWidth?.[t]??s.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...h].map(t=>[`outline-${t}`,{"outline-style":t}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function Cn([,t],{theme:e}){return{"outline-width":e.lineWidth?.[t]??s.bracket.cssvar.global.px(t)}}function Cs(t,e){return j(s.bracket(t[1]))?Cn(t,e):v("outline-color","outline-color","borderColor")(t,e)}var qt=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Rs(t){return s.properties.auto.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Gt=[[/^will-change-(.+)/,([,t])=>({"will-change":Rs(t)})]];var J=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...h],Ht=[[/^(?:border|b)()(?:-(.+))?$/,V,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,V],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,V],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,V],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,V],[/^(?:border|b)-()(?:width|size)-(.+)$/,V,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-()(?:color-)?(.+)$/,bt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,bt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,bt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,bt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,bt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,xt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,xt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,xt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,xt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,xt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,yt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,yt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,yt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,yt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,yt],[/^(?:border|b)-(?:style-)?()(.+)$/,vt,{autocomplete:["(border|b)-style",`(border|b)-(${J.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${J.join("|")})`,`(border|b)-<directions>-style-(${J.join("|")})`,`(border|b)-style-(${J.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,vt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,vt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,vt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,vt]];function Rn(t,e,r){if(e!=null)return{[`border${r}-color`]:k(t,e)};if(r===""){let n={},o="--un-border-opacity",i=k(t,`var(${o})`);return i.includes(o)&&(n[o]=typeof t=="string"?1:B(t)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=k(t,`var(${i})`);return a.includes(i)&&(n[o]=typeof t=="string"?1:B(t),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function Es(t){return([,e],r)=>{let n=at(e,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return Rn(a,o,t);if(i)return Rn(i,o,t)}}function V([,t="",e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??s.bracket.cssvar.global.px(e||"1");if(t in C&&n!=null)return C[t].map(o=>[`border${o}-width`,n])}function bt([,t="",e],r){if(t in C){if(j(s.bracket(e)))return V(["",t,e],r);if(ct(e,r.theme,"borderColor"))return Object.assign({},...C[t].map(n=>Es(n)(["",e],r.theme)))}}function xt([,t="",e]){let r=s.bracket.percent.cssvar(e);if(t in C&&r!=null)return C[t].map(n=>[`--un-border${n}-opacity`,r])}function yt([,t="",e],{theme:r}){let n=r.borderRadius?.[e||"DEFAULT"]||s.bracket.cssvar.global.fraction.rem(e||"1");if(t in cr&&n!=null)return cr[t].map(o=>[`border${o}-radius`,n])}function vt([,t="",e]){if(J.includes(e)&&t in C)return C[t].map(r=>[`border${r}-style`,e])}var Xt=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:s.bracket.percent.cssvar(t)})]],zs=/^\[url\(.+\)\]$/,Ts=/^\[(?:length|size):.+\]$/,js=/^\[position:.+\]$/,Os=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,As=/^\[image:.+\]$/,Yt=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(zs.test(e))return{"--un-url":s.bracket(e),"background-image":"var(--un-url)"};if(Ts.test(e)&&s.bracketOfLength(e)!=null)return{"background-size":s.bracketOfLength(e).split(" ").map(r=>s.fraction.auto.px.cssvar(r)??r).join(" ")};if((Sn(e)||js.test(e))&&s.bracketOfPosition(e)!=null)return{"background-position":s.bracketOfPosition(e).split(" ").map(r=>s.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Os.test(e)||As.test(e)){let r=s.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:s.cssvar(r))??r}}return v("background-color","bg","backgroundColor")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Zt=[[/^color-scheme-(\w+)$/,([,t])=>({"color-scheme":t})]];var Jt=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]];var En=["solid","double","dotted","dashed","wavy",...h],Qt=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,zn,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Fs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t],{theme:e})=>({"text-underline-offset":e.lineWidth?.[t]??s.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...En.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...En.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function zn([,t],{theme:e}){return{"text-decoration-thickness":e.lineWidth?.[t]??s.bracket.cssvar.global.px(t)}}function Fs(t,e){if(j(s.bracket(t[1])))return zn(t,e);let r=v("text-decoration-color","line","borderColor")(t,e);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var te=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:s.bracket(t)!=null?s.bracket(t).split(" ").map(e=>s.cssvar.fraction(e)??e).join(" "):s.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":s.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":s.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t],{theme:e})=>({"flex-basis":e.spacing?.[t]??s.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 Vs={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function hr([,t="",e],{theme:r}){let n=r.spacing?.[e]??s.bracket.cssvar.global.rem(e);if(n!=null)return{[`${Vs[t]}gap`]:n}}var ee=[[/^(?:flex-|grid-)?gap-?()(.+)$/,hr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,hr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,hr,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function W(t){return t.replace("col","column")}function gr(t){return t[0]==="r"?"Row":"Column"}function _s(t,e,r){let n=e[`gridAuto${gr(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 s.bracket.cssvar.auto.rem(r)}var re=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e],{theme:r})=>({[`grid-${W(t)}`]:r[`grid${gr(t)}`]?.[e]??s.bracket.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${W(t)}`]:"1/-1"};let r=s.bracket.number(e);if(r!=null)return{[`grid-${W(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${W(t)}-start`]:s.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${W(t)}-end`]:s.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e],{theme:r})=>({[`grid-auto-${W(t)}`]:_s(t,r,e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":s.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":W(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-${W(t)}`]:r[`gridTemplate${gr(t)}`]?.[e]??s.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${W(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${W(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":s.cssvar(e)??e.split("-").map(r=>`"${s.bracket(r)}"`).join(" ")}:{"grid-area":s.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 ne=["auto","hidden","clip","visible","scroll","overlay",...h],oe=[[/^(?:overflow|of)-(.+)$/,([,t])=>ne.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${ne.join("|")})`,`(overflow|of)-(x|y)-(${ne.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>ne.includes(e)?{[`overflow-${t}`]:e}:void 0]];var ie=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>h.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],kt=[["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"}],...d("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"}],...d("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"}],...d("justify-self")],ae=[[/^order-(.+)$/,([,t])=>({order:s.bracket.cssvar.number(t)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],$t=[["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"}],...d("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"}],...d("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"}],...d("self","align-self")],St=[["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"}],...d("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"}],...d("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"}],...d("place-self")],se=[...kt,...$t,...St].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function br(t,{theme:e}){return e.spacing?.[t]??s.bracket.cssvar.global.auto.fraction.rem(t)}function wt([,t,e],r){let n=br(e,r);if(n!=null&&t in sr)return sr[t].map(o=>[o.slice(1),n])}var ce=[[/^(?:position-|pos-)?inset-(.+)$/,([,t],e)=>({inset:br(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)-(.+)$/,wt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,wt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,wt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,wt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,wt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e],r)=>({[t]:br(e,r)})]],le=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...d("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"}],...d("clear")],ue=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":s.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t],{theme:e})=>({"z-index":e.zIndex?.[t]??s.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],fe=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...d("box","box-sizing")];var pe=[[/^(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 Ps=["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"],Ws=["none","strict","content","size","inline-size","layout","style","paint"],y=" ",de=[["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:s.bracket.cssvar.global(t)})]],me=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...d("backface","backface-visibility")],he=[[/^cursor-(.+)$/,([,t])=>({cursor:s.bracket.cssvar.global(t)})],...Ps.map(t=>[`cursor-${t}`,{cursor:t}])],ge=[[/^contain-(.*)$/,([,t])=>s.bracket(t)!=null?{contain:s.bracket(t).split(" ").map(e=>s.cssvar.fraction(e)??e).join(" ")}:Ws.includes(t)?{contain:t}:void 0]],be=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...d("pointer-events")],xe=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...d("resize")],ye=[["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"}],...d("select","user-select")],ve=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...h].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],we=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":s.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"}],...d("content-visibility")],ke=[[/^content-(.+)$/,([,t])=>({content:s.bracket.cssvar(t)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],$e=[["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"}]],Se=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Ce=[["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"}]],Re=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...d("case","text-transform")],Ee=[["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"}]],ze=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]];var Ct={"--un-ring-inset":y,"--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)"},Ls=Object.keys(Ct),Te=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??s.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:Ls},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Tn,{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]??s.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Ms,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,v("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Tn([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??s.bracket.cssvar.px(t)}}function Ms(t,e){return j(s.bracket(t[1]))?Tn(t,e):v("--un-ring-color","ring","borderColor")(t,e)}var Rt={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":y,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Bs=Object.keys(Rt),je=[[/^shadow(?:-(.+))?$/,(t,e)=>{let[,r]=t,{theme:n}=e,o=n.boxShadow?.[r||"DEFAULT"],i=r?s.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!ct(i,n,"shadowColor")?{"--un-shadow":st(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:v("--un-shadow-color","shadow","shadowColor")(t,e)},{custom:{preflightKeys:Bs},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Ns={h:"height",w:"width",inline:"inline-size",block:"block-size"};function Q(t,e){return`${t||""}${Ns[e]}`}function Oe(t,e,r,n){let o=Q(t,e).replace(/-(\w)/g,(a,c)=>c.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return s.bracket.cssvar.global.auto.fraction.rem(n)}var Ae=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[Q(t,"w")]:Oe(t,"w",r,e),[Q(t,"h")]:Oe(t,"h",r,e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[Q(t,e)]:Oe(t,e,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[Q(t,e)]:Oe(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)=>({[Q(t,e)]:jn(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[Q(t,e)]:jn(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 jn(t,e,r="breakpoints"){let n=Z(t,r);if(n)return n.find(o=>o.point===e)?.size}function Us(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return s.bracket.cssvar.global.auto.number(t)}var Fe=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Us(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var Ve=[[/^pa?()-?(.+)$/,w("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,w("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,w("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,w("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,w("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,w("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],_e=[[/^ma?()-?(.+)$/,w("margin")],[/^m-?xy()()$/,w("margin")],[/^m-?([xy])(?:-?(.+))?$/,w("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,w("margin")],[/^m-(block|inline)(?:-(.+))?$/,w("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,w("margin")]];var Pe=[[/^fill-(.+)$/,v("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,On,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":s.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t],{theme:e})=>({"stroke-dashoffset":e.lineWidth?.[t]??s.bracket.cssvar.px.numberWithUnit(t)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Is,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":s.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 On([,t],{theme:e}){return{"stroke-width":e.lineWidth?.[t]??s.bracket.cssvar.fraction.px.number(t)}}function Is(t,e){return j(s.bracket(t[1]))?On(t,e):v("stroke","stroke","borderColor")(t,e)}var We=["translate","rotate","scale"],Ds=["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(" "),lt=["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(" "),Ks=["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(" "),Et={"--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},L=Object.keys(Et),Le=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":S[t]??s.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(S).join("|")})`,`origin-(${Object.keys(S).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=s.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=s.bracket.cssvar(t)??(t.length>=3?S[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,An,{custom:{preflightKeys:L}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,An,{custom:{preflightKeys:L}}],[/^(?:transform-)?rotate-()(.+)$/,Vn,{custom:{preflightKeys:L}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Vn,{custom:{preflightKeys:L}}],[/^(?:transform-)?skew-()(.+)$/,_n,{custom:{preflightKeys:L}}],[/^(?:transform-)?skew-([xy])-(.+)$/,_n,{custom:{preflightKeys:L},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Fn,{custom:{preflightKeys:L}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Fn,{custom:{preflightKeys:L},autocomplete:[`transform-(${We.join("|")})-<percent>`,`transform-(${We.join("|")})-(x|y|z)-<percent>`,`(${We.join("|")})-<percent>`,`(${We.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:lt},{custom:{preflightKeys:L}}],["transform-cpu",{transform:Ds},{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:Ks},{custom:{preflightKeys:L}}],["transform-none",{transform:"none"}],...d("transform")];function An([,t,e],{theme:r}){let n=r.spacing?.[e]??s.bracket.cssvar.fraction.rem(e);if(n!=null)return[...Dt(t,n,"translate"),["transform",lt]]}function Fn([,t,e]){let r=s.bracket.cssvar.fraction.percent(e);if(r!=null)return[...Dt(t,r,"scale"),["transform",lt]]}function Vn([,t="",e]){let r=s.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:lt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:lt}}function _n([,t,e]){let r=s.bracket.cssvar.degree(e);if(r!=null)return[...Dt(t,r,"skew"),["transform",lt]]}function Pn(t,e){let r;if(s.cssvar(t)!=null)r=s.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.transitionProperty?.[o]??s.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Me=[[/^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??s.time("150")};if(t!=null){let n=Pn(t,r),o=r.duration?.[e||"DEFAULT"]??s.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]??s.time(e)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,t],{theme:e})=>({"transition-duration":e.duration?.[t||"DEFAULT"]??s.bracket.cssvar.time(t)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,t],{theme:e})=>({"transition-delay":e.duration?.[t||"DEFAULT"]??s.bracket.cssvar.time(t)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,t],{theme:e})=>({"transition-timing-function":e.easing?.[t||"DEFAULT"]??s.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=s.global(t)||Pn(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...h].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...d("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var Be=[[/^text-(.+)$/,Gs,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Wn,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,qs,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,v("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,t])=>h.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${h.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,t],{theme:e})=>({"font-weight":e.fontWeight?.[t]||s.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":xr(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":s.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>({"letter-spacing":e.letterSpacing?.[t]||s.bracket.cssvar.global.rem(t)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>({"word-spacing":e.wordSpacing?.[t]||s.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":s.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>({"font-family":e.fontFamily?.[t]||s.bracket.cssvar.global(t)}),{autocomplete:"font-$fontFamily"}]],Ne=[[/^tab(?:-(.+))?$/,([,t])=>{let e=s.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Ue=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>({"text-indent":e.textIndent?.[t||"DEFAULT"]||s.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"indent-$textIndent"}]],Ie=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>({"-webkit-text-stroke-width":e.textStrokeWidth?.[t||"DEFAULT"]||s.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,v("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],De=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.textShadow?.[t||"DEFAULT"];return r!=null?{"--un-text-shadow":st(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":s.bracket.cssvar.global(t)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,v("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":s.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function xr(t,e,r){return e[r]?.[t]||s.bracket.cssvar.global.rem(t)}function Wn([,t],{theme:e}){let n=_(e.fontSize?.[t])?.[0]??s.bracket.cssvar.global.rem(t);if(n!=null)return{"font-size":n}}function qs(t,e){return j(s.bracket(t[1]))?Wn(t,e):v("color","text","textColor")(t,e)}function Gs([,t="base"],{theme:e}){let r=mr(t,"length");if(!r)return;let[n,o]=r,i=_(e.fontSize?.[n]),a=o?xr(o,e,"lineHeight"):void 0;if(i?.[0]){let[l,u,p]=i;return typeof u=="object"?{"font-size":l,...u}:{"font-size":l,"line-height":a??u??"1","letter-spacing":p?xr(p,e,"letterSpacing"):void 0}}let c=s.bracketOfLength.rem(n);return a&&c?{"font-size":c,"line-height":a}:{"font-size":s.bracketOfLength.rem(t)}}var Hs={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"},Ke=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Hs[t];if(r)return{[r]:s.cssvar(e)}}]],qe=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Ys(e)&&/^[a-z-]+$/.test(r)&&Xs(o)){let i=s.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Xs(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 Ys(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var Ln=[Ke,qe,ge,be,me,ie,ce,ue,ae,re,le,_e,fe,de,Fe,Ae,te,Le,he,ye,xe,qt,St,$t,kt,ee,se,oe,Ce,ve,$e,Ht,Yt,Zt,Pe,Ve,It,Ue,Se,Ut,Be,Re,Ee,Qt,ze,Ne,Ie,De,Xt,je,Kt,Te,Me,Gt,we,ke,Jt,pe].flat(1);var Mn={position:["relative","absolute","fixed","sticky","static"],globalKeyword:h};var yr={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(yr).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 Bn={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Nn={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 Un={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(",")},In={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},Dn={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},Kn={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},qn={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)"]},Gn={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},vr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Hn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Xn=vr;var wr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Yn={...wr},Zn={DEFAULT:"1px",none:"0"},Jn={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"},Qn={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},to={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},eo={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)"},ro={DEFAULT:"3px",none:"0"},no={auto:"auto"},oo={mouse:"(hover) and (pointer: fine)"};var io={...Et,...Rt,...Ct};var zt={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},kr={auto:"auto",...zt,screen:"100vw"},Tt={none:"none",...zt,screen:"100vw"},$r={auto:"auto",...zt,screen:"100vh"},jt={none:"none",...zt,screen:"100vh"},ao={...zt};var so={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)"},co={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 lo={width:kr,height:$r,maxWidth:Tt,maxHeight:jt,minWidth:Tt,minHeight:jt,inlineSize:kr,blockSize:$r,maxInlineSize:Tt,maxBlockSize:jt,minInlineSize:Tt,minBlockSize:jt,colors:yr,fontFamily:Un,fontSize:In,fontWeight:Hn,breakpoints:wr,verticalBreakpoints:Yn,borderRadius:to,lineHeight:Gn,letterSpacing:vr,wordSpacing:Xn,boxShadow:eo,textIndent:Dn,textShadow:qn,textStrokeWidth:Kn,blur:Bn,dropShadow:Nn,easing:so,transitionProperty:co,lineWidth:Zn,spacing:Jn,duration:Qn,ringWidth:ro,preflightBase:io,containers:ao,zIndex:no,media:oo};var uo={name:"aria",match(t,e){let r=R("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}}};function Ge(t){return{name:`${t}-aria`,match(e,r){let n=R(`${t}-aria-`,e,r.generator.config.separators);if(n){let[o,i]=n,a=s.bracket(o)??r.theme.aria?.[o]??"";if(a)return{matcher:`${t}-[[aria-${a}]]:${i}`}}}}}var fo=[Ge("group"),Ge("peer"),Ge("parent"),Ge("previous")];function po(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)`}var mo=/(max|min)-\[([^\]]*)\]:/;function ho(){let t={};return{name:"breakpoints",match(e,r){if(mo.test(e)){let o=e.match(mo);return{matcher:e.replace(o[0],""),handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Z(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 c=e.match(t[o]);if(!c)continue;let[,l]=c,u=e.slice(l.length);if(u==="container")continue;let p=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),b=l.startsWith("at-")||l.startsWith("~"),m=3e3;return p?(m-=a+1,{matcher:u,handle:(f,g)=>g({...f,parent:`${f.parent?`${f.parent} $$ `:""}@media (max-width: ${po(i)})`,parentOrder:m})}):(m+=a+1,b&&a<n.length-1?{matcher:u,handle:(f,g)=>g({...f,parent:`${f.parent?`${f.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${po(n[a+1][1])})`,parentOrder:m})}:{matcher:u,handle:(f,g)=>g({...f,parent:`${f.parent?`${f.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var go=[E("*",t=>({selector:`${t.selector} > *`}))];function Ot(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=q(`${t}-`,r,o);if(!i){for(let c of o)if(r.startsWith(`${t}${c}`)){i=["",r.slice(t.length+c.length)];break}if(!i)return}let a=s.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:c=>`${c}${e}${a}`}},multiPass:!0}}var bo=[Ot("all"," "),Ot("children",">"),Ot("next","+"),Ot("sibling","+"),Ot("siblings","~")];var xo={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=R("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=s.bracket(n),c;if(a?c=s.numberWithUnit(a):c=e.theme.containers?.[n]??"",c){let l=1e3+Object.keys(e.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(u,p)=>p({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${c})`,parentOrder:l})}}}},multiPass:!0};function yo(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[E("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),E("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[z("dark","@media (prefers-color-scheme: dark)"),z("light","@media (prefers-color-scheme: light)")]}var vo={name:"data",match(t,e){let r=R("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}}};function He(t){return{name:`${t}-data`,match(e,r){let n=R(`${t}-data-`,e,r.generator.config.separators);if(n){let[o,i,a]=n,c=s.bracket(o)??r.theme.data?.[o]??"";if(c)return{matcher:`${t}-[[data-${c}]]${a?`/${a}`:""}:${i}`}}}}}var wo=[He("group"),He("peer"),He("parent"),He("previous")];var ko=[E("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),E("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function $o(){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 So=z("print","@media print"),Co={name:"media",match(t,e){let r=R("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var Ro={name:"selector",match(t,e){let r=q("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Eo={name:"layer",match(t,e){let r=R("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??n;if(i)return{matcher:o,handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},zo={name:"uno-layer",match(t,e){let r=R("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},To={name:"scope",match(t,e){let r=q("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},jo={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=nt(t,"[","]")??[];if(!(r&&n))return;let o;for(let c of e.generator.config.separators)if(n.startsWith(c)){o=n.slice(c.length);break}if(o==null)return;let i=s.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(c,l){let u=a?{parent:`${c.parent?`${c.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,c.selector)};return l({...c,...u})}}},multiPass:!0},Oo={name:"theme-variables",match(t,e){if(pn(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(dn(JSON.stringify(r.entries),e.theme))})}}}};var Ao=/^-?[0-9.]+(?:[a-z]+|%)?$/,Fo=/-?[0-9.]+(?:[a-z]+|%)?/,Zs=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Js(t){let e=t.match(gt)||t.match(Mt);if(e){let[r,n]=K(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Qs=/\b(hue-rotate)\s*(\(.*)/;function tc(t){let e=t.match(Qs);if(e){let[r,n]=K(e[2],"(",")"," ")??[];if(r){let o=Ao.test(r.slice(1,-1))?r.replace(Fo,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var Vo={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===$n))return;let r=!1;return e.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Zs.some(c=>c.test(n[0])))return;let i=Js(o);if(i){n[1]=i,r=!0;return}let a=tc(o);if(a){n[1]=a,r=!0;return}Ao.test(o)&&(n[1]=o.replace(Fo,c=>c.startsWith("-")?c.slice(1):`-${c}`),r=!0)}),r?e:[]}}}};var ut=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)"],"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}`])),Lo=Object.keys(ut),ft=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Mo=Object.keys(ft),ec=["not","is","where","has"],Bo=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Sr=Object.entries(ut).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Cr=Object.entries(ft).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),tt=ec.join("|"),_o=Object.keys(Bo).sort((t,e)=>e.length-t.length).join("|");function rc(t,e,r){let n=new RegExp(`^(${I(e)}:)(\\S+)${I(r)}\\1`),o,i,a,c,l=b=>{let m=q(`${t}-`,b,[]);if(!m)return;let[f,g]=m,x=s.bracket(f);if(x==null)return;let A=g.split(o,1)?.[0]??"",F=`${e}${D(A)}`;return[A,b.slice(b.length-(g.length-A.length-1)),x.includes("&")?x.replace(/&/g,F):`${F}${x}`]},u=b=>{let m=b.match(i)||b.match(a);if(!m)return;let[f,g,x]=m,A=m[3]??"",F=ut[x]||ft[x]||`:${x}`;return g&&(F=`:${g}(${F})`),[A,b.slice(f.length),`${e}${D(A)}${F}`,x]},p=b=>{let m=b.match(c);if(!m)return;let[f,g,x]=m,A=m[3]??"",F=`:${g}(${x})`;return[A,b.slice(f.length),`${e}${D(A)}${F}`]};return{name:`pseudo:${t}`,match(b,m){if(o&&i&&a||(o=new RegExp(`(?:${m.generator.config.separators.join("|")})`),i=new RegExp(`^${t}-(?:(?:(${tt})-)?(${Sr}))(?:(/\\w+))?(?:${m.generator.config.separators.join("|")})`),a=new RegExp(`^${t}-(?:(?:(${tt})-)?(${Cr}))(?:(/\\w+))?(?:${m.generator.config.separators.filter(et=>et!=="-").join("|")})`),c=new RegExp(`^${t}-(?:(${tt})-)?\\[(.+)\\](?:(/\\w+))?(?:${m.generator.config.separators.filter(et=>et!=="-").join("|")})`)),!b.startsWith(t))return;let f=l(b)||u(b)||p(b);if(!f)return;let[g,x,A,F=""]=f;return{matcher:x,handle:(et,ja)=>ja({...et,prefix:`${A}${r}${et.prefix}`.replace(n,"$1$2:"),sort:Lo.indexOf(F)??Mo.indexOf(F)})}},multiPass:!0}}var nc=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Po=Object.entries(ut).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Wo=Object.entries(ft).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function No(){let t,e,r;return[{name:"pseudo",match(n,o){t&&e||(t=new RegExp(`^(${Po})(?:${o.generator.config.separators.join("|")})`),e=new RegExp(`^(${Wo})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(t)||n.match(e);if(i){let a=ut[i[1]]||ft[i[1]]||`:${i[1]}`,c=Lo.indexOf(i[1]);return c===-1&&(c=Mo.indexOf(i[1])),c===-1&&(c=void 0),{matcher:n.slice(i[0].length),handle:(l,u)=>{let p=a.includes("::")&&!nc.includes(a)?{pseudo:`${l.pseudo}${a}`}:{selector:`${l.selector}${a}`};return u({...l,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Po}|${Wo}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${_o})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return Bo[i[1]].map(c=>({matcher:n.slice(i[0].length),handle:(l,u)=>u({...l,pseudo:`${l.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${_o}):`}]}function Uo(){let t,e,r;return{match(n,o){t&&e||(t=new RegExp(`^(${tt})-(${Sr})(?:${o.generator.config.separators.join("|")})`),e=new RegExp(`^(${tt})-(${Cr})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`),r=new RegExp(`^(${tt})-(\\[.+\\])(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(t)||n.match(e)||n.match(r);if(i){let a=i[1],l=nt(i[2],"[","]")?s.bracket(i[2]):ut[i[2]]||ft[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:u=>`${u}:${a}(${l})`}}},multiPass:!0,autocomplete:`(${tt})-(${Sr}|${Cr}):`}}function Io(t={}){let e=!!t?.attributifyPseudo,r=t?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>rc(o,e?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var oc=/(part-\[(.+)\]:)(.+)/,Do={match(t){let e=t.match(oc);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Ko={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}};var qo={name:"supports",match(t,e){let r=R("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=s.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return{matcher:o,handle:(a,c)=>c({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Xe(t){return[uo,vo,Eo,Ro,zo,Vo,Ko,$o(),qo,So,Co,ho(),...bo,...No(),Uo(),...Io(t),Do,...yo(t),...ko,To,...go,xo,jo,...wo,...fo,Oo]}var Rr=(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:lo,rules:Ln,variants:Xe(t),options:t,prefix:t.prefix,postprocess:ic(t.variablePrefix),preflights:rn(t),extractorDefault:t.arbitraryVariants===!1?void 0:en(),autocomplete:{shorthands:Mn}}),Go=Rr;function ic(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 Ho(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 Xo(t){return[..._(Go(t).postprocess),...Ho(t.important)]}var Yo=[[/^(?: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:s.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":s.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??s.bracket.cssvar.time(t)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??s.bracket.cssvar.time(t)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.easing?.[t||"DEFAULT"]??s.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?h:[]].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?h:[]].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":s.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?h:[]].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"}],...d("animate","animation")];function Zo(t){return t?k(t,0):"rgb(255 255 255 / 0)"}function ac(t,e,r,n){return e?n!=null?k(e,n):k(e,`var(--un-${t}-opacity, ${B(e)})`):k(r,n)}function Er(){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 c=ac(t,a,i,o);switch(t){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${c} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${Zo(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":Zo(a),"--un-gradient-stops":`var(--un-gradient-from), ${c} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${c} var(--un-gradient-to-position)`}}}}function sc(){return([,t,e])=>({[`--un-gradient-${t}-position`]:`${Number(s.bracket.cssvar.percent(e))*100}%`})}var Jo=[[/^bg-gradient-(.+)$/,([,t])=>({"--un-gradient":s.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":s.bracket(t)})],[/^(?:bg-gradient-)?(from)-(.+)$/,Er()],[/^(?:bg-gradient-)?(via)-(.+)$/,Er()],[/^(?:bg-gradient-)?(to)-(.+)$/,Er()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:s.bracket.percent(e)})],[/^(from|via|to)-([\d.]+)%$/,sc()],[/^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 S)return{"--un-gradient-shape":`to ${S[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(S).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,t])=>{let e=t in S?`to ${S[t]}`:s.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(S).join("|")})`,`shape-(${Object.keys(S).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...d("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"}],...h.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":S[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"}],...d("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"}],...d("bg-origin","background-origin")];var zr={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"},Qo=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=zr[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(zr).join("|")})`,`list-(${Object.keys(zr).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":s.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...d("list","list-style-type")],ti=[[/^accent-(.+)$/,v("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":s.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ei=[[/^caret-(.+)$/,v("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":s.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],ri=[["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"]]]],ni=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...d("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...d("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"}],...d("overscroll-y","overscroll-behavior-y")],oi=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...d("scroll","scroll-behavior")];var ii=[[/^columns-(.+)$/,([,t])=>({columns:s.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...d("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"}],...d("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"}],...d("break-after")];var cc=/@media \(min-width: (.+)\)/,ai=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.container?.padding,i;rt(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,c;for(let u of n){let p=u.handle?.({},b=>b)?.parent;if(rt(p)){let b=p.match(cc)?.[1];if(b){let f=(Z(e)??[]).find(g=>g.size===b)?.point;a?f&&(c=a?.[f]):c=b,f&&!rt(o)&&(i=o?.[f]??i)}}}let l={"max-width":c};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],si=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Z(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 ci=[[/^divide-?([xy])$/,Ye,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Ye],[/^divide-?([xy])-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(block|inline)$/,Ye],[/^divide-(block|inline)-(.+)$/,Ye],[/^divide-(block|inline)-reverse$/,([,t])=>({[`--un-divide-${t}-reverse`]:1})],[/^divide-(.+)$/,v("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,t])=>({"--un-divide-opacity":s.bracket.percent(t)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...J.map(t=>[`divide-${t}`,{"border-style":t}])];function Ye([,t,e],{theme:r}){let n=r.lineWidth?.[e||"DEFAULT"]??s.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let o=C[t].map(i=>{let a=`border${i}-width`,c=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`;return[a,c]});if(o)return[[`--un-divide-${t}-reverse`,0],...o]}}var jr={"--un-blur":y,"--un-brightness":y,"--un-contrast":y,"--un-drop-shadow":y,"--un-grayscale":y,"--un-hue-rotate":y,"--un-invert":y,"--un-saturate":y,"--un-sepia":y},ui=Object.keys(jr),li={preflightKeys:ui},Ze="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)",Or={"--un-backdrop-blur":y,"--un-backdrop-brightness":y,"--un-backdrop-contrast":y,"--un-backdrop-grayscale":y,"--un-backdrop-hue-rotate":y,"--un-backdrop-invert":y,"--un-backdrop-opacity":y,"--un-backdrop-saturate":y,"--un-backdrop-sepia":y},fi=Object.keys(Or),lc={preflightKeys:fi},Je="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)",N={preflightKeys:[...ui,...fi]};function Tr(t){let e=s.bracket.cssvar(t||"");if(e!=null||(e=t?s.percent(t):"1",e!=null&&Number.parseFloat(e)<=1))return e}function U(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":Je,"backdrop-filter":Je}:{[`--un-${t}`]:`${t}(${i})`,filter:Ze}}}function uc([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${st(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Ze};if(r=s.bracket.cssvar(t),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Ze}}var pi=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,U("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||s.bracket.cssvar.px(t)),{custom:N,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,U("brightness",t=>s.bracket.cssvar.percent(t)),{custom:N,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,U("contrast",t=>s.bracket.cssvar.percent(t)),{custom:N,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,uc,{custom:li,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-(.+)$/,v("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":s.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,U("grayscale",Tr),{custom:N,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,U("hue-rotate",t=>s.bracket.cssvar.degree(t)),{custom:N}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,U("invert",Tr),{custom:N,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,U("opacity",t=>s.bracket.cssvar.percent(t)),{custom:N,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,U("saturate",t=>s.bracket.cssvar.percent(t)),{custom:N,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,U("sepia",Tr),{custom:N,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ze},{custom:li}],["backdrop-filter",{"-webkit-backdrop-filter":Je,"backdrop-filter":Je},{custom:lc}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...h.map(t=>[`filter-${t}`,{filter:t}]),...h.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])];var di=[[/^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",...h].map(t=>[`line-clamp-${t}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":t,"line-clamp":t}])];var mi=[[/^\$ placeholder-(.+)$/,v("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":s.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var Ar={"--un-scroll-snap-strictness":"proximity"},hi={preflightKeys:Object.keys(Ar)},gi=[[/^snap-(x|y)$/,([,t])=>({"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`}),{custom:hi,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:hi}],["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?()-?(.+)$/,w("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])-?(.+)$/,w("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,w("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,w("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,w("scroll-margin")],[/^scroll-pa?()-?(.+)$/,w("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,w("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,w("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,w("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,w("scroll-padding")]];var xi=[[/^space-([xy])-(.+)$/,bi,{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)-(.+)$/,bi],[/^space-(block|inline)-reverse$/,([,t])=>({[`--un-space-${t}-reverse`]:1})]];function bi([,t,e],{theme:r}){let n=r.spacing?.[e||"DEFAULT"]??s.bracket.cssvar.auto.fraction.rem(e||"1");if(n!=null){n==="0"&&(n="0px");let o=C[t].map(i=>{let a=`margin${i}`,c=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${t}-reverse)))`;return[a,c]});if(o)return[[`--un-space-${t}-reverse`,0],...o]}}var yi=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],vi=[...["manual","auto","none",...h].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],wi=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...d("write","writing-mode")],ki=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...d("write-orient","text-orientation")],$i=[["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"}]],Si=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ci=[["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(S[t])return{"object-position":S[t]};if(s.bracketOfPosition(t)!=null)return{"object-position":s.bracketOfPosition(t).split(" ").map(e=>s.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(S).join("|")})`}]],Ri=[["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"}],...d("bg-blend","background-blend")],Ei=[["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"}],...d("mix-blend")],zi=[["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 Fr={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Ti={preflightKeys:Object.keys(Fr)},ji="var(--un-border-spacing-x) var(--un-border-spacing-y)",Oi=[["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]??s.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":ji}},{custom:Ti,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,t,e],{theme:r})=>{let n=r.spacing?.[e]??s.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{[`--un-border-spacing-${t}`]:n,"border-spacing":ji}},{custom:Ti,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 Pr={"--un-pan-x":y,"--un-pan-y":y,"--un-pinch-zoom":y},Vr={preflightKeys:Object.keys(Pr)},_r="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ai=[[/^touch-pan-(x|left|right)$/,([,t])=>({"--un-pan-x":`pan-${t}`,"touch-action":_r}),{custom:Vr,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,t])=>({"--un-pan-y":`pan-${t}`,"touch-action":_r}),{custom:Vr}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":_r},{custom:Vr}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...d("touch","touch-action")];var Wr={"--un-ordinal":y,"--un-slashed-zero":y,"--un-numeric-figure":y,"--un-numeric-spacing":y,"--un-numeric-fraction":y},G={preflightKeys:Object.keys(Wr)};function H(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 Fi=[[/^ordinal$/,()=>H({"--un-ordinal":"ordinal"}),{custom:G,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>H({"--un-slashed-zero":"slashed-zero"}),{custom:G,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>H({"--un-numeric-figure":"lining-nums"}),{custom:G,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>H({"--un-numeric-figure":"oldstyle-nums"}),{custom:G,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>H({"--un-numeric-spacing":"proportional-nums"}),{custom:G,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>H({"--un-numeric-spacing":"tabular-nums"}),{custom:G,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>H({"--un-numeric-fraction":"diagonal-fractions"}),{custom:G,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>H({"--un-numeric-fraction":"stacked-fractions"}),{custom:G,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var fc={"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"},Vi=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=fc[t];if(r)return{[r]:s.cssvar(e)}}]];var _i=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]];var Pi=[Ke,Vi,qe,ai,ge,$i,be,me,ie,ce,di,Si,ue,ae,re,le,_e,fe,de,Fe,Ae,te,Oi,Le,Yo,he,Ai,ye,xe,gi,Qo,qt,ii,St,$t,kt,ee,se,xi,ci,oe,ni,oi,Ce,ve,$e,Ht,Yt,Jo,Zt,Pe,Ci,Ve,It,Ue,Se,Ut,Be,Re,yi,Ee,Fi,Qt,ze,Ne,Ie,De,vi,wi,ki,ei,ti,Xt,Ri,Ei,je,Kt,Te,ri,pi,Me,Gt,we,ke,mi,Jt,_i,zi,pe].flat(1);var Wi=[...si];var Lr={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(Lr).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 pc={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"]},Ad={...pc,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"]};var dc={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},mc=["x","y","z"],Li=["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"],At=Object.assign({},...Li.map(t=>({[t.replace(/ /,"-")]:t})),...Li.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),Mr=["inherit","initial","revert","revert-layer","unset"],hc=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/;var Br=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ni=/^(-?\d*(?:\.\d+)?)$/,Ui=/^(px|[sld]?v[wh])$/i,Ii={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Di=/^\[(color|image|length|size|position|quoted|string):/i,gc=/,(?![^()]*\))/g,bc=["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 O(t){return+t.toFixed(10)}function xc(t){let e=t.match(Br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${O(o)}${n}`}function yc(t){if(t==="auto"||t==="a")return"auto"}function vc(t){if(!t)return;if(Ui.test(t))return`${Ii[t]}${t}`;let e=t.match(Br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${O(o)}${n}`:`${O(o/4)}rem`}function wc(t){if(Ui.test(t))return`${Ii[t]}${t}`;let e=t.match(Br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${O(o)}${n}`:`${O(o)}px`}function kc(t){if(!Ni.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return O(e)}function $c(t){if(t.endsWith("%")&&(t=t.slice(0,-1)),!Ni.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return`${O(e/100)}`}function Sc(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":`${O(n*100)}%`}function Qe(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(Di);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 c=[];return a.replace(/var\((--.+?)[,)]/g,(l,u)=>(c.push(u),l.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>c.shift())})}}function Cc(t){return Qe(t)}function Rc(t){return Qe(t,"color")}function Ec(t){return Qe(t,"length")}function zc(t){return Qe(t,"position")}function Tc(t){if(/^\$[^\s'"`;{}]/.test(t)){let[e,r]=t.slice(1).split(",");return`var(--${D(e)}${r?`, ${r}`:""})`}}function jc(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?`${O(o)}${n}`:`${O(o)}ms`}function Oc(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?"0":n?`${O(o)}${n}`:`${O(o)}deg`}function Ac(t){if(Mr.includes(t))return t}function Fc(t){if(t.split(",").every(e=>bc.includes(e)))return t}function Vc(t){if(["top","left","right","bottom","center"].includes(t))return t}var _c={__proto__:null,auto:yc,bracket:Cc,bracketOfColor:Rc,bracketOfLength:Ec,bracketOfPosition:zc,cssvar:Tc,degree:Oc,fraction:Sc,global:Ac,number:kc,numberWithUnit:xc,percent:$c,position:Vc,properties:Fc,px:wc,rem:vc,time:jc},Pc=_t(_c),$=Pc;function Mi(t,e,r="colors"){let n=t[r],o=-1;for(let i of e){if(o+=1,n&&typeof n!="string"){let a=e.slice(o).join("-").replace(/(-[a-z])/g,c=>c.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function Bi(t,e,r){return Mi(t,e,r)||Mi(t,e,"colors")}function Wc(t,e){let[r,n]=K(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Di)??[])[1];if(o==null||o===e)return[r,n]}}function Lc(t,e,r){let n=Wc(t,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[c]=a;if(!c)return;let l,u=$.bracketOfColor(o),p=u||o;if($.numberWithUnit(p))return;if(/^#[\da-f]+$/i.test(p)?l=p:/^hex-[\da-fA-F]+$/.test(p)?l=`#${p.slice(4)}`:o.startsWith("$")&&(l=$.cssvar(o)),l=l||u,!l){let m=Bi(e,[o],r);typeof m=="string"&&(l=m)}let b="DEFAULT";if(!l){let m=a,f,[g]=a.slice(-1);/^\d+$/.test(g)&&(b=f=g,m=a.slice(0,-1));let x=Bi(e,m,r);typeof x=="object"?l=x[f??b]:typeof x=="string"&&!f&&(l=x)}return{opacity:i,name:c,no:b,color:l,cssColor:P(l),alpha:$.bracket.cssvar.percent(i??"")}}function Nr(t,e,r,n){return([,o],{theme:i,generator:a})=>{let c=Lc(o,i,r);if(!c)return;let{alpha:l,color:u,cssColor:p}=c,m=a.config.envMode==="dev"&&u?` /* ${u} */`:"",f={};if(p)if(l!=null)f[t]=k(p,l)+m;else{let g=`--un-${e}-opacity`,x=k(p,`var(${g})`);x.includes(g)&&(f[g]=B(p)),f[t]=x+m}else if(u)if(l!=null)f[t]=k(u,l)+m;else{let g=`--un-${e}-opacity`,x=k(u,`var(${g})`);x.includes(g)&&(f[g]=1),f[t]=x+m}if(n?.(f)!==!1)return f}}function X(t,e){return Mr.map(r=>[`${t}-${r}`,{[e??t]:r}])}function Ki(t){return t!=null&&hc.test(t)}function tr(t,e,r){let n=e.split(gc);return t||!t&&n.length===1?dc[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${mc[i]}`,o])}var Mc=["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"];var Yi=" ";var Wd=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...X("backface","backface-visibility")],Ld=[[/^cursor-(.+)$/,([,t])=>({cursor:$.bracket.cssvar.global(t)})],...Mc.map(t=>[`cursor-${t}`,{cursor:t}])];var Md=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...X("pointer-events")],Bd=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...X("resize")],Nd=[["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"}],...X("select","user-select")];var Ud=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":$.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"}],...X("content-visibility")];var Id=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...X("case","text-transform")];var Ur={"--un-ring-inset":Yi,"--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)"},Bc=Object.keys(Ur),Dd=[[/^ring(?:-(.+))?$/,([,t],{theme:e})=>{let r=e.ringWidth?.[t||"DEFAULT"]??$.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:Bc},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,Zi,{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]??$.bracket.cssvar.px(t)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Nc,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":$.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,Nr("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":$.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function Zi([,t],{theme:e}){return{"--un-ring-width":e.ringWidth?.[t]??$.bracket.cssvar.px(t)}}function Nc(t,e){return Ki($.bracket(t[1]))?Zi(t,e):Nr("--un-ring-color","ring","borderColor")(t,e)}var Ir={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":Yi,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Kd=Object.keys(Ir);var er=["translate","rotate","scale"],Uc=["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(" "),pt=["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(" "),Ic=["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(" "),Dr={"--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},M=Object.keys(Dr),qd=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":At[t]??$.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(At).join("|")})`,`origin-(${Object.keys(At).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t])=>{let e=$.bracket.cssvar.px.numberWithUnit(t);if(e!=null)return{"-webkit-perspective":e,perspective:e}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=$.bracket.cssvar(t)??(t.length>=3?At[t]:void 0);if(e!=null)return{"-webkit-perspective-origin":e,"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,qi,{custom:{preflightKeys:M}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,qi,{custom:{preflightKeys:M}}],[/^(?:transform-)?rotate-()(.+)$/,Hi,{custom:{preflightKeys:M}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Hi,{custom:{preflightKeys:M}}],[/^(?:transform-)?skew-()(.+)$/,Xi,{custom:{preflightKeys:M}}],[/^(?:transform-)?skew-([xy])-(.+)$/,Xi,{custom:{preflightKeys:M},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Gi,{custom:{preflightKeys:M}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,Gi,{custom:{preflightKeys:M},autocomplete:[`transform-(${er.join("|")})-<percent>`,`transform-(${er.join("|")})-(x|y|z)-<percent>`,`(${er.join("|")})-<percent>`,`(${er.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:pt},{custom:{preflightKeys:M}}],["transform-cpu",{transform:Uc},{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:Ic},{custom:{preflightKeys:M}}],["transform-none",{transform:"none"}],...X("transform")];function qi([,t,e],{theme:r}){let n=r.spacing?.[e]??$.bracket.cssvar.fraction.rem(e);if(n!=null)return[...tr(t,n,"translate"),["transform",pt]]}function Gi([,t,e]){let r=$.bracket.cssvar.fraction.percent(e);if(r!=null)return[...tr(t,r,"scale"),["transform",pt]]}function Hi([,t="",e]){let r=$.bracket.cssvar.degree(e);if(r!=null)return t?{"--un-rotate":0,[`--un-rotate-${t}`]:r,transform:pt}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:pt}}function Xi([,t,e]){let r=$.bracket.cssvar.degree(e);if(r!=null)return[...tr(t,r,"skew"),["transform",pt]]}var Ji={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Qi={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)"},ta={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(",")},ea={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"]},ra={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},na={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},oa={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)"]},ia={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Gr={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},aa={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},sa=Gr,Hr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},ca={...Hr},la={DEFAULT:"1px",none:"0"},ua={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"},fa={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},pa={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},da={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)"},ma={DEFAULT:"3px",none:"0"},ha={auto:"auto"},ga={mouse:"(hover) and (pointer: fine)"},ba={...Dr,...Ir,...Ur},dt={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Kr={auto:"auto",...dt,screen:"100vw"},Ft={none:"none",...dt,screen:"100vw"},qr={auto:"auto",...dt,screen:"100vh"},Vt={none:"none",...dt,screen:"100vh"},xa={...dt},Dc={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)"},Kc={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(",")}},Xr={width:Kr,height:qr,maxWidth:Ft,maxHeight:Vt,minWidth:Ft,minHeight:Vt,inlineSize:Kr,blockSize:qr,maxInlineSize:Ft,maxBlockSize:Vt,minInlineSize:Ft,minBlockSize:Vt,colors:Lr,fontFamily:ta,fontSize:ea,fontWeight:aa,breakpoints:Hr,verticalBreakpoints:ca,borderRadius:pa,lineHeight:ia,letterSpacing:Gr,wordSpacing:sa,boxShadow:da,textIndent:ra,textShadow:oa,textStrokeWidth:na,blur:Ji,dropShadow:Qi,easing:Dc,transitionProperty:Kc,lineWidth:la,spacing:ua,duration:fa,ringWidth:ma,preflightBase:ba,containers:xa,zIndex:ha,media:ga};var ya={...Xr,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:{...Et,...Pr,...Ar,...Wr,...Fr,...Rt,...Ct,...jr,...Or}};var va=[E("svg",t=>({selector:`${t.selector} svg`}))];var wa=[E(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),E(".light",t=>({prefix:`.light $$ ${t.prefix}`})),z("@dark","@media (prefers-color-scheme: dark)"),z("@light","@media (prefers-color-scheme: light)")];var ka=[z("contrast-more","@media (prefers-contrast: more)"),z("contrast-less","@media (prefers-contrast: less)")],$a=[z("motion-reduce","@media (prefers-reduced-motion: reduce)"),z("motion-safe","@media (prefers-reduced-motion: no-preference)")],Sa=[z("landscape","@media (orientation: landscape)"),z("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}`}}},Ra=[E("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))];var Ea=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(ct(i,e,"accentColor")||qc(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function qc(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?s.bracket.percent(e[1])!=null:!1}function za(t){return[Ea,Ca,...Xe(t),...ka,...Sa,...$a,...va,...wa,...Ra]}var Gc=(t={})=>(t.important=t.important??!1,{...Rr(t),name:"@unocss/preset-wind",theme:ya,rules:Pi,shortcuts:Wi,variants:za(t),postprocess:Xo(t)}),Ta=Gc;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetWind:t=>Ta(t)});})();
1
+ "use strict";(()=>{var gl=Object.defineProperty;var bl=(e,t)=>{for(var r in t)gl(e,r,{get:t[r],enumerable:!0})};var _r=/[\\:]?[\s'"`;{}]+/g;function F(e=[]){return Array.isArray(e)?e:[e]}function he(e){return typeof e=="string"}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function B(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.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&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var yl=/[\w\u00A0-\uFFFF%-?]/;function Dn(e=""){return yl.test(e)}function $l(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function In(e){return e==null?"":$l(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function vl(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function qn(e,t,r,n){for(let o of Array.from(e.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${vl(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function Kn(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}var wl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gn(e){return e.includes("sourceMappingURL=")?e.replace(wl,""):e}var kl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Sl=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Cl=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Rl(e){let t=[];for(let o of e.matchAll(Sl))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(let o of e.matchAll(kl))t.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=qn(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(_r).forEach(o=>{o.includes(n)&&(o=Kn(o,r)),Dn(o)&&!Cl.test(o)&&t.push(o)}),t}function Hn(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Rl(Gn(e))}}}function Xn(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.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=In(n);return e.variablePrefix!=="un-"&&(o=o.replace(/--un-/g,`--${e.variablePrefix}`)),F(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${o}}`).join("")}}}}]}function Q(e,t,r){if(e==="")return;let n=e.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function K(e,t,r,n){if(e===""||(he(n)&&(n=[n]),n.length===0))return;let o=e.length,i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function ne(e,t,r){r=r??10;let n=[],o=0;for(;e!=="";){if(++o>r)return;let i=K(e,"(",")",t);if(!i)return;let[a,s]=i;n.push(a),e=s}if(n.length>0)return n}var Lr=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Yn=["%alpha","<alpha-value>"],El=new RegExp(Yn.map(e=>q(e)).join("|"));function V(e=""){let t=zl(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Lr.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 N(e){let t=e.alpha??1;return typeof t=="string"&&Yn.includes(t)?1:t}function $(e,t){if(typeof e=="string")return e.replace(El,`${t??1}`);let{components:r}=e,{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Lr.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function zl(e){if(!e)return;let t=jl(e);if(t!=null||(t=Tl(e),t!=null)||(t=Ol(e),t!=null)||(t=Pl(e),t!=null)||(t=Fl(e),t!=null))return t}function jl(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100};case 6:case 8:let n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}function Tl(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ol(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,o=ne(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 Al=new RegExp(`^(${Lr.join("|")})\\((.+)\\)$`,"i");function Pl(e){let t=e.match(Al);if(!t)return;let[,r,n]=t,o=Zn(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function Fl(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=Zn(t[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Zn(e){let t=ne(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let i=t.splice(r-2);t.push(i.join(" ")),--r}let n=ne(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}function $t(e){let t=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=e[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}var Jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",to=new Uint8Array(64),Vl=new Uint8Array(128);for(let e=0;e<Jn.length;e++){let t=Jn.charCodeAt(e);to[e]=t,Vl[t]=e}function je(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),e.write(to[o])}while(n>0);return t}var Qn=1024*16,eo=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Mr=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Qn)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===Qn&&(this.out+=eo.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:n}=this;return n>0?r+eo.decode(t.subarray(0,n)):r}};function ro(e){let t=new Mr,r=0,n=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(59),s.length===0)continue;let l=0;for(let f=0;f<s.length;f++){let m=s[f];f>0&&t.write(44),l=je(t,m[0],l),m.length!==1&&(r=je(t,m[1],r),n=je(t,m[2],n),o=je(t,m[3],o),m.length!==4&&(i=je(t,m[4],i)))}}return t.flush()}var vt=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},wt=class e{constructor(t,r,n){this.start=t,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(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new e(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,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(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");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(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");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(t,""),this.outro.length)return!0}};function Wl(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var _l=Wl(),Br=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=ro(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+_l(this.toString())}};function Ll(e){let t=e.split(`
2
+ `),r=t.filter(i=>/^\t+/.test(i)),n=t.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,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Ml(e,t){let r=e.split(/[/\\]/),n=t.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 Bl=Object.prototype.toString;function Nl(e){return Bl.call(e)==="[object Object]"}function no(e){let t=e.split(`
3
+ `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let f=i+a>>1;o<r[f]?a=f:i=f+1}let s=i-1,l=o-r[s];return{line:s,column:l}}}var Ul=/\w/,Nr=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){let i=r.length-1,a=r.indexOf(`
4
+ `,0),s=-1;for(;a>=0&&i>a;){let f=[this.generatedCodeColumn,t,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,s=a,a=r.indexOf(`
5
+ `,a+1)}let l=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let a=r.start,s=!0,l=!1;for(;a<r.end;){if(n[a]===`
6
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,l=!1;else{if(this.hires||s||i.has(a)){let f=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?Ul.test(n[a])?l||(this.rawSegments.push(f),l=!0):(this.rawSegments.push(f),l=!1):this.rawSegments.push(f)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
7
+ `);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}},Te=`
8
+ `,ge={insertLeft:!1,insertRight:!1,storeName:!1},kt=class e{constructor(t,r={}){let n=new wt(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},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 vt},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[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new vt(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),o=new Nr(t.hires),i=no(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Ml(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Br(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Ll(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(Nl(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(m=>{for(let h=m[0];h<m[1];h+=1)o[h]=!0});let i=r.indentStart!==!1,a=f=>i?`${t}${f}`:(i=!0,f);this.intro=this.intro.replace(n,a);let s=0,l=this.firstChunk;for(;l;){let f=l.end;if(l.edited)o[s]||(l.content=l.content.replace(n,a),l.content.length&&(i=l.content[l.content.length-1]===`
9
+ `));else for(s=l.start;s<f;){if(!o[s]){let m=this.original[s];m===`
10
+ `?i=!0:m!=="\r"&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(t))}s+=1}s=l.end,l=l.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ge.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ge.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ge.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ge.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let o=this.byStart[t],i=this.byEnd[r],a=o.previous,s=i.next,l=this.byStart[n];if(!l&&i===this.lastChunk)return this;let f=l?l.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),f&&(f.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=f,i.next=l||null,f||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(ge.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ge.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let f=this.original.slice(t,r);Object.defineProperty(this.storedNames,f,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],l=this.byEnd[r];if(s){let f=s;for(;f!==l;){if(f.next!==this.byStart[f.end])throw new Error("Cannot overwrite across a split point");f=f.next,f.edit("",!1)}s.edit(n,i,!a)}else{let f=new wt(t,r,"").edit(n,i);l.next=f,f.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];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 t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Te);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Te),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Te),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Te),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Te),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(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 s=i===o?t-o.start:0,l=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,l),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let o=no(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\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(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\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(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,l=[];for(;s=i.exec(a);)l.push(s);return l}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(t);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(t,r){let{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var Dl=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function St(e){return e.includes("theme(")&&e.includes(")")}function Ct(e,t,r=!0){let n=Array.from(e.toString().matchAll(Dl));if(!n.length)return e;let o=new kt(e);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=Il(a,t,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function Il(e,t,r=!0){let[n,o]=e.split("/"),a=n.trim().split(".").reduce((s,l)=>s?.[l],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let s=V(a);s&&(a=$(s,o))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function j(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${q(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,...t(a)})}},autocomplete:`${e}:`}}function T(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${q(e)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function _(e,t,r){if(t.startsWith(`${e}[`)){let[n,o]=Q(t.slice(e.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function w(e,t,r){if(t.startsWith(e)){let n=_(e,t,r);if(n){let[o="",i=n[1]]=w("/",n[1],r)??[];return[n[0],i,o]}for(let o of r.filter(i=>i!=="/")){let i=t.indexOf(o,e.length);if(i!==-1){let a=t.indexOf("/",e.length),s=a===-1||i<=a;return[t.slice(e.length,s?i:a),t.slice(i+o.length),s?"":t.slice(a+1,i)]}}}}var Gr={};bl(Gr,{auto:()=>Gl,bracket:()=>Ql,bracketOfColor:()=>eu,bracketOfLength:()=>tu,bracketOfPosition:()=>ru,cssvar:()=>nu,degree:()=>iu,fraction:()=>Jl,global:()=>au,number:()=>Yl,numberWithUnit:()=>Kl,percent:()=>Zl,position:()=>cu,properties:()=>su,px:()=>Xl,rem:()=>Hl,time:()=>ou});var L={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Ur={...L,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"]},Dr={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"]},io={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},ao=["x","y","z"],oo=["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"],Oe=Object.assign({},...oo.map(e=>({[e.replace(/ /,"-")]:e})),...oo.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),k=["inherit","initial","revert","revert-layer","unset"],Ae=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Rt=/^(var)\s*\((.+)\)(.*)/;var be=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ir=/^(-?\d*(?:\.\d+)?)$/,qr=/^(px|[sld]?v[wh])$/i,Kr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Et=/^\[(color|image|length|size|position|quoted|string):/i,so=/,(?![^()]*\))/g;var ql=["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 U(e){return+e.toFixed(10)}function Kl(e){let t=e.match(be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${U(o)}${n}`}function Gl(e){if(e==="auto"||e==="a")return"auto"}function Hl(e){if(!e)return;if(qr.test(e))return`${Kr[e]}${e}`;let t=e.match(be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${U(o)}${n}`:`${U(o/4)}rem`}function Xl(e){if(qr.test(e))return`${Kr[e]}${e}`;let t=e.match(be);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${U(o)}${n}`:`${U(o)}px`}function Yl(e){if(!Ir.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return U(t)}function Zl(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Ir.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${U(t/100)}`}function Jl(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${U(n*100)}%`}function zt(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Et);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.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 s=[];return a.replace(/var\((--.+?)[,)]/g,(l,f)=>(s.push(f),l.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ql(e){return zt(e)}function eu(e){return zt(e,"color")}function tu(e){return zt(e,"length")}function ru(e){return zt(e,"position")}function nu(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function ou(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${U(o)}${n}`:`${U(o)}ms`}function iu(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${U(o)}${n}`:`${U(o)}deg`}function au(e){if(k.includes(e))return e}function su(e){if(e.split(",").every(t=>ql.includes(t)))return e}function cu(e){if(["top","left","right","bottom","center"].includes(e))return e}var lu=$t(Gr),u=lu;var co={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(k.map(e=>[e,e]))},uo=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":co[e]??u.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(co).join("|")})`,"(vertical|align|v)-<percentage>"]}]],lo=["center","left","right","justify","start","end"],fo=[...lo.map(e=>[`text-${e}`,{"text-align":e}]),...[...k,...lo].map(e=>[`text-align-${e}`,{"text-align":e}])];var go="$$mini-no-negative";function M(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??u.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return L[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return L[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function po(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function mo(e,t,r){return po(e,t,r)||po(e,t,"colors")}function Xr(e,t){let[r,n]=K(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Et)??[])[1];if(o==null||o===t)return[r,n]}}function jt(e,t,r){let n=Xr(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let l,f=u.bracketOfColor(o),m=f||o;if(u.numberWithUnit(m))return;if(/^#[\da-f]+$/i.test(m)?l=m:/^hex-[\da-fA-F]+$/.test(m)?l=`#${m.slice(4)}`:o.startsWith("$")&&(l=u.cssvar(o)),l=l||f,!l){let d=mo(t,[o],r);typeof d=="string"&&(l=d)}let h="DEFAULT";if(!l){let d=a,p,[g]=a.slice(-1);/^\d+$/.test(g)&&(h=p=g,d=a.slice(0,-1));let b=mo(t,d,r);typeof b=="object"?l=b[p??h]:typeof b=="string"&&!p&&(l=b)}return{opacity:i,name:s,no:h,color:l,cssColor:V(l),alpha:u.bracket.cssvar.percent(i??"")}}function O(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=jt(o,i,r);if(!s)return;let{alpha:l,color:f,cssColor:m}=s,d=a.config.envMode==="dev"&&f?` /* ${f} */`:"",p={};if(m)if(l!=null)p[e]=$(m,l)+d;else{let g=`--un-${t}-opacity`,b=$(m,`var(${g})`);b.includes(g)&&(p[g]=N(m)),p[e]=b+d}else if(f)if(l!=null)p[e]=$(f,l)+d;else{let g=`--un-${t}-opacity`,b=$(f,`var(${g})`);b.includes(g)&&(p[g]=1),p[e]=b+d}if(n?.(p)!==!1)return p}}function Tt(e,t){let r=[];e=F(e);for(let n=0;n<e.length;n++){let o=ne(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",l=o.at(-1);if(V(o.at(0))){let f=V(o.shift());f&&(s=`, ${$(f)}`)}else if(V(l)){let f=V(o.pop());f&&(s=`, ${$(f)}`)}else l&&Rt.test(l)&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function Ot(e,t,r){return e!=null&&!!jt(e,t,r)?.color}var ho=/[a-z]+/gi,Hr=new WeakMap;function At({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Hr.has(e))return Hr.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(ho,""))-Number.parseInt(a[1].replace(ho,""))).map(([i,a])=>({point:i,size:a}));return Hr.set(e,o),o}function C(e,t){return k.map(r=>[`${e}-${r}`,{[t??e]:r}])}function D(e){return e!=null&&Ae.test(e)}function bo(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Ae.test(e)||be.test(e)}function Pt(e,t,r){let n=t.split(so);return e||!e&&n.length===1?io[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${ao[i]}`,o])}var xo=[[/^outline-(?:width-|size-)?(.+)$/,yo,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,uu,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...k].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function yo([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function uu(e,t){return D(u.bracket(e[1]))?yo(e,t):O("outline-color","outline-color","borderColor")(e,t)}var $o=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function fu(e){return u.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var vo=[[/^will-change-(.+)/,([,e])=>({"will-change":fu(e)})]];var _e=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...k],ko=[[/^(?:border|b)()(?:-(.+))?$/,G,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,G],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,G],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,G],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,G],[/^(?:border|b)-()(?:width|size)-(.+)$/,G,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,G],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,G],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,G],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,G],[/^(?:border|b)-()(?:color-)?(.+)$/,Pe,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Pe],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Pe],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Pe],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Pe],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Fe,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Fe],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Fe],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Fe],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Fe],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ve,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ve],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ve],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ve],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ve],[/^(?:border|b)-(?:style-)?()(.+)$/,We,{autocomplete:["(border|b)-style",`(border|b)-(${_e.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${_e.join("|")})`,`(border|b)-<directions>-style-(${_e.join("|")})`,`(border|b)-style-(${_e.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,We],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,We],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,We],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,We]];function wo(e,t,r){if(t!=null)return{[`border${r}-color`]:$(e,t)};if(r===""){let n={},o="--un-border-opacity",i=$(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=$(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function pu(e){return([,t],r)=>{let n=jt(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return wo(a,o,e);if(i)return wo(i,o,e)}}function G([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??u.bracket.cssvar.global.px(t||"1");if(e in L&&n!=null)return L[e].map(o=>[`border${o}-width`,n])}function Pe([,e="",t],r){if(e in L){if(D(u.bracket(t)))return G(["",e,t],r);if(Ot(t,r.theme,"borderColor"))return Object.assign({},...L[e].map(n=>pu(n)(["",t],r.theme)))}}function Fe([,e="",t]){let r=u.bracket.percent.cssvar(t);if(e in L&&r!=null)return L[e].map(n=>[`--un-border${n}-opacity`,r])}function Ve([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(t||"1");if(e in Dr&&n!=null)return Dr[e].map(o=>[`border${o}-radius`,n])}function We([,e="",t]){if(_e.includes(t)&&e in L)return L[e].map(r=>[`border${r}-style`,t])}var So=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:u.bracket.percent.cssvar(e)})]],du=/^\[url\(.+\)\]$/,mu=/^\[(?:length|size):.+\]$/,hu=/^\[position:.+\]$/,gu=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,bu=/^\[image:.+\]$/,Co=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(du.test(t))return{"--un-url":u.bracket(t),"background-image":"var(--un-url)"};if(mu.test(t)&&u.bracketOfLength(t)!=null)return{"background-size":u.bracketOfLength(t).split(" ").map(r=>u.fraction.auto.px.cssvar(r)??r).join(" ")};if((bo(t)||hu.test(t))&&u.bracketOfPosition(t)!=null)return{"background-position":u.bracketOfPosition(t).split(" ").map(r=>u.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(gu.test(t)||bu.test(t)){let r=u.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:u.cssvar(r))??r}}return O("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Ro=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]];var Eo=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]];var zo=["solid","double","dotted","dashed","wavy",...k],jo=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,To,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,xu,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??u.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...zo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...zo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function To([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??u.bracket.cssvar.global.px(e)}}function xu(e,t){if(D(u.bracket(e[1])))return To(e,t);let r=O("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var Oo=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:u.bracket(e)!=null?u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" "):u.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":u.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??u.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]];var yu={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Yr([,e="",t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.global.rem(t);if(n!=null)return{[`${yu[e]}gap`]:n}}var Ao=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Yr,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Yr,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Yr,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function X(e){return e.replace("col","column")}function Zr(e){return e[0]==="r"?"Row":"Column"}function $u(e,t,r){let n=t[`gridAuto${Zr(e)}`]?.[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 Po=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${X(e)}`]:r[`grid${Zr(e)}`]?.[t]??u.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${X(e)}`]:"1/-1"};let r=u.bracket.number(t);if(r!=null)return{[`grid-${X(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${X(e)}-start`]:u.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${X(e)}-end`]:u.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${X(e)}`]:$u(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":u.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":X(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${X(e)}`]:r[`gridTemplate${Zr(e)}`]?.[t]??u.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${X(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${X(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":u.cssvar(t)??t.split("-").map(r=>`"${u.bracket(r)}"`).join(" ")}:{"grid-area":u.bracket.cssvar(t)}],["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 Ft=["auto","hidden","clip","visible","scroll","overlay",...k],Fo=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ft.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ft.join("|")})`,`(overflow|of)-(x|y)-(${Ft.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ft.includes(t)?{[`overflow-${e}`]:t}:void 0]];var Vo=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>k.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Qr=[["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"}],...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"}],...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"}],...C("justify-self")],Wo=[[/^order-(.+)$/,([,e])=>({order:u.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],en=[["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"}],...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"}],...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"}],...C("self","align-self")],tn=[["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"}],...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"}],...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"}],...C("place-self")],_o=[...Qr,...en,...tn].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Jr(e,{theme:t}){return t.spacing?.[e]??u.bracket.cssvar.global.auto.fraction.rem(e)}function Le([,e,t],r){let n=Jr(t,r);if(n!=null&&e in Ur)return Ur[e].map(o=>[o.slice(1),n])}var Lo=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:Jr(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Le],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Le],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Le],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Le],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Le],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:Jr(t,r)})]],Mo=[["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")],Bo=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":u.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??u.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],No=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...C("box","box-sizing")];var Uo=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var vu=["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"],wu=["none","strict","content","size","inline-size","layout","style","paint"],Vt=" ",Do=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:u.bracket.cssvar.global(e)})]],Io=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...C("backface","backface-visibility")],qo=[[/^cursor-(.+)$/,([,e])=>({cursor:u.bracket.cssvar.global(e)})],...vu.map(e=>[`cursor-${e}`,{cursor:e}])],Ko=[[/^contain-(.*)$/,([,e])=>u.bracket(e)!=null?{contain:u.bracket(e).split(" ").map(t=>u.cssvar.fraction(t)??t).join(" ")}:wu.includes(e)?{contain:e}:void 0]],Go=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...C("pointer-events")],Ho=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...C("resize")],Xo=[["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")],Yo=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...k].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Zo=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...C("content-visibility")],Jo=[[/^content-(.+)$/,([,e])=>({content:u.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Qo=[["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"}]],ei=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ti=[["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"}]],ri=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...C("case","text-transform")],ni=[["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"}]],oi=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]];var rn={"--un-ring-inset":Vt,"--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)"},ku=Object.keys(rn),ii=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??u.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:ku},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,ai,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??u.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Su,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,O("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function ai([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??u.bracket.cssvar.px(e)}}function Su(e,t){return D(u.bracket(e[1]))?ai(e,t):O("--un-ring-color","ring","borderColor")(e,t)}var nn={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":Vt,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Cu=Object.keys(nn),si=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?u.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!Ot(i,n,"shadowColor")?{"--un-shadow":Tt(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:O("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Cu},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]];var Ru={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ce(e,t){return`${e||""}${Ru[t]}`}function Wt(e,t,r,n){let o=ce(e,t).replace(/-(\w)/g,(a,s)=>s.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 li=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[ce(e,"w")]:Wt(e,"w",r,t),[ce(e,"h")]:Wt(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[ce(e,t)]:Wt(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[ce(e,t)]:Wt(e,t,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-(.+)$/,([,e,t,r],n)=>({[ce(e,t)]:ci(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[ce(e,t)]:ci(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 ci(e,t,r="breakpoints"){let n=At(e,r);if(n)return n.find(o=>o.point===t)?.size}function Eu(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return u.bracket.cssvar.global.auto.number(e)}var ui=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Eu(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]];var fi=[[/^pa?()-?(.+)$/,M("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,M("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,M("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,M("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,M("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],pi=[[/^ma?()-?(.+)$/,M("margin")],[/^m-?xy()()$/,M("margin")],[/^m-?([xy])(?:-?(.+))?$/,M("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,M("margin")],[/^m-(block|inline)(?:-(.+))?$/,M("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,M("margin")]];var di=[[/^fill-(.+)$/,O("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,mi,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":u.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??u.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,zu,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function mi([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??u.bracket.cssvar.fraction.px.number(e)}}function zu(e,t){return D(u.bracket(e[1]))?mi(e,t):O("stroke","stroke","borderColor")(e,t)}var _t=["translate","rotate","scale"],ju=["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(" "),xe=["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(" "),Tu=["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(" "),on={"--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},Y=Object.keys(on),yi=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Oe[e]??u.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Oe).join("|")})`,`origin-(${Object.keys(Oe).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=u.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=u.bracket.cssvar(e)??(e.length>=3?Oe[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,hi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,hi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?rotate-()(.+)$/,bi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,bi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?skew-()(.+)$/,xi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?skew-([xy])-(.+)$/,xi,{custom:{preflightKeys:Y},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,gi,{custom:{preflightKeys:Y}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,gi,{custom:{preflightKeys:Y},autocomplete:[`transform-(${_t.join("|")})-<percent>`,`transform-(${_t.join("|")})-(x|y|z)-<percent>`,`(${_t.join("|")})-<percent>`,`(${_t.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:xe},{custom:{preflightKeys:Y}}],["transform-cpu",{transform:ju},{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:Tu},{custom:{preflightKeys:Y}}],["transform-none",{transform:"none"}],...C("transform")];function hi([,e,t],{theme:r}){let n=r.spacing?.[t]??u.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Pt(e,n,"translate"),["transform",xe]]}function gi([,e,t]){let r=u.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Pt(e,r,"scale"),["transform",xe]]}function bi([,e="",t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:xe}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:xe}}function xi([,e,t]){let r=u.bracket.cssvar.degree(t);if(r!=null)return[...Pt(e,r,"skew"),["transform",xe]]}function $i(e,t){let r;if(u.cssvar(e)!=null)r=u.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??u.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var vi=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??u.time("150")};if(e!=null){let n=$i(e,r),o=r.duration?.[t||"DEFAULT"]??u.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??u.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??u.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??u.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=u.global(e)||$i(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...k].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...C("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]];var wi=[[/^text-(.+)$/,Au,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Ei,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Ou,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,O("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>k.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${k.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||u.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":an(e,t,"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-(.+)$/,([,e])=>({"font-synthesis":u.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||u.bracket.cssvar.global.rem(e)}),{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-(.+)$/,([,e])=>({"font-stretch":u.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||u.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],ki=[[/^tab(?:-(.+))?$/,([,e])=>{let t=u.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Si=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||u.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Ci=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||u.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,O("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Ri=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":Tt(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":u.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,O("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":u.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function an(e,t,r){return t[r]?.[e]||u.bracket.cssvar.global.rem(e)}function Ei([,e],{theme:t}){let n=F(t.fontSize?.[e])?.[0]??u.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Ou(e,t){return D(u.bracket(e[1]))?Ei(e,t):O("color","text","textColor")(e,t)}function Au([,e="base"],{theme:t}){let r=Xr(e,"length");if(!r)return;let[n,o]=r,i=F(t.fontSize?.[n]),a=o?an(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,f,m]=i;return typeof f=="object"?{"font-size":l,...f}:{"font-size":l,"line-height":a??f??"1","letter-spacing":m?an(m,t,"letterSpacing"):void 0}}let s=u.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":u.bracketOfLength.rem(e)}}var Pu={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"},zi=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Pu[e];if(r)return{[r]:u.cssvar(t)}}]],ji=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Vu(t)&&/^[a-z-]+$/.test(r)&&Fu(o)){let i=u.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Fu(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Vu(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Ti=[zi,ji,Ko,Go,Io,Vo,Lo,Bo,Wo,Po,Mo,pi,No,Do,ui,li,Oo,yi,qo,Xo,Ho,$o,tn,en,Qr,Ao,_o,Fo,ti,Yo,Qo,ko,Co,Ro,di,fi,fo,Si,ei,uo,wi,ri,ni,jo,oi,ki,Ci,Ri,So,si,xo,ii,vi,vo,Zo,Jo,Eo,Uo].flat(1);var Oi={position:["relative","absolute","fixed","sticky","static"],globalKeyword:k};var sn={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(sn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var Ai={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Pi={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(",")},Vi={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"]},Wi={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},_i={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Li={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)"]},Mi={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},cn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Bi={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ni=cn;var ln={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Ui={...ln},Di={DEFAULT:"1px",none:"0"},Ii={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"},qi={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},Ki={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},Gi={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)"},Hi={DEFAULT:"3px",none:"0"},Xi={auto:"auto"},Yi={mouse:"(hover) and (pointer: fine)"};var Zi={...on,...nn,...rn};var Me={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},un={auto:"auto",...Me,screen:"100vw"},Be={none:"none",...Me,screen:"100vw"},fn={auto:"auto",...Me,screen:"100vh"},Ne={none:"none",...Me,screen:"100vh"},Ji={...Me};var Qi={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)"},ea={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 ta={width:un,height:fn,maxWidth:Be,maxHeight:Ne,minWidth:Be,minHeight:Ne,inlineSize:un,blockSize:fn,maxInlineSize:Be,maxBlockSize:Ne,minInlineSize:Be,minBlockSize:Ne,colors:sn,fontFamily:Fi,fontSize:Vi,fontWeight:Bi,breakpoints:ln,verticalBreakpoints:Ui,borderRadius:Ki,lineHeight:Mi,letterSpacing:cn,wordSpacing:Ni,boxShadow:Gi,textIndent:Wi,textShadow:Li,textStrokeWidth:_i,blur:Ai,dropShadow:Pi,easing:Qi,transitionProperty:ea,lineWidth:Di,spacing:Ii,duration:qi,ringWidth:Hi,preflightBase:Zi,containers:Ji,zIndex:Xi,media:Yi};var ra={name:"aria",match(e,t){let r=w("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}}};function Lt(e){return{name:`${e}-aria`,match(t,r){let n=w(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,a=u.bracket(o)??r.theme.aria?.[o]??"";if(a)return{matcher:`${e}-[[aria-${a}]]:${i}`}}}}}var na=[Lt("group"),Lt("peer"),Lt("parent"),Lt("previous")];function oa(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}var ia=/(max|min)-\[([^\]]*)\]:/;function aa(){let e={};return{name:"breakpoints",match(t,r){if(ia.test(t)){let o=t.match(ia);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(At(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,l]=s,f=t.slice(l.length);if(f==="container")continue;let m=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),h=l.startsWith("at-")||l.startsWith("~"),d=3e3;return m?(d-=a+1,{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (max-width: ${oa(i)})`,parentOrder:d})}):(d+=a+1,h&&a<n.length-1?{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${oa(n[a+1][1])})`,parentOrder:d})}:{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var sa=[j("*",e=>({selector:`${e.selector} > *`}))];function Ue(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=u.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var ca=[Ue("all"," "),Ue("children",">"),Ue("next","+"),Ue("sibling","+"),Ue("siblings","~")];var la={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=w("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=u.bracket(n),s;if(a?s=u.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(f,m)=>m({...f,parent:`${f.parent?`${f.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:l})}}}},multiPass:!0};function ua(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[j("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),j("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[T("dark","@media (prefers-color-scheme: dark)"),T("light","@media (prefers-color-scheme: light)")]}var fa={name:"data",match(e,t){let r=w("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}}};function Mt(e){return{name:`${e}-data`,match(t,r){let n=w(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,a]=n,s=u.bracket(o)??r.theme.data?.[o]??"";if(s)return{matcher:`${e}-[[data-${s}]]${a?`/${a}`:""}:${i}`}}}}}var pa=[Mt("group"),Mt("peer"),Mt("parent"),Mt("previous")];var da=[j("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),j("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ma(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var ha=T("print","@media print"),ga={name:"media",match(e,t){let r=w("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0};var ba={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},xa={name:"layer",match(e,t){let r=w("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},ya={name:"uno-layer",match(e,t){let r=w("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},$a={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},va={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=Q(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=u.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){let f=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...f})}}},multiPass:!0},wa={name:"theme-variables",match(e,t){if(St(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Ct(JSON.stringify(r.entries),t.theme))})}}}};var ka=/^-?[0-9.]+(?:[a-z]+|%)?$/,Sa=/-?[0-9.]+(?:[a-z]+|%)?/,Wu=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function _u(e){let t=e.match(Ae)||e.match(Rt);if(t){let[r,n]=K(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var Lu=/\b(hue-rotate)\s*(\(.*)/;function Mu(e){let t=e.match(Lu);if(t){let[r,n]=K(t[2],"(",")"," ")??[];if(r){let o=ka.test(r.slice(1,-1))?r.replace(Sa,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Ca={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===go))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Wu.some(s=>s.test(n[0])))return;let i=_u(o);if(i){n[1]=i,r=!0;return}let a=Mu(o);if(a){n[1]=a,r=!0;return}ka.test(o)&&(n[1]=o.replace(Sa,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};var ye=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)"],"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(e=>Array.isArray(e)?e:[e,`:${e}`])),ja=Object.keys(ye),$e=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Ta=Object.keys($e),Bu=["not","is","where","has"],Oa=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),pn=Object.entries(ye).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),dn=Object.entries($e).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),le=Bu.join("|"),Ra=Object.keys(Oa).sort((e,t)=>t.length-e.length).join("|");function Nu(e,t,r){let n=new RegExp(`^(${q(t)}:)(\\S+)${q(r)}\\1`),o,i,a,s,l=h=>{let d=_(`${e}-`,h,[]);if(!d)return;let[p,g]=d,b=u.bracket(p);if(b==null)return;let E=g.split(o,1)?.[0]??"",z=`${t}${B(E)}`;return[E,h.slice(h.length-(g.length-E.length-1)),b.includes("&")?b.replace(/&/g,z):`${z}${b}`]},f=h=>{let d=h.match(i)||h.match(a);if(!d)return;let[p,g,b]=d,E=d[3]??"",z=ye[b]||$e[b]||`:${b}`;return g&&(z=`:${g}(${z})`),[E,h.slice(p.length),`${t}${B(E)}${z}`,b]},m=h=>{let d=h.match(s);if(!d)return;let[p,g,b]=d,E=d[3]??"",z=`:${g}(${b})`;return[E,h.slice(p.length),`${t}${B(E)}${z}`]};return{name:`pseudo:${e}`,match(h,d){if(o&&i&&a||(o=new RegExp(`(?:${d.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${le})-)?(${pn}))(?:(/\\w+))?(?:${d.generator.config.separators.join("|")})`),a=new RegExp(`^${e}-(?:(?:(${le})-)?(${dn}))(?:(/\\w+))?(?:${d.generator.config.separators.filter(W=>W!=="-").join("|")})`),s=new RegExp(`^${e}-(?:(${le})-)?\\[(.+)\\](?:(/\\w+))?(?:${d.generator.config.separators.filter(W=>W!=="-").join("|")})`)),!h.startsWith(e))return;let p=l(h)||f(h)||m(h);if(!p)return;let[g,b,E,z=""]=p;return{matcher:b,handle:(W,Wr)=>Wr({...W,prefix:`${E}${r}${W.prefix}`.replace(n,"$1$2:"),sort:ja.indexOf(z)??Ta.indexOf(z)})}},multiPass:!0}}var Uu=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Ea=Object.entries(ye).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),za=Object.entries($e).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Aa(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${Ea})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${za})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let a=ye[i[1]]||$e[i[1]]||`:${i[1]}`,s=ja.indexOf(i[1]);return s===-1&&(s=Ta.indexOf(i[1])),s===-1&&(s=void 0),{matcher:n.slice(i[0].length),handle:(l,f)=>{let m=a.includes("::")&&!Uu.includes(a)?{pseudo:`${l.pseudo}${a}`}:{selector:`${l.selector}${a}`};return f({...l,...m,sort:s,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Ea}|${za}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${Ra})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return Oa[i[1]].map(s=>({matcher:n.slice(i[0].length),handle:(l,f)=>f({...l,pseudo:`${l.pseudo}${s}`})}))},multiPass:!1,autocomplete:`(${Ra}):`}]}function Pa(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${le})-(${pn})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${le})-(${dn})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`),r=new RegExp(`^(${le})-(\\[.+\\])(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let a=i[1],l=Q(i[2],"[","]")?u.bracket(i[2]):ye[i[2]]||$e[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:f=>`${f}:${a}(${l})`}}},multiPass:!0,autocomplete:`(${le})-(${pn}|${dn}):`}}function Fa(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>Nu(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var Du=/(part-\[(.+)\]:)(.+)/,Va={match(e){let t=e.match(Du);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0};var Wa={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}};var _a={name:"supports",match(e,t){let r=w("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=u.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function La(e){return[ra,fa,xa,ba,ya,Ca,Wa,ma(),_a,ha,ga,aa(),...ca,...Aa(),Pa(),...Fa(e),Va,...ua(e),...da,$a,...sa,la,va,...pa,...na,wa]}var mn=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:ta,rules:Ti,variants:La(e),options:e,prefix:e.prefix,postprocess:Iu(e.variablePrefix),preflights:Xn(e),extractorDefault:e.arbitraryVariants===!1?void 0:Hn(),autocomplete:{shorthands:Oi}}),Ma=mn;function Iu(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}function Ba(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function Na(e){return[...F(Ma(e).postprocess),...Ba(e.important)]}var P={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"]},Bt={...P,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"]},Nt={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"]},Ka={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ga=["x","y","z"],Ua=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],A=Object.assign({},...Ua.map(e=>({[e.replace(/ /,"-")]:e})),...Ua.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),v=["inherit","initial","revert","revert-layer","unset"],De=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ut=/^(var)\s*\((.+)\)(.*)/,Dt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ha=/^(-?\d*(?:\.\d+)?)$/,Xa=/^(px|[sld]?v[wh])$/i,Ya={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Za=/^\[(color|image|length|size|position|quoted|string):/i,qu=/,(?![^()]*\))/g,Ku=["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 I(e){return+e.toFixed(10)}function Gu(e){let t=e.match(Dt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${I(o)}${n}`}function Hu(e){if(e==="auto"||e==="a")return"auto"}function Xu(e){if(!e)return;if(Xa.test(e))return`${Ya[e]}${e}`;let t=e.match(Dt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${I(o)}${n}`:`${I(o/4)}rem`}function Yu(e){if(Xa.test(e))return`${Ya[e]}${e}`;let t=e.match(Dt);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${I(o)}${n}`:`${I(o)}px`}function Zu(e){if(!Ha.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return I(t)}function Ju(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!Ha.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${I(t/100)}`}function Qu(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${I(n*100)}%`}function It(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,o=e.match(Za);if(o?(t||(n=o[1]),r=e.slice(o[0].length,-1)):r=e.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 s=[];return a.replace(/var\((--.+?)[,)]/g,(l,f)=>(s.push(f),l.replace(f,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function ef(e){return It(e)}function tf(e){return It(e,"color")}function rf(e){return It(e,"length")}function nf(e){return It(e,"position")}function of(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${B(t)}${r?`, ${r}`:""})`}}function af(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${I(o)}${n}`:`${I(o)}ms`}function sf(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${I(o)}${n}`:`${I(o)}deg`}function cf(e){if(v.includes(e))return e}function lf(e){if(e.split(",").every(t=>Ku.includes(t)))return e}function uf(e){if(["top","left","right","bottom","center"].includes(e))return e}var Ja={__proto__:null,auto:Hu,bracket:ef,bracketOfColor:tf,bracketOfLength:rf,bracketOfPosition:nf,cssvar:of,degree:sf,fraction:Qu,global:cf,number:Zu,numberWithUnit:Gu,percent:Ju,position:uf,properties:lf,px:Yu,rem:Xu,time:af},Qa=$t(Ja),c=Qa,gn="$$mini-no-negative";function S(e){return([t,r,n],{theme:o})=>{let i=o.spacing?.[n||"DEFAULT"]??c.bracket.cssvar.global.auto.fraction.rem(n);if(i!=null)return P[r].map(a=>[`${e}${a}`,i]);if(n?.startsWith("-")){let a=o.spacing?.[n.slice(1)];if(a!=null)return P[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function Da(e,t,r="colors"){let n=e[r],o=-1;for(let i of t){if(o+=1,n&&typeof n!="string"){let a=t.slice(o).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[i]){n=n[i];continue}}return}return n}function Ia(e,t,r){return Da(e,t,r)||Da(e,t,"colors")}function qt(e,t){let[r,n]=K(e,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(Za)??[])[1];if(o==null||o===t)return[r,n]}}function ue(e,t,r){let n=qt(e,"color");if(!n)return;let[o,i]=n,a=o.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let l,f=c.bracketOfColor(o),m=f||o;if(c.numberWithUnit(m))return;if(/^#[\da-f]+$/i.test(m)?l=m:/^hex-[\da-fA-F]+$/.test(m)?l=`#${m.slice(4)}`:o.startsWith("$")&&(l=c.cssvar(o)),l=l||f,!l){let d=Ia(t,[o],r);typeof d=="string"&&(l=d)}let h="DEFAULT";if(!l){let d=a,p,[g]=a.slice(-1);/^\d+$/.test(g)&&(h=p=g,d=a.slice(0,-1));let b=Ia(t,d,r);typeof b=="object"?l=b[p??h]:typeof b=="string"&&!p&&(l=b)}return{opacity:i,name:s,no:h,color:l,cssColor:V(l),alpha:c.bracket.cssvar.percent(i??"")}}function R(e,t,r,n){return([,o],{theme:i,generator:a})=>{let s=ue(o,i,r);if(!s)return;let{alpha:l,color:f,cssColor:m}=s,d=a.config.envMode==="dev"&&f?` /* ${f} */`:"",p={};if(m)if(l!=null)p[e]=$(m,l)+d;else{let g=`--un-${t}-opacity`,b=$(m,`var(${g})`);b.includes(g)&&(p[g]=N(m)),p[e]=b+d}else if(f)if(l!=null)p[e]=$(f,l)+d;else{let g=`--un-${t}-opacity`,b=$(f,`var(${g})`);b.includes(g)&&(p[g]=1),p[e]=b+d}if(n?.(p)!==!1)return p}}function fe(e,t){let r=[];e=F(e);for(let n=0;n<e.length;n++){let o=ne(e[n]," ",6);if(!o||o.length<3)return e;let i=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="",l=o.at(-1);if(V(o.at(0))){let f=V(o.shift());f&&(s=`, ${$(f)}`)}else if(V(l)){let f=V(o.pop());f&&(s=`, ${$(f)}`)}else l&&Ut.test(l)&&(s=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return r}function pe(e,t,r){return e!=null&&!!ue(e,t,r)?.color}var qa=/[a-z]+/gi,hn=new WeakMap;function oe({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(hn.has(e))return hn.get(e);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(qa,""))-Number.parseInt(a[1].replace(qa,""))).map(([i,a])=>({point:i,size:a}));return hn.set(e,o),o}function x(e,t){return v.map(r=>[`${e}-${r}`,{[t??e]:r}])}function ee(e){return e!=null&&De.test(e)}function bn(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),De.test(e)||Dt.test(e)}function Ie(e,t,r){let n=t.split(qu);return e||!e&&n.length===1?Ka[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${Ga[i]}`,o])}var es=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...a}]}return{animation:c.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":c.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??c.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?v:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?v:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":c.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?v:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...x("animate","animation")];function ts(e){return e?$(e,0):"rgb(255 255 255 / 0)"}function ff(e,t,r,n){return t?n!=null?$(t,n):$(t,`var(--un-${e}-opacity, ${N(t)})`):$(r,n)}function xn(){return([,e,t],{theme:r})=>{let n=ue(t,r,"backgroundColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(!i)return;let s=ff(e,a,i,o);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${ts(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":ts(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function pf(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(c.bracket.cssvar.percent(t))*100}%`})}var rs=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":c.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":c.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,xn()],[/^(?:bg-gradient-)?(via)-(.+)$/,xn()],[/^(?:bg-gradient-)?(to)-(.+)$/,xn()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:c.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,pf()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-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})$/,([,e])=>{if(e in A)return{"--un-gradient-shape":`to ${A[e]} 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(A).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in A?`to ${A[e]}`:c.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(A).join("|")})`,`shape-(${Object.keys(A).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...x("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...v.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":A[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...x("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"}],...x("bg-origin","background-origin")];var yn={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"},ns=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=yn[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(yn).join("|")})`,`list-(${Object.keys(yn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":c.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...x("list","list-style-type")],os=[[/^accent-(.+)$/,R("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":c.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],is=[[/^caret-(.+)$/,R("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":c.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],as=[["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"]]]],ss=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...x("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...x("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"}],...x("overscroll-y","overscroll-behavior-y")],cs=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...x("scroll","scroll-behavior")];var ls=[[/^columns-(.+)$/,([,e])=>({columns:c.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...x("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"}],...x("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"}],...x("break-after")];var df=/@media \(min-width: (.+)\)/,us=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,o=r.container?.padding,i;he(o)?i=o:i=o?.DEFAULT;let a=r.container?.maxWidth,s;for(let f of n){let m=f.handle?.({},h=>h)?.parent;if(he(m)){let h=m.match(df)?.[1];if(h){let p=(oe(t)??[]).find(g=>g.size===h)?.point;a?p&&(s=a?.[p]):s=h,p&&!he(o)&&(i=o?.[p]??i)}}}let l={"max-width":s};return n.length||(l.width="100%"),r.container?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],fs=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(oe(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]];var mf=["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"],hf=["none","strict","content","size","inline-size","layout","style","paint"],y=" ",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-(.+)$/,([,e])=>({display:c.bracket.cssvar.global(e)})]],Ke=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...x("backface","backface-visibility")],Ge=[[/^cursor-(.+)$/,([,e])=>({cursor:c.bracket.cssvar.global(e)})],...mf.map(e=>[`cursor-${e}`,{cursor:e}])],He=[[/^contain-(.*)$/,([,e])=>c.bracket(e)!=null?{contain:c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" ")}:hf.includes(e)?{contain:e}:void 0]],Xe=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...x("pointer-events")],Ye=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...x("resize")],Ze=[["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"}],...x("select","user-select")],Je=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...v].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Qe=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...x("content-visibility")],et=[[/^content-(.+)$/,([,e])=>({content:c.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],tt=[["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"}]],rt=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],nt=[["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"}]],ot=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...x("case","text-transform")],it=[["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"}]],at=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],we={"--un-ring-inset":y,"--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)"},gf=Object.keys(we),st=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??c.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:gf},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,gs,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??c.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,bf,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,R("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];function gs([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??c.bracket.cssvar.px(e)}}function bf(e,t){return ee(c.bracket(e[1]))?gs(e,t):R("--un-ring-color","ring","borderColor")(e,t)}var ke={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":y,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},xf=Object.keys(ke),ct=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,o=n.boxShadow?.[r||"DEFAULT"],i=r?c.bracket.cssvar(r):void 0;return(o!=null||i!=null)&&!pe(i,n,"shadowColor")?{"--un-shadow":fe(o||i,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:R("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:xf},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Kt=["translate","rotate","scale"],yf=["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(" "),ve=["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(" "),$f=["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(" "),Se={"--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},Z=Object.keys(Se),lt=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":A[e]??c.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(A).join("|")})`,`origin-(${Object.keys(A).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=c.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=c.bracket.cssvar(e)??(e.length>=3?A[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,ps,{custom:{preflightKeys:Z}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,ps,{custom:{preflightKeys:Z}}],[/^(?:transform-)?rotate-()(.+)$/,ms,{custom:{preflightKeys:Z}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,ms,{custom:{preflightKeys:Z}}],[/^(?:transform-)?skew-()(.+)$/,hs,{custom:{preflightKeys:Z}}],[/^(?:transform-)?skew-([xy])-(.+)$/,hs,{custom:{preflightKeys:Z},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ds,{custom:{preflightKeys:Z}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,ds,{custom:{preflightKeys:Z},autocomplete:[`transform-(${Kt.join("|")})-<percent>`,`transform-(${Kt.join("|")})-(x|y|z)-<percent>`,`(${Kt.join("|")})-<percent>`,`(${Kt.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:ve},{custom:{preflightKeys:Z}}],["transform-cpu",{transform:yf},{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:$f},{custom:{preflightKeys:Z}}],["transform-none",{transform:"none"}],...x("transform")];function ps([,e,t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.fraction.rem(t);if(n!=null)return[...Ie(e,n,"translate"),["transform",ve]]}function ds([,e,t]){let r=c.bracket.cssvar.fraction.percent(t);if(r!=null)return[...Ie(e,r,"scale"),["transform",ve]]}function ms([,e="",t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:ve}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:ve}}function hs([,e,t]){let r=c.bracket.cssvar.degree(t);if(r!=null)return[...Ie(e,r,"skew"),["transform",ve]]}var bs={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(v.map(e=>[e,e]))},Xt=[[/^(?:vertical|align|v)-([-\w]+%?)$/,([,e])=>({"vertical-align":bs[e]??c.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(bs).join("|")})`,"(vertical|align|v)-<percentage>"]}]],xs=["center","left","right","justify","start","end"],Yt=[...xs.map(e=>[`text-${e}`,{"text-align":e}]),...[...v,...xs].map(e=>[`text-align-${e}`,{"text-align":e}])],Zt=[[/^outline-(?:width-|size-)?(.+)$/,ks,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,vf,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...v].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];function ks([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}}function vf(e,t){return ee(c.bracket(e[1]))?ks(e,t):R("outline-color","outline-color","borderColor")(e,t)}var Jt=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function wf(e){return c.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}var Qt=[[/^will-change-(.+)/,([,e])=>({"will-change":wf(e)})]],ie=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...v],er=[[/^(?:border|b)()(?:-(.+))?$/,H,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,H],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,H],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,H],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,H],[/^(?:border|b)-()(?:width|size)-(.+)$/,H,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,H],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,H],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,H],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,H],[/^(?:border|b)-()(?:color-)?(.+)$/,ut,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,ut],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,ut],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,ft,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,ft],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,ft],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,pt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,pt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,pt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,pt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,pt],[/^(?:border|b)-(?:style-)?()(.+)$/,Ce,{autocomplete:["(border|b)-style",`(border|b)-(${ie.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ie.join("|")})`,`(border|b)-<directions>-style-(${ie.join("|")})`,`(border|b)-style-(${ie.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ce],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ce],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ce],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ce]];function ys(e,t,r){if(t!=null)return{[`border${r}-color`]:$(e,t)};if(r===""){let n={},o="--un-border-opacity",i=$(e,`var(${o})`);return i.includes(o)&&(n[o]=typeof e=="string"?1:N(e)),n["border-color"]=i,n}else{let n={},o="--un-border-opacity",i=`--un-border${r}-opacity`,a=$(e,`var(${i})`);return a.includes(i)&&(n[o]=typeof e=="string"?1:N(e),n[i]=`var(${o})`),n[`border${r}-color`]=a,n}}function kf(e){return([,t],r)=>{let n=ue(t,r,"borderColor");if(!n)return;let{alpha:o,color:i,cssColor:a}=n;if(a)return ys(a,o,e);if(i)return ys(i,o,e)}}function H([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.global.px(t||"1");if(e in P&&n!=null)return P[e].map(o=>[`border${o}-width`,n])}function ut([,e="",t],r){if(e in P){if(ee(c.bracket(t)))return H(["",e,t],r);if(pe(t,r.theme,"borderColor"))return Object.assign({},...P[e].map(n=>kf(n)(["",t],r.theme)))}}function ft([,e="",t]){let r=c.bracket.percent.cssvar(t);if(e in P&&r!=null)return P[e].map(n=>[`--un-border${n}-opacity`,r])}function pt([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(t||"1");if(e in Nt&&n!=null)return Nt[e].map(o=>[`border${o}-radius`,n])}function Ce([,e="",t]){if(ie.includes(t)&&e in P)return P[e].map(r=>[`border${r}-style`,t])}var tr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Sf=/^\[url\(.+\)\]$/,Cf=/^\[(?:length|size):.+\]$/,Rf=/^\[position:.+\]$/,Ef=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,zf=/^\[image:.+\]$/,rr=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Sf.test(t))return{"--un-url":c.bracket(t),"background-image":"var(--un-url)"};if(Cf.test(t)&&c.bracketOfLength(t)!=null)return{"background-size":c.bracketOfLength(t).split(" ").map(r=>c.fraction.auto.px.cssvar(r)??r).join(" ")};if((bn(t)||Rf.test(t))&&c.bracketOfPosition(t)!=null)return{"background-position":c.bracketOfPosition(t).split(" ").map(r=>c.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Ef.test(t)||zf.test(t)){let r=c.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:c.cssvar(r))??r}}return R("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],nr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],or=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],$s=["solid","double","dotted","dashed","wavy",...v],ir=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ss,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,jf,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??c.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...$s.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...$s.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Ss([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??c.bracket.cssvar.global.px(e)}}function jf(e,t){if(ee(c.bracket(e[1])))return Ss(e,t);let r=R("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}var ar=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:c.bracket(e)!=null?c.bracket(e).split(" ").map(t=>c.cssvar.fraction(t)??t).join(" "):c.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":c.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??c.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Tf={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function $n([,e="",t],{theme:r}){let n=r.spacing?.[t]??c.bracket.cssvar.global.rem(t);if(n!=null)return{[`${Tf[e]}gap`]:n}}var sr=[[/^(?:flex-|grid-)?gap-?()(.+)$/,$n,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,$n,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,$n,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function J(e){return e.replace("col","column")}function vn(e){return e[0]==="r"?"Row":"Column"}function Of(e,t,r){let n=t[`gridAuto${vn(e)}`]?.[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 c.bracket.cssvar.auto.rem(r)}var cr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${J(e)}`]:r[`grid${vn(e)}`]?.[t]??c.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${J(e)}`]:"1/-1"};let r=c.bracket.number(t);if(r!=null)return{[`grid-${J(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${J(e)}-start`]:c.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${J(e)}-end`]:c.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${J(e)}`]:Of(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":c.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":J(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${J(e)}`]:r[`gridTemplate${vn(e)}`]?.[t]??c.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${J(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":c.cssvar(t)??t.split("-").map(r=>`"${c.bracket(r)}"`).join(" ")}:{"grid-area":c.bracket.cssvar(t)}],["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"}]],Gt=["auto","hidden","clip","visible","scroll","overlay",...v],lr=[[/^(?:overflow|of)-(.+)$/,([,e])=>Gt.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Gt.join("|")})`,`(overflow|of)-(x|y)-(${Gt.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Gt.includes(t)?{[`overflow-${e}`]:t}:void 0]],ur=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>v.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],mt=[["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"}],...x("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"}],...x("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"}],...x("justify-self")],fr=[[/^order-(.+)$/,([,e])=>({order:c.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],ht=[["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"}],...x("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"}],...x("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"}],...x("self","align-self")],gt=[["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"}],...x("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"}],...x("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"}],...x("place-self")],pr=[...mt,...ht,...gt].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function wn(e,{theme:t}){return t.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e)}function dt([,e,t],r){let n=wn(t,r);if(n!=null&&e in Bt)return Bt[e].map(o=>[o.slice(1),n])}var dr=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:wn(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,dt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,dt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,dt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,dt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,dt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:wn(t,r)})]],mr=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...x("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"}],...x("clear")],hr=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":c.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??c.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],gr=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...x("box","box-sizing")],br=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Af={h:"height",w:"width",inline:"inline-size",block:"block-size"};function de(e,t){return`${e||""}${Af[t]}`}function Ht(e,t,r,n){let o=de(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),i=r[o]?.[n];if(i!=null)return i;switch(n){case"fit":case"max":case"min":return`${n}-content`}return c.bracket.cssvar.global.auto.fraction.rem(n)}var xr=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[de(e,"w")]:Ht(e,"w",r,t),[de(e,"h")]:Ht(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Ht(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[de(e,t)]:Ht(e,t,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-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:vs(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[de(e,t)]:vs(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 vs(e,t,r="breakpoints"){let n=oe(e,r);if(n)return n.find(o=>o.point===t)?.size}function Pf(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return c.bracket.cssvar.global.auto.number(e)}var yr=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Pf(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],$r=[[/^pa?()-?(.+)$/,S("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,S("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,S("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,S("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,S("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,S("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],vr=[[/^ma?()-?(.+)$/,S("margin")],[/^m-?xy()()$/,S("margin")],[/^m-?([xy])(?:-?(.+))?$/,S("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,S("margin")],[/^m-(block|inline)(?:-(.+))?$/,S("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,S("margin")]],wr=[[/^fill-(.+)$/,R("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Cs,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":c.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??c.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Ff,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Cs([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??c.bracket.cssvar.fraction.px.number(e)}}function Ff(e,t){return ee(c.bracket(e[1]))?Cs(e,t):R("stroke","stroke","borderColor")(e,t)}function ws(e,t){let r;if(c.cssvar(e)!=null)r=c.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(o=>t.transitionProperty?.[o]??c.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var kr=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??c.time("150")};if(e!=null){let n=ws(e,r),o=r.duration?.[t||"DEFAULT"]??c.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":o}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??c.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??c.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??c.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=c.global(e)||ws(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...v].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...x("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Sr=[[/^text-(.+)$/,Wf,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,Rs,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Vf,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,R("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>v.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${v.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||c.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":kn(e,t,"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-(.+)$/,([,e])=>({"font-synthesis":c.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||c.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||c.bracket.cssvar.global.rem(e)}),{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-(.+)$/,([,e])=>({"font-stretch":c.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||c.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Cr=[[/^tab(?:-(.+))?$/,([,e])=>{let t=c.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Rr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||c.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Er=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,R("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],zr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":fe(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":c.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,R("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":c.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];function kn(e,t,r){return t[r]?.[e]||c.bracket.cssvar.global.rem(e)}function Rs([,e],{theme:t}){let n=F(t.fontSize?.[e])?.[0]??c.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Vf(e,t){return ee(c.bracket(e[1]))?Rs(e,t):R("color","text","textColor")(e,t)}function Wf([,e="base"],{theme:t}){let r=qt(e,"length");if(!r)return;let[n,o]=r,i=F(t.fontSize?.[n]),a=o?kn(o,t,"lineHeight"):void 0;if(i?.[0]){let[l,f,m]=i;return typeof f=="object"?{"font-size":l,...f}:{"font-size":l,"line-height":a??f??"1","letter-spacing":m?kn(m,t,"letterSpacing"):void 0}}let s=c.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":c.bracketOfLength.rem(e)}}var _f={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"},jr=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=_f[e];if(r)return{[r]:c.cssvar(t)}}]],Tr=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),o=n.join(":");if(!Mf(t)&&/^[a-z-]+$/.test(r)&&Lf(o)){let i=c.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Lf(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Mf(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var Bf=[jr,Tr,He,Xe,Ke,ur,dr,hr,fr,cr,mr,vr,gr,qe,yr,xr,ar,lt,Ge,Ze,Ye,Jt,gt,ht,mt,sr,pr,lr,nt,Je,tt,er,rr,nr,wr,$r,Yt,Rr,rt,Xt,Sr,ot,it,ir,at,Cr,Er,zr,tr,ct,Zt,st,kr,Qt,Qe,et,or,br].flat(1);var Es=[[/^divide-?([xy])$/,Or,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,Or],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Or],[/^divide-(block|inline)-(.+)$/,Or],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,R("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":c.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...ie.map(e=>[`divide-${e}`,{"border-style":e}])];function Or([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??c.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o=P[e].map(i=>{let a=`border${i}-width`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-divide-${e}-reverse`,0],...o]}}var Cn={"--un-blur":y,"--un-brightness":y,"--un-contrast":y,"--un-drop-shadow":y,"--un-grayscale":y,"--un-hue-rotate":y,"--un-invert":y,"--un-saturate":y,"--un-sepia":y},js=Object.keys(Cn),zs={preflightKeys:js},Ar="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",Rn={"--un-backdrop-blur":y,"--un-backdrop-brightness":y,"--un-backdrop-contrast":y,"--un-backdrop-grayscale":y,"--un-backdrop-hue-rotate":y,"--un-backdrop-invert":y,"--un-backdrop-opacity":y,"--un-backdrop-saturate":y,"--un-backdrop-sepia":y},Ts=Object.keys(Rn),Uf={preflightKeys:Ts},Pr="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)",te={preflightKeys:[...js,...Ts]};function Sn(e){let t=c.bracket.cssvar(e||"");if(t!=null||(t=e?c.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function re(e,t){return([,r,n],{theme:o})=>{let i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Pr,"backdrop-filter":Pr}:{[`--un-${e}`]:`${e}(${i})`,filter:Ar}}}function Df([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${fe(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Ar};if(r=c.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:Ar}}var Os=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,re("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||c.bracket.cssvar.px(e)),{custom:te,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,re("brightness",e=>c.bracket.cssvar.percent(e)),{custom:te,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,re("contrast",e=>c.bracket.cssvar.percent(e)),{custom:te,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Df,{custom:zs,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-(.+)$/,R("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":c.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,re("grayscale",Sn),{custom:te,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,re("hue-rotate",e=>c.bracket.cssvar.degree(e)),{custom:te}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,re("invert",Sn),{custom:te,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,re("opacity",e=>c.bracket.cssvar.percent(e)),{custom:te,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,re("saturate",e=>c.bracket.cssvar.percent(e)),{custom:te,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,re("sepia",Sn),{custom:te,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ar},{custom:zs}],["backdrop-filter",{"-webkit-backdrop-filter":Pr,"backdrop-filter":Pr},{custom:Uf}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...v.map(e=>[`filter-${e}`,{filter:e}]),...v.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])];var As=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...v].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])];var Ps=[[/^\$ placeholder-(.+)$/,R("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":c.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]];var En={"--un-scroll-snap-strictness":"proximity"},Fs={preflightKeys:Object.keys(En)},Vs=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:Fs,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:Fs}],["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?()-?(.+)$/,S("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])-?(.+)$/,S("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,S("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,S("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,S("scroll-margin")],[/^scroll-pa?()-?(.+)$/,S("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,S("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,S("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,S("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,S("scroll-padding")]];var _s=[[/^space-([xy])-(.+)$/,Ws,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,Ws],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function Ws([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??c.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let o=P[e].map(i=>{let a=`margin${i}`,s=i.endsWith("right")||i.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(o)return[[`--un-space-${e}-reverse`,0],...o]}}var Ls=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Ms=[...["manual","auto","none",...v].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Bs=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...x("write","writing-mode")],Ns=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...x("write-orient","text-orientation")],Us=[["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"}]],Is=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(A[e])return{"object-position":A[e]};if(c.bracketOfPosition(e)!=null)return{"object-position":c.bracketOfPosition(e).split(" ").map(t=>c.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(A).join("|")})`}]],qs=[["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"}],...x("bg-blend","background-blend")],Ks=[["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"}],...x("mix-blend")],Gs=[["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 zn={"--un-border-spacing-x":0,"--un-border-spacing-y":0},Hs={preflightKeys:Object.keys(zn)},Xs="var(--un-border-spacing-x) var(--un-border-spacing-y)",Ys=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??c.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":Xs}},{custom:Hs,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??c.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":Xs}},{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 On={"--un-pan-x":y,"--un-pan-y":y,"--un-pinch-zoom":y},jn={preflightKeys:Object.keys(On)},Tn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Zs=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Tn}),{custom:jn,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Tn}),{custom:jn}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Tn},{custom:jn}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...x("touch","touch-action")];var An={"--un-ordinal":y,"--un-slashed-zero":y,"--un-numeric-figure":y,"--un-numeric-spacing":y,"--un-numeric-fraction":y},ae={preflightKeys:Object.keys(An)};function se(e){return{...e,"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$/,()=>se({"--un-ordinal":"ordinal"}),{custom:ae,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>se({"--un-slashed-zero":"slashed-zero"}),{custom:ae,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>se({"--un-numeric-figure":"lining-nums"}),{custom:ae,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>se({"--un-numeric-figure":"oldstyle-nums"}),{custom:ae,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>se({"--un-numeric-spacing":"proportional-nums"}),{custom:ae,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>se({"--un-numeric-spacing":"tabular-nums"}),{custom:ae,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>se({"--un-numeric-fraction":"diagonal-fractions"}),{custom:ae,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>se({"--un-numeric-fraction":"stacked-fractions"}),{custom:ae,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]];var If={"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=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=If[e];if(r)return{[r]:c.cssvar(t)}}]];var ec=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]];var tc=[jr,Qs,Tr,us,He,Us,Xe,Ke,ur,dr,As,Ds,hr,fr,cr,mr,vr,gr,qe,yr,xr,ar,Ys,lt,es,Ge,Zs,Ze,Ye,Vs,ns,Jt,ls,gt,ht,mt,sr,pr,_s,Es,lr,ss,cs,nt,Je,tt,er,rr,rs,nr,wr,Is,$r,Yt,Rr,rt,Xt,Sr,ot,Ls,it,Js,ir,at,Cr,Er,zr,Ms,Bs,Ns,is,os,tr,qs,Ks,ct,Zt,st,as,Os,kr,Qt,Qe,et,Ps,or,ec,Gs,br].flat(1);var rc=[...fs];var Pn={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(Pn).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var nc={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},oc={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)"},ic={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(",")},ac={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"]},sc={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},cc={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},lc={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)"]},uc={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Wn={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},fc={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},pc=Wn,_n={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},dc={..._n},mc={DEFAULT:"1px",none:"0"},hc={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"},gc={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},bc={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},xc={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)"},yc={DEFAULT:"3px",none:"0"},$c={auto:"auto"},vc={mouse:"(hover) and (pointer: fine)"},wc={...Se,...ke,...we},Re={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Fn={auto:"auto",...Re,screen:"100vw"},bt={none:"none",...Re,screen:"100vw"},Vn={auto:"auto",...Re,screen:"100vh"},xt={none:"none",...Re,screen:"100vh"},kc={...Re},qf={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)"},Kf={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(",")}},Ln={width:Fn,height:Vn,maxWidth:bt,maxHeight:xt,minWidth:bt,minHeight:xt,inlineSize:Fn,blockSize:Vn,maxInlineSize:bt,maxBlockSize:xt,minInlineSize:bt,minBlockSize:xt,colors:Pn,fontFamily:ic,fontSize:ac,fontWeight:fc,breakpoints:_n,verticalBreakpoints:dc,borderRadius:bc,lineHeight:uc,letterSpacing:Wn,wordSpacing:pc,boxShadow:xc,textIndent:sc,textShadow:lc,textStrokeWidth:cc,blur:nc,dropShadow:oc,easing:qf,transitionProperty:Kf,lineWidth:mc,spacing:hc,duration:gc,ringWidth:yc,preflightBase:wc,containers:kc,zIndex:$c,media:vc};var Sc={...Ln,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:{...Se,...On,...En,...An,...zn,...ke,...we,...Cn,...Rn}};var Cc=[j("svg",e=>({selector:`${e.selector} svg`}))];var Rc=[j(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),j(".light",e=>({prefix:`.light $$ ${e.prefix}`})),T("@dark","@media (prefers-color-scheme: dark)"),T("@light","@media (prefers-color-scheme: light)")];var Oc={name:"aria",match(e,t){let r=w("aria-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}}};function Fr(e){return{name:`${e}-aria`,match(t,r){let n=w(`${e}-aria-`,t,r.generator.config.separators);if(n){let[o,i]=n,a=c.bracket(o)??r.theme.aria?.[o]??"";if(a)return{matcher:`${e}-[[aria-${a}]]:${i}`}}}}}var Ac=[Fr("group"),Fr("peer"),Fr("parent"),Fr("previous")];function Mn(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}var Ec=/(max|min)-\[([^\]]*)\]:/;function Pc(){let e={};return{name:"breakpoints",match(t,r){if(Ec.test(t)){let o=t.match(Ec);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(oe(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[o]);if(!s)continue;let[,l]=s,f=t.slice(l.length);if(f==="container")continue;let m=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),h=l.startsWith("at-")||l.startsWith("~"),d=3e3;return m?(d-=a+1,{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (max-width: ${Mn(i)})`,parentOrder:d})}):(d+=a+1,h&&a<n.length-1?{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Mn(n[a+1][1])})`,parentOrder:d})}:{matcher:f,handle:(p,g)=>g({...p,parent:`${p.parent?`${p.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:d})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}var Fc=[j("*",e=>({selector:`${e.selector} > *`}))];function yt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let o=n.generator.config.separators,i=_(`${e}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${e}${s}`)){i=["",r.slice(e.length+s.length)];break}if(!i)return}let a=c.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}var Vc=[yt("all"," "),yt("children",">"),yt("next","+"),yt("sibling","+"),yt("siblings","~")],Wc={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=w("@",e,t.generator.config.separators);if(r){let[n,o,i]=r,a=c.bracket(n),s;if(a?s=c.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let l=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return i&&(l+=1e3),{matcher:o,handle:(f,m)=>m({...f,parent:`${f.parent?`${f.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:l})}}}},multiPass:!0};function _c(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[j("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),j("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[T("dark","@media (prefers-color-scheme: dark)"),T("light","@media (prefers-color-scheme: light)")]}var Lc={name:"data",match(e,t){let r=w("data-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}}};function Vr(e){return{name:`${e}-data`,match(t,r){let n=w(`${e}-data-`,t,r.generator.config.separators);if(n){let[o,i,a]=n,s=c.bracket(o)??r.theme.data?.[o]??"";if(s)return{matcher:`${e}-[[data-${s}]]${a?`/${a}`:""}:${i}`}}}}}var Mc=[Vr("group"),Vr("peer"),Vr("parent"),Vr("previous")],Bc=[j("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),j("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Nc(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var Uc=T("print","@media print"),Dc={name:"media",match(e,t){let r=w("media-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0},Ic={name:"selector",match(e,t){let r=_("selector-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},qc={name:"layer",match(e,t){let r=w("layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Kc={name:"uno-layer",match(e,t){let r=w("uno-layer-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Gc={name:"scope",match(e,t){let r=_("scope-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Hc={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=Q(e,"[","]")??[];if(!(r&&n))return;let o;for(let s of t.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=c.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){let f=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...f})}}},multiPass:!0},Xc={name:"theme-variables",match(e,t){if(St(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Ct(JSON.stringify(r.entries),t.theme))})}}}},Yc=/^-?[0-9.]+(?:[a-z]+|%)?$/,Zc=/-?[0-9.]+(?:[a-z]+|%)?/,Gf=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Hf(e){let t=e.match(De)||e.match(Ut);if(t){let[r,n]=K(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}var Xf=/\b(hue-rotate)\s*(\(.*)/;function Yf(e){let t=e.match(Xf);if(t){let[r,n]=K(t[2],"(",")"," ")??[];if(r){let o=Yc.test(r.slice(1,-1))?r.replace(Zc,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}var Jc={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===gn))return;let r=!1;return t.forEach(n=>{let o=n[1]?.toString();if(!o||o==="0"||Gf.some(s=>s.test(n[0])))return;let i=Hf(o);if(i){n[1]=i,r=!0;return}let a=Yf(o);if(a){n[1]=a,r=!0;return}Yc.test(o)&&(n[1]=o.replace(Zc,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}},Ee=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)"],"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(e=>Array.isArray(e)?e:[e,`:${e}`])),Qc=Object.keys(Ee),ze=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),el=Object.keys(ze),Zf=["not","is","where","has"],tl=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Bn=Object.entries(Ee).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Nn=Object.entries(ze).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),me=Zf.join("|"),zc=Object.keys(tl).sort((e,t)=>t.length-e.length).join("|");function Jf(e,t,r){let n=new RegExp(`^(${q(t)}:)(\\S+)${q(r)}\\1`),o,i,a,s,l=h=>{let d=_(`${e}-`,h,[]);if(!d)return;let[p,g]=d,b=c.bracket(p);if(b==null)return;let E=g.split(o,1)?.[0]??"",z=`${t}${B(E)}`;return[E,h.slice(h.length-(g.length-E.length-1)),b.includes("&")?b.replace(/&/g,z):`${z}${b}`]},f=h=>{let d=h.match(i)||h.match(a);if(!d)return;let[p,g,b]=d,E=d[3]??"",z=Ee[b]||ze[b]||`:${b}`;return g&&(z=`:${g}(${z})`),[E,h.slice(p.length),`${t}${B(E)}${z}`,b]},m=h=>{let d=h.match(s);if(!d)return;let[p,g,b]=d,E=d[3]??"",z=`:${g}(${b})`;return[E,h.slice(p.length),`${t}${B(E)}${z}`]};return{name:`pseudo:${e}`,match(h,d){if(o&&i&&a||(o=new RegExp(`(?:${d.generator.config.separators.join("|")})`),i=new RegExp(`^${e}-(?:(?:(${me})-)?(${Bn}))(?:(/\\w+))?(?:${d.generator.config.separators.join("|")})`),a=new RegExp(`^${e}-(?:(?:(${me})-)?(${Nn}))(?:(/\\w+))?(?:${d.generator.config.separators.filter(W=>W!=="-").join("|")})`),s=new RegExp(`^${e}-(?:(${me})-)?\\[(.+)\\](?:(/\\w+))?(?:${d.generator.config.separators.filter(W=>W!=="-").join("|")})`)),!h.startsWith(e))return;let p=l(h)||f(h)||m(h);if(!p)return;let[g,b,E,z=""]=p;return{matcher:b,handle:(W,Wr)=>Wr({...W,prefix:`${E}${r}${W.prefix}`.replace(n,"$1$2:"),sort:Qc.indexOf(z)??el.indexOf(z)})}},multiPass:!0}}var Qf=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],jc=Object.entries(Ee).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Tc=Object.entries(ze).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function rl(){let e,t,r;return[{name:"pseudo",match(n,o){e&&t||(e=new RegExp(`^(${jc})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${Tc})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t);if(i){let a=Ee[i[1]]||ze[i[1]]||`:${i[1]}`,s=Qc.indexOf(i[1]);return s===-1&&(s=el.indexOf(i[1])),s===-1&&(s=void 0),{matcher:n.slice(i[0].length),handle:(l,f)=>{let m=a.includes("::")&&!Qf.includes(a)?{pseudo:`${l.pseudo}${a}`}:{selector:`${l.selector}${a}`};return f({...l,...m,sort:s,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${jc}|${Tc}):`},{name:"pseudo:multi",match(n,o){r||(r=new RegExp(`^(${zc})(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return tl[i[1]].map(s=>({matcher:n.slice(i[0].length),handle:(l,f)=>f({...l,pseudo:`${l.pseudo}${s}`})}))},multiPass:!1,autocomplete:`(${zc}):`}]}function nl(){let e,t,r;return{match(n,o){e&&t||(e=new RegExp(`^(${me})-(${Bn})(?:${o.generator.config.separators.join("|")})`),t=new RegExp(`^(${me})-(${Nn})(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`),r=new RegExp(`^(${me})-(\\[.+\\])(?:${o.generator.config.separators.filter(a=>a!=="-").join("|")})`));let i=n.match(e)||n.match(t)||n.match(r);if(i){let a=i[1],l=Q(i[2],"[","]")?c.bracket(i[2]):Ee[i[2]]||ze[i[2]]||`:${i[2]}`;return{matcher:n.slice(i[0].length),selector:f=>`${f}:${a}(${l})`}}},multiPass:!0,autocomplete:`(${me})-(${Bn}|${Nn}):`}}function ol(e={}){let t=!!e?.attributifyPseudo,r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";let n=(o,i)=>Jf(o,t?`[${r}${o}=""]`:`.${r}${o}`,i);return[n("group"," "),n("peer","~"),n("parent",">"),n("previous","+"),n("group-aria"," "),n("peer-aria","~"),n("parent-aria",">"),n("previous-aria","+")]}var ep=/(part-\[(.+)\]:)(.+)/,il={match(e){let t=e.match(ep);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0},al={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},sl={name:"supports",match(e,t){let r=w("supports-",e,t.generator.config.separators);if(r){let[n,o]=r,i=c.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Un(e){return[Oc,Lc,qc,Ic,Kc,Jc,al,Nc(),sl,Uc,Dc,Pc(),...Vc,...rl(),nl(),...ol(e),il,..._c(e),...Bc,Gc,...Fc,Wc,Hc,...Mc,...Ac,Xc]}var cl=[T("contrast-more","@media (prefers-contrast: more)"),T("contrast-less","@media (prefers-contrast: less)")],ll=[T("motion-reduce","@media (prefers-reduced-motion: reduce)"),T("motion-safe","@media (prefers-reduced-motion: no-preference)")],ul=[T("landscape","@media (orientation: landscape)"),T("portrait","@media (orientation: portrait)")];var fl=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},pl=[j("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];var dl=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(pe(i,t,"accentColor")||tp(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function tp(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?c.bracket.percent(t[1])!=null:!1}function ml(e){return[dl,fl,...Un(e),...cl,...ul,...ll,...Cc,...Rc,...pl]}var rp=(e={})=>(e.important=e.important??!1,{...mn(e),name:"@unocss/preset-wind",theme:Sc,rules:tc,shortcuts:rc,variants:ml(e),postprocess:Na(e)}),hl=rp;window.__unocss_runtime=window.__unocss_runtime??{};window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetWind:e=>hl(e)});})();