34 lines
188 KiB
JavaScript
34 lines
188 KiB
JavaScript
"use strict";var Hr=Object.defineProperty;var Gr=(t,r)=>{for(var n in r)Hr(t,n,{get:r[n],enumerable:!0})};var Xe={};Gr(Xe,{Features:()=>he,__unstable__loadDesignSystem:()=>Di,compile:()=>_i,compileAst:()=>qr,default:()=>Re});var xt="4.0.14";var we=92,Ke=47,Pe=42,Jr=34,Zr=39,Qr=58,_e=59,oe=10,ke=32,De=9,At=123,et=125,nt=40,Ct=41,Xr=91,en=93,Nt=45,tt=64,tn=33;function le(t){t[0]==="\uFEFF"&&(t=t.slice(1)),t=t.replaceAll(`\r
|
|
`,`
|
|
`);let r=[],n=[],e=[],i=null,s=null,l="",p="",f;for(let d=0;d<t.length;d++){let c=t.charCodeAt(d);if(c===we)l+=t.slice(d,d+2),d+=1;else if(c===Ke&&t.charCodeAt(d+1)===Pe){let m=d;for(let y=d+2;y<t.length;y++)if(f=t.charCodeAt(y),f===we)y+=1;else if(f===Pe&&t.charCodeAt(y+1)===Ke){d=y+1;break}let g=t.slice(m,d+1);g.charCodeAt(2)===tn&&n.push(Ue(g.slice(2,-2)))}else if(c===Zr||c===Jr){let m=d;for(let g=d+1;g<t.length;g++)if(f=t.charCodeAt(g),f===we)g+=1;else if(f===c){d=g;break}else{if(f===_e&&t.charCodeAt(g+1)===oe)throw new Error(`Unterminated string: ${t.slice(m,g+1)+String.fromCharCode(c)}`);if(f===oe)throw new Error(`Unterminated string: ${t.slice(m,g)+String.fromCharCode(c)}`)}l+=t.slice(m,d+1)}else{if((c===ke||c===oe||c===De)&&(f=t.charCodeAt(d+1))&&(f===ke||f===oe||f===De))continue;if(c===oe){if(l.length===0)continue;f=l.charCodeAt(l.length-1),f!==ke&&f!==oe&&f!==De&&(l+=" ")}else if(c===Nt&&t.charCodeAt(d+1)===Nt&&l.length===0){let m="",g=d,y=-1;for(let w=d+2;w<t.length;w++)if(f=t.charCodeAt(w),f===we)w+=1;else if(f===Ke&&t.charCodeAt(w+1)===Pe){for(let A=w+2;A<t.length;A++)if(f=t.charCodeAt(A),f===we)A+=1;else if(f===Pe&&t.charCodeAt(A+1)===Ke){w=A+1;break}}else if(y===-1&&f===Qr)y=l.length+w-g;else if(f===_e&&m.length===0){l+=t.slice(g,w),d=w;break}else if(f===nt)m+=")";else if(f===Xr)m+="]";else if(f===At)m+="}";else if((f===et||t.length-1===w)&&m.length===0){d=w-1,l+=t.slice(g,w);break}else(f===Ct||f===en||f===et)&&m.length>0&&t[w]===m[m.length-1]&&(m=m.slice(0,-1));let v=rt(l,y);if(!v)throw new Error("Invalid custom property, expected a value");i?i.nodes.push(v):r.push(v),l=""}else if(c===_e&&l.charCodeAt(0)===tt)s=xe(l),i?i.nodes.push(s):r.push(s),l="",s=null;else if(c===_e&&p[p.length-1]!==")"){let m=rt(l);if(!m)throw l.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${l.trim()}\``);i?i.nodes.push(m):r.push(m),l=""}else if(c===At&&p[p.length-1]!==")")p+="}",s=M(l.trim()),i&&i.nodes.push(s),e.push(i),i=s,l="",s=null;else if(c===et&&p[p.length-1]!==")"){if(p==="")throw new Error("Missing opening {");if(p=p.slice(0,-1),l.length>0)if(l.charCodeAt(0)===tt)s=xe(l),i?i.nodes.push(s):r.push(s),l="",s=null;else{let g=l.indexOf(":");if(i){let y=rt(l,g);if(!y)throw new Error(`Invalid declaration: \`${l.trim()}\``);i.nodes.push(y)}}let m=e.pop()??null;m===null&&i&&r.push(i),i=m,l="",s=null}else if(c===nt)p+=")",l+="(";else if(c===Ct){if(p[p.length-1]!==")")throw new Error("Missing opening (");p=p.slice(0,-1),l+=")"}else{if(l.length===0&&(c===ke||c===oe||c===De))continue;l+=String.fromCharCode(c)}}}if(l.charCodeAt(0)===tt&&r.push(xe(l)),p.length>0&&i){if(i.kind==="rule")throw new Error(`Missing closing } at ${i.selector}`);if(i.kind==="at-rule")throw new Error(`Missing closing } at ${i.name} ${i.params}`)}return n.length>0?n.concat(r):r}function xe(t,r=[]){for(let n=5;n<t.length;n++){let e=t.charCodeAt(n);if(e===ke||e===nt){let i=t.slice(0,n).trim(),s=t.slice(n).trim();return K(i,s,r)}}return K(t.trim(),"",r)}function rt(t,r=t.indexOf(":")){if(r===-1)return null;let n=t.indexOf("!important",r+1);return a(t.slice(0,r).trim(),t.slice(r+1,n===-1?t.length:n).trim(),n!==-1)}function te(t){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(t),n=r.length,e=-1,i,s="",l=r.charCodeAt(0);if(n===1&&l===45)return"\\"+r;for(;++e<n;){if(i=r.charCodeAt(e),i===0){s+="\uFFFD";continue}if(i>=1&&i<=31||i===127||e===0&&i>=48&&i<=57||e===1&&i>=48&&i<=57&&l===45){s+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){s+=r.charAt(e);continue}s+="\\"+r.charAt(e)}return s}function ae(t){return t.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var Vt=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-underline-offset","--text-indent","--text-decoration-thickness","--text-decoration-color"]]]);function $t(t,r){return(Vt.get(r)??[]).some(n=>t===n||t.startsWith(`${n}-`))}var Ie=class{constructor(r=new Map,n=new Set([])){this.values=r;this.keyframes=n}prefix=null;add(r,n,e=0){if(r.endsWith("-*")){if(n!=="initial")throw new Error(`Invalid theme value \`${n}\` for namespace \`${r}\``);r==="--*"?this.values.clear():this.clearNamespace(r.slice(0,-2),0)}if(e&4){let i=this.values.get(r);if(i&&!(i.options&4))return}n==="initial"?this.values.delete(r):this.values.set(r,{value:n,options:e})}keysInNamespaces(r){let n=[];for(let e of r){let i=`${e}-`;for(let s of this.values.keys())s.startsWith(i)&&s.indexOf("--",2)===-1&&($t(s,e)||n.push(s.slice(i.length)))}return n}get(r){for(let n of r){let e=this.values.get(n);if(e)return e.value}return null}hasDefault(r){return(this.getOptions(r)&4)===4}getOptions(r){return r=ae(this.#r(r)),this.values.get(r)?.options??0}entries(){return this.prefix?Array.from(this.values,r=>(r[0]=this.prefixKey(r[0]),r)):this.values.entries()}prefixKey(r){return this.prefix?`--${this.prefix}-${r.slice(2)}`:r}#r(r){return this.prefix?`--${r.slice(3+this.prefix.length)}`:r}clearNamespace(r,n){let e=Vt.get(r)??[];e:for(let i of this.values.keys())if(i.startsWith(r)){if(n!==0&&(this.getOptions(i)&n)!==n)continue;for(let s of e)if(i.startsWith(s))continue e;this.values.delete(i)}}#e(r,n){for(let e of n){let i=r!==null?`${e}-${r}`:e;if(!this.values.has(i))if(r!==null&&r.includes(".")){if(i=`${e}-${r.replaceAll(".","_")}`,!this.values.has(i))continue}else continue;if(!$t(i,e))return i}return null}#t(r){let n=this.values.get(r);if(!n)return null;let e=null;return n.options&2&&(e=n.value),`var(${te(this.prefixKey(r))}${e?`, ${e}`:""})`}markUsedVariable(r){let n=ae(this.#r(r)),e=this.values.get(n);e&&(e.options|=16)}resolve(r,n){let e=this.#e(r,n);if(!e)return null;let i=this.values.get(e);return i.options&1?i.value:this.#t(e)}resolveValue(r,n){let e=this.#e(r,n);return e?this.values.get(e).value:null}resolveWith(r,n,e=[]){let i=this.#e(r,n);if(!i)return null;let s={};for(let p of e){let f=`${i}${p}`,d=this.values.get(f);d&&(d.options&1?s[p]=d.value:s[p]=this.#t(f))}let l=this.values.get(i);return l.options&1?[l.value,s]:[this.#t(i),s]}namespace(r){let n=new Map,e=`${r}-`;for(let[i,s]of this.values)i===r?n.set(null,s.value):i.startsWith(`${e}-`)?n.set(i.slice(r.length),s.value):i.startsWith(e)&&n.set(i.slice(e.length),s.value);return n}addKeyframes(r){this.keyframes.add(r)}getKeyframes(){return Array.from(this.keyframes)}};var j=class extends Map{constructor(n){super();this.factory=n}get(n){let e=super.get(n);return e===void 0&&(e=this.factory(n,this),this.set(n,e)),e}};function ot(t){return{kind:"word",value:t}}function rn(t,r){return{kind:"function",value:t,nodes:r}}function nn(t){return{kind:"separator",value:t}}function X(t,r,n=null){for(let e=0;e<t.length;e++){let i=t[e],s=!1,l=0,p=r(i,{parent:n,replaceWith(f){s=!0,Array.isArray(f)?f.length===0?(t.splice(e,1),l=0):f.length===1?(t[e]=f[0],l=1):(t.splice(e,1,...f),l=f.length):t[e]=f}})??0;if(s){p===0?e--:e+=l-1;continue}if(p===2)return 2;if(p!==1&&i.kind==="function"&&X(i.nodes,r,i)===2)return 2}}function q(t){let r="";for(let n of t)switch(n.kind){case"word":case"separator":{r+=n.value;break}case"function":r+=n.value+"("+q(n.nodes)+")"}return r}var St=92,on=41,Tt=58,Et=44,ln=34,Rt=61,Ot=62,Kt=60,Pt=10,an=40,sn=39,_t=47,Dt=32,Ut=9;function L(t){t=t.replaceAll(`\r
|
|
`,`
|
|
`);let r=[],n=[],e=null,i="",s;for(let l=0;l<t.length;l++){let p=t.charCodeAt(l);switch(p){case St:{i+=t[l]+t[l+1],l++;break}case Tt:case Et:case Rt:case Ot:case Kt:case Pt:case _t:case Dt:case Ut:{if(i.length>0){let m=ot(i);e?e.nodes.push(m):r.push(m),i=""}let f=l,d=l+1;for(;d<t.length&&(s=t.charCodeAt(d),!(s!==Tt&&s!==Et&&s!==Rt&&s!==Ot&&s!==Kt&&s!==Pt&&s!==_t&&s!==Dt&&s!==Ut));d++);l=d-1;let c=nn(t.slice(f,d));e?e.nodes.push(c):r.push(c);break}case sn:case ln:{let f=l;for(let d=l+1;d<t.length;d++)if(s=t.charCodeAt(d),s===St)d+=1;else if(s===p){l=d;break}i+=t.slice(f,l+1);break}case an:{let f=rn(i,[]);i="",e?e.nodes.push(f):r.push(f),n.push(f),e=f;break}case on:{let f=n.pop();if(i.length>0){let d=ot(i);f.nodes.push(d),i=""}n.length>0?e=n[n.length-1]:e=null;break}default:i+=String.fromCharCode(p)}}return i.length>0&&r.push(ot(i)),r}function Fe(t){let r=[];return X(L(t),n=>{if(!(n.kind!=="function"||n.value!=="var"))return X(n.nodes,e=>{e.kind!=="word"||e.value[0]!=="-"||e.value[1]!=="-"||r.push(e.value)}),1}),r}var cn=64;function D(t,r=[]){return{kind:"rule",selector:t,nodes:r}}function K(t,r="",n=[]){return{kind:"at-rule",name:t,params:r,nodes:n}}function M(t,r=[]){return t.charCodeAt(0)===cn?xe(t,r):D(t,r)}function a(t,r,n=!1){return{kind:"declaration",property:t,value:r,important:n}}function Ue(t){return{kind:"comment",value:t}}function Z(t,r){return{kind:"context",context:t,nodes:r}}function _(t){return{kind:"at-root",nodes:t}}function P(t,r,n=[],e={}){for(let i=0;i<t.length;i++){let s=t[i],l=n[n.length-1]??null;if(s.kind==="context"){if(P(s.nodes,r,n,{...e,...s.context})===2)return 2;continue}n.push(s);let p=!1,f=0,d=r(s,{parent:l,context:e,path:n,replaceWith(c){p=!0,Array.isArray(c)?c.length===0?(t.splice(i,1),f=0):c.length===1?(t[i]=c[0],f=1):(t.splice(i,1,...c),f=c.length):(t[i]=c,f=1)}})??0;if(n.pop(),p){d===0?i--:i+=f-1;continue}if(d===2)return 2;if(d!==1&&"nodes"in s){n.push(s);let c=P(s.nodes,r,n,e);if(n.pop(),c===2)return 2}}}function je(t,r,n=[],e={}){for(let i=0;i<t.length;i++){let s=t[i],l=n[n.length-1]??null;if(s.kind==="rule"||s.kind==="at-rule")n.push(s),je(s.nodes,r,n,e),n.pop();else if(s.kind==="context"){je(s.nodes,r,n,{...e,...s.context});continue}n.push(s),r(s,{parent:l,context:e,path:n,replaceWith(p){Array.isArray(p)?p.length===0?t.splice(i,1):p.length===1?t[i]=p[0]:t.splice(i,1,...p):t[i]=p,i+=p.length-1}}),n.pop()}}function se(t,r){let n=[],e=new Set,i=new j(()=>new Set),s=new Set,l=new Set,p=new j(()=>new Set);function f(c,m,g={},y=0){if(c.kind==="declaration"){if(c.property==="--tw-sort"||c.value===void 0||c.value===null)return;if(g.theme&&c.property[0]==="-"&&c.property[1]==="-"&&(g.keyframes||i.get(m).add(c)),c.value.includes("var("))if(g.theme&&c.property[0]==="-"&&c.property[1]==="-")for(let v of Fe(c.value))p.get(v).add(c.property);else r.trackUsedVariables(c.value);if(c.property==="animation"){let v=c.value.split(/\s+/);for(let w of v)l.add(w)}m.push(c)}else if(c.kind==="rule")if(c.selector==="&")for(let v of c.nodes){let w=[];f(v,w,g,y+1),w.length>0&&m.push(...w)}else{let v={...c,nodes:[]};for(let w of c.nodes)f(w,v.nodes,g,y+1);v.nodes.length>0&&m.push(v)}else if(c.kind==="at-rule"&&c.name==="@property"&&y===0){if(e.has(c.params))return;e.add(c.params);let v={...c,nodes:[]};for(let w of c.nodes)f(w,v.nodes,g,y+1);m.push(v)}else if(c.kind==="at-rule"){c.name==="@keyframes"&&(g={...g,keyframes:!0});let v={...c,nodes:[]};for(let w of c.nodes)f(w,v.nodes,g,y+1);c.name==="@keyframes"&&g.theme&&s.add(v),(v.nodes.length>0||v.name==="@layer"||v.name==="@charset"||v.name==="@custom-media"||v.name==="@namespace"||v.name==="@import")&&m.push(v)}else if(c.kind==="at-root")for(let v of c.nodes){let w=[];f(v,w,g,0);for(let A of w)n.push(A)}else if(c.kind==="context"){if(c.context.reference)return;for(let v of c.nodes)f(v,m,{...g,...c.context},y)}else c.kind==="comment"&&m.push(c)}let d=[];for(let c of t)f(c,d,{},0);e:for(let[c,m]of i)for(let g of m){if(It(g.property,r.theme,p)){if(g.property.startsWith(r.theme.prefixKey("--animate-"))){let w=g.value.split(/\s+/);for(let A of w)l.add(A)}continue}let v=c.indexOf(g);if(c.splice(v,1),c.length===0){let w=fn(d,A=>A.kind==="rule"&&A.nodes===c);if(!w||w.length===0)continue e;w.unshift({kind:"at-root",nodes:d});do{let A=w.pop();if(!A)break;let k=w[w.length-1];if(!k||k.kind!=="at-root"&&k.kind!=="at-rule")break;let S=k.nodes.indexOf(A);if(S===-1)break;k.nodes.splice(S,1)}while(!0);continue e}}for(let c of s)if(!l.has(c.params)){let m=n.indexOf(c);n.splice(m,1)}return d.concat(n)}function G(t){function r(e,i=0){let s="",l=" ".repeat(i);if(e.kind==="declaration")s+=`${l}${e.property}: ${e.value}${e.important?" !important":""};
|
|
`;else if(e.kind==="rule"){s+=`${l}${e.selector} {
|
|
`;for(let p of e.nodes)s+=r(p,i+1);s+=`${l}}
|
|
`}else if(e.kind==="at-rule"){if(e.nodes.length===0)return`${l}${e.name} ${e.params};
|
|
`;s+=`${l}${e.name}${e.params?` ${e.params} `:" "}{
|
|
`;for(let p of e.nodes)s+=r(p,i+1);s+=`${l}}
|
|
`}else if(e.kind==="comment")s+=`${l}/*${e.value}*/
|
|
`;else if(e.kind==="context"||e.kind==="at-root")return"";return s}let n="";for(let e of t){let i=r(e);i!==""&&(n+=i)}return n}function fn(t,r){let n=[];return P(t,(e,{path:i})=>{if(r(e))return n=[...i],2}),n}function It(t,r,n,e=new Set){if(e.has(t)||(e.add(t),r.getOptions(t)&24))return!0;{let s=n.get(t)??[];for(let l of s)if(It(l,r,n,e))return!0}return!1}var at=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"],ze=["anchor-size"],Ft=new RegExp(`(${ze.join("|")})\\(`,"g");function Ce(t){return t.indexOf("(")!==-1&&at.some(r=>t.includes(`${r}(`))}function jt(t){if(!at.some(i=>t.includes(i)))return t;let r=!1;ze.some(i=>t.includes(i))&&(Ft.lastIndex=0,t=t.replace(Ft,(i,s)=>(r=!0,`$${ze.indexOf(s)}$(`)));let n="",e=[];for(let i=0;i<t.length;i++){let s=t[i];if(s==="("){n+=s;let l=i;for(let f=i-1;f>=0;f--){let d=t.charCodeAt(f);if(d>=48&&d<=57)l=f;else if(d>=97&&d<=122)l=f;else break}let p=t.slice(l,i);if(at.includes(p)){e.unshift(!0);continue}else if(e[0]&&p===""){e.unshift(!0);continue}e.unshift(!1);continue}else if(s===")")n+=s,e.shift();else if(s===","&&e[0]){n+=", ";continue}else{if(s===" "&&e[0]&&n[n.length-1]===" ")continue;if((s==="+"||s==="*"||s==="/"||s==="-")&&e[0]){let l=n.trimEnd(),p=l[l.length-1];if(p==="+"||p==="*"||p==="/"||p==="-"){n+=s;continue}else if(p==="("||p===","){n+=s;continue}else t[i-1]===" "?n+=`${s} `:n+=` ${s} `}else if(e[0]&&t.startsWith("to-zero",i)){let l=i;i+=7,n+=t.slice(l,i+1)}else n+=s}}return r?n.replace(/\$(\d+)\$/g,(i,s)=>ze[s]??i):n}function re(t){if(t.indexOf("(")===-1)return pe(t);let r=L(t);return st(r),t=q(r),t=jt(t),t}function pe(t,r=!1){let n="";for(let e=0;e<t.length;e++){let i=t[e];i==="\\"&&t[e+1]==="_"?(n+="_",e+=1):i==="_"&&!r?n+=" ":n+=i}return n}function st(t){for(let r of t)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=pe(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=pe(r.value);for(let n=0;n<r.nodes.length;n++){if(n==0&&r.nodes[n].kind==="word"){r.nodes[n].value=pe(r.nodes[n].value,!0);continue}st([r.nodes[n]])}break}r.value=pe(r.value),st(r.nodes);break}case"separator":case"word":{r.value=pe(r.value);break}default:dn(r)}}function dn(t){throw new Error(`Unexpected value: ${t}`)}var Le=new Uint8Array(256);function O(t,r){let n=0,e=[],i=0,s=t.length,l=r.charCodeAt(0);for(let p=0;p<s;p++){let f=t.charCodeAt(p);if(n===0&&f===l){e.push(t.slice(i,p)),i=p+1;continue}switch(f){case 92:p+=1;break;case 39:case 34:for(;++p<s;){let d=t.charCodeAt(p);if(d===92){p+=1;continue}if(d===f)break}break;case 40:Le[n]=41,n++;break;case 91:Le[n]=93,n++;break;case 123:Le[n]=125,n++;break;case 93:case 125:case 41:n>0&&f===Le[n-1]&&n--;break}}return e.push(t.slice(i)),e}var pn=58,zt=45,Lt=97,Mt=122;function*Wt(t,r){let n=O(t,":");if(r.theme.prefix){if(n.length===1||n[0]!==r.theme.prefix)return null;n.shift()}let e=n.pop(),i=[];for(let m=n.length-1;m>=0;--m){let g=r.parseVariant(n[m]);if(g===null)return;i.push(g)}let s=!1;e[e.length-1]==="!"?(s=!0,e=e.slice(0,-1)):e[0]==="!"&&(s=!0,e=e.slice(1)),r.utilities.has(e,"static")&&!e.includes("[")&&(yield{kind:"static",root:e,variants:i,important:s,raw:t});let[l,p=null,f]=O(e,"/");if(f)return;let d=p===null?null:ut(p);if(p!==null&&d===null)return;if(l[0]==="["){if(l[l.length-1]!=="]")return;let m=l.charCodeAt(1);if(m!==zt&&!(m>=Lt&&m<=Mt))return;l=l.slice(1,-1);let g=l.indexOf(":");if(g===-1||g===0||g===l.length-1)return;let y=l.slice(0,g),v=re(l.slice(g+1));yield{kind:"arbitrary",property:y,value:v,modifier:d,variants:i,important:s,raw:t};return}let c;if(l[l.length-1]==="]"){let m=l.indexOf("-[");if(m===-1)return;let g=l.slice(0,m);if(!r.utilities.has(g,"functional"))return;let y=l.slice(m+1);c=[[g,y]]}else if(l[l.length-1]===")"){let m=l.indexOf("-(");if(m===-1)return;let g=l.slice(0,m);if(!r.utilities.has(g,"functional"))return;let y=l.slice(m+2,-1),v=O(y,":"),w=null;if(v.length===2&&(w=v[0],y=v[1]),y[0]!=="-"&&y[1]!=="-")return;c=[[g,w===null?`[var(${y})]`:`[${w}:var(${y})]`]]}else c=qt(l,m=>r.utilities.has(m,"functional"));for(let[m,g]of c){let y={kind:"functional",root:m,modifier:d,value:null,variants:i,important:s,raw:t};if(g===null){yield y;continue}{let v=g.indexOf("[");if(v!==-1){if(g[g.length-1]!=="]")return;let A=re(g.slice(v+1,-1)),k="";for(let S=0;S<A.length;S++){let I=A.charCodeAt(S);if(I===pn){k=A.slice(0,S),A=A.slice(S+1);break}if(!(I===zt||I>=Lt&&I<=Mt))break}if(A.length===0||A.trim().length===0)continue;y.value={kind:"arbitrary",dataType:k||null,value:A}}else{let A=p===null||y.modifier?.kind==="arbitrary"?null:`${g}/${p}`;y.value={kind:"named",value:g,fraction:A}}}yield y}}function ut(t){if(t[0]==="["&&t[t.length-1]==="]"){let r=re(t.slice(1,-1));return r.length===0||r.trim().length===0?null:{kind:"arbitrary",value:r}}if(t[0]==="("&&t[t.length-1]===")"){let r=re(t.slice(1,-1));return r.length===0||r.trim().length===0||r[0]!=="-"&&r[1]!=="-"?null:{kind:"arbitrary",value:`var(${r})`}}return{kind:"named",value:t}}function Bt(t,r){if(t[0]==="["&&t[t.length-1]==="]"){if(t[1]==="@"&&t.includes("&"))return null;let n=re(t.slice(1,-1));if(n.length===0||n.trim().length===0)return null;let e=n[0]===">"||n[0]==="+"||n[0]==="~";return!e&&n[0]!=="@"&&!n.includes("&")&&(n=`&:is(${n})`),{kind:"arbitrary",selector:n,relative:e}}{let[n,e=null,i]=O(t,"/");if(i)return null;let s=qt(n,l=>r.variants.has(l));for(let[l,p]of s)switch(r.variants.kind(l)){case"static":return p!==null||e!==null?null:{kind:"static",root:l};case"functional":{let f=e===null?null:ut(e);if(e!==null&&f===null)return null;if(p===null)return{kind:"functional",root:l,modifier:f,value:null};if(p[p.length-1]==="]"){if(p[0]!=="[")continue;let d=re(p.slice(1,-1));return d.length===0||d.trim().length===0?null:{kind:"functional",root:l,modifier:f,value:{kind:"arbitrary",value:d}}}if(p[p.length-1]===")"){if(p[0]!=="(")continue;let d=re(p.slice(1,-1));return d.length===0||d.trim().length===0||d[0]!=="-"&&d[1]!=="-"?null:{kind:"functional",root:l,modifier:f,value:{kind:"arbitrary",value:`var(${d})`}}}return{kind:"functional",root:l,modifier:f,value:{kind:"named",value:p}}}case"compound":{if(p===null)return null;let f=r.parseVariant(p);if(f===null||!r.variants.compoundsWith(l,f))return null;let d=e===null?null:ut(e);return e!==null&&d===null?null:{kind:"compound",root:l,modifier:d,variant:f}}}}return null}function*qt(t,r){r(t)&&(yield[t,null]);let n=t.lastIndexOf("-");if(n===-1){t[0]==="@"&&r("@")&&(yield["@",t.slice(1)]);return}do{let e=t.slice(0,n);if(r(e)){let i=[e,t.slice(n+1)];if(i[1]==="")break;yield i}n=t.lastIndexOf("-",n-1)}while(n>0)}function ue(t,r,n){if(t===r)return 0;let e=t.indexOf("("),i=r.indexOf("("),s=e===-1?t.replace(/[\d.]+/g,""):t.slice(0,e),l=i===-1?r.replace(/[\d.]+/g,""):r.slice(0,i),p=(s===l?0:s<l?-1:1)||(n==="asc"?parseInt(t)-parseInt(r):parseInt(r)-parseInt(t));return Number.isNaN(p)?t<r?-1:1:p}var mn=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor","canvas","canvastext","linktext","visitedtext","activetext","buttonface","buttontext","buttonborder","field","fieldtext","highlight","highlighttext","selecteditem","selecteditemtext","mark","marktext","graytext","accentcolor","accentcolortext"]),gn=/^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;function Ht(t){return t.charCodeAt(0)===35||gn.test(t)||mn.has(t.toLowerCase())}var hn={color:Ht,length:ft,percentage:ct,ratio:En,number:Vn,integer:T,url:Gt,position:Kn,"bg-size":Pn,"line-width":yn,image:kn,"family-name":An,"generic-name":xn,"absolute-size":Cn,"relative-size":Nn,angle:Un,vector:Fn};function z(t,r){if(t.startsWith("var("))return null;for(let n of r)if(hn[n]?.(t))return n;return null}var vn=/^url\(.*\)$/;function Gt(t){return vn.test(t)}function yn(t){return t==="thin"||t==="medium"||t==="thick"}var bn=/^(?:element|image|cross-fade|image-set)\(/,wn=/^(repeating-)?(conic|linear|radial)-gradient\(/;function kn(t){let r=0;for(let n of O(t,","))if(!n.startsWith("var(")){if(Gt(n)){r+=1;continue}if(wn.test(n)){r+=1;continue}if(bn.test(n)){r+=1;continue}return!1}return r>0}function xn(t){return t==="serif"||t==="sans-serif"||t==="monospace"||t==="cursive"||t==="fantasy"||t==="system-ui"||t==="ui-serif"||t==="ui-sans-serif"||t==="ui-monospace"||t==="ui-rounded"||t==="math"||t==="emoji"||t==="fangsong"}function An(t){let r=0;for(let n of O(t,",")){let e=n.charCodeAt(0);if(e>=48&&e<=57)return!1;n.startsWith("var(")||(r+=1)}return r>0}function Cn(t){return t==="xx-small"||t==="x-small"||t==="small"||t==="medium"||t==="large"||t==="x-large"||t==="xx-large"||t==="xxx-large"}function Nn(t){return t==="larger"||t==="smaller"}var ee=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,$n=new RegExp(`^${ee.source}$`);function Vn(t){return $n.test(t)||Ce(t)}var Sn=new RegExp(`^${ee.source}%$`);function ct(t){return Sn.test(t)||Ce(t)}var Tn=new RegExp(`^${ee.source}s*/s*${ee.source}$`);function En(t){return Tn.test(t)||Ce(t)}var Rn=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],On=new RegExp(`^${ee.source}(${Rn.join("|")})$`);function ft(t){return On.test(t)||Ce(t)}function Kn(t){let r=0;for(let n of O(t," ")){if(n==="center"||n==="top"||n==="right"||n==="bottom"||n==="left"){r+=1;continue}if(!n.startsWith("var(")){if(ft(n)||ct(n)){r+=1;continue}return!1}}return r>0}function Pn(t){let r=0;for(let n of O(t,",")){if(n==="cover"||n==="contain"){r+=1;continue}let e=O(n," ");if(e.length!==1&&e.length!==2)return!1;if(e.every(i=>i==="auto"||ft(i)||ct(i))){r+=1;continue}}return r>0}var _n=["deg","rad","grad","turn"],Dn=new RegExp(`^${ee.source}(${_n.join("|")})$`);function Un(t){return Dn.test(t)}var In=new RegExp(`^${ee.source} +${ee.source} +${ee.source}$`);function Fn(t){return In.test(t)}function T(t){let r=Number(t);return Number.isInteger(r)&&r>=0&&String(r)===String(t)}function dt(t){let r=Number(t);return Number.isInteger(r)&&r>0&&String(r)===String(t)}function me(t){return Yt(t,.25)}function Me(t){return Yt(t,.25)}function Yt(t,r){let n=Number(t);return n>=0&&n%r===0&&String(n)===String(t)}var jn=new Set(["inset","inherit","initial","revert","unset"]),Jt=/^-?(\d+|\.\d+)(.*?)$/g;function ce(t,r){return O(t,",").map(e=>{e=e.trim();let i=O(e," ").filter(d=>d.trim()!==""),s=null,l=null,p=null;for(let d of i)jn.has(d)||(Jt.test(d)?(l===null?l=d:p===null&&(p=d),Jt.lastIndex=0):s===null&&(s=d));if(l===null||p===null)return e;let f=r(s??"currentcolor");return s!==null?e.replace(s,f):`${e} ${f}`}).join(", ")}var Ln=/^-?[a-z][a-zA-Z0-9/%._-]*$/,Mn=/^-?[a-z][a-zA-Z0-9/%._-]*-\*$/,pt=class{utilities=new j(()=>[]);completions=new Map;static(r,n){this.utilities.get(r).push({kind:"static",compileFn:n})}functional(r,n,e){this.utilities.get(r).push({kind:"functional",compileFn:n,options:e})}has(r,n){return this.utilities.has(r)&&this.utilities.get(r).some(e=>e.kind===n)}get(r){return this.utilities.has(r)?this.utilities.get(r):[]}getCompletions(r){return this.completions.get(r)?.()??[]}suggest(r,n){this.completions.set(r,n)}keys(r){let n=[];for(let[e,i]of this.utilities.entries())for(let s of i)if(s.kind===r){n.push(e);break}return n}};function V(t,r,n){return K("@property",t,[a("syntax",n?`"${n}"`:'"*"'),a("inherits","false"),...r?[a("initial-value",r)]:[]])}function Y(t,r){if(r===null)return t;let n=Number(r);return Number.isNaN(n)||(r=`${n*100}%`),`color-mix(in oklab, ${t} ${r}, transparent)`}function W(t,r,n){if(!r)return t;if(r.kind==="arbitrary")return Y(t,r.value);let e=n.resolve(r.value,["--opacity"]);return e?Y(t,e):Me(r.value)?Y(t,`${r.value}%`):null}function H(t,r,n){let e=null;switch(t.value.value){case"inherit":{e="inherit";break}case"transparent":{e="transparent";break}case"current":{e="currentColor";break}default:{e=r.resolve(t.value.value,n);break}}return e?W(e,t.modifier,r):null}function Qt(t){let r=new pt;function n(o,u){let h=/(\d+)_(\d+)/g;function*x($){for(let E of t.keysInNamespaces($))yield E.replace(h,(N,C,F)=>`${C}.${F}`)}let b=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];r.suggest(o,()=>{let $=[];for(let E of u()){if(typeof E=="string"){$.push({values:[E],modifiers:[]});continue}let N=[...E.values??[],...x(E.valueThemeKeys??[])],C=[...E.modifiers??[],...x(E.modifierThemeKeys??[])];E.supportsFractions&&N.push(...b),E.hasDefaultValue&&N.unshift(null),$.push({supportsNegative:E.supportsNegative,values:N,modifiers:C})}return $})}function e(o,u){r.static(o,()=>u.map(h=>typeof h=="function"?h():a(h[0],h[1])))}function i(o,u){function h({negative:x}){return b=>{let $=null;if(b.value)if(b.value.kind==="arbitrary"){if(b.modifier)return;$=b.value.value}else{if($=t.resolve(b.value.fraction??b.value.value,u.themeKeys??[]),$===null&&u.supportsFractions&&b.value.fraction){let[E,N]=O(b.value.fraction,"/");if(!T(E)||!T(N))return;$=`calc(${b.value.fraction} * 100%)`}if($===null&&x&&u.handleNegativeBareValue){if($=u.handleNegativeBareValue(b.value),!$?.includes("/")&&b.modifier)return;if($!==null)return u.handle($)}if($===null&&u.handleBareValue&&($=u.handleBareValue(b.value),!$?.includes("/")&&b.modifier))return}else{if(b.modifier)return;$=u.defaultValue!==void 0?u.defaultValue:t.resolve(null,u.themeKeys??[])}if($!==null)return u.handle(x?`calc(${$} * -1)`:$)}}u.supportsNegative&&r.functional(`-${o}`,h({negative:!0})),r.functional(o,h({negative:!1})),n(o,()=>[{supportsNegative:u.supportsNegative,valueThemeKeys:u.themeKeys??[],hasDefaultValue:u.defaultValue!==void 0&&u.defaultValue!==null,supportsFractions:u.supportsFractions}])}function s(o,u){r.functional(o,h=>{if(!h.value)return;let x=null;if(h.value.kind==="arbitrary"?(x=h.value.value,x=W(x,h.modifier,t)):x=H(h,t,u.themeKeys),x!==null)return u.handle(x)}),n(o,()=>[{values:["current","inherit","transparent"],valueThemeKeys:u.themeKeys,modifiers:Array.from({length:21},(h,x)=>`${x*5}`)}])}function l(o,u,h,{supportsNegative:x=!1,supportsFractions:b=!1}={}){x&&r.static(`-${o}-px`,()=>h("-1px")),r.static(`${o}-px`,()=>h("1px")),i(o,{themeKeys:u,supportsFractions:b,supportsNegative:x,defaultValue:null,handleBareValue:({value:$})=>{let E=t.resolve(null,["--spacing"]);return!E||!me($)?null:`calc(${E} * ${$})`},handleNegativeBareValue:({value:$})=>{let E=t.resolve(null,["--spacing"]);return!E||!me($)?null:`calc(${E} * -${$})`},handle:h}),n(o,()=>[{values:t.get(["--spacing"])?["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"]:[],supportsNegative:x,supportsFractions:b,valueThemeKeys:u}])}e("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"]]),e("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip","auto"],["white-space","normal"]]),e("pointer-events-none",[["pointer-events","none"]]),e("pointer-events-auto",[["pointer-events","auto"]]),e("visible",[["visibility","visible"]]),e("invisible",[["visibility","hidden"]]),e("collapse",[["visibility","collapse"]]),e("static",[["position","static"]]),e("fixed",[["position","fixed"]]),e("absolute",[["position","absolute"]]),e("relative",[["position","relative"]]),e("sticky",[["position","sticky"]]);for(let[o,u]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["start","inset-inline-start"],["end","inset-inline-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])e(`${o}-auto`,[[u,"auto"]]),e(`${o}-full`,[[u,"100%"]]),e(`-${o}-full`,[[u,"-100%"]]),l(o,["--inset","--spacing"],h=>[a(u,h)],{supportsNegative:!0,supportsFractions:!0});e("isolate",[["isolation","isolate"]]),e("isolation-auto",[["isolation","auto"]]),e("z-auto",[["z-index","auto"]]),i("z",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--z-index"],handle:o=>[a("z-index",o)]}),n("z",()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}]),e("order-first",[["order","-9999"]]),e("order-last",[["order","9999"]]),e("order-none",[["order","0"]]),i("order",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--order"],handle:o=>[a("order",o)]}),n("order",()=>[{supportsNegative:!0,values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:["--order"]}]),e("col-auto",[["grid-column","auto"]]),i("col",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-column"],handle:o=>[a("grid-column",o)]}),e("col-span-full",[["grid-column","1 / -1"]]),i("col-span",{handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("grid-column",`span ${o} / span ${o}`)]}),e("col-start-auto",[["grid-column-start","auto"]]),i("col-start",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-column-start"],handle:o=>[a("grid-column-start",o)]}),e("col-end-auto",[["grid-column-end","auto"]]),i("col-end",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-column-end"],handle:o=>[a("grid-column-end",o)]}),n("col-span",()=>[{values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:[]}]),n("col-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-column-start"]}]),n("col-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-column-end"]}]),e("row-auto",[["grid-row","auto"]]),i("row",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-row"],handle:o=>[a("grid-row",o)]}),e("row-span-full",[["grid-row","1 / -1"]]),i("row-span",{themeKeys:[],handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("grid-row",`span ${o} / span ${o}`)]}),e("row-start-auto",[["grid-row-start","auto"]]),i("row-start",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-row-start"],handle:o=>[a("grid-row-start",o)]}),e("row-end-auto",[["grid-row-end","auto"]]),i("row-end",{supportsNegative:!0,handleBareValue:({value:o})=>T(o)?o:null,themeKeys:["--grid-row-end"],handle:o=>[a("grid-row-end",o)]}),n("row-span",()=>[{values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:[]}]),n("row-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-row-start"]}]),n("row-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-row-end"]}]),e("float-start",[["float","inline-start"]]),e("float-end",[["float","inline-end"]]),e("float-right",[["float","right"]]),e("float-left",[["float","left"]]),e("float-none",[["float","none"]]),e("clear-start",[["clear","inline-start"]]),e("clear-end",[["clear","inline-end"]]),e("clear-right",[["clear","right"]]),e("clear-left",[["clear","left"]]),e("clear-both",[["clear","both"]]),e("clear-none",[["clear","none"]]);for(let[o,u]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])e(`${o}-auto`,[[u,"auto"]]),l(o,["--margin","--spacing"],h=>[a(u,h)],{supportsNegative:!0});e("box-border",[["box-sizing","border-box"]]),e("box-content",[["box-sizing","content-box"]]),e("line-clamp-none",[["overflow","visible"],["display","block"],["-webkit-box-orient","horizontal"],["-webkit-line-clamp","unset"]]),i("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("overflow","hidden"),a("display","-webkit-box"),a("-webkit-box-orient","vertical"),a("-webkit-line-clamp",o)]}),n("line-clamp",()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}]),e("block",[["display","block"]]),e("inline-block",[["display","inline-block"]]),e("inline",[["display","inline"]]),e("hidden",[["display","none"]]),e("inline-flex",[["display","inline-flex"]]),e("table",[["display","table"]]),e("inline-table",[["display","inline-table"]]),e("table-caption",[["display","table-caption"]]),e("table-cell",[["display","table-cell"]]),e("table-column",[["display","table-column"]]),e("table-column-group",[["display","table-column-group"]]),e("table-footer-group",[["display","table-footer-group"]]),e("table-header-group",[["display","table-header-group"]]),e("table-row-group",[["display","table-row-group"]]),e("table-row",[["display","table-row"]]),e("flow-root",[["display","flow-root"]]),e("flex",[["display","flex"]]),e("grid",[["display","grid"]]),e("inline-grid",[["display","inline-grid"]]),e("contents",[["display","contents"]]),e("list-item",[["display","list-item"]]),e("field-sizing-content",[["field-sizing","content"]]),e("field-sizing-fixed",[["field-sizing","fixed"]]),e("aspect-auto",[["aspect-ratio","auto"]]),e("aspect-square",[["aspect-ratio","1 / 1"]]),i("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:o})=>{if(o===null)return null;let[u,h]=O(o,"/");return!T(u)||!T(h)?null:o},handle:o=>[a("aspect-ratio",o)]});for(let[o,u]of[["auto","auto"],["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])e(`size-${o}`,[["--tw-sort","size"],["width",u],["height",u]]),e(`w-${o}`,[["width",u]]),e(`h-${o}`,[["height",u]]),e(`min-w-${o}`,[["min-width",u]]),e(`min-h-${o}`,[["min-height",u]]),o!=="auto"&&(e(`max-w-${o}`,[["max-width",u]]),e(`max-h-${o}`,[["max-height",u]]));e("w-screen",[["width","100vw"]]),e("min-w-screen",[["min-width","100vw"]]),e("max-w-screen",[["max-width","100vw"]]),e("h-screen",[["height","100vh"]]),e("min-h-screen",[["min-height","100vh"]]),e("max-h-screen",[["max-height","100vh"]]),e("max-w-none",[["max-width","none"]]),e("max-h-none",[["max-height","none"]]),l("size",["--size","--spacing"],o=>[a("--tw-sort","size"),a("width",o),a("height",o)],{supportsFractions:!0});for(let[o,u,h]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])l(o,u,x=>[a(h,x)],{supportsFractions:!0});r.static("container",()=>{let o=[...t.namespace("--breakpoint").values()];o.sort((h,x)=>ue(h,x,"asc"));let u=[a("--tw-sort","--tw-container-component"),a("width","100%")];for(let h of o)u.push(K("@media",`(width >= ${h})`,[a("max-width",h)]));return u}),e("flex-auto",[["flex","auto"]]),e("flex-initial",[["flex","0 auto"]]),e("flex-none",[["flex","none"]]),r.functional("flex",o=>{if(o.value){if(o.value.kind==="arbitrary")return o.modifier?void 0:[a("flex",o.value.value)];if(o.value.fraction){let[u,h]=O(o.value.fraction,"/");return!T(u)||!T(h)?void 0:[a("flex",`calc(${o.value.fraction} * 100%)`)]}if(T(o.value.value))return o.modifier?void 0:[a("flex",o.value.value)]}}),n("flex",()=>[{supportsFractions:!0}]),i("shrink",{defaultValue:"1",handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("flex-shrink",o)]}),i("grow",{defaultValue:"1",handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("flex-grow",o)]}),n("shrink",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),n("grow",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),e("basis-auto",[["flex-basis","auto"]]),e("basis-full",[["flex-basis","100%"]]),l("basis",["--flex-basis","--spacing","--container"],o=>[a("flex-basis",o)],{supportsFractions:!0}),e("table-auto",[["table-layout","auto"]]),e("table-fixed",[["table-layout","fixed"]]),e("caption-top",[["caption-side","top"]]),e("caption-bottom",[["caption-side","bottom"]]),e("border-collapse",[["border-collapse","collapse"]]),e("border-separate",[["border-collapse","separate"]]);let p=()=>_([V("--tw-border-spacing-x","0","<length>"),V("--tw-border-spacing-y","0","<length>")]);l("border-spacing",["--border-spacing","--spacing"],o=>[p(),a("--tw-border-spacing-x",o),a("--tw-border-spacing-y",o),a("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),l("border-spacing-x",["--border-spacing","--spacing"],o=>[p(),a("--tw-border-spacing-x",o),a("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),l("border-spacing-y",["--border-spacing","--spacing"],o=>[p(),a("--tw-border-spacing-y",o),a("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),e("origin-center",[["transform-origin","center"]]),e("origin-top",[["transform-origin","top"]]),e("origin-top-right",[["transform-origin","top right"]]),e("origin-right",[["transform-origin","right"]]),e("origin-bottom-right",[["transform-origin","bottom right"]]),e("origin-bottom",[["transform-origin","bottom"]]),e("origin-bottom-left",[["transform-origin","bottom left"]]),e("origin-left",[["transform-origin","left"]]),e("origin-top-left",[["transform-origin","top left"]]),i("origin",{themeKeys:["--transform-origin"],handle:o=>[a("transform-origin",o)]}),e("perspective-origin-center",[["perspective-origin","center"]]),e("perspective-origin-top",[["perspective-origin","top"]]),e("perspective-origin-top-right",[["perspective-origin","top right"]]),e("perspective-origin-right",[["perspective-origin","right"]]),e("perspective-origin-bottom-right",[["perspective-origin","bottom right"]]),e("perspective-origin-bottom",[["perspective-origin","bottom"]]),e("perspective-origin-bottom-left",[["perspective-origin","bottom left"]]),e("perspective-origin-left",[["perspective-origin","left"]]),e("perspective-origin-top-left",[["perspective-origin","top left"]]),i("perspective-origin",{themeKeys:["--perspective-origin"],handle:o=>[a("perspective-origin",o)]}),e("perspective-none",[["perspective","none"]]),i("perspective",{themeKeys:["--perspective"],handle:o=>[a("perspective",o)]});let f=()=>_([V("--tw-translate-x","0"),V("--tw-translate-y","0"),V("--tw-translate-z","0")]);e("translate-none",[["translate","none"]]),e("-translate-full",[f,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),e("translate-full",[f,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),l("translate",["--translate","--spacing"],o=>[f(),a("--tw-translate-x",o),a("--tw-translate-y",o),a("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});for(let o of["x","y"])e(`-translate-${o}-full`,[f,[`--tw-translate-${o}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),e(`translate-${o}-full`,[f,[`--tw-translate-${o}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),l(`translate-${o}`,["--translate","--spacing"],u=>[f(),a(`--tw-translate-${o}`,u),a("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});l("translate-z",["--translate","--spacing"],o=>[f(),a("--tw-translate-z",o),a("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")],{supportsNegative:!0}),e("translate-3d",[f,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let d=()=>_([V("--tw-scale-x","1"),V("--tw-scale-y","1"),V("--tw-scale-z","1")]);e("scale-none",[["scale","none"]]);function c({negative:o}){return u=>{if(!u.value||u.modifier)return;let h;return u.value.kind==="arbitrary"?(h=u.value.value,[a("scale",h)]):(h=t.resolve(u.value.value,["--scale"]),!h&&T(u.value.value)&&(h=`${u.value.value}%`),h?(h=o?`calc(${h} * -1)`:h,[d(),a("--tw-scale-x",h),a("--tw-scale-y",h),a("--tw-scale-z",h),a("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}r.functional("-scale",c({negative:!0})),r.functional("scale",c({negative:!1})),n("scale",()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);for(let o of["x","y","z"])i(`scale-${o}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:u})=>T(u)?`${u}%`:null,handle:u=>[d(),a(`--tw-scale-${o}`,u),a("scale",`var(--tw-scale-x) var(--tw-scale-y)${o==="z"?" var(--tw-scale-z)":""}`)]}),n(`scale-${o}`,()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);e("scale-3d",[d,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),e("rotate-none",[["rotate","none"]]);function m({negative:o}){return u=>{if(!u.value||u.modifier)return;let h;if(u.value.kind==="arbitrary"){h=u.value.value;let x=u.value.dataType??z(h,["angle","vector"]);if(x==="vector")return[a("rotate",`${h} var(--tw-rotate)`)];if(x!=="angle")return[a("rotate",h)]}else if(h=t.resolve(u.value.value,["--rotate"]),!h&&T(u.value.value)&&(h=`${u.value.value}deg`),!h)return;return[a("rotate",o?`calc(${h} * -1)`:h)]}}r.functional("-rotate",m({negative:!0})),r.functional("rotate",m({negative:!1})),n("rotate",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);{let o=["var(--tw-rotate-x)","var(--tw-rotate-y)","var(--tw-rotate-z)","var(--tw-skew-x)","var(--tw-skew-y)"].join(" "),u=()=>_([V("--tw-rotate-x","rotateX(0)"),V("--tw-rotate-y","rotateY(0)"),V("--tw-rotate-z","rotateZ(0)"),V("--tw-skew-x","skewX(0)"),V("--tw-skew-y","skewY(0)")]);for(let h of["x","y","z"])i(`rotate-${h}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:x})=>T(x)?`${x}deg`:null,handle:x=>[u(),a(`--tw-rotate-${h}`,`rotate${h.toUpperCase()}(${x})`),a("transform",o)]}),n(`rotate-${h}`,()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);i("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:h})=>T(h)?`${h}deg`:null,handle:h=>[u(),a("--tw-skew-x",`skewX(${h})`),a("--tw-skew-y",`skewY(${h})`),a("transform",o)]}),i("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:h})=>T(h)?`${h}deg`:null,handle:h=>[u(),a("--tw-skew-x",`skewX(${h})`),a("transform",o)]}),i("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:h})=>T(h)?`${h}deg`:null,handle:h=>[u(),a("--tw-skew-y",`skewY(${h})`),a("transform",o)]}),n("skew",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),n("skew-x",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),n("skew-y",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),r.functional("transform",h=>{if(h.modifier)return;let x=null;if(h.value?h.value.kind==="arbitrary"&&(x=h.value.value):x=o,x!==null)return[u(),a("transform",x)]}),n("transform",()=>[{hasDefaultValue:!0}]),e("transform-cpu",[["transform",o]]),e("transform-gpu",[["transform",`translateZ(0) ${o}`]]),e("transform-none",[["transform","none"]])}e("transform-flat",[["transform-style","flat"]]),e("transform-3d",[["transform-style","preserve-3d"]]),e("transform-content",[["transform-box","content-box"]]),e("transform-border",[["transform-box","border-box"]]),e("transform-fill",[["transform-box","fill-box"]]),e("transform-stroke",[["transform-box","stroke-box"]]),e("transform-view",[["transform-box","view-box"]]),e("backface-visible",[["backface-visibility","visible"]]),e("backface-hidden",[["backface-visibility","hidden"]]);for(let o of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","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"])e(`cursor-${o}`,[["cursor",o]]);i("cursor",{themeKeys:["--cursor"],handle:o=>[a("cursor",o)]});for(let o of["auto","none","manipulation"])e(`touch-${o}`,[["touch-action",o]]);let g=()=>_([V("--tw-pan-x"),V("--tw-pan-y"),V("--tw-pinch-zoom")]);for(let o of["x","left","right"])e(`touch-pan-${o}`,[g,["--tw-pan-x",`pan-${o}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let o of["y","up","down"])e(`touch-pan-${o}`,[g,["--tw-pan-y",`pan-${o}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);e("touch-pinch-zoom",[g,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let o of["none","text","all","auto"])e(`select-${o}`,[["-webkit-user-select",o],["user-select",o]]);e("resize-none",[["resize","none"]]),e("resize-x",[["resize","horizontal"]]),e("resize-y",[["resize","vertical"]]),e("resize",[["resize","both"]]),e("snap-none",[["scroll-snap-type","none"]]);let y=()=>_([V("--tw-scroll-snap-strictness","proximity","*")]);for(let o of["x","y","both"])e(`snap-${o}`,[y,["scroll-snap-type",`${o} var(--tw-scroll-snap-strictness)`]]);e("snap-mandatory",[y,["--tw-scroll-snap-strictness","mandatory"]]),e("snap-proximity",[y,["--tw-scroll-snap-strictness","proximity"]]),e("snap-align-none",[["scroll-snap-align","none"]]),e("snap-start",[["scroll-snap-align","start"]]),e("snap-end",[["scroll-snap-align","end"]]),e("snap-center",[["scroll-snap-align","center"]]),e("snap-normal",[["scroll-snap-stop","normal"]]),e("snap-always",[["scroll-snap-stop","always"]]);for(let[o,u]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["scroll-ms","scroll-margin-inline-start"],["scroll-me","scroll-margin-inline-end"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]])l(o,["--scroll-margin","--spacing"],h=>[a(u,h)],{supportsNegative:!0});for(let[o,u]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["scroll-ps","scroll-padding-inline-start"],["scroll-pe","scroll-padding-inline-end"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]])l(o,["--scroll-padding","--spacing"],h=>[a(u,h)]);e("list-inside",[["list-style-position","inside"]]),e("list-outside",[["list-style-position","outside"]]),e("list-none",[["list-style-type","none"]]),e("list-disc",[["list-style-type","disc"]]),e("list-decimal",[["list-style-type","decimal"]]),i("list",{themeKeys:["--list-style-type"],handle:o=>[a("list-style-type",o)]}),e("list-image-none",[["list-style-image","none"]]),i("list-image",{themeKeys:["--list-style-image"],handle:o=>[a("list-style-image",o)]}),e("appearance-none",[["appearance","none"]]),e("appearance-auto",[["appearance","auto"]]),e("scheme-normal",[["color-scheme","normal"]]),e("scheme-dark",[["color-scheme","dark"]]),e("scheme-light",[["color-scheme","light"]]),e("scheme-light-dark",[["color-scheme","light dark"]]),e("scheme-only-dark",[["color-scheme","only dark"]]),e("scheme-only-light",[["color-scheme","only light"]]),e("columns-auto",[["columns","auto"]]),i("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:o})=>T(o)?o:null,handle:o=>[a("columns",o)]}),n("columns",()=>[{values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:["--columns","--container"]}]);for(let o of["auto","avoid","all","avoid-page","page","left","right","column"])e(`break-before-${o}`,[["break-before",o]]);for(let o of["auto","avoid","avoid-page","avoid-column"])e(`break-inside-${o}`,[["break-inside",o]]);for(let o of["auto","avoid","all","avoid-page","page","left","right","column"])e(`break-after-${o}`,[["break-after",o]]);e("grid-flow-row",[["grid-auto-flow","row"]]),e("grid-flow-col",[["grid-auto-flow","column"]]),e("grid-flow-dense",[["grid-auto-flow","dense"]]),e("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),e("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),e("auto-cols-auto",[["grid-auto-columns","auto"]]),e("auto-cols-min",[["grid-auto-columns","min-content"]]),e("auto-cols-max",[["grid-auto-columns","max-content"]]),e("auto-cols-fr",[["grid-auto-columns","minmax(0, 1fr)"]]),i("auto-cols",{themeKeys:["--grid-auto-columns"],handle:o=>[a("grid-auto-columns",o)]}),e("auto-rows-auto",[["grid-auto-rows","auto"]]),e("auto-rows-min",[["grid-auto-rows","min-content"]]),e("auto-rows-max",[["grid-auto-rows","max-content"]]),e("auto-rows-fr",[["grid-auto-rows","minmax(0, 1fr)"]]),i("auto-rows",{themeKeys:["--grid-auto-rows"],handle:o=>[a("grid-auto-rows",o)]}),e("grid-cols-none",[["grid-template-columns","none"]]),e("grid-cols-subgrid",[["grid-template-columns","subgrid"]]),i("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:o})=>dt(o)?`repeat(${o}, minmax(0, 1fr))`:null,handle:o=>[a("grid-template-columns",o)]}),e("grid-rows-none",[["grid-template-rows","none"]]),e("grid-rows-subgrid",[["grid-template-rows","subgrid"]]),i("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:o})=>dt(o)?`repeat(${o}, minmax(0, 1fr))`:null,handle:o=>[a("grid-template-rows",o)]}),n("grid-cols",()=>[{values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-template-columns"]}]),n("grid-rows",()=>[{values:Array.from({length:12},(o,u)=>`${u+1}`),valueThemeKeys:["--grid-template-rows"]}]),e("flex-row",[["flex-direction","row"]]),e("flex-row-reverse",[["flex-direction","row-reverse"]]),e("flex-col",[["flex-direction","column"]]),e("flex-col-reverse",[["flex-direction","column-reverse"]]),e("flex-wrap",[["flex-wrap","wrap"]]),e("flex-nowrap",[["flex-wrap","nowrap"]]),e("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),e("place-content-center",[["place-content","center"]]),e("place-content-start",[["place-content","start"]]),e("place-content-end",[["place-content","end"]]),e("place-content-between",[["place-content","space-between"]]),e("place-content-around",[["place-content","space-around"]]),e("place-content-evenly",[["place-content","space-evenly"]]),e("place-content-baseline",[["place-content","baseline"]]),e("place-content-stretch",[["place-content","stretch"]]),e("place-items-center",[["place-items","center"]]),e("place-items-start",[["place-items","start"]]),e("place-items-end",[["place-items","end"]]),e("place-items-baseline",[["place-items","baseline"]]),e("place-items-stretch",[["place-items","stretch"]]),e("content-normal",[["align-content","normal"]]),e("content-center",[["align-content","center"]]),e("content-start",[["align-content","flex-start"]]),e("content-end",[["align-content","flex-end"]]),e("content-between",[["align-content","space-between"]]),e("content-around",[["align-content","space-around"]]),e("content-evenly",[["align-content","space-evenly"]]),e("content-baseline",[["align-content","baseline"]]),e("content-stretch",[["align-content","stretch"]]),e("items-center",[["align-items","center"]]),e("items-start",[["align-items","flex-start"]]),e("items-end",[["align-items","flex-end"]]),e("items-baseline",[["align-items","baseline"]]),e("items-stretch",[["align-items","stretch"]]),e("justify-normal",[["justify-content","normal"]]),e("justify-center",[["justify-content","center"]]),e("justify-start",[["justify-content","flex-start"]]),e("justify-end",[["justify-content","flex-end"]]),e("justify-between",[["justify-content","space-between"]]),e("justify-around",[["justify-content","space-around"]]),e("justify-evenly",[["justify-content","space-evenly"]]),e("justify-baseline",[["justify-content","baseline"]]),e("justify-stretch",[["justify-content","stretch"]]),e("justify-items-normal",[["justify-items","normal"]]),e("justify-items-center",[["justify-items","center"]]),e("justify-items-start",[["justify-items","start"]]),e("justify-items-end",[["justify-items","end"]]),e("justify-items-stretch",[["justify-items","stretch"]]),l("gap",["--gap","--spacing"],o=>[a("gap",o)]),l("gap-x",["--gap","--spacing"],o=>[a("column-gap",o)]),l("gap-y",["--gap","--spacing"],o=>[a("row-gap",o)]),l("space-x",["--space","--spacing"],o=>[_([V("--tw-space-x-reverse","0")]),D(":where(& > :not(:last-child))",[a("--tw-sort","row-gap"),a("--tw-space-x-reverse","0"),a("margin-inline-start",`calc(${o} * var(--tw-space-x-reverse))`),a("margin-inline-end",`calc(${o} * calc(1 - var(--tw-space-x-reverse)))`)])],{supportsNegative:!0}),l("space-y",["--space","--spacing"],o=>[_([V("--tw-space-y-reverse","0")]),D(":where(& > :not(:last-child))",[a("--tw-sort","column-gap"),a("--tw-space-y-reverse","0"),a("margin-block-start",`calc(${o} * var(--tw-space-y-reverse))`),a("margin-block-end",`calc(${o} * calc(1 - var(--tw-space-y-reverse)))`)])],{supportsNegative:!0}),e("space-x-reverse",[()=>_([V("--tw-space-x-reverse","0")]),()=>D(":where(& > :not(:last-child))",[a("--tw-sort","row-gap"),a("--tw-space-x-reverse","1")])]),e("space-y-reverse",[()=>_([V("--tw-space-y-reverse","0")]),()=>D(":where(& > :not(:last-child))",[a("--tw-sort","column-gap"),a("--tw-space-y-reverse","1")])]),e("accent-auto",[["accent-color","auto"]]),s("accent",{themeKeys:["--accent-color","--color"],handle:o=>[a("accent-color",o)]}),s("caret",{themeKeys:["--caret-color","--color"],handle:o=>[a("caret-color",o)]}),s("divide",{themeKeys:["--divide-color","--color"],handle:o=>[D(":where(& > :not(:last-child))",[a("--tw-sort","divide-color"),a("border-color",o)])]}),e("place-self-auto",[["place-self","auto"]]),e("place-self-start",[["place-self","start"]]),e("place-self-end",[["place-self","end"]]),e("place-self-center",[["place-self","center"]]),e("place-self-stretch",[["place-self","stretch"]]),e("self-auto",[["align-self","auto"]]),e("self-start",[["align-self","flex-start"]]),e("self-end",[["align-self","flex-end"]]),e("self-center",[["align-self","center"]]),e("self-stretch",[["align-self","stretch"]]),e("self-baseline",[["align-self","baseline"]]),e("justify-self-auto",[["justify-self","auto"]]),e("justify-self-start",[["justify-self","flex-start"]]),e("justify-self-end",[["justify-self","flex-end"]]),e("justify-self-center",[["justify-self","center"]]),e("justify-self-stretch",[["justify-self","stretch"]]);for(let o of["auto","hidden","clip","visible","scroll"])e(`overflow-${o}`,[["overflow",o]]),e(`overflow-x-${o}`,[["overflow-x",o]]),e(`overflow-y-${o}`,[["overflow-y",o]]);for(let o of["auto","contain","none"])e(`overscroll-${o}`,[["overscroll-behavior",o]]),e(`overscroll-x-${o}`,[["overscroll-behavior-x",o]]),e(`overscroll-y-${o}`,[["overscroll-behavior-y",o]]);e("scroll-auto",[["scroll-behavior","auto"]]),e("scroll-smooth",[["scroll-behavior","smooth"]]),e("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),e("text-ellipsis",[["text-overflow","ellipsis"]]),e("text-clip",[["text-overflow","clip"]]),e("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),e("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),e("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),e("whitespace-normal",[["white-space","normal"]]),e("whitespace-nowrap",[["white-space","nowrap"]]),e("whitespace-pre",[["white-space","pre"]]),e("whitespace-pre-line",[["white-space","pre-line"]]),e("whitespace-pre-wrap",[["white-space","pre-wrap"]]),e("whitespace-break-spaces",[["white-space","break-spaces"]]),e("text-wrap",[["text-wrap","wrap"]]),e("text-nowrap",[["text-wrap","nowrap"]]),e("text-balance",[["text-wrap","balance"]]),e("text-pretty",[["text-wrap","pretty"]]),e("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),e("break-words",[["overflow-wrap","break-word"]]),e("break-all",[["word-break","break-all"]]),e("break-keep",[["word-break","keep-all"]]),!1;for(let[o,u]of[["rounded",["border-radius"]],["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]],["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]])e(`${o}-none`,u.map(h=>[h,"0"])),e(`${o}-full`,u.map(h=>[h,"calc(infinity * 1px)"])),i(o,{themeKeys:["--radius"],handle:h=>u.map(x=>a(x,h))});e("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),e("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),e("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),e("border-double",[["--tw-border-style","double"],["border-style","double"]]),e("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),e("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let u=function(h,x){r.functional(h,b=>{if(!b.value){if(b.modifier)return;let $=t.get(["--default-border-width"])??"1px",E=x.width($);return E?[o(),...E]:void 0}if(b.value.kind==="arbitrary"){let $=b.value.value;switch(b.value.dataType??z($,["color","line-width","length"])){case"line-width":case"length":{if(b.modifier)return;let N=x.width($);return N?[o(),...N]:void 0}default:return $=W($,b.modifier,t),$===null?void 0:x.color($)}}{let $=H(b,t,["--border-color","--color"]);if($)return x.color($)}{if(b.modifier)return;let $=t.resolve(b.value.value,["--border-width"]);if($){let E=x.width($);return E?[o(),...E]:void 0}if(T(b.value.value)){let E=x.width(`${b.value.value}px`);return E?[o(),...E]:void 0}}}),n(h,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},(b,$)=>`${$*5}`),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}])};var A=u;let o=()=>_([V("--tw-border-style","solid")]);u("border",{width:h=>[a("border-style","var(--tw-border-style)"),a("border-width",h)],color:h=>[a("border-color",h)]}),u("border-x",{width:h=>[a("border-inline-style","var(--tw-border-style)"),a("border-inline-width",h)],color:h=>[a("border-inline-color",h)]}),u("border-y",{width:h=>[a("border-block-style","var(--tw-border-style)"),a("border-block-width",h)],color:h=>[a("border-block-color",h)]}),u("border-s",{width:h=>[a("border-inline-start-style","var(--tw-border-style)"),a("border-inline-start-width",h)],color:h=>[a("border-inline-start-color",h)]}),u("border-e",{width:h=>[a("border-inline-end-style","var(--tw-border-style)"),a("border-inline-end-width",h)],color:h=>[a("border-inline-end-color",h)]}),u("border-t",{width:h=>[a("border-top-style","var(--tw-border-style)"),a("border-top-width",h)],color:h=>[a("border-top-color",h)]}),u("border-r",{width:h=>[a("border-right-style","var(--tw-border-style)"),a("border-right-width",h)],color:h=>[a("border-right-color",h)]}),u("border-b",{width:h=>[a("border-bottom-style","var(--tw-border-style)"),a("border-bottom-width",h)],color:h=>[a("border-bottom-color",h)]}),u("border-l",{width:h=>[a("border-left-style","var(--tw-border-style)"),a("border-left-width",h)],color:h=>[a("border-left-color",h)]}),i("divide-x",{defaultValue:t.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:h})=>T(h)?`${h}px`:null,handle:h=>[_([V("--tw-divide-x-reverse","0")]),D(":where(& > :not(:last-child))",[a("--tw-sort","divide-x-width"),o(),a("--tw-divide-x-reverse","0"),a("border-inline-style","var(--tw-border-style)"),a("border-inline-start-width",`calc(${h} * var(--tw-divide-x-reverse))`),a("border-inline-end-width",`calc(${h} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),i("divide-y",{defaultValue:t.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:h})=>T(h)?`${h}px`:null,handle:h=>[_([V("--tw-divide-y-reverse","0")]),D(":where(& > :not(:last-child))",[a("--tw-sort","divide-y-width"),o(),a("--tw-divide-y-reverse","0"),a("border-bottom-style","var(--tw-border-style)"),a("border-top-style","var(--tw-border-style)"),a("border-top-width",`calc(${h} * var(--tw-divide-y-reverse))`),a("border-bottom-width",`calc(${h} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),n("divide-x",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),n("divide-y",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),e("divide-x-reverse",[()=>_([V("--tw-divide-x-reverse","0")]),()=>D(":where(& > :not(:last-child))",[a("--tw-divide-x-reverse","1")])]),e("divide-y-reverse",[()=>_([V("--tw-divide-y-reverse","0")]),()=>D(":where(& > :not(:last-child))",[a("--tw-divide-y-reverse","1")])]);for(let h of["solid","dashed","dotted","double","none"])e(`divide-${h}`,[()=>D(":where(& > :not(:last-child))",[a("--tw-sort","divide-style"),a("--tw-border-style",h),a("border-style",h)])])}e("bg-auto",[["background-size","auto"]]),e("bg-cover",[["background-size","cover"]]),e("bg-contain",[["background-size","contain"]]),e("bg-fixed",[["background-attachment","fixed"]]),e("bg-local",[["background-attachment","local"]]),e("bg-scroll",[["background-attachment","scroll"]]),e("bg-center",[["background-position","center"]]),e("bg-top",[["background-position","top"]]),e("bg-right-top",[["background-position","right top"]]),e("bg-right",[["background-position","right"]]),e("bg-right-bottom",[["background-position","right bottom"]]),e("bg-bottom",[["background-position","bottom"]]),e("bg-left-bottom",[["background-position","left bottom"]]),e("bg-left",[["background-position","left"]]),e("bg-left-top",[["background-position","left top"]]),e("bg-repeat",[["background-repeat","repeat"]]),e("bg-no-repeat",[["background-repeat","no-repeat"]]),e("bg-repeat-x",[["background-repeat","repeat-x"]]),e("bg-repeat-y",[["background-repeat","repeat-y"]]),e("bg-repeat-round",[["background-repeat","round"]]),e("bg-repeat-space",[["background-repeat","space"]]),e("bg-none",[["background-image","none"]]);{let h=function($){let E="in oklab";if($?.kind==="named")switch($.value){case"longer":case"shorter":case"increasing":case"decreasing":E=`in oklch ${$.value} hue`;break;default:E=`in ${$.value}`}else $?.kind==="arbitrary"&&(E=$.value);return E},x=function({negative:$}){return E=>{if(!E.value)return;if(E.value.kind==="arbitrary"){if(E.modifier)return;let F=E.value.value;switch(E.value.dataType??z(F,["angle"])){case"angle":return F=$?`calc(${F} * -1)`:`${F}`,[a("--tw-gradient-position",F),a("background-image",`linear-gradient(var(--tw-gradient-stops,${F}))`)];default:return $?void 0:[a("--tw-gradient-position",F),a("background-image",`linear-gradient(var(--tw-gradient-stops,${F}))`)]}}let N=E.value.value;if(!$&&u.has(N))N=u.get(N);else if(T(N))N=$?`calc(${N}deg * -1)`:`${N}deg`;else return;let C=h(E.modifier);return[a("--tw-gradient-position",`${N} ${C}`),a("background-image","linear-gradient(var(--tw-gradient-stops))")]}},b=function({negative:$}){return E=>{if(E.value?.kind==="arbitrary"){if(E.modifier)return;let F=E.value.value;return[a("--tw-gradient-position",F),a("background-image",`conic-gradient(var(--tw-gradient-stops,${F}))`)]}let N=h(E.modifier);if(!E.value)return[a("--tw-gradient-position",N),a("background-image","conic-gradient(var(--tw-gradient-stops))")];let C=E.value.value;if(T(C))return C=$?`calc(${C} * -1)`:`${C}deg`,[a("--tw-gradient-position",`from ${C} ${N}`),a("background-image","conic-gradient(var(--tw-gradient-stops))")]}};var k=h,S=x,I=b;let o=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],u=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);r.functional("-bg-linear",x({negative:!0})),r.functional("bg-linear",x({negative:!1})),n("bg-linear",()=>[{values:[...u.keys()],modifiers:o},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:o}]),r.functional("-bg-conic",b({negative:!0})),r.functional("bg-conic",b({negative:!1})),n("bg-conic",()=>[{hasDefaultValue:!0,modifiers:o},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:o}]),r.functional("bg-radial",$=>{if(!$.value){let E=h($.modifier);return[a("--tw-gradient-position",E),a("background-image","radial-gradient(var(--tw-gradient-stops))")]}if($.value.kind==="arbitrary"){if($.modifier)return;let E=$.value.value;return[a("--tw-gradient-position",E),a("background-image",`radial-gradient(var(--tw-gradient-stops,${E}))`)]}}),n("bg-radial",()=>[{hasDefaultValue:!0,modifiers:o}])}r.functional("bg",o=>{if(o.value){if(o.value.kind==="arbitrary"){let u=o.value.value;switch(o.value.dataType??z(u,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return o.modifier?void 0:[a("background-position",u)];case"bg-size":case"length":case"size":return o.modifier?void 0:[a("background-size",u)];case"image":case"url":return o.modifier?void 0:[a("background-image",u)];default:return u=W(u,o.modifier,t),u===null?void 0:[a("background-color",u)]}}{let u=H(o,t,["--background-color","--color"]);if(u)return[a("background-color",u)]}{if(o.modifier)return;let u=t.resolve(o.value.value,["--background-image"]);if(u)return[a("background-image",u)]}}}),n("bg",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)},{values:[],valueThemeKeys:["--background-image"]}]);let v=()=>_([V("--tw-gradient-position"),V("--tw-gradient-from","#0000","<color>"),V("--tw-gradient-via","#0000","<color>"),V("--tw-gradient-to","#0000","<color>"),V("--tw-gradient-stops"),V("--tw-gradient-via-stops"),V("--tw-gradient-from-position","0%","<length-percentage>"),V("--tw-gradient-via-position","50%","<length-percentage>"),V("--tw-gradient-to-position","100%","<length-percentage>")]);function w(o,u){r.functional(o,h=>{if(h.value){if(h.value.kind==="arbitrary"){let x=h.value.value;switch(h.value.dataType??z(x,["color","length","percentage"])){case"length":case"percentage":return h.modifier?void 0:u.position(x);default:return x=W(x,h.modifier,t),x===null?void 0:u.color(x)}}{let x=H(h,t,["--background-color","--color"]);if(x)return u.color(x)}{if(h.modifier)return;let x=t.resolve(h.value.value,["--gradient-color-stop-positions"]);if(x)return u.position(x);if(h.value.value[h.value.value.length-1]==="%"&&T(h.value.value.slice(0,-1)))return u.position(h.value.value)}}}),n(o,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(h,x)=>`${x*5}`)},{values:Array.from({length:21},(h,x)=>`${x*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}])}w("from",{color:o=>[v(),a("--tw-sort","--tw-gradient-from"),a("--tw-gradient-from",o),a("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:o=>[v(),a("--tw-gradient-from-position",o)]}),e("via-none",[["--tw-gradient-via-stops","initial"]]),w("via",{color:o=>[v(),a("--tw-sort","--tw-gradient-via"),a("--tw-gradient-via",o),a("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),a("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:o=>[v(),a("--tw-gradient-via-position",o)]}),w("to",{color:o=>[v(),a("--tw-sort","--tw-gradient-to"),a("--tw-gradient-to",o),a("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:o=>[v(),a("--tw-gradient-to-position",o)]}),e("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),e("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),e("bg-clip-text",[["background-clip","text"]]),e("bg-clip-border",[["background-clip","border-box"]]),e("bg-clip-padding",[["background-clip","padding-box"]]),e("bg-clip-content",[["background-clip","content-box"]]),e("bg-origin-border",[["background-origin","border-box"]]),e("bg-origin-padding",[["background-origin","padding-box"]]),e("bg-origin-content",[["background-origin","content-box"]]);for(let o of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])e(`bg-blend-${o}`,[["background-blend-mode",o]]),e(`mix-blend-${o}`,[["mix-blend-mode",o]]);e("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),e("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),e("fill-none",[["fill","none"]]),r.functional("fill",o=>{if(!o.value)return;if(o.value.kind==="arbitrary"){let h=W(o.value.value,o.modifier,t);return h===null?void 0:[a("fill",h)]}let u=H(o,t,["--fill","--color"]);if(u)return[a("fill",u)]}),n("fill",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)}]),e("stroke-none",[["stroke","none"]]),r.functional("stroke",o=>{if(o.value){if(o.value.kind==="arbitrary"){let u=o.value.value;switch(o.value.dataType??z(u,["color","number","length","percentage"])){case"number":case"length":case"percentage":return o.modifier?void 0:[a("stroke-width",u)];default:return u=W(o.value.value,o.modifier,t),u===null?void 0:[a("stroke",u)]}}{let u=H(o,t,["--stroke","--color"]);if(u)return[a("stroke",u)]}{let u=t.resolve(o.value.value,["--stroke-width"]);if(u)return[a("stroke-width",u)];if(T(o.value.value))return[a("stroke-width",o.value.value)]}}}),n("stroke",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}]),e("object-contain",[["object-fit","contain"]]),e("object-cover",[["object-fit","cover"]]),e("object-fill",[["object-fit","fill"]]),e("object-none",[["object-fit","none"]]),e("object-scale-down",[["object-fit","scale-down"]]),e("object-bottom",[["object-position","bottom"]]),e("object-center",[["object-position","center"]]),e("object-left",[["object-position","left"]]),e("object-left-bottom",[["object-position","left bottom"]]),e("object-left-top",[["object-position","left top"]]),e("object-right",[["object-position","right"]]),e("object-right-bottom",[["object-position","right bottom"]]),e("object-right-top",[["object-position","right top"]]),e("object-top",[["object-position","top"]]),i("object",{themeKeys:["--object-position"],handle:o=>[a("object-position",o)]});for(let[o,u]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])l(o,["--padding","--spacing"],h=>[a(u,h)]);e("text-left",[["text-align","left"]]),e("text-center",[["text-align","center"]]),e("text-right",[["text-align","right"]]),e("text-justify",[["text-align","justify"]]),e("text-start",[["text-align","start"]]),e("text-end",[["text-align","end"]]),l("indent",["--text-indent","--spacing"],o=>[a("text-indent",o)],{supportsNegative:!0}),e("align-baseline",[["vertical-align","baseline"]]),e("align-top",[["vertical-align","top"]]),e("align-middle",[["vertical-align","middle"]]),e("align-bottom",[["vertical-align","bottom"]]),e("align-text-top",[["vertical-align","text-top"]]),e("align-text-bottom",[["vertical-align","text-bottom"]]),e("align-sub",[["vertical-align","sub"]]),e("align-super",[["vertical-align","super"]]),i("align",{themeKeys:[],handle:o=>[a("vertical-align",o)]}),r.functional("font",o=>{if(!(!o.value||o.modifier)){if(o.value.kind==="arbitrary"){let u=o.value.value;switch(o.value.dataType??z(u,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[a("font-family",u)];default:return[_([V("--tw-font-weight")]),a("--tw-font-weight",u),a("font-weight",u)]}}{let u=t.resolveWith(o.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if(u){let[h,x={}]=u;return[a("font-family",h),a("font-feature-settings",x["--font-feature-settings"]),a("font-variation-settings",x["--font-variation-settings"])]}}{let u=t.resolve(o.value.value,["--font-weight"]);if(u)return[_([V("--tw-font-weight")]),a("--tw-font-weight",u),a("font-weight",u)]}}}),n("font",()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}]),e("uppercase",[["text-transform","uppercase"]]),e("lowercase",[["text-transform","lowercase"]]),e("capitalize",[["text-transform","capitalize"]]),e("normal-case",[["text-transform","none"]]),e("italic",[["font-style","italic"]]),e("not-italic",[["font-style","normal"]]),e("underline",[["text-decoration-line","underline"]]),e("overline",[["text-decoration-line","overline"]]),e("line-through",[["text-decoration-line","line-through"]]),e("no-underline",[["text-decoration-line","none"]]),e("font-stretch-normal",[["font-stretch","normal"]]),e("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),e("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),e("font-stretch-condensed",[["font-stretch","condensed"]]),e("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),e("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),e("font-stretch-expanded",[["font-stretch","expanded"]]),e("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),e("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),i("font-stretch",{handleBareValue:({value:o})=>{if(!o.endsWith("%"))return null;let u=Number(o.slice(0,-1));return!T(u)||Number.isNaN(u)||u<50||u>200?null:o},handle:o=>[a("font-stretch",o)]}),n("font-stretch",()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}]),s("placeholder",{themeKeys:["--background-color","--color"],handle:o=>[D("&::placeholder",[a("--tw-sort","placeholder-color"),a("color",o)])]}),e("decoration-solid",[["text-decoration-style","solid"]]),e("decoration-double",[["text-decoration-style","double"]]),e("decoration-dotted",[["text-decoration-style","dotted"]]),e("decoration-dashed",[["text-decoration-style","dashed"]]),e("decoration-wavy",[["text-decoration-style","wavy"]]),e("decoration-auto",[["text-decoration-thickness","auto"]]),e("decoration-from-font",[["text-decoration-thickness","from-font"]]),r.functional("decoration",o=>{if(o.value){if(o.value.kind==="arbitrary"){let u=o.value.value;switch(o.value.dataType??z(u,["color","length","percentage"])){case"length":case"percentage":return o.modifier?void 0:[a("text-decoration-thickness",u)];default:return u=W(u,o.modifier,t),u===null?void 0:[a("text-decoration-color",u)]}}{let u=t.resolve(o.value.value,["--text-decoration-thickness"]);if(u)return o.modifier?void 0:[a("text-decoration-thickness",u)];if(T(o.value.value))return o.modifier?void 0:[a("text-decoration-thickness",`${o.value.value}px`)]}{let u=H(o,t,["--text-decoration-color","--color"]);if(u)return[a("text-decoration-color",u)]}}}),n("decoration",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}]),e("animate-none",[["animation","none"]]),i("animate",{themeKeys:["--animate"],handle:o=>[a("animation",o)]});{let o=["var(--tw-blur,)","var(--tw-brightness,)","var(--tw-contrast,)","var(--tw-grayscale,)","var(--tw-hue-rotate,)","var(--tw-invert,)","var(--tw-saturate,)","var(--tw-sepia,)","var(--tw-drop-shadow,)"].join(" "),u=["var(--tw-backdrop-blur,)","var(--tw-backdrop-brightness,)","var(--tw-backdrop-contrast,)","var(--tw-backdrop-grayscale,)","var(--tw-backdrop-hue-rotate,)","var(--tw-backdrop-invert,)","var(--tw-backdrop-opacity,)","var(--tw-backdrop-saturate,)","var(--tw-backdrop-sepia,)"].join(" "),h=()=>_([V("--tw-blur"),V("--tw-brightness"),V("--tw-contrast"),V("--tw-grayscale"),V("--tw-hue-rotate"),V("--tw-invert"),V("--tw-opacity"),V("--tw-saturate"),V("--tw-sepia"),V("--tw-drop-shadow")]),x=()=>_([V("--tw-backdrop-blur"),V("--tw-backdrop-brightness"),V("--tw-backdrop-contrast"),V("--tw-backdrop-grayscale"),V("--tw-backdrop-hue-rotate"),V("--tw-backdrop-invert"),V("--tw-backdrop-opacity"),V("--tw-backdrop-saturate"),V("--tw-backdrop-sepia")]);r.functional("filter",b=>{if(!b.modifier){if(b.value===null)return[h(),a("filter",o)];if(b.value.kind==="arbitrary")return[a("filter",b.value.value)];switch(b.value.value){case"none":return[a("filter","none")]}}}),r.functional("backdrop-filter",b=>{if(!b.modifier){if(b.value===null)return[x(),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)];if(b.value.kind==="arbitrary")return[a("-webkit-backdrop-filter",b.value.value),a("backdrop-filter",b.value.value)];switch(b.value.value){case"none":return[a("-webkit-backdrop-filter","none"),a("backdrop-filter","none")]}}}),i("blur",{themeKeys:["--blur"],handle:b=>[h(),a("--tw-blur",`blur(${b})`),a("filter",o)]}),e("blur-none",[h,["--tw-blur"," "],["filter",o]]),i("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:b=>[x(),a("--tw-backdrop-blur",`blur(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),e("backdrop-blur-none",[x,["--tw-backdrop-blur"," "],["-webkit-backdrop-filter",u],["backdrop-filter",u]]),i("brightness",{themeKeys:["--brightness"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[h(),a("--tw-brightness",`brightness(${b})`),a("filter",o)]}),i("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[x(),a("--tw-backdrop-brightness",`brightness(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}]),n("backdrop-brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}]),i("contrast",{themeKeys:["--contrast"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[h(),a("--tw-contrast",`contrast(${b})`),a("filter",o)]}),i("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[x(),a("--tw-backdrop-contrast",`contrast(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}]),n("backdrop-contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}]),i("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[h(),a("--tw-grayscale",`grayscale(${b})`),a("filter",o)]}),i("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[x(),a("--tw-backdrop-grayscale",`grayscale(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}]),n("backdrop-grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}]),i("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:b})=>T(b)?`${b}deg`:null,handle:b=>[h(),a("--tw-hue-rotate",`hue-rotate(${b})`),a("filter",o)]}),i("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:b})=>T(b)?`${b}deg`:null,handle:b=>[x(),a("--tw-backdrop-hue-rotate",`hue-rotate(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}]),n("backdrop-hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}]),i("invert",{themeKeys:["--invert"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[h(),a("--tw-invert",`invert(${b})`),a("filter",o)]}),i("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[x(),a("--tw-backdrop-invert",`invert(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}]),n("backdrop-invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}]),i("saturate",{themeKeys:["--saturate"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[h(),a("--tw-saturate",`saturate(${b})`),a("filter",o)]}),i("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,handle:b=>[x(),a("--tw-backdrop-saturate",`saturate(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}]),n("backdrop-saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}]),i("sepia",{themeKeys:["--sepia"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[h(),a("--tw-sepia",`sepia(${b})`),a("filter",o)]}),i("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:b})=>T(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[x(),a("--tw-backdrop-sepia",`sepia(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}]),n("backdrop-sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}]),e("drop-shadow-none",[h,["--tw-drop-shadow"," "],["filter",o]]),i("drop-shadow",{themeKeys:["--drop-shadow"],handle:b=>[h(),a("--tw-drop-shadow",O(b,",").map($=>`drop-shadow(${$})`).join(" ")),a("filter",o)]}),i("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:b})=>Me(b)?`${b}%`:null,handle:b=>[x(),a("--tw-backdrop-opacity",`opacity(${b})`),a("-webkit-backdrop-filter",u),a("backdrop-filter",u)]}),n("backdrop-opacity",()=>[{values:Array.from({length:21},(b,$)=>`${$*5}`),valueThemeKeys:["--backdrop-opacity","--opacity"]}])}{let o=`var(--tw-ease, ${t.resolve(null,["--default-transition-timing-function"])??"ease"})`,u=`var(--tw-duration, ${t.resolve(null,["--default-transition-duration"])??"0s"})`;e("transition-none",[["transition-property","none"]]),e("transition-all",[["transition-property","all"],["transition-timing-function",o],["transition-duration",u]]),e("transition-colors",[["transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"],["transition-timing-function",o],["transition-duration",u]]),e("transition-opacity",[["transition-property","opacity"],["transition-timing-function",o],["transition-duration",u]]),e("transition-shadow",[["transition-property","box-shadow"],["transition-timing-function",o],["transition-duration",u]]),e("transition-transform",[["transition-property","transform, translate, scale, rotate"],["transition-timing-function",o],["transition-duration",u]]),i("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter",themeKeys:["--transition-property"],handle:h=>[a("transition-property",h),a("transition-timing-function",o),a("transition-duration",u)]}),e("transition-discrete",[["transition-behavior","allow-discrete"]]),e("transition-normal",[["transition-behavior","normal"]]),i("delay",{handleBareValue:({value:h})=>T(h)?`${h}ms`:null,themeKeys:["--transition-delay"],handle:h=>[a("transition-delay",h)]});{let h=()=>_([V("--tw-duration")]);e("duration-initial",[h,["--tw-duration","initial"]]),r.functional("duration",x=>{if(x.modifier||!x.value)return;let b=null;if(x.value.kind==="arbitrary"?b=x.value.value:(b=t.resolve(x.value.fraction??x.value.value,["--transition-duration"]),b===null&&T(x.value.value)&&(b=`${x.value.value}ms`)),b!==null)return[h(),a("--tw-duration",b),a("transition-duration",b)]})}n("delay",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}]),n("duration",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}])}{let o=()=>_([V("--tw-ease")]);e("ease-initial",[o,["--tw-ease","initial"]]),e("ease-linear",[o,["--tw-ease","linear"],["transition-timing-function","linear"]]),i("ease",{themeKeys:["--ease"],handle:u=>[o(),a("--tw-ease",u),a("transition-timing-function",u)]})}e("will-change-auto",[["will-change","auto"]]),e("will-change-scroll",[["will-change","scroll-position"]]),e("will-change-contents",[["will-change","contents"]]),e("will-change-transform",[["will-change","transform"]]),i("will-change",{themeKeys:[],handle:o=>[a("will-change",o)]}),e("content-none",[["--tw-content","none"],["content","none"]]),i("content",{themeKeys:[],handle:o=>[_([V("--tw-content",'""')]),a("--tw-content",o),a("content","var(--tw-content)")]});{let o="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",u=()=>_([V("--tw-contain-size"),V("--tw-contain-layout"),V("--tw-contain-paint"),V("--tw-contain-style")]);e("contain-none",[["contain","none"]]),e("contain-content",[["contain","content"]]),e("contain-strict",[["contain","strict"]]),e("contain-size",[u,["--tw-contain-size","size"],["contain",o]]),e("contain-inline-size",[u,["--tw-contain-size","inline-size"],["contain",o]]),e("contain-layout",[u,["--tw-contain-layout","layout"],["contain",o]]),e("contain-paint",[u,["--tw-contain-paint","paint"],["contain",o]]),e("contain-style",[u,["--tw-contain-style","style"],["contain",o]]),i("contain",{themeKeys:[],handle:h=>[a("contain",h)]})}e("forced-color-adjust-none",[["forced-color-adjust","none"]]),e("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),e("leading-none",[()=>_([V("--tw-leading")]),["--tw-leading","1"],["line-height","1"]]),l("leading",["--leading","--spacing"],o=>[_([V("--tw-leading")]),a("--tw-leading",o),a("line-height",o)]),i("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:o=>[_([V("--tw-tracking")]),a("--tw-tracking",o),a("letter-spacing",o)]}),e("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),e("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let o="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",u=()=>_([V("--tw-ordinal"),V("--tw-slashed-zero"),V("--tw-numeric-figure"),V("--tw-numeric-spacing"),V("--tw-numeric-fraction")]);e("normal-nums",[["font-variant-numeric","normal"]]),e("ordinal",[u,["--tw-ordinal","ordinal"],["font-variant-numeric",o]]),e("slashed-zero",[u,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",o]]),e("lining-nums",[u,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",o]]),e("oldstyle-nums",[u,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",o]]),e("proportional-nums",[u,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",o]]),e("tabular-nums",[u,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",o]]),e("diagonal-fractions",[u,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",o]]),e("stacked-fractions",[u,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",o]])}{let o=()=>_([V("--tw-outline-style","solid")]);r.static("outline-hidden",()=>[a("--tw-outline-style","none"),a("outline-style","none"),K("@media","(forced-colors: active)",[a("outline","2px solid transparent"),a("outline-offset","2px")])]),e("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),e("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),e("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),e("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),e("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),r.functional("outline",u=>{if(u.value===null){if(u.modifier)return;let h=t.get(["--default-outline-width"])??"1px";return[o(),a("outline-style","var(--tw-outline-style)"),a("outline-width",h)]}if(u.value.kind==="arbitrary"){let h=u.value.value;switch(u.value.dataType??z(h,["color","length","number","percentage"])){case"length":case"number":case"percentage":return u.modifier?void 0:[o(),a("outline-style","var(--tw-outline-style)"),a("outline-width",h)];default:return h=W(h,u.modifier,t),h===null?void 0:[a("outline-color",h)]}}{let h=H(u,t,["--outline-color","--color"]);if(h)return[a("outline-color",h)]}{if(u.modifier)return;let h=t.resolve(u.value.value,["--outline-width"]);if(h)return[o(),a("outline-style","var(--tw-outline-style)"),a("outline-width",h)];if(T(u.value.value))return[o(),a("outline-style","var(--tw-outline-style)"),a("outline-width",`${u.value.value}px`)]}}),n("outline",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},(u,h)=>`${h*5}`),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}]),i("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:u})=>T(u)?`${u}px`:null,handle:u=>[a("outline-offset",u)]}),n("outline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}])}i("opacity",{themeKeys:["--opacity"],handleBareValue:({value:o})=>Me(o)?`${o}%`:null,handle:o=>[a("opacity",o)]}),n("opacity",()=>[{values:Array.from({length:21},(o,u)=>`${u*5}`),valueThemeKeys:["--opacity"]}]),e("underline-offset-auto",[["text-underline-offset","auto"]]),i("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:o})=>T(o)?`${o}px`:null,handle:o=>[a("text-underline-offset",o)]}),n("underline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}]),r.functional("text",o=>{if(o.value){if(o.value.kind==="arbitrary"){let u=o.value.value;switch(o.value.dataType??z(u,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":{if(o.modifier){let x=o.modifier.kind==="arbitrary"?o.modifier.value:t.resolve(o.modifier.value,["--leading"]);if(!x&&me(o.modifier.value)){let b=t.resolve(null,["--spacing"]);if(!b)return null;x=`calc(${b} * ${o.modifier.value})`}return!x&&o.modifier.value==="none"&&(x="1"),x?[a("font-size",u),a("line-height",x)]:null}return[a("font-size",u)]}default:return u=W(u,o.modifier,t),u===null?void 0:[a("color",u)]}}{let u=H(o,t,["--text-color","--color"]);if(u)return[a("color",u)]}{let u=t.resolveWith(o.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if(u){let[h,x={}]=Array.isArray(u)?u:[u];if(o.modifier){let b=o.modifier.kind==="arbitrary"?o.modifier.value:t.resolve(o.modifier.value,["--leading"]);if(!b&&me(o.modifier.value)){let E=t.resolve(null,["--spacing"]);if(!E)return null;b=`calc(${E} * ${o.modifier.value})`}if(!b&&o.modifier.value==="none"&&(b="1"),!b)return null;let $=[a("font-size",h)];return b&&$.push(a("line-height",b)),$}return typeof x=="string"?[a("font-size",h),a("line-height",x)]:[a("font-size",h),a("line-height",x["--line-height"]?`var(--tw-leading, ${x["--line-height"]})`:void 0),a("letter-spacing",x["--letter-spacing"]?`var(--tw-tracking, ${x["--letter-spacing"]})`:void 0),a("font-weight",x["--font-weight"]?`var(--tw-font-weight, ${x["--font-weight"]})`:void 0)]}}}}),n("text",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]);{let b=function(N){return`var(--tw-ring-inset,) 0 0 0 calc(${N} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${x})`},$=function(N){return`inset 0 0 0 ${N} var(--tw-inset-ring-color, currentColor)`};var R=b,U=$;let o=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),u="0 0 #0000",h=()=>_([V("--tw-shadow",u),V("--tw-shadow-color"),V("--tw-inset-shadow",u),V("--tw-inset-shadow-color"),V("--tw-ring-color"),V("--tw-ring-shadow",u),V("--tw-inset-ring-color"),V("--tw-inset-ring-shadow",u),V("--tw-ring-inset"),V("--tw-ring-offset-width","0px","<length>"),V("--tw-ring-offset-color","#fff"),V("--tw-ring-offset-shadow",u)]);e("shadow-initial",[h,["--tw-shadow-color","initial"]]),r.functional("shadow",N=>{if(!N.value){let C=t.get(["--shadow"]);return C===null?void 0:[h(),a("--tw-shadow",ce(C,F=>`var(--tw-shadow-color, ${F})`)),a("box-shadow",o)]}if(N.value.kind==="arbitrary"){let C=N.value.value;switch(N.value.dataType??z(C,["color"])){case"color":return C=W(C,N.modifier,t),C===null?void 0:[h(),a("--tw-shadow-color",C)];default:return[h(),a("--tw-shadow",ce(C,Oe=>`var(--tw-shadow-color, ${Oe})`)),a("box-shadow",o)]}}switch(N.value.value){case"none":return N.modifier?void 0:[h(),a("--tw-shadow",u),a("box-shadow",o)]}{let C=t.get([`--shadow-${N.value.value}`]);if(C)return N.modifier?void 0:[h(),a("--tw-shadow",ce(C,F=>`var(--tw-shadow-color, ${F})`)),a("box-shadow",o)]}{let C=H(N,t,["--box-shadow-color","--color"]);if(C)return[h(),a("--tw-shadow-color",C)]}}),n("shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(N,C)=>`${C*5}`)},{values:["none"],valueThemeKeys:["--shadow"],hasDefaultValue:!0}]),e("inset-shadow-initial",[h,["--tw-inset-shadow-color","initial"]]),r.functional("inset-shadow",N=>{if(!N.value){let C=t.get(["--inset-shadow"]);return C===null?void 0:[h(),a("--tw-inset-shadow",ce(C,F=>`var(--tw-inset-shadow-color, ${F})`)),a("box-shadow",o)]}if(N.value.kind==="arbitrary"){let C=N.value.value;switch(N.value.dataType??z(C,["color"])){case"color":return C=W(C,N.modifier,t),C===null?void 0:[h(),a("--tw-inset-shadow-color",C)];default:return[h(),a("--tw-inset-shadow",`inset ${ce(C,Oe=>`var(--tw-inset-shadow-color, ${Oe})`)}`),a("box-shadow",o)]}}switch(N.value.value){case"none":return N.modifier?void 0:[h(),a("--tw-inset-shadow",u),a("box-shadow",o)]}{let C=t.get([`--inset-shadow-${N.value.value}`]);if(C)return N.modifier?void 0:[h(),a("--tw-inset-shadow",ce(C,F=>`var(--tw-inset-shadow-color, ${F})`)),a("box-shadow",o)]}{let C=H(N,t,["--box-shadow-color","--color"]);if(C)return[h(),a("--tw-inset-shadow-color",C)]}}),n("inset-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(N,C)=>`${C*5}`)},{values:[],valueThemeKeys:["--inset-shadow"],hasDefaultValue:!0}]),e("ring-inset",[h,["--tw-ring-inset","inset"]]);let x=t.get(["--default-ring-color"])??"currentColor";r.functional("ring",N=>{if(!N.value){if(N.modifier)return;let C=t.get(["--default-ring-width"])??"1px";return[h(),a("--tw-ring-shadow",b(C)),a("box-shadow",o)]}if(N.value.kind==="arbitrary"){let C=N.value.value;switch(N.value.dataType??z(C,["color","length"])){case"length":return N.modifier?void 0:[h(),a("--tw-ring-shadow",b(C)),a("box-shadow",o)];default:return C=W(C,N.modifier,t),C===null?void 0:[a("--tw-ring-color",C)]}}{let C=H(N,t,["--ring-color","--color"]);if(C)return[a("--tw-ring-color",C)]}{if(N.modifier)return;let C=t.resolve(N.value.value,["--ring-width"]);if(C===null&&T(N.value.value)&&(C=`${N.value.value}px`),C)return[h(),a("--tw-ring-shadow",b(C)),a("box-shadow",o)]}}),n("ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(N,C)=>`${C*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]),r.functional("inset-ring",N=>{if(!N.value)return N.modifier?void 0:[h(),a("--tw-inset-ring-shadow",$("1px")),a("box-shadow",o)];if(N.value.kind==="arbitrary"){let C=N.value.value;switch(N.value.dataType??z(C,["color","length"])){case"length":return N.modifier?void 0:[h(),a("--tw-inset-ring-shadow",$(C)),a("box-shadow",o)];default:return C=W(C,N.modifier,t),C===null?void 0:[a("--tw-inset-ring-color",C)]}}{let C=H(N,t,["--ring-color","--color"]);if(C)return[a("--tw-inset-ring-color",C)]}{if(N.modifier)return;let C=t.resolve(N.value.value,["--ring-width"]);if(C===null&&T(N.value.value)&&(C=`${N.value.value}px`),C)return[h(),a("--tw-inset-ring-shadow",$(C)),a("box-shadow",o)]}}),n("inset-ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(N,C)=>`${C*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]);let E="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";r.functional("ring-offset",N=>{if(N.value){if(N.value.kind==="arbitrary"){let C=N.value.value;switch(N.value.dataType??z(C,["color","length"])){case"length":return N.modifier?void 0:[a("--tw-ring-offset-width",C),a("--tw-ring-offset-shadow",E)];default:return C=W(C,N.modifier,t),C===null?void 0:[a("--tw-ring-offset-color",C)]}}{let C=t.resolve(N.value.value,["--ring-offset-width"]);if(C)return N.modifier?void 0:[a("--tw-ring-offset-width",C),a("--tw-ring-offset-shadow",E)];if(T(N.value.value))return N.modifier?void 0:[a("--tw-ring-offset-width",`${N.value.value}px`),a("--tw-ring-offset-shadow",E)]}{let C=H(N,t,["--ring-offset-color","--color"]);if(C)return[a("--tw-ring-offset-color",C)]}}})}return n("ring-offset",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},(o,u)=>`${u*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}]),r.functional("@container",o=>{let u=null;if(o.value===null?u="inline-size":o.value.kind==="arbitrary"?u=o.value.value:o.value.kind==="named"&&o.value.value==="normal"&&(u="normal"),u!==null)return o.modifier?[a("container-type",u),a("container-name",o.modifier.value)]:[a("container-type",u)]}),n("@container",()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}]),r}function Xt(t){let r=t.params;return Mn.test(r)?n=>{let e=new Set,i=new Set;P(t.nodes,s=>{if(s.kind!=="declaration"||!s.value||!s.value.includes("--value(")&&!s.value.includes("--modifier("))return;let l=L(s.value);X(l,p=>{if(p.kind!=="function"||p.value!=="--value"&&p.value!=="--modifier")return;let f=O(q(p.nodes),",");for(let[d,c]of f.entries())c=c.replace(/\\\*/g,"*"),c=c.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),c=c.replace(/\s+/g,""),c=c.replace(/(-\*){2,}/g,"-*"),c[0]==="-"&&c[1]==="-"&&!c.includes("-*")&&(c+="-*"),f[d]=c;p.nodes=L(f.join(","));for(let d of p.nodes)if(d.kind==="word"&&d.value[0]==="-"&&d.value[1]==="-"){let c=d.value.replace(/-\*.*$/g,"");p.value==="--value"?e.add(c):p.value==="--modifier"&&i.add(c)}}),s.value=q(l)}),n.utilities.functional(r.slice(0,-2),s=>{let l=structuredClone(t),p=s.value,f=s.modifier;if(p===null)return;let d=!1,c=!1,m=!1,g=!1,y=new Map,v=!1;if(P([l],(w,{parent:A,replaceWith:k})=>{if(A?.kind!=="rule"&&A?.kind!=="at-rule"||w.kind!=="declaration"||!w.value)return;let S=L(w.value);(X(S,(R,{replaceWith:U})=>{if(R.kind==="function"){if(R.value==="--value"){d=!0;let o=Zt(p,R,n);return o?(c=!0,o.ratio?v=!0:y.set(w,A),U(o.nodes),1):(d||=!1,k([]),2)}else if(R.value==="--modifier"){if(f===null)return k([]),1;m=!0;let o=Zt(f,R,n);return o?(g=!0,U(o.nodes),1):(m||=!1,k([]),2)}}})??0)===0&&(w.value=q(S))}),d&&!c||m&&!g||v&&g||f&&!v&&!g)return null;if(v)for(let[w,A]of y){let k=A.nodes.indexOf(w);k!==-1&&A.nodes.splice(k,1)}return l.nodes}),n.utilities.suggest(r.slice(0,-2),()=>[{values:n.theme.keysInNamespaces(e).map(s=>s.replaceAll("_",".")),modifiers:n.theme.keysInNamespaces(i).map(s=>s.replaceAll("_","."))}])}:Ln.test(r)?n=>{n.utilities.static(r,()=>structuredClone(t.nodes))}:null}function Zt(t,r,n){for(let e of r.nodes)if(t.kind==="named"&&e.kind==="word"&&e.value[0]==="-"&&e.value[1]==="-"){let i=e.value;if(i.endsWith("-*")){i=i.slice(0,-2);let s=n.theme.resolve(t.value,[i]);if(s)return{nodes:L(s)}}else{let s=i.split("-*");if(s.length<=1)continue;let l=[s.shift()],p=n.theme.resolveWith(t.value,l,s);if(p){let[,f={}]=p;{let d=f[s.pop()];if(d)return{nodes:L(d)}}}}}else if(t.kind==="named"&&e.kind==="word"){if(e.value!=="number"&&e.value!=="integer"&&e.value!=="ratio"&&e.value!=="percentage")continue;let i=e.value==="ratio"&&"fraction"in t?t.fraction:t.value;if(!i)continue;let s=z(i,[e.value]);if(s===null)continue;if(s==="ratio"){let[l,p]=O(i,"/");if(!T(l)||!T(p))continue}else{if(s==="number"&&!me(i))continue;if(s==="percentage"&&!T(i.slice(0,-1)))continue}return{nodes:L(i),ratio:s==="ratio"}}else if(t.kind==="arbitrary"&&e.kind==="word"&&e.value[0]==="["&&e.value[e.value.length-1]==="]"){let i=e.value.slice(1,-1);if(i==="*")return{nodes:L(t.value)};if("dataType"in t&&t.dataType&&t.dataType!==i)continue;if("dataType"in t&&t.dataType)return{nodes:L(t.value)};if(z(t.value,[i])!==null)return{nodes:L(t.value)}}}var mt={"--alpha":Wn,"--spacing":Bn,"--theme":qn,theme:rr};function Wn(t,r,...n){let[e,i]=O(r,"/").map(s=>s.trim());if(!e||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${e||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${e||"var(--my-color)"} / ${i||"50%"})\``);return Y(e,i)}function Bn(t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let e=t.theme.resolve(null,["--spacing"]);if(!e)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${e} * ${r})`}function qn(t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");return rr(t,r,...n)}function rr(t,r,...n){r=Hn(r);let e=t.resolveThemeValue(r);if(!e&&n.length>0)return n.join(", ");if(!e)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return e}var er=new RegExp(Object.keys(mt).map(t=>`${t}\\(`).join("|"));function ge(t,r){let n=0;return P(t,e=>{if(e.kind==="declaration"&&e.value&&er.test(e.value)){n|=8,e.value=tr(e.value,r);return}e.kind==="at-rule"&&(e.name==="@media"||e.name==="@custom-media"||e.name==="@container"||e.name==="@supports")&&er.test(e.params)&&(n|=8,e.params=tr(e.params,r))}),n}function tr(t,r){let n=L(t);return X(n,(e,{replaceWith:i})=>{if(e.kind==="function"&&e.value in mt){let s=O(q(e.nodes).trim(),",").map(p=>p.trim()),l=mt[e.value](r,...s);return i(L(l))}}),q(n)}function Hn(t){if(t[0]!=="'"&&t[0]!=='"')return t;let r="",n=t[0];for(let e=1;e<t.length-1;e++){let i=t[e],s=t[e+1];i==="\\"&&(s===n||s==="\\")?(r+=s,e++):r+=i}return r}function We(t,r){let n=t.length,e=r.length,i=n<e?n:e;for(let s=0;s<i;s++){let l=t.charCodeAt(s),p=r.charCodeAt(s);if(l>=48&&l<=57&&p>=48&&p<=57){let f=s,d=s+1,c=s,m=s+1;for(l=t.charCodeAt(d);l>=48&&l<=57;)l=t.charCodeAt(++d);for(p=r.charCodeAt(m);p>=48&&p<=57;)p=r.charCodeAt(++m);let g=t.slice(f,d),y=r.slice(c,m),v=Number(g)-Number(y);if(v)return v;if(g<y)return-1;if(g>y)return 1;continue}if(l!==p)return l-p}return t.length-r.length}var Gn=/^\d+\/\d+$/;function nr(t){let r=[];for(let e of t.utilities.keys("static"))r.push({name:e,utility:e,fraction:!1,modifiers:[]});for(let e of t.utilities.keys("functional")){let i=t.utilities.getCompletions(e);for(let s of i)for(let l of s.values){let p=l!==null&&Gn.test(l),f=l===null?e:`${e}-${l}`;r.push({name:f,utility:e,fraction:p,modifiers:s.modifiers}),s.supportsNegative&&r.push({name:`-${f}`,utility:`-${e}`,fraction:p,modifiers:s.modifiers})}}return r.length===0?[]:(r.sort((e,i)=>We(e.name,i.name)),Yn(r))}function Yn(t){let r=[],n=null,e=new Map,i=new j(()=>[]);for(let l of t){let{utility:p,fraction:f}=l;n||(n={utility:p,items:[]},e.set(p,n)),p!==n.utility&&(r.push(n),n={utility:p,items:[]},e.set(p,n)),f?i.get(p).push(l):n.items.push(l)}n&&r[r.length-1]!==n&&r.push(n);for(let[l,p]of i){let f=e.get(l);f&&f.items.push(...p)}let s=[];for(let l of r)for(let p of l.items)s.push([p.name,{modifiers:p.modifiers}]);return s}function ir(t){let r=[];for(let[e,i]of t.variants.entries()){let p=function({value:f,modifier:d}={}){let c=e;f&&(c+=s?`-${f}`:f),d&&(c+=`/${d}`);let m=t.parseVariant(c);if(!m)return[];let g=D(".__placeholder__",[]);if(ve(g,m,t.variants)===null)return[];let y=[];return je(g.nodes,(v,{path:w})=>{if(v.kind!=="rule"&&v.kind!=="at-rule"||v.nodes.length>0)return;w.sort((S,I)=>{let R=S.kind==="at-rule",U=I.kind==="at-rule";return R&&!U?-1:!R&&U?1:0});let A=w.flatMap(S=>S.kind==="rule"?S.selector==="&"?[]:[S.selector]:S.kind==="at-rule"?[`${S.name} ${S.params}`]:[]),k="";for(let S=A.length-1;S>=0;S--)k=k===""?A[S]:`${A[S]} { ${k} }`;y.push(k)}),y};var n=p;if(i.kind==="arbitrary")continue;let s=e!=="@",l=t.variants.getCompletions(e);switch(i.kind){case"static":{r.push({name:e,values:l,isArbitrary:!1,hasDash:s,selectors:p});break}case"functional":{r.push({name:e,values:l,isArbitrary:!0,hasDash:s,selectors:p});break}case"compound":{r.push({name:e,values:l,isArbitrary:!0,hasDash:s,selectors:p});break}}}return r}function or(t,r){let{astNodes:n,nodeSorting:e}=ne(Array.from(r),t),i=new Map(r.map(l=>[l,null])),s=0n;for(let l of n){let p=e.get(l)?.candidate;p&&i.set(p,i.get(p)??s++)}return r.map(l=>[l,i.get(l)??null])}var Be=/^@?[a-zA-Z0-9_-]*$/;var gt=class{compareFns=new Map;variants=new Map;completions=new Map;groupOrder=null;lastOrder=0;static(r,n,{compounds:e,order:i}={}){this.set(r,{kind:"static",applyFn:n,compoundsWith:0,compounds:e??2,order:i})}fromAst(r,n){let e=[];P(n,i=>{i.kind==="rule"?e.push(i.selector):i.kind==="at-rule"&&i.name!=="@slot"&&e.push(`${i.name} ${i.params}`)}),this.static(r,i=>{let s=structuredClone(n);ht(s,i.nodes),i.nodes=s},{compounds:fe(e)})}functional(r,n,{compounds:e,order:i}={}){this.set(r,{kind:"functional",applyFn:n,compoundsWith:0,compounds:e??2,order:i})}compound(r,n,e,{compounds:i,order:s}={}){this.set(r,{kind:"compound",applyFn:e,compoundsWith:n,compounds:i??2,order:s})}group(r,n){this.groupOrder=this.nextOrder(),n&&this.compareFns.set(this.groupOrder,n),r(),this.groupOrder=null}has(r){return this.variants.has(r)}get(r){return this.variants.get(r)}kind(r){return this.variants.get(r)?.kind}compoundsWith(r,n){let e=this.variants.get(r),i=typeof n=="string"?this.variants.get(n):n.kind==="arbitrary"?{compounds:fe([n.selector])}:this.variants.get(n.root);return!(!e||!i||e.kind!=="compound"||i.compounds===0||e.compoundsWith===0||(e.compoundsWith&i.compounds)===0)}suggest(r,n){this.completions.set(r,n)}getCompletions(r){return this.completions.get(r)?.()??[]}compare(r,n){if(r===n)return 0;if(r===null)return-1;if(n===null)return 1;if(r.kind==="arbitrary"&&n.kind==="arbitrary")return r.selector<n.selector?-1:1;if(r.kind==="arbitrary")return 1;if(n.kind==="arbitrary")return-1;let e=this.variants.get(r.root).order,i=this.variants.get(n.root).order,s=e-i;if(s!==0)return s;if(r.kind==="compound"&&n.kind==="compound"){let d=this.compare(r.variant,n.variant);return d!==0?d:r.modifier&&n.modifier?r.modifier.value<n.modifier.value?-1:1:r.modifier?1:n.modifier?-1:0}let l=this.compareFns.get(e);if(l!==void 0)return l(r,n);if(r.root!==n.root)return r.root<n.root?-1:1;let p=r.value,f=n.value;return p===null?-1:f===null||p.kind==="arbitrary"&&f.kind!=="arbitrary"?1:p.kind!=="arbitrary"&&f.kind==="arbitrary"||p.value<f.value?-1:1}keys(){return this.variants.keys()}entries(){return this.variants.entries()}set(r,{kind:n,applyFn:e,compounds:i,compoundsWith:s,order:l}){let p=this.variants.get(r);p?Object.assign(p,{kind:n,applyFn:e,compounds:i}):(l===void 0&&(this.lastOrder=this.nextOrder(),l=this.lastOrder),this.variants.set(r,{kind:n,applyFn:e,order:l,compoundsWith:s,compounds:i}))}nextOrder(){return this.groupOrder??this.lastOrder+1}};function fe(t){let r=0;for(let n of t){if(n[0]==="@"){if(!n.startsWith("@media")&&!n.startsWith("@supports")&&!n.startsWith("@container"))return 0;r|=1;continue}if(n.includes("::"))return 0;r|=2}return r}function ar(t){let r=new gt;function n(d,c,{compounds:m}={}){m=m??fe(c),r.static(d,g=>{g.nodes=c.map(y=>M(y,g.nodes))},{compounds:m})}n("*",[":is(& > *)"],{compounds:0}),n("**",[":is(& *)"],{compounds:0});function e(d,c){return c.map(m=>{m=m.trim();let g=O(m," ");return g[0]==="not"?g.slice(1).join(" "):d==="@container"?g[0][0]==="("?`not ${m}`:g[1]==="not"?`${g[0]} ${g.slice(2).join(" ")}`:`${g[0]} not ${g.slice(1).join(" ")}`:`not ${m}`})}let i=["@media","@supports","@container"];function s(d){for(let c of i){if(c!==d.name)continue;let m=O(d.params,",");return m.length>1?null:(m=e(d.name,m),K(d.name,m.join(", ")))}return null}function l(d){return d.includes("::")?null:`&:not(${O(d,",").map(m=>(m=m.replaceAll("&","*"),m)).join(", ")})`}r.compound("not",3,(d,c)=>{if(c.variant.kind==="arbitrary"&&c.variant.relative||c.modifier)return null;let m=!1;if(P([d],(g,{path:y})=>{if(g.kind!=="rule"&&g.kind!=="at-rule")return 0;if(g.nodes.length>0)return 0;let v=[],w=[];for(let k of y)k.kind==="at-rule"?v.push(k):k.kind==="rule"&&w.push(k);if(v.length>1)return 2;if(w.length>1)return 2;let A=[];for(let k of w){let S=l(k.selector);if(!S)return m=!1,2;A.push(D(S,[]))}for(let k of v){let S=s(k);if(!S)return m=!1,2;A.push(S)}return Object.assign(d,D("&",A)),m=!0,1}),d.kind==="rule"&&d.selector==="&"&&d.nodes.length===1&&Object.assign(d,d.nodes[0]),!m)return null}),r.suggest("not",()=>Array.from(r.keys()).filter(d=>r.compoundsWith("not",d))),r.compound("group",2,(d,c)=>{if(c.variant.kind==="arbitrary"&&c.variant.relative)return null;let m=c.modifier?`:where(.${t.prefix?`${t.prefix}\\:`:""}group\\/${c.modifier.value})`:`:where(.${t.prefix?`${t.prefix}\\:`:""}group)`,g=!1;if(P([d],(y,{path:v})=>{if(y.kind!=="rule")return 0;for(let A of v.slice(0,-1))if(A.kind==="rule")return g=!1,2;let w=y.selector.replaceAll("&",m);O(w,",").length>1&&(w=`:is(${w})`),y.selector=`&:is(${w} *)`,g=!0}),!g)return null}),r.suggest("group",()=>Array.from(r.keys()).filter(d=>r.compoundsWith("group",d))),r.compound("peer",2,(d,c)=>{if(c.variant.kind==="arbitrary"&&c.variant.relative)return null;let m=c.modifier?`:where(.${t.prefix?`${t.prefix}\\:`:""}peer\\/${c.modifier.value})`:`:where(.${t.prefix?`${t.prefix}\\:`:""}peer)`,g=!1;if(P([d],(y,{path:v})=>{if(y.kind!=="rule")return 0;for(let A of v.slice(0,-1))if(A.kind==="rule")return g=!1,2;let w=y.selector.replaceAll("&",m);O(w,",").length>1&&(w=`:is(${w})`),y.selector=`&:is(${w} ~ *)`,g=!0}),!g)return null}),r.suggest("peer",()=>Array.from(r.keys()).filter(d=>r.compoundsWith("peer",d))),n("first-letter",["&::first-letter"]),n("first-line",["&::first-line"]),n("marker",["& *::marker","&::marker"]),n("selection",["& *::selection","&::selection"]),n("file",["&::file-selector-button"]),n("placeholder",["&::placeholder"]),n("backdrop",["&::backdrop"]),!1;{let d=function(){return _([K("@property","--tw-content",[a("syntax",'"*"'),a("initial-value",'""'),a("inherits","false")])])};var p=d;r.static("before",c=>{c.nodes=[D("&::before",[d(),a("content","var(--tw-content)"),...c.nodes])]},{compounds:0}),r.static("after",c=>{c.nodes=[D("&::after",[d(),a("content","var(--tw-content)"),...c.nodes])]},{compounds:0})}n("first",["&:first-child"]),n("last",["&:last-child"]),n("only",["&:only-child"]),n("odd",["&:nth-child(odd)"]),n("even",["&:nth-child(even)"]),n("first-of-type",["&:first-of-type"]),n("last-of-type",["&:last-of-type"]),n("only-of-type",["&:only-of-type"]),n("visited",["&:visited"]),n("target",["&:target"]),n("open",["&:is([open], :popover-open, :open)"]),n("default",["&:default"]),n("checked",["&:checked"]),n("indeterminate",["&:indeterminate"]),n("placeholder-shown",["&:placeholder-shown"]),n("autofill",["&:autofill"]),n("optional",["&:optional"]),n("required",["&:required"]),n("valid",["&:valid"]),n("invalid",["&:invalid"]),!1,n("in-range",["&:in-range"]),n("out-of-range",["&:out-of-range"]),n("read-only",["&:read-only"]),n("empty",["&:empty"]),n("focus-within",["&:focus-within"]),r.static("hover",d=>{d.nodes=[D("&:hover",[K("@media","(hover: hover)",d.nodes)])]}),n("focus",["&:focus"]),n("focus-visible",["&:focus-visible"]),n("active",["&:active"]),n("enabled",["&:enabled"]),n("disabled",["&:disabled"]),n("inert",["&:is([inert], [inert] *)"]),r.compound("in",2,(d,c)=>{if(c.modifier)return null;let m=!1;if(P([d],(g,{path:y})=>{if(g.kind!=="rule")return 0;for(let v of y.slice(0,-1))if(v.kind==="rule")return m=!1,2;g.selector=`:where(${g.selector.replaceAll("&","*")}) &`,m=!0}),!m)return null}),r.suggest("in",()=>Array.from(r.keys()).filter(d=>r.compoundsWith("in",d))),r.compound("has",2,(d,c)=>{if(c.modifier)return null;let m=!1;if(P([d],(g,{path:y})=>{if(g.kind!=="rule")return 0;for(let v of y.slice(0,-1))if(v.kind==="rule")return m=!1,2;g.selector=`&:has(${g.selector.replaceAll("&","*")})`,m=!0}),!m)return null}),r.suggest("has",()=>Array.from(r.keys()).filter(d=>r.compoundsWith("has",d))),r.functional("aria",(d,c)=>{if(!c.value||c.modifier)return null;c.value.kind==="arbitrary"?d.nodes=[D(`&[aria-${lr(c.value.value)}]`,d.nodes)]:d.nodes=[D(`&[aria-${c.value.value}="true"]`,d.nodes)]}),r.suggest("aria",()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"]),r.functional("data",(d,c)=>{if(!c.value||c.modifier)return null;d.nodes=[D(`&[data-${lr(c.value.value)}]`,d.nodes)]}),r.functional("nth",(d,c)=>{if(!c.value||c.modifier||c.value.kind==="named"&&!T(c.value.value))return null;d.nodes=[D(`&:nth-child(${c.value.value})`,d.nodes)]}),r.functional("nth-last",(d,c)=>{if(!c.value||c.modifier||c.value.kind==="named"&&!T(c.value.value))return null;d.nodes=[D(`&:nth-last-child(${c.value.value})`,d.nodes)]}),r.functional("nth-of-type",(d,c)=>{if(!c.value||c.modifier||c.value.kind==="named"&&!T(c.value.value))return null;d.nodes=[D(`&:nth-of-type(${c.value.value})`,d.nodes)]}),r.functional("nth-last-of-type",(d,c)=>{if(!c.value||c.modifier||c.value.kind==="named"&&!T(c.value.value))return null;d.nodes=[D(`&:nth-last-of-type(${c.value.value})`,d.nodes)]}),r.functional("supports",(d,c)=>{if(!c.value||c.modifier)return null;let m=c.value.value;if(m===null)return null;if(/^[\w-]*\s*\(/.test(m)){let g=m.replace(/\b(and|or|not)\b/g," $1 ");d.nodes=[K("@supports",g,d.nodes)];return}m.includes(":")||(m=`${m}: var(--tw)`),(m[0]!=="("||m[m.length-1]!==")")&&(m=`(${m})`),d.nodes=[K("@supports",m,d.nodes)]},{compounds:1}),n("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),n("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),n("contrast-more",["@media (prefers-contrast: more)"]),n("contrast-less",["@media (prefers-contrast: less)"]);{let d=function(c,m,g,y){if(c===m)return 0;let v=y.get(c);if(v===null)return g==="asc"?-1:1;let w=y.get(m);return w===null?g==="asc"?1:-1:ue(v,w,g)};var f=d;{let c=t.namespace("--breakpoint"),m=new j(g=>{switch(g.kind){case"static":return t.resolveValue(g.root,["--breakpoint"])??null;case"functional":{if(!g.value||g.modifier)return null;let y=null;return g.value.kind==="arbitrary"?y=g.value.value:g.value.kind==="named"&&(y=t.resolveValue(g.value.value,["--breakpoint"])),!y||y.includes("var(")?null:y}case"arbitrary":case"compound":return null}});r.group(()=>{r.functional("max",(g,y)=>{if(y.modifier)return null;let v=m.get(y);if(v===null)return null;g.nodes=[K("@media",`(width < ${v})`,g.nodes)]},{compounds:1})},(g,y)=>d(g,y,"desc",m)),r.suggest("max",()=>Array.from(c.keys()).filter(g=>g!==null)),r.group(()=>{for(let[g,y]of t.namespace("--breakpoint"))g!==null&&r.static(g,v=>{v.nodes=[K("@media",`(width >= ${y})`,v.nodes)]},{compounds:1});r.functional("min",(g,y)=>{if(y.modifier)return null;let v=m.get(y);if(v===null)return null;g.nodes=[K("@media",`(width >= ${v})`,g.nodes)]},{compounds:1})},(g,y)=>d(g,y,"asc",m)),r.suggest("min",()=>Array.from(c.keys()).filter(g=>g!==null))}{let c=t.namespace("--container"),m=new j(g=>{switch(g.kind){case"functional":{if(g.value===null)return null;let y=null;return g.value.kind==="arbitrary"?y=g.value.value:g.value.kind==="named"&&(y=t.resolveValue(g.value.value,["--container"])),!y||y.includes("var(")?null:y}case"static":case"arbitrary":case"compound":return null}});r.group(()=>{r.functional("@max",(g,y)=>{let v=m.get(y);if(v===null)return null;g.nodes=[K("@container",y.modifier?`${y.modifier.value} (width < ${v})`:`(width < ${v})`,g.nodes)]},{compounds:1})},(g,y)=>d(g,y,"desc",m)),r.suggest("@max",()=>Array.from(c.keys()).filter(g=>g!==null)),r.group(()=>{r.functional("@",(g,y)=>{let v=m.get(y);if(v===null)return null;g.nodes=[K("@container",y.modifier?`${y.modifier.value} (width >= ${v})`:`(width >= ${v})`,g.nodes)]},{compounds:1}),r.functional("@min",(g,y)=>{let v=m.get(y);if(v===null)return null;g.nodes=[K("@container",y.modifier?`${y.modifier.value} (width >= ${v})`:`(width >= ${v})`,g.nodes)]},{compounds:1})},(g,y)=>d(g,y,"asc",m)),r.suggest("@min",()=>Array.from(c.keys()).filter(g=>g!==null)),r.suggest("@",()=>Array.from(c.keys()).filter(g=>g!==null))}}return n("portrait",["@media (orientation: portrait)"]),n("landscape",["@media (orientation: landscape)"]),n("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),n("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),n("dark",["@media (prefers-color-scheme: dark)"]),n("starting",["@starting-style"]),n("print",["@media print"]),n("forced-colors",["@media (forced-colors: active)"]),!1,!1,!1,r}function lr(t){if(t.includes("=")){let[r,...n]=O(t,"="),e=n.join("=").trim();if(e[0]==="'"||e[0]==='"')return t;if(e.length>1){let i=e[e.length-1];if(e[e.length-2]===" "&&(i==="i"||i==="I"||i==="s"||i==="S"))return`${r}="${e.slice(0,-2)}" ${i}`}return`${r}="${e}"`}return t}function ht(t,r){P(t,(n,{replaceWith:e})=>{if(n.kind==="at-rule"&&n.name==="@slot")e(r);else if(n.kind==="at-rule"&&(n.name==="@keyframes"||n.name==="@property"))return Object.assign(n,_([K(n.name,n.params,n.nodes)])),1})}function sr(t){let r=Qt(t),n=ar(t),e=new j(f=>Bt(f,p)),i=new j(f=>Array.from(Wt(f,p))),s=new j(f=>{let d=ur(f,p);try{ge(d.map(({node:c})=>c),p)}catch{return[]}return d}),l=new j(f=>{for(let d of Fe(f))t.markUsedVariable(d)}),p={theme:t,utilities:r,variants:n,invalidCandidates:new Set,important:!1,candidatesToCss(f){let d=[];for(let c of f){let m=!1,{astNodes:g}=ne([c],this,{onInvalidCandidate(){m=!0}});g=se(g,p),g.length===0||m?d.push(null):d.push(G(g))}return d},getClassOrder(f){return or(this,f)},getClassList(){return nr(this)},getVariants(){return ir(this)},parseCandidate(f){return i.get(f)},parseVariant(f){return e.get(f)},compileAstNodes(f){return s.get(f)},getVariantOrder(){let f=Array.from(e.values());f.sort((g,y)=>this.variants.compare(g,y));let d=new Map,c,m=0;for(let g of f)g!==null&&(c!==void 0&&this.variants.compare(c,g)!==0&&m++,d.set(g,m),c=g);return d},resolveThemeValue(f){let d=f.lastIndexOf("/"),c=null;d!==-1&&(c=f.slice(d+1).trim(),f=f.slice(0,d).trim());let m=t.get([f])??void 0;return c&&m?Y(m,c):m},trackUsedVariables(f){l.get(f)}};return p}var vt=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","filter","--tw-backdrop-blur","--tw-backdrop-brightness","--tw-backdrop-contrast","--tw-backdrop-grayscale","--tw-backdrop-hue-rotate","--tw-backdrop-invert","--tw-backdrop-opacity","--tw-backdrop-saturate","--tw-backdrop-sepia","backdrop-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];function ne(t,r,{onInvalidCandidate:n}={}){let e=new Map,i=[],s=new Map;for(let p of t){if(r.invalidCandidates.has(p)){n?.(p);continue}let f=r.parseCandidate(p);if(f.length===0){n?.(p);continue}s.set(p,f)}let l=r.getVariantOrder();for(let[p,f]of s){let d=!1;for(let c of f){let m=r.compileAstNodes(c);if(m.length!==0){d=!0;for(let{node:g,propertySort:y}of m){let v=0n;for(let w of c.variants)v|=1n<<BigInt(l.get(w));e.set(g,{properties:y,variants:v,candidate:p}),i.push(g)}}}d||n?.(p)}return i.sort((p,f)=>{let d=e.get(p),c=e.get(f);if(d.variants-c.variants!==0n)return Number(d.variants-c.variants);let m=0;for(;m<d.properties.order.length&&m<c.properties.order.length&&d.properties.order[m]===c.properties.order[m];)m+=1;return(d.properties.order[m]??1/0)-(c.properties.order[m]??1/0)||c.properties.count-d.properties.count||We(d.candidate,c.candidate)}),{astNodes:i,nodeSorting:e}}function ur(t,r){let n=ti(t,r);if(n.length===0)return[];let e=[],i=`.${te(t.raw)}`;for(let s of n){let l=ri(s);(t.important||r.important)&&fr(s);let p={kind:"rule",selector:i,nodes:s};for(let f of t.variants)if(ve(p,f,r.variants)===null)return[];e.push({node:p,propertySort:l})}return e}function ve(t,r,n,e=0){if(r.kind==="arbitrary"){if(r.relative&&e===0)return null;t.nodes=[M(r.selector,t.nodes)];return}let{applyFn:i}=n.get(r.root);if(r.kind==="compound"){let l=K("@slot");if(ve(l,r.variant,n,e+1)===null||r.root==="not"&&l.nodes.length>1)return null;for(let f of l.nodes)if(f.kind!=="rule"&&f.kind!=="at-rule"||i(f,r)===null)return null;P(l.nodes,f=>{if((f.kind==="rule"||f.kind==="at-rule")&&f.nodes.length<=0)return f.nodes=t.nodes,1}),t.nodes=l.nodes;return}if(i(t,r)===null)return null}function cr(t){let r=t.options?.types??[];return r.length>1&&r.includes("any")}function ti(t,r){if(t.kind==="arbitrary"){let l=t.value;return t.modifier&&(l=W(l,t.modifier,r.theme)),l===null?[]:[[a(t.property,l)]]}let n=r.utilities.get(t.root)??[],e=[],i=n.filter(l=>!cr(l));for(let l of i){if(l.kind!==t.kind)continue;let p=l.compileFn(t);if(p!==void 0){if(p===null)return e;e.push(p)}}if(e.length>0)return e;let s=n.filter(l=>cr(l));for(let l of s){if(l.kind!==t.kind)continue;let p=l.compileFn(t);if(p!==void 0){if(p===null)return e;e.push(p)}}return e}function fr(t){for(let r of t)r.kind!=="at-root"&&(r.kind==="declaration"?r.important=!0:(r.kind==="rule"||r.kind==="at-rule")&&fr(r.nodes))}function ri(t){let r=new Set,n=0,e=t.slice(),i=!1;for(;e.length>0;){let s=e.shift();if(s.kind==="declaration"){if(s.value===void 0||(n++,i))continue;if(s.property==="--tw-sort"){let p=vt.indexOf(s.value??"");if(p!==-1){r.add(p),i=!0;continue}}let l=vt.indexOf(s.property);l!==-1&&r.add(l)}else if(s.kind==="rule"||s.kind==="at-rule")for(let l of s.nodes)e.push(l)}return{order:Array.from(r).sort((s,l)=>s-l),count:n}}function $e(t,r){let n=0,e=M("&",t),i=new Set,s=new j(()=>new Set),l=new j(()=>new Set);P([e],(m,{parent:g})=>{if(m.kind==="at-rule"){if(m.name==="@keyframes")return P(m.nodes,y=>{if(y.kind==="at-rule"&&y.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(m.name==="@utility"){let y=m.params.replace(/-\*$/,"");l.get(y).add(m),P(m.nodes,v=>{if(!(v.kind!=="at-rule"||v.name!=="@apply")){i.add(m);for(let w of dr(v,r))s.get(m).add(w)}});return}if(m.name==="@apply"){if(g===null)return;n|=1,i.add(g);for(let y of dr(m,r))s.get(g).add(y)}}});let p=new Set,f=[],d=new Set;function c(m,g=[]){if(!p.has(m)){if(d.has(m)){let y=g[(g.indexOf(m)+1)%g.length];throw m.kind==="at-rule"&&m.name==="@utility"&&y.kind==="at-rule"&&y.name==="@utility"&&P(m.nodes,v=>{if(v.kind!=="at-rule"||v.name!=="@apply")return;let w=v.params.split(/\s+/g);for(let A of w)for(let k of r.parseCandidate(A))switch(k.kind){case"arbitrary":break;case"static":case"functional":if(y.params.replace(/-\*$/,"")===k.root)throw new Error(`You cannot \`@apply\` the \`${A}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
|
|
|
|
${G([m])}
|
|
Relies on:
|
|
|
|
${G([y])}`)}d.add(m);for(let y of s.get(m))for(let v of l.get(y))g.push(m),c(v,g),g.pop();p.add(m),d.delete(m),f.push(m)}}for(let m of i)c(m);for(let m of f)if("nodes"in m)for(let g=0;g<m.nodes.length;g++){let y=m.nodes[g];if(y.kind!=="at-rule"||y.name!=="@apply")continue;let v=y.params.split(/\s+/g);{let w=ne(v,r,{onInvalidCandidate:k=>{throw new Error(`Cannot apply unknown utility class: ${k}`)}}).astNodes,A=[];for(let k of w)if(k.kind==="rule")for(let S of k.nodes)A.push(S);else A.push(k);m.nodes.splice(g,1,...A)}}return n}function*dr(t,r){for(let n of t.params.split(/\s+/g))for(let e of r.parseCandidate(n))switch(e.kind){case"arbitrary":break;case"static":case"functional":yield e.root;break;default:}}async function yt(t,r,n,e=0){let i=0,s=[];return P(t,(l,{replaceWith:p})=>{if(l.kind==="at-rule"&&(l.name==="@import"||l.name==="@reference")){let f=ni(L(l.params));if(f===null)return;l.name==="@reference"&&(f.media="reference"),i|=2;let{uri:d,layer:c,media:m,supports:g}=f;if(d.startsWith("data:")||d.startsWith("http://")||d.startsWith("https://"))return;let y=Z({},[]);return s.push((async()=>{if(e>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${d}\` in \`${r}\`)`);let v=await n(d,r),w=le(v.content);await yt(w,v.base,n,e+1),y.nodes=ii([Z({base:v.base},w)],c,m,g)})()),p(y),1}}),s.length>0&&await Promise.all(s),i}function ni(t){let r,n=null,e=null,i=null;for(let s=0;s<t.length;s++){let l=t[s];if(l.kind!=="separator"){if(l.kind==="word"&&!r){if(!l.value||l.value[0]!=='"'&&l.value[0]!=="'")return null;r=l.value.slice(1,-1);continue}if(l.kind==="function"&&l.value.toLowerCase()==="url"||!r)return null;if((l.kind==="word"||l.kind==="function")&&l.value.toLowerCase()==="layer"){if(n)return null;if(i)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in l?n=q(l.nodes):n="";continue}if(l.kind==="function"&&l.value.toLowerCase()==="supports"){if(i)return null;i=q(l.nodes);continue}e=q(t.slice(s));break}}return r?{uri:r,layer:n,media:e,supports:i}:null}function ii(t,r,n,e){let i=t;return r!==null&&(i=[K("@layer",r,i)]),n!==null&&(i=[K("@media",n,i)]),e!==null&&(i=[K("@supports",e[0]==="("?e:`(${e})`,i)]),i}function ye(t,r=null){return Array.isArray(t)&&t.length===2&&typeof t[1]=="object"&&typeof t[1]!==null?r?t[1][r]??null:t[0]:Array.isArray(t)&&r===null?t.join(", "):typeof t=="string"&&r===null?t:null}function pr(t,{theme:r},n){for(let e of n){let i=qe([e]);i&&t.theme.clearNamespace(`--${i}`,4)}for(let[e,i]of oi(r)){if(typeof i!="string"&&typeof i!="number")continue;if(typeof i=="string"&&(i=i.replace(/<alpha-value>/g,"1")),e[0]==="opacity"&&(typeof i=="number"||typeof i=="string")){let l=typeof i=="string"?parseFloat(i):i;l>=0&&l<=1&&(i=l*100+"%")}let s=qe(e);s&&t.theme.add(`--${s}`,""+i,7)}if(Object.hasOwn(r,"fontFamily")){let e=5;{let i=ye(r.fontFamily.sans);i&&t.theme.hasDefault("--font-sans")&&(t.theme.add("--default-font-family",i,e),t.theme.add("--default-font-feature-settings",ye(r.fontFamily.sans,"fontFeatureSettings")??"normal",e),t.theme.add("--default-font-variation-settings",ye(r.fontFamily.sans,"fontVariationSettings")??"normal",e))}{let i=ye(r.fontFamily.mono);i&&t.theme.hasDefault("--font-mono")&&(t.theme.add("--default-mono-font-family",i,e),t.theme.add("--default-mono-font-feature-settings",ye(r.fontFamily.mono,"fontFeatureSettings")??"normal",e),t.theme.add("--default-mono-font-variation-settings",ye(r.fontFamily.mono,"fontVariationSettings")??"normal",e))}}return r}function oi(t){let r=[];return mr(t,[],(n,e)=>{if(ai(n))return r.push([e,n]),1;if(si(n)){r.push([e,n[0]]);for(let i of Reflect.ownKeys(n[1]))r.push([[...e,`-${i}`],n[1][i]]);return 1}if(Array.isArray(n)&&n.every(i=>typeof i=="string"))return r.push([e,n.join(", ")]),1}),r}var li=/^[a-zA-Z0-9-_%/\.]+$/;function qe(t){if(t[0]==="container")return null;t=structuredClone(t),t[0]==="animation"&&(t[0]="animate"),t[0]==="aspectRatio"&&(t[0]="aspect"),t[0]==="borderRadius"&&(t[0]="radius"),t[0]==="boxShadow"&&(t[0]="shadow"),t[0]==="colors"&&(t[0]="color"),t[0]==="containers"&&(t[0]="container"),t[0]==="fontFamily"&&(t[0]="font"),t[0]==="fontSize"&&(t[0]="text"),t[0]==="letterSpacing"&&(t[0]="tracking"),t[0]==="lineHeight"&&(t[0]="leading"),t[0]==="maxWidth"&&(t[0]="container"),t[0]==="screens"&&(t[0]="breakpoint"),t[0]==="transitionTimingFunction"&&(t[0]="ease");for(let r of t)if(!li.test(r))return null;return t.map((r,n,e)=>r==="1"&&n!==e.length-1?"":r).map(r=>r.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(n,e,i)=>`${e}-${i.toLowerCase()}`)).filter((r,n)=>r!=="DEFAULT"||n!==t.length-1).join("-")}function ai(t){return typeof t=="number"||typeof t=="string"}function si(t){if(!Array.isArray(t)||t.length!==2||typeof t[0]!="string"&&typeof t[0]!="number"||t[1]===void 0||t[1]===null||typeof t[1]!="object")return!1;for(let r of Reflect.ownKeys(t[1]))if(typeof r!="string"||typeof t[1][r]!="string"&&typeof t[1][r]!="number")return!1;return!0}function mr(t,r=[],n){for(let e of Reflect.ownKeys(t)){let i=t[e];if(i==null)continue;let s=[...r,e],l=n(i,s)??0;if(l!==1){if(l===2)return 2;if(!(!Array.isArray(i)&&typeof i!="object")&&mr(i,s,n)===2)return 2}}}function He(t){let r=[];for(let n of O(t,".")){if(!n.includes("[")){r.push(n);continue}let e=0;for(;;){let i=n.indexOf("[",e),s=n.indexOf("]",i);if(i===-1||s===-1)break;i>e&&r.push(n.slice(e,i)),r.push(n.slice(i+1,s)),e=s+1}e<=n.length-1&&r.push(n.slice(e))}return r}function be(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let r=Object.getPrototypeOf(t);return r===null||Object.getPrototypeOf(r)===null}function Ve(t,r,n,e=[]){for(let i of r)if(i!=null)for(let s of Reflect.ownKeys(i)){e.push(s);let l=n(t[s],i[s],e);l!==void 0?t[s]=l:!be(t[s])||!be(i[s])?t[s]=i[s]:t[s]=Ve({},[t[s],i[s]],n,e),e.pop()}return t}function Ge(t,r,n){return function(i,s){let l=i.lastIndexOf("/"),p=null;l!==-1&&(p=i.slice(l+1).trim(),i=i.slice(0,l).trim());let f=(()=>{let d=He(i),[c,m]=ui(t.theme,d),g=n(gr(r()??{},d)??null);if(typeof g=="string"&&(g=g.replace("<alpha-value>","1")),typeof c!="object")return typeof m!="object"&&m&4?g??c:c;if(g!==null&&typeof g=="object"&&!Array.isArray(g)){let y=Ve({},[g],(v,w)=>w);if(c===null&&Object.hasOwn(g,"__CSS_VALUES__")){let v={};for(let w in g.__CSS_VALUES__)v[w]=g[w],delete y[w];c=v}for(let v in c)v!=="__CSS_VALUES__"&&(g?.__CSS_VALUES__?.[v]&4&&gr(y,v.split("-"))!==void 0||(y[ae(v)]=c[v]));return y}if(Array.isArray(c)&&Array.isArray(m)&&Array.isArray(g)){let y=c[0],v=c[1];m[0]&4&&(y=g[0]??y);for(let w of Object.keys(v))m[1][w]&4&&(v[w]=g[1][w]??v[w]);return[y,v]}return c??g})();return p&&typeof f=="string"&&(f=Y(f,p)),f??s}}function ui(t,r){if(r.length===1&&r[0].startsWith("--"))return[t.get([r[0]]),t.getOptions(r[0])];let n=qe(r),e=new Map,i=new j(()=>new Map),s=t.namespace(`--${n}`);if(s.size===0)return[null,0];let l=new Map;for(let[c,m]of s){if(!c||!c.includes("--")){e.set(c,m),l.set(c,t.getOptions(c?`--${n}-${c}`:`--${n}`));continue}let g=c.indexOf("--"),y=c.slice(0,g),v=c.slice(g+2);v=v.replace(/-([a-z])/g,(w,A)=>A.toUpperCase()),i.get(y===""?null:y).set(v,[m,t.getOptions(`--${n}${c}`)])}let p=t.getOptions(`--${n}`);for(let[c,m]of i){let g=e.get(c);if(typeof g!="string")continue;let y={},v={};for(let[w,[A,k]]of m)y[w]=A,v[w]=k;e.set(c,[g,y]),l.set(c,[p,v])}let f={},d={};for(let[c,m]of e)hr(f,[c??"DEFAULT"],m);for(let[c,m]of l)hr(d,[c??"DEFAULT"],m);return r[r.length-1]==="DEFAULT"?[f?.DEFAULT??null,d.DEFAULT??0]:"DEFAULT"in f&&Object.keys(f).length===1?[f.DEFAULT,d.DEFAULT??0]:(f.__CSS_VALUES__=d,[f,d])}function gr(t,r){for(let n=0;n<r.length;++n){let e=r[n];if(t?.[e]===void 0){if(r[n+1]===void 0)return;r[n+1]=`${e}-${r[n+1]}`;continue}t=t[e]}return t}function hr(t,r,n){for(let e of r.slice(0,-1))t[e]===void 0&&(t[e]={}),t=t[e];t[r[r.length-1]]=n}function ci(t){return{kind:"combinator",value:t}}function fi(t,r){return{kind:"function",value:t,nodes:r}}function Se(t){return{kind:"selector",value:t}}function di(t){return{kind:"separator",value:t}}function pi(t){return{kind:"value",value:t}}function Te(t,r,n=null){for(let e=0;e<t.length;e++){let i=t[e],s=!1,l=0,p=r(i,{parent:n,replaceWith(f){s=!0,Array.isArray(f)?f.length===0?(t.splice(e,1),l=0):f.length===1?(t[e]=f[0],l=1):(t.splice(e,1,...f),l=f.length):(t[e]=f,l=1)}})??0;if(s){p===0?e--:e+=l-1;continue}if(p===2)return 2;if(p!==1&&i.kind==="function"&&Te(i.nodes,r,i)===2)return 2}}function Ee(t){let r="";for(let n of t)switch(n.kind){case"combinator":case"selector":case"separator":case"value":{r+=n.value;break}case"function":r+=n.value+"("+Ee(n.nodes)+")"}return r}var vr=92,mi=93,yr=41,gi=58,br=44,hi=34,vi=46,wr=62,kr=10,yi=35,xr=91,Ar=40,Cr=43,bi=39,Nr=32,$r=9,Vr=126;function Ye(t){t=t.replaceAll(`\r
|
|
`,`
|
|
`);let r=[],n=[],e=null,i="",s;for(let l=0;l<t.length;l++){let p=t.charCodeAt(l);switch(p){case br:case wr:case kr:case Nr:case Cr:case $r:case Vr:{if(i.length>0){let g=Se(i);e?e.nodes.push(g):r.push(g),i=""}let f=l,d=l+1;for(;d<t.length&&(s=t.charCodeAt(d),!(s!==br&&s!==wr&&s!==kr&&s!==Nr&&s!==Cr&&s!==$r&&s!==Vr));d++);l=d-1;let c=t.slice(f,d),m=c.trim()===","?di(c):ci(c);e?e.nodes.push(m):r.push(m);break}case Ar:{let f=fi(i,[]);if(i="",f.value!==":not"&&f.value!==":where"&&f.value!==":has"&&f.value!==":is"){let d=l+1,c=0;for(let g=l+1;g<t.length;g++){if(s=t.charCodeAt(g),s===Ar){c++;continue}if(s===yr){if(c===0){l=g;break}c--}}let m=l;f.nodes.push(pi(t.slice(d,m))),i="",l=m,e?e.nodes.push(f):r.push(f);break}e?e.nodes.push(f):r.push(f),n.push(f),e=f;break}case yr:{let f=n.pop();if(i.length>0){let d=Se(i);f.nodes.push(d),i=""}n.length>0?e=n[n.length-1]:e=null;break}case vi:case gi:case yi:{if(i.length>0){let f=Se(i);e?e.nodes.push(f):r.push(f)}i=String.fromCharCode(p);break}case xr:{if(i.length>0){let c=Se(i);e?e.nodes.push(c):r.push(c)}i="";let f=l,d=0;for(let c=l+1;c<t.length;c++){if(s=t.charCodeAt(c),s===xr){d++;continue}if(s===mi){if(d===0){l=c;break}d--}}i+=t.slice(f,l+1);break}case bi:case hi:{let f=l;for(let d=l+1;d<t.length;d++)if(s=t.charCodeAt(d),s===vr)d+=1;else if(s===p){l=d;break}i+=t.slice(f,l+1);break}case vr:{let f=t.charCodeAt(l+1);i+=String.fromCharCode(p)+String.fromCharCode(f),l+=1;break}default:i+=String.fromCharCode(p)}}return i.length>0&&r.push(Se(i)),r}var Sr=/^[a-z@][a-zA-Z0-9/%._-]*$/;function bt({designSystem:t,ast:r,resolvedConfig:n,featuresRef:e,referenceMode:i}){let s={addBase(l){if(i)return;let p=Q(l);e.current|=ge(p,t),r.push(K("@layer","base",p))},addVariant(l,p){if(!Be.test(l))throw new Error(`\`addVariant('${l}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);typeof p=="string"||Array.isArray(p)?t.variants.static(l,f=>{f.nodes=Tr(p,f.nodes)},{compounds:fe(typeof p=="string"?[p]:p)}):typeof p=="object"&&t.variants.fromAst(l,Q(p))},matchVariant(l,p,f){function d(m,g,y){let v=p(m,{modifier:g?.value??null});return Tr(v,y)}let c=Object.keys(f?.values??{});t.variants.group(()=>{t.variants.functional(l,(m,g)=>{if(!g.value){if(f?.values&&"DEFAULT"in f.values){m.nodes=d(f.values.DEFAULT,g.modifier,m.nodes);return}return null}if(g.value.kind==="arbitrary")m.nodes=d(g.value.value,g.modifier,m.nodes);else if(g.value.kind==="named"&&f?.values){let y=f.values[g.value.value];if(typeof y!="string")return;m.nodes=d(y,g.modifier,m.nodes)}})},(m,g)=>{if(m.kind!=="functional"||g.kind!=="functional")return 0;let y=m.value?m.value.value:"DEFAULT",v=g.value?g.value.value:"DEFAULT",w=f?.values?.[y]??y,A=f?.values?.[v]??v;if(f&&typeof f.sort=="function")return f.sort({value:w,modifier:m.modifier?.value??null},{value:A,modifier:g.modifier?.value??null});let k=c.indexOf(y),S=c.indexOf(v);return k=k===-1?c.length:k,S=S===-1?c.length:S,k!==S?k-S:w<A?-1:1})},addUtilities(l){l=Array.isArray(l)?l:[l];let p=l.flatMap(d=>Object.entries(d));p=p.flatMap(([d,c])=>O(d,",").map(m=>[m.trim(),c]));let f=new j(()=>[]);for(let[d,c]of p){if(d.startsWith("@keyframes ")){i||r.push(M(d,Q(c)));continue}let m=Ye(d),g=!1;if(Te(m,y=>{if(y.kind==="selector"&&y.value[0]==="."&&Sr.test(y.value.slice(1))){let v=y.value;y.value="&";let w=Ee(m),A=v.slice(1),k=w==="&"?Q(c):[M(w,Q(c))];f.get(A).push(...k),g=!0,y.value=v;return}if(y.kind==="function"&&y.value===":not")return 1}),!g)throw new Error(`\`addUtilities({ '${d}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[d,c]of f)t.theme.prefix&&P(c,m=>{if(m.kind==="rule"){let g=Ye(m.selector);Te(g,y=>{y.kind==="selector"&&y.value[0]==="."&&(y.value=`.${t.theme.prefix}\\:${y.value.slice(1)}`)}),m.selector=Ee(g)}}),t.utilities.static(d,m=>{let g=structuredClone(c);return Er(g,d,m.raw),e.current|=$e(g,t),g})},matchUtilities(l,p){let f=p?.type?Array.isArray(p?.type)?p.type:[p.type]:["any"];for(let[c,m]of Object.entries(l)){let g=function({negative:y}){return v=>{if(v.value?.kind==="arbitrary"&&f.length>0&&!f.includes("any")&&(v.value.dataType&&!f.includes(v.value.dataType)||!v.value.dataType&&!z(v.value.value,f)))return;let w=f.includes("color"),A=null,k=!1;{let R=p?.values??{};w&&(R=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentColor"},R)),v.value?v.value.kind==="arbitrary"?A=v.value.value:v.value.fraction&&R[v.value.fraction]?(A=R[v.value.fraction],k=!0):R[v.value.value]?A=R[v.value.value]:R.__BARE_VALUE__&&(A=R.__BARE_VALUE__(v.value)??null,k=(v.value.fraction!==null&&A?.includes("/"))??!1):A=R.DEFAULT??null}if(A===null)return;let S;{let R=p?.modifiers??null;v.modifier?R==="any"||v.modifier.kind==="arbitrary"?S=v.modifier.value:R?.[v.modifier.value]?S=R[v.modifier.value]:w&&!Number.isNaN(Number(v.modifier.value))?S=`${v.modifier.value}%`:S=null:S=null}if(v.modifier&&S===null&&!k)return v.value?.kind==="arbitrary"?null:void 0;w&&S!==null&&(A=Y(A,S)),y&&(A=`calc(${A} * -1)`);let I=Q(m(A,{modifier:S}));return Er(I,c,v.raw),e.current|=$e(I,t),I}};var d=g;if(!Sr.test(c))throw new Error(`\`matchUtilities({ '${c}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);p?.supportsNegativeValues&&t.utilities.functional(`-${c}`,g({negative:!0}),{types:f}),t.utilities.functional(c,g({negative:!1}),{types:f}),t.utilities.suggest(c,()=>{let y=p?.values??{},v=new Set(Object.keys(y));v.delete("__BARE_VALUE__"),v.has("DEFAULT")&&(v.delete("DEFAULT"),v.add(null));let w=p?.modifiers??{},A=w==="any"?[]:Object.keys(w);return[{supportsNegative:p?.supportsNegativeValues??!1,values:Array.from(v),modifiers:A}]})}},addComponents(l,p){this.addUtilities(l,p)},matchComponents(l,p){this.matchUtilities(l,p)},theme:Ge(t,()=>n.theme??{},l=>l),prefix(l){return l},config(l,p){let f=n;if(!l)return f;let d=He(l);for(let c=0;c<d.length;++c){let m=d[c];if(f[m]===void 0)return p;f=f[m]}return f??p}};return s.addComponents=s.addComponents.bind(s),s.matchComponents=s.matchComponents.bind(s),s}function Q(t){let r=[];t=Array.isArray(t)?t:[t];let n=t.flatMap(e=>Object.entries(e));for(let[e,i]of n)if(typeof i!="object"){if(!e.startsWith("--")){if(i==="@slot"){r.push(M(e,[K("@slot")]));continue}e=e.replace(/([A-Z])/g,"-$1").toLowerCase()}r.push(a(e,String(i)))}else if(Array.isArray(i))for(let s of i)typeof s=="string"?r.push(a(e,s)):r.push(M(e,Q(s)));else i!==null&&r.push(M(e,Q(i)));return r}function Tr(t,r){return(typeof t=="string"?[t]:t).flatMap(e=>{if(e.trim().endsWith("}")){let i=e.replace("}","{@slot}}"),s=le(i);return ht(s,r),s}else return M(e,r)})}function Er(t,r,n){P(t,e=>{if(e.kind==="rule"){let i=Ye(e.selector);Te(i,s=>{s.kind==="selector"&&s.value===`.${r}`&&(s.value=`.${te(n)}`)}),e.selector=Ee(i)}})}function Rr(t,r,n){for(let e of ki(r))t.theme.addKeyframes(e)}function ki(t){let r=[];if("keyframes"in t.theme)for(let[n,e]of Object.entries(t.theme.keyframes))r.push(K("@keyframes",n,Q(e)));return r}var Je={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(0.984 0.003 247.858)",100:"oklch(0.968 0.007 247.896)",200:"oklch(0.929 0.013 255.508)",300:"oklch(0.869 0.022 252.894)",400:"oklch(0.704 0.04 256.788)",500:"oklch(0.554 0.046 257.417)",600:"oklch(0.446 0.043 257.281)",700:"oklch(0.372 0.044 257.287)",800:"oklch(0.279 0.041 260.031)",900:"oklch(0.208 0.042 265.755)",950:"oklch(0.129 0.042 264.695)"},gray:{50:"oklch(0.985 0.002 247.839)",100:"oklch(0.967 0.003 264.542)",200:"oklch(0.928 0.006 264.531)",300:"oklch(0.872 0.01 258.338)",400:"oklch(0.707 0.022 261.325)",500:"oklch(0.551 0.027 264.364)",600:"oklch(0.446 0.03 256.802)",700:"oklch(0.373 0.034 259.733)",800:"oklch(0.278 0.033 256.848)",900:"oklch(0.21 0.034 264.665)",950:"oklch(0.13 0.028 261.692)"},zinc:{50:"oklch(0.985 0 0)",100:"oklch(0.967 0.001 286.375)",200:"oklch(0.92 0.004 286.32)",300:"oklch(0.871 0.006 286.286)",400:"oklch(0.705 0.015 286.067)",500:"oklch(0.552 0.016 285.938)",600:"oklch(0.442 0.017 285.786)",700:"oklch(0.37 0.013 285.805)",800:"oklch(0.274 0.006 286.033)",900:"oklch(0.21 0.006 285.885)",950:"oklch(0.141 0.005 285.823)"},neutral:{50:"oklch(0.985 0 0)",100:"oklch(0.97 0 0)",200:"oklch(0.922 0 0)",300:"oklch(0.87 0 0)",400:"oklch(0.708 0 0)",500:"oklch(0.556 0 0)",600:"oklch(0.439 0 0)",700:"oklch(0.371 0 0)",800:"oklch(0.269 0 0)",900:"oklch(0.205 0 0)",950:"oklch(0.145 0 0)"},stone:{50:"oklch(0.985 0.001 106.423)",100:"oklch(0.97 0.001 106.424)",200:"oklch(0.923 0.003 48.717)",300:"oklch(0.869 0.005 56.366)",400:"oklch(0.709 0.01 56.259)",500:"oklch(0.553 0.013 58.071)",600:"oklch(0.444 0.011 73.639)",700:"oklch(0.374 0.01 67.558)",800:"oklch(0.268 0.007 34.298)",900:"oklch(0.216 0.006 56.043)",950:"oklch(0.147 0.004 49.25)"},red:{50:"oklch(0.971 0.013 17.38)",100:"oklch(0.936 0.032 17.717)",200:"oklch(0.885 0.062 18.334)",300:"oklch(0.808 0.114 19.571)",400:"oklch(0.704 0.191 22.216)",500:"oklch(0.637 0.237 25.331)",600:"oklch(0.577 0.245 27.325)",700:"oklch(0.505 0.213 27.518)",800:"oklch(0.444 0.177 26.899)",900:"oklch(0.396 0.141 25.723)",950:"oklch(0.258 0.092 26.042)"},orange:{50:"oklch(0.98 0.016 73.684)",100:"oklch(0.954 0.038 75.164)",200:"oklch(0.901 0.076 70.697)",300:"oklch(0.837 0.128 66.29)",400:"oklch(0.75 0.183 55.934)",500:"oklch(0.705 0.213 47.604)",600:"oklch(0.646 0.222 41.116)",700:"oklch(0.553 0.195 38.402)",800:"oklch(0.47 0.157 37.304)",900:"oklch(0.408 0.123 38.172)",950:"oklch(0.266 0.079 36.259)"},amber:{50:"oklch(0.987 0.022 95.277)",100:"oklch(0.962 0.059 95.617)",200:"oklch(0.924 0.12 95.746)",300:"oklch(0.879 0.169 91.605)",400:"oklch(0.828 0.189 84.429)",500:"oklch(0.769 0.188 70.08)",600:"oklch(0.666 0.179 58.318)",700:"oklch(0.555 0.163 48.998)",800:"oklch(0.473 0.137 46.201)",900:"oklch(0.414 0.112 45.904)",950:"oklch(0.279 0.077 45.635)"},yellow:{50:"oklch(0.987 0.026 102.212)",100:"oklch(0.973 0.071 103.193)",200:"oklch(0.945 0.129 101.54)",300:"oklch(0.905 0.182 98.111)",400:"oklch(0.852 0.199 91.936)",500:"oklch(0.795 0.184 86.047)",600:"oklch(0.681 0.162 75.834)",700:"oklch(0.554 0.135 66.442)",800:"oklch(0.476 0.114 61.907)",900:"oklch(0.421 0.095 57.708)",950:"oklch(0.286 0.066 53.813)"},lime:{50:"oklch(0.986 0.031 120.757)",100:"oklch(0.967 0.067 122.328)",200:"oklch(0.938 0.127 124.321)",300:"oklch(0.897 0.196 126.665)",400:"oklch(0.841 0.238 128.85)",500:"oklch(0.768 0.233 130.85)",600:"oklch(0.648 0.2 131.684)",700:"oklch(0.532 0.157 131.589)",800:"oklch(0.453 0.124 130.933)",900:"oklch(0.405 0.101 131.063)",950:"oklch(0.274 0.072 132.109)"},green:{50:"oklch(0.982 0.018 155.826)",100:"oklch(0.962 0.044 156.743)",200:"oklch(0.925 0.084 155.995)",300:"oklch(0.871 0.15 154.449)",400:"oklch(0.792 0.209 151.711)",500:"oklch(0.723 0.219 149.579)",600:"oklch(0.627 0.194 149.214)",700:"oklch(0.527 0.154 150.069)",800:"oklch(0.448 0.119 151.328)",900:"oklch(0.393 0.095 152.535)",950:"oklch(0.266 0.065 152.934)"},emerald:{50:"oklch(0.979 0.021 166.113)",100:"oklch(0.95 0.052 163.051)",200:"oklch(0.905 0.093 164.15)",300:"oklch(0.845 0.143 164.978)",400:"oklch(0.765 0.177 163.223)",500:"oklch(0.696 0.17 162.48)",600:"oklch(0.596 0.145 163.225)",700:"oklch(0.508 0.118 165.612)",800:"oklch(0.432 0.095 166.913)",900:"oklch(0.378 0.077 168.94)",950:"oklch(0.262 0.051 172.552)"},teal:{50:"oklch(0.984 0.014 180.72)",100:"oklch(0.953 0.051 180.801)",200:"oklch(0.91 0.096 180.426)",300:"oklch(0.855 0.138 181.071)",400:"oklch(0.777 0.152 181.912)",500:"oklch(0.704 0.14 182.503)",600:"oklch(0.6 0.118 184.704)",700:"oklch(0.511 0.096 186.391)",800:"oklch(0.437 0.078 188.216)",900:"oklch(0.386 0.063 188.416)",950:"oklch(0.277 0.046 192.524)"},cyan:{50:"oklch(0.984 0.019 200.873)",100:"oklch(0.956 0.045 203.388)",200:"oklch(0.917 0.08 205.041)",300:"oklch(0.865 0.127 207.078)",400:"oklch(0.789 0.154 211.53)",500:"oklch(0.715 0.143 215.221)",600:"oklch(0.609 0.126 221.723)",700:"oklch(0.52 0.105 223.128)",800:"oklch(0.45 0.085 224.283)",900:"oklch(0.398 0.07 227.392)",950:"oklch(0.302 0.056 229.695)"},sky:{50:"oklch(0.977 0.013 236.62)",100:"oklch(0.951 0.026 236.824)",200:"oklch(0.901 0.058 230.902)",300:"oklch(0.828 0.111 230.318)",400:"oklch(0.746 0.16 232.661)",500:"oklch(0.685 0.169 237.323)",600:"oklch(0.588 0.158 241.966)",700:"oklch(0.5 0.134 242.749)",800:"oklch(0.443 0.11 240.79)",900:"oklch(0.391 0.09 240.876)",950:"oklch(0.293 0.066 243.157)"},blue:{50:"oklch(0.97 0.014 254.604)",100:"oklch(0.932 0.032 255.585)",200:"oklch(0.882 0.059 254.128)",300:"oklch(0.809 0.105 251.813)",400:"oklch(0.707 0.165 254.624)",500:"oklch(0.623 0.214 259.815)",600:"oklch(0.546 0.245 262.881)",700:"oklch(0.488 0.243 264.376)",800:"oklch(0.424 0.199 265.638)",900:"oklch(0.379 0.146 265.522)",950:"oklch(0.282 0.091 267.935)"},indigo:{50:"oklch(0.962 0.018 272.314)",100:"oklch(0.93 0.034 272.788)",200:"oklch(0.87 0.065 274.039)",300:"oklch(0.785 0.115 274.713)",400:"oklch(0.673 0.182 276.935)",500:"oklch(0.585 0.233 277.117)",600:"oklch(0.511 0.262 276.966)",700:"oklch(0.457 0.24 277.023)",800:"oklch(0.398 0.195 277.366)",900:"oklch(0.359 0.144 278.697)",950:"oklch(0.257 0.09 281.288)"},violet:{50:"oklch(0.969 0.016 293.756)",100:"oklch(0.943 0.029 294.588)",200:"oklch(0.894 0.057 293.283)",300:"oklch(0.811 0.111 293.571)",400:"oklch(0.702 0.183 293.541)",500:"oklch(0.606 0.25 292.717)",600:"oklch(0.541 0.281 293.009)",700:"oklch(0.491 0.27 292.581)",800:"oklch(0.432 0.232 292.759)",900:"oklch(0.38 0.189 293.745)",950:"oklch(0.283 0.141 291.089)"},purple:{50:"oklch(0.977 0.014 308.299)",100:"oklch(0.946 0.033 307.174)",200:"oklch(0.902 0.063 306.703)",300:"oklch(0.827 0.119 306.383)",400:"oklch(0.714 0.203 305.504)",500:"oklch(0.627 0.265 303.9)",600:"oklch(0.558 0.288 302.321)",700:"oklch(0.496 0.265 301.924)",800:"oklch(0.438 0.218 303.724)",900:"oklch(0.381 0.176 304.987)",950:"oklch(0.291 0.149 302.717)"},fuchsia:{50:"oklch(0.977 0.017 320.058)",100:"oklch(0.952 0.037 318.852)",200:"oklch(0.903 0.076 319.62)",300:"oklch(0.833 0.145 321.434)",400:"oklch(0.74 0.238 322.16)",500:"oklch(0.667 0.295 322.15)",600:"oklch(0.591 0.293 322.896)",700:"oklch(0.518 0.253 323.949)",800:"oklch(0.452 0.211 324.591)",900:"oklch(0.401 0.17 325.612)",950:"oklch(0.293 0.136 325.661)"},pink:{50:"oklch(0.971 0.014 343.198)",100:"oklch(0.948 0.028 342.258)",200:"oklch(0.899 0.061 343.231)",300:"oklch(0.823 0.12 346.018)",400:"oklch(0.718 0.202 349.761)",500:"oklch(0.656 0.241 354.308)",600:"oklch(0.592 0.249 0.584)",700:"oklch(0.525 0.223 3.958)",800:"oklch(0.459 0.187 3.815)",900:"oklch(0.408 0.153 2.432)",950:"oklch(0.284 0.109 3.907)"},rose:{50:"oklch(0.969 0.015 12.422)",100:"oklch(0.941 0.03 12.58)",200:"oklch(0.892 0.058 10.001)",300:"oklch(0.81 0.117 11.638)",400:"oklch(0.712 0.194 13.428)",500:"oklch(0.645 0.246 16.439)",600:"oklch(0.586 0.253 17.585)",700:"oklch(0.514 0.222 16.935)",800:"oklch(0.455 0.188 13.697)",900:"oklch(0.41 0.159 10.272)",950:"oklch(0.271 0.105 12.094)"}};function de(t){return{__BARE_VALUE__:t}}var J=de(t=>{if(T(t.value))return t.value}),B=de(t=>{if(T(t.value))return`${t.value}%`}),ie=de(t=>{if(T(t.value))return`${t.value}px`}),Or=de(t=>{if(T(t.value))return`${t.value}ms`}),Ze=de(t=>{if(T(t.value))return`${t.value}deg`}),xi=de(t=>{if(t.fraction===null)return;let[r,n]=O(t.fraction,"/");if(!(!T(r)||!T(n)))return t.fraction}),Kr=de(t=>{if(T(Number(t.value)))return`repeat(${t.value}, minmax(0, 1fr))`}),Pr={accentColor:({theme:t})=>t("colors"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},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"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...xi},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>({...t("brightness"),...B}),backdropContrast:({theme:t})=>({...t("contrast"),...B}),backdropGrayscale:({theme:t})=>({...t("grayscale"),...B}),backdropHueRotate:({theme:t})=>({...t("hueRotate"),...Ze}),backdropInvert:({theme:t})=>({...t("invert"),...B}),backdropOpacity:({theme:t})=>({...t("opacity"),...B}),backdropSaturate:({theme:t})=>({...t("saturate"),...B}),backdropSepia:({theme:t})=>({...t("sepia"),...B}),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({DEFAULT:"currentColor",...t("colors")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>t("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...ie},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...B},caretColor:({theme:t})=>t("colors"),colors:()=>({...Je}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...J},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...B},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>({...t("borderWidth"),...ie}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],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 #0000"},fill:({theme:t})=>t("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...t("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...J},flexShrink:{0:"0",DEFAULT:"1",...J},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...B},grayscale:{0:"0",DEFAULT:"100%",...B},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...J},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...J},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...J},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...J},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Kr},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Kr},height:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...Ze},inset:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...t("spacing")}),invert:{0:"0",DEFAULT:"100%",...B},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...J},maxHeight:({theme:t})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),maxWidth:({theme:t})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t("spacing")}),minHeight:({theme:t})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),minWidth:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...B},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...J},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:"currentColor",...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Ze},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...B},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...B},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:t})=>t("spacing"),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%",...B},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Ze},space:({theme:t})=>t("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...J},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},textIndent:({theme:t})=>t("spacing"),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...ie},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Or},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Or},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{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)"},translate:({theme:t})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...t("spacing")}),size:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),width:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...J}};function _r(t){return{theme:{...Pr,colors:({theme:r})=>r("color",{}),extend:{fontSize:({theme:r})=>({...r("text",{})}),boxShadow:({theme:r})=>({...r("shadow",{})}),animation:({theme:r})=>({...r("animate",{})}),aspectRatio:({theme:r})=>({...r("aspect",{})}),borderRadius:({theme:r})=>({...r("radius",{})}),screens:({theme:r})=>({...r("breakpoint",{})}),letterSpacing:({theme:r})=>({...r("tracking",{})}),lineHeight:({theme:r})=>({...r("leading",{})}),transitionDuration:{DEFAULT:t.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:t.get(["--default-transition-timing-function"])??null},maxWidth:({theme:r})=>({...r("container",{})})}}}}var Ai={blocklist:[],future:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};function kt(t,r){let n={design:t,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(Ai)};for(let i of r)wt(n,i);for(let i of n.configs)"darkMode"in i&&i.darkMode!==void 0&&(n.result.darkMode=i.darkMode??null),"prefix"in i&&i.prefix!==void 0&&(n.result.prefix=i.prefix??""),"blocklist"in i&&i.blocklist!==void 0&&(n.result.blocklist=i.blocklist??[]),"important"in i&&i.important!==void 0&&(n.result.important=i.important??!1);let e=Ni(n);return{resolvedConfig:{...n.result,content:n.content,theme:n.theme,plugins:n.plugins},replacedThemeKeys:e}}function Ci(t,r){if(Array.isArray(t)&&be(t[0]))return t.concat(r);if(Array.isArray(r)&&be(r[0])&&be(t))return[t,...r];if(Array.isArray(r))return r}function wt(t,{config:r,base:n,path:e,reference:i}){let s=[];for(let f of r.plugins??[])"__isOptionsFunction"in f?s.push({...f(),reference:i}):"handler"in f?s.push({...f,reference:i}):s.push({handler:f,reference:i});if(Array.isArray(r.presets)&&r.presets.length===0)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let f of r.presets??[])wt(t,{path:e,base:n,config:f,reference:i});for(let f of s)t.plugins.push(f),f.config&&wt(t,{path:e,base:n,config:f.config,reference:!!f.reference});let l=r.content??[],p=Array.isArray(l)?l:l.files;for(let f of p)t.content.files.push(typeof f=="object"?f:{base:n,pattern:f});t.configs.push(r)}function Ni(t){let r=new Set,n=Ge(t.design,()=>t.theme,i),e=Object.assign(n,{theme:n,colors:Je});function i(s){return typeof s=="function"?s(e)??null:s??null}for(let s of t.configs){let l=s.theme??{},p=l.extend??{};for(let f in l)f!=="extend"&&r.add(f);Object.assign(t.theme,l);for(let f in p)t.extend[f]??=[],t.extend[f].push(p[f])}delete t.theme.extend;for(let s in t.extend){let l=[t.theme[s],...t.extend[s]];t.theme[s]=()=>{let p=l.map(i);return Ve({},p,Ci)}}for(let s in t.theme)t.theme[s]=i(t.theme[s]);if(t.theme.screens&&typeof t.theme.screens=="object")for(let s of Object.keys(t.theme.screens)){let l=t.theme.screens[s];l&&typeof l=="object"&&("raw"in l||"max"in l||"min"in l&&(t.theme.screens[s]=l.min))}return r}function Dr(t,r){let n=t.theme.container||{};if(typeof n!="object"||n===null)return;let e=$i(n,r);e.length!==0&&r.utilities.static("container",()=>structuredClone(e))}function $i({center:t,padding:r,screens:n},e){let i=[],s=null;if(t&&i.push(a("margin-inline","auto")),(typeof r=="string"||typeof r=="object"&&r!==null&&"DEFAULT"in r)&&i.push(a("padding-inline",typeof r=="string"?r:r.DEFAULT)),typeof n=="object"&&n!==null){s=new Map;let l=Array.from(e.theme.namespace("--breakpoint").entries());if(l.sort((p,f)=>ue(p[1],f[1],"asc")),l.length>0){let[p]=l[0];i.push(K("@media",`(width >= --theme(--breakpoint-${p}))`,[a("max-width","none")]))}for(let[p,f]of Object.entries(n)){if(typeof f=="object")if("min"in f)f=f.min;else continue;s.set(p,K("@media",`(width >= ${f})`,[a("max-width",f)]))}}if(typeof r=="object"&&r!==null){let l=Object.entries(r).filter(([p])=>p!=="DEFAULT").map(([p,f])=>[p,e.theme.resolveValue(p,["--breakpoint"]),f]).filter(Boolean);l.sort((p,f)=>ue(p[1],f[1],"asc"));for(let[p,,f]of l)if(s&&s.has(p))s.get(p).nodes.push(a("padding-inline",f));else{if(s)continue;i.push(K("@media",`(width >= theme(--breakpoint-${p}))`,[a("padding-inline",f)]))}}if(s)for(let[,l]of s)i.push(l);return i}function Ur({addVariant:t,config:r}){let n=r("darkMode",null),[e,i=".dark"]=Array.isArray(n)?n:[n];if(e==="variant"){let s;if(Array.isArray(i)||typeof i=="function"?s=i:typeof i=="string"&&(s=[i]),Array.isArray(s))for(let l of s)l===".dark"?(e=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):l.includes("&")||(e=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));i=s}e===null||(e==="selector"?t("dark",`&:where(${i}, ${i} *)`):e==="media"?t("dark","@media (prefers-color-scheme: dark)"):e==="variant"?t("dark",i):e==="class"&&t("dark",`&:is(${i} *)`))}function Ir(t){for(let[r,n]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])t.utilities.static(`bg-gradient-to-${r}`,()=>[a("--tw-gradient-position",`to ${n} in oklab`),a("background-image","linear-gradient(var(--tw-gradient-stops))")]);t.utilities.functional("max-w-screen",r=>{if(!r.value||r.value.kind==="arbitrary")return;let n=t.theme.resolve(r.value.value,["--breakpoint"]);if(n)return[a("max-width",n)]}),t.utilities.static("overflow-ellipsis",()=>[a("text-overflow","ellipsis")]),t.utilities.static("decoration-slice",()=>[a("-webkit-box-decoration-break","slice"),a("box-decoration-break","slice")]),t.utilities.static("decoration-clone",()=>[a("-webkit-box-decoration-break","clone"),a("box-decoration-break","clone")]),t.utilities.functional("flex-shrink",r=>{if(!r.modifier){if(!r.value)return[a("flex-shrink","1")];if(r.value.kind==="arbitrary")return[a("flex-shrink",r.value.value)];if(T(r.value.value))return[a("flex-shrink",r.value.value)]}}),t.utilities.functional("flex-grow",r=>{if(!r.modifier){if(!r.value)return[a("flex-grow","1")];if(r.value.kind==="arbitrary")return[a("flex-grow",r.value.value)];if(T(r.value.value))return[a("flex-grow",r.value.value)]}})}function Fr(t,r){let n=t.theme.screens||{},e=r.variants.get("min")?.order??0,i=[];for(let[l,p]of Object.entries(n)){let g=function(y){r.variants.static(l,v=>{v.nodes=[K("@media",m,v.nodes)]},{order:y})};var s=g;let f=r.variants.get(l),d=r.theme.resolveValue(l,["--breakpoint"]);if(f&&d&&!r.theme.hasDefault(`--breakpoint-${l}`))continue;let c=!0;typeof p=="string"&&(c=!1);let m=Vi(p);c?i.push(g):g(e)}if(i.length!==0){for(let[,l]of r.variants.variants)l.order>e&&(l.order+=i.length);r.variants.compareFns=new Map(Array.from(r.variants.compareFns).map(([l,p])=>(l>e&&(l+=i.length),[l,p])));for(let[l,p]of i.entries())p(e+l+1)}}function Vi(t){return(Array.isArray(t)?t:[t]).map(n=>typeof n=="string"?{min:n}:n&&typeof n=="object"?n:null).map(n=>{if(n===null)return null;if("raw"in n)return n.raw;let e="";return n.max!==void 0&&(e+=`${n.max} >= `),e+="width",n.min!==void 0&&(e+=` >= ${n.min}`),`(${e})`}).filter(Boolean).join(", ")}function jr(t,r){let n=t.theme.aria||{},e=t.theme.supports||{},i=t.theme.data||{};if(Object.keys(n).length>0){let s=r.variants.get("aria"),l=s?.applyFn,p=s?.compounds;r.variants.functional("aria",(f,d)=>{let c=d.value;return c&&c.kind==="named"&&c.value in n?l?.(f,{...d,value:{kind:"arbitrary",value:n[c.value]}}):l?.(f,d)},{compounds:p})}if(Object.keys(e).length>0){let s=r.variants.get("supports"),l=s?.applyFn,p=s?.compounds;r.variants.functional("supports",(f,d)=>{let c=d.value;return c&&c.kind==="named"&&c.value in e?l?.(f,{...d,value:{kind:"arbitrary",value:e[c.value]}}):l?.(f,d)},{compounds:p})}if(Object.keys(i).length>0){let s=r.variants.get("data"),l=s?.applyFn,p=s?.compounds;r.variants.functional("data",(f,d)=>{let c=d.value;return c&&c.kind==="named"&&c.value in i?l?.(f,{...d,value:{kind:"arbitrary",value:i[c.value]}}):l?.(f,d)},{compounds:p})}}var Si=/^[a-z]+$/;async function Lr({designSystem:t,base:r,ast:n,loadModule:e,globs:i}){let s=0,l=[],p=[];P(n,(m,{parent:g,replaceWith:y,context:v})=>{if(m.kind==="at-rule"){if(m.name==="@plugin"){if(g!==null)throw new Error("`@plugin` cannot be nested.");let w=m.params.slice(1,-1);if(w.length===0)throw new Error("`@plugin` must have a path.");let A={};for(let k of m.nodes??[]){if(k.kind!=="declaration")throw new Error(`Unexpected \`@plugin\` option:
|
|
|
|
${G([k])}
|
|
|
|
\`@plugin\` options must be a flat list of declarations.`);if(k.value===void 0)continue;let S=k.value,I=O(S,",").map(R=>{if(R=R.trim(),R==="null")return null;if(R==="true")return!0;if(R==="false")return!1;if(Number.isNaN(Number(R))){if(R[0]==='"'&&R[R.length-1]==='"'||R[0]==="'"&&R[R.length-1]==="'")return R.slice(1,-1);if(R[0]==="{"&&R[R.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${G([k]).trim()}\` is not supported.
|
|
|
|
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(R);return R});A[k.property]=I.length===1?I[0]:I}l.push([{id:w,base:v.base,reference:!!v.reference},Object.keys(A).length>0?A:null]),y([]),s|=4;return}if(m.name==="@config"){if(m.nodes.length>0)throw new Error("`@config` cannot have a body.");if(g!==null)throw new Error("`@config` cannot be nested.");p.push({id:m.params.slice(1,-1),base:v.base,reference:!!v.reference}),y([]),s|=4;return}}}),Ir(t);let f=t.resolveThemeValue;if(t.resolveThemeValue=function(g){return g.startsWith("--")?f(g):(s|=zr({designSystem:t,base:r,ast:n,globs:i,configs:[],pluginDetails:[]}),t.resolveThemeValue(g))},!l.length&&!p.length)return 0;let[d,c]=await Promise.all([Promise.all(p.map(async({id:m,base:g,reference:y})=>{let v=await e(m,g,"config");return{path:m,base:v.base,config:v.module,reference:y}})),Promise.all(l.map(async([{id:m,base:g,reference:y},v])=>{let w=await e(m,g,"plugin");return{path:m,base:w.base,plugin:w.module,options:v,reference:y}}))]);return s|=zr({designSystem:t,base:r,ast:n,globs:i,configs:d,pluginDetails:c}),s}function zr({designSystem:t,base:r,ast:n,globs:e,configs:i,pluginDetails:s}){let l=0,f=[...s.map(w=>{if(!w.options)return{config:{plugins:[w.plugin]},base:w.base,reference:w.reference};if("__isOptionsFunction"in w.plugin)return{config:{plugins:[w.plugin(w.options)]},base:w.base,reference:w.reference};throw new Error(`The plugin "${w.path}" does not accept options`)}),...i],{resolvedConfig:d}=kt(t,[{config:_r(t.theme),base:r,reference:!0},...f,{config:{plugins:[Ur]},base:r,reference:!0}]),{resolvedConfig:c,replacedThemeKeys:m}=kt(t,f);t.resolveThemeValue=function(A,k){let S=y.theme(A,k);if(Array.isArray(S)&&S.length===2)return S[0];if(Array.isArray(S))return S.join(", ");if(typeof S=="string")return S};let g={designSystem:t,ast:n,resolvedConfig:d,featuresRef:{set current(w){l|=w}}},y=bt({...g,referenceMode:!1}),v;for(let{handler:w,reference:A}of d.plugins)A?(v||=bt({...g,referenceMode:!0}),w(v)):w(y);if(pr(t,c,m),Rr(t,c,m),jr(c,t),Fr(c,t),Dr(c,t),!t.theme.prefix&&d.prefix){if(d.prefix.endsWith("-")&&(d.prefix=d.prefix.slice(0,-1),console.warn(`The prefix "${d.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!Si.test(d.prefix))throw new Error(`The prefix "${d.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);t.theme.prefix=d.prefix}if(!t.important&&d.important===!0&&(t.important=!0),typeof d.important=="string"){let w=d.important;P(n,(A,{replaceWith:k,parent:S})=>{if(A.kind==="at-rule"&&!(A.name!=="@tailwind"||A.params!=="utilities"))return S?.kind==="rule"&&S.selector===w?2:(k(D(w,[A])),2)})}for(let w of d.blocklist)t.invalidCandidates.add(w);for(let w of d.content.files){if("raw"in w)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
|
|
|
|
${JSON.stringify(w,null,2)}
|
|
|
|
This feature is not currently supported.`);e.push(w)}return l}var Mr=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function Qe(t){let r=t.indexOf("{");if(r===-1)return[t];let n=[],e=t.slice(0,r),i=t.slice(r),s=0,l=i.lastIndexOf("}");for(let m=0;m<i.length;m++){let g=i[m];if(g==="{")s++;else if(g==="}"&&(s--,s===0)){l=m;break}}if(l===-1)throw new Error(`The pattern \`${t}\` is not balanced.`);let p=i.slice(1,l),f=i.slice(l+1),d;Ti(p)?d=Ei(p):d=O(p,","),d=d.flatMap(m=>Qe(m));let c=Qe(f);for(let m of c)for(let g of d)n.push(e+g+m);return n}function Ti(t){return Mr.test(t)}function Ei(t){let r=t.match(Mr);if(!r)return[t];let[,n,e,i]=r,s=i?parseInt(i,10):void 0,l=[];if(/^-?\d+$/.test(n)&&/^-?\d+$/.test(e)){let p=parseInt(n,10),f=parseInt(e,10),d=Math.max(n.replace(/^-/,"").length,e.replace(/^-/,"").length);if(s===void 0&&(s=p<=f?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");if(s>0)for(let c=p;c<=f;c+=s){let m=c.toString();m.length<d&&(m=m.padStart(d,"0")),l.push(m)}else for(let c=p;c>=f;c+=s){let m=c.toString();m.length<d&&(m=m.padStart(d,"0")),l.push(m)}}return l}var Ri=/^[a-z]+$/;function Oi(){throw new Error("No `loadModule` function provided to `compile`")}function Ki(){throw new Error("No `loadStylesheet` function provided to `compile`")}function Pi(t){let r=0,n=null;for(let e of O(t," "))e==="reference"?r|=2:e==="inline"?r|=1:e==="default"?r|=4:e==="static"?r|=8:e.startsWith("prefix(")&&e.endsWith(")")&&(n=e.slice(7,-1));return[r,n]}var he=(p=>(p[p.None=0]="None",p[p.AtApply=1]="AtApply",p[p.AtImport=2]="AtImport",p[p.JsPluginCompat=4]="JsPluginCompat",p[p.ThemeFunction=8]="ThemeFunction",p[p.Utilities=16]="Utilities",p[p.Variants=32]="Variants",p))(he||{});async function Br(t,{base:r="",loadModule:n=Oi,loadStylesheet:e=Ki}={}){let i=0;t=[Z({base:r},t)],i|=await yt(t,r,e);let s=null,l=new Ie,p=[],f=[],d=null,c=null,m=[],g=[],y=[],v=[],w=null;P(t,(k,{parent:S,replaceWith:I,context:R})=>{if(k.kind==="at-rule"){if(k.name==="@tailwind"&&(k.params==="utilities"||k.params.startsWith("utilities"))){if(c!==null){I([]);return}let U=O(k.params," ");for(let o of U)if(o.startsWith("source(")){let u=o.slice(7,-1);if(u==="none"){w=u;continue}if(u[0]==='"'&&u[u.length-1]!=='"'||u[0]==="'"&&u[u.length-1]!=="'"||u[0]!=="'"&&u[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");w={base:R.sourceBase??R.base,pattern:u.slice(1,-1)}}c=k,i|=16}if(k.name==="@utility"){if(S!==null)throw new Error("`@utility` cannot be nested.");if(k.nodes.length===0)throw new Error(`\`@utility ${k.params}\` is empty. Utilities should include at least one property.`);let U=Xt(k);if(U===null)throw new Error(`\`@utility ${k.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`);f.push(U)}if(k.name==="@source"){if(k.nodes.length>0)throw new Error("`@source` cannot have a body.");if(S!==null)throw new Error("`@source` cannot be nested.");let U=!1,o=!1,u=k.params;if(!1,u[0]==='"'&&u[u.length-1]!=='"'||u[0]==="'"&&u[u.length-1]!=="'"||u[0]!=="'"&&u[0]!=='"')throw new Error("`@source` paths must be quoted.");let h=u.slice(1,-1);if(!1){let x=U?v:y,b=O(h," ");for(let $ of b)for(let E of Qe($))x.push(E)}else g.push({base:R.base,pattern:h});I([]);return}if(k.name==="@variant"&&(S===null?k.nodes.length===0?k.name="@custom-variant":(P(k.nodes,U=>{if(U.kind==="at-rule"&&U.name==="@slot")return k.name="@custom-variant",2}),k.name==="@variant"&&m.push(k)):m.push(k)),k.name==="@custom-variant"){if(S!==null)throw new Error("`@custom-variant` cannot be nested.");I([]);let[U,o]=O(k.params," ");if(!Be.test(U))throw new Error(`\`@custom-variant ${U}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);if(k.nodes.length>0&&o)throw new Error(`\`@custom-variant ${U}\` cannot have both a selector and a body.`);if(k.nodes.length===0){if(!o)throw new Error(`\`@custom-variant ${U}\` has no selector or body.`);let u=O(o.slice(1,-1),",");if(u.length===0||u.some(b=>b.trim()===""))throw new Error(`\`@custom-variant ${U} (${u.join(",")})\` selector is invalid.`);let h=[],x=[];for(let b of u)b=b.trim(),b[0]==="@"?h.push(b):x.push(b);p.push(b=>{b.variants.static(U,$=>{let E=[];x.length>0&&E.push(D(x.join(", "),$.nodes));for(let N of h)E.push(M(N,$.nodes));$.nodes=E},{compounds:fe([...x,...h])})});return}else{p.push(u=>{u.variants.fromAst(U,k.nodes)});return}}if(k.name==="@media"){let U=O(k.params," "),o=[];for(let u of U)if(u.startsWith("source(")){let h=u.slice(7,-1);P(k.nodes,(x,{replaceWith:b})=>{if(x.kind==="at-rule"&&x.name==="@tailwind"&&x.params==="utilities")return x.params+=` source(${h})`,b([Z({sourceBase:R.base},[x])]),2})}else if(u.startsWith("theme(")){let h=u.slice(6,-1),x=h.includes("reference");P(k.nodes,b=>{if(b.kind!=="at-rule"){if(x)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(b.name==="@theme")return b.params+=" "+h,1})}else if(u.startsWith("prefix(")){let h=u.slice(7,-1);P(k.nodes,x=>{if(x.kind==="at-rule"&&x.name==="@theme")return x.params+=` prefix(${h})`,1})}else u==="important"?s=!0:u==="reference"?k.nodes=[Z({reference:!0},k.nodes)]:o.push(u);o.length>0?k.params=o.join(" "):U.length>0&&I(k.nodes)}if(k.name==="@theme"){let[U,o]=Pi(k.params);if(R.reference&&(U|=2),o){if(!Ri.test(o))throw new Error(`The prefix "${o}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);l.prefix=o}return P(k.nodes,u=>{if(u.kind==="at-rule"&&u.name==="@keyframes")return l.addKeyframes(u),1;if(u.kind==="comment")return;if(u.kind==="declaration"&&u.property.startsWith("--")){l.add(ae(u.property),u.value??"",U);return}let h=G([K(k.name,k.params,[u])]).split(`
|
|
`).map((x,b,$)=>`${b===0||b>=$.length-2?" ":">"} ${x}`).join(`
|
|
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
|
|
|
|
${h}`)}),d?I([]):(d=D(":root, :host",[]),I([d])),1}}});let A=sr(l);if(s&&(A.important=s),v.length>0)for(let k of v)A.invalidCandidates.add(k);i|=await Lr({designSystem:A,base:r,ast:t,loadModule:n,globs:g});for(let k of p)k(A);for(let k of f)k(A);if(d){let k=[];for(let[I,R]of A.theme.entries())R.options&2||k.push(a(te(I),R.value));let S=A.theme.getKeyframes();for(let I of S)t.push(Z({theme:!0},[_([I])]));d.nodes=[Z({theme:!0},k)]}if(c){let k=c;k.kind="context",k.context={}}if(m.length>0){for(let k of m){let S=D("&",k.nodes),I=k.params,R=A.parseVariant(I);if(R===null)throw new Error(`Cannot use \`@variant\` with unknown variant: ${I}`);if(ve(S,R,A.variants)===null)throw new Error(`Cannot use \`@variant\` with variant: ${I}`);Object.assign(k,S)}i|=32}return i|=ge(t,A),i|=$e(t,A),P(t,(k,{replaceWith:S})=>{if(k.kind==="at-rule")return k.name==="@utility"&&S([]),1}),{designSystem:A,ast:t,globs:g,root:w,utilitiesNode:c,features:i,inlineCandidates:y}}async function qr(t,r={}){let{designSystem:n,ast:e,globs:i,root:s,utilitiesNode:l,features:p,inlineCandidates:f}=await Br(t,r);e.unshift(Ue(`! tailwindcss v${xt} | MIT License | https://tailwindcss.com `));function d(v){n.invalidCandidates.add(v)}let c=new Set,m=null,g=0,y=!1;for(let v of f)n.invalidCandidates.has(v)||(c.add(v),y=!0);return{globs:i,root:s,features:p,build(v){if(p===0)return t;if(!l)return m??=se(e,n),m;let w=y;y=!1;let A=c.size;for(let S of v)n.invalidCandidates.has(S)||(S[0]==="-"&&S[1]==="-"?n.theme.markUsedVariable(S):c.add(S),w||=c.size!==A);if(!w)return m??=se(e,n),m;let k=ne(c,n,{onInvalidCandidate:d}).astNodes;return g===k.length?(m??=se(e,n),m):(g=k.length,l.nodes=k,m=se(e,n),m)}}}async function _i(t,r={}){let n=le(t),e=await qr(n,r),i=n,s=t;return{...e,build(l){let p=e.build(l);return p===i||(s=G(p),i=p),s}}}async function Di(t,r={}){return(await Br(le(t),r)).designSystem}function Re(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}for(let t in Xe)t!=="default"&&(Re[t]=Xe[t]);module.exports=Re;
|