DieselDepot-APP/node_modules/tailwindcss/dist/lib.js

39 lines
280 KiB
JavaScript
Raw Permalink Normal View History

"use strict";var In=Object.defineProperty;var Dn=(e,i)=>{for(var r in i)In(e,r,{get:i[r],enumerable:!0})};var Bt={};Dn(Bt,{Features:()=>Le,Polyfills:()=>St,__unstable__loadDesignSystem:()=>Va,compile:()=>Ta,compileAst:()=>_n,default:()=>mt});var Rr="4.3.3";function Ln(e){return{kind:"combinator",value:e}}function qt(e){return{kind:"complex",nodes:e}}function Pr(e){return{kind:"compound",nodes:e}}function Kn(e,i){return{kind:"function",value:e,nodes:i}}function zn(e){return{kind:"list",nodes:e}}function xe(e){return{kind:"selector",value:e}}function Or(e){return{kind:"value",value:e}}function Xe(e){return e.kind==="selector"&&e.value.charCodeAt(0)===Xt}function gt(e){if(e.kind!=="selector")return!1;switch(e.value.charCodeAt(0)){case Xt:case Fr:case Mr:case jr:case Qt:case Jt:return!1;default:return!0}}function ae(e,i=!1){let r="";for(let t of e)switch(t.kind){case"selector":case"value":{r+=t.value;break}case"combinator":{i||t.value===" "?r+=t.value:r+=` ${t.value} `;break}case"function":{r+=`${t.value}(${ae(t.nodes,i)})`;break}case"complex":case"compound":{r+=ae(t.nodes,i);break}case"list":{r+=t.nodes.map(n=>ae([n],i)).join(i?",":", ");break}}return r}var _r=92,Mn=93,Ir=41,Qt=58,Dr=44,jn=34,Mr=46,Ur=62,Gt=10,jr=35,Jt=91,Lr=40,Kr=43,Fn=39,Ht=32,Zt=9,zr=126,Fr=38,Xt=42;function fe(e){e=e.replaceAll(`\r
`,`
`);let i=[],r=i,t=!1,n=[],s=null,l="",f;function u(d=r){return d.length===1?d[0]:t?qt(d):Pr(d)}function p(d){let m=r[r.length-1];m?.kind==="compound"?m.nodes.push(d):m&&m.kind!=="list"&&m.kind!=="combinator"?r[r.length-1]=Pr([m,d]):r.push(d)}for(let d=0;d<e.length;d++){let m=e.charCodeAt(d);switch(m){case Dr:{for(l.length>0&&(p(xe(l)),l="");d+1<e.length&&(f=e.charCodeAt(d+1),!(f!==Gt&&f!==Ht&&f!==Zt));d++);if(s)s.nodes.push(u()),r=[],t=!1;else{let c=r.splice(0),v=u(c),h=zn([v]);r.push(h),s=h,r=[],t=!1}break}case Ur:case Gt:case Ht:case Kr:case Zt:case zr:{l.length>0&&(p(xe(l)),l="");let c=d,v=d+1;for(;v<e.length&&(f=e.charCodeAt(v),!(f!==Ur&&f!==Gt&&f!==Ht&&f!==Kr&&f!==Zt&&f!==zr));v++);d=v-1;let h=e.slice(c,v).trim();if(h===""&&(r.length===0||v>=e.length||e.charCodeAt(v)===Dr))break;r.push(Ln(h===""?" ":h)),t=!0;break}case Lr:{let c=Kn(l,[]);if(l="",c.value!==":not"&&c.value!==":where"&&c.value!==":has"&&c.value!==":is"){let v=d+1,h=0;for(let S=d+1;S<e.length;S++){if(f=e.charCodeAt(S),f===Lr){h++;continue}if(f===Ir){if(h===0){d=S;break}h--}}let b=d,y=e.slice(v,b);if(c.value===":nth-child"||c.value===":nth-last-child"){let S=y.indexOf("of ");if(S!==-1){c.nodes.push(Or(y.slice(0,S+3)),...fe(y.slice(S+3))),l="",d=b,p(c);break}}c.nodes.push(Or(y)),l="",d=b,p(c);break}p(c),n.push({target:r,currentList:s,containsCombinator:t}),r=c.nodes,t=!1,s=null;break}case Ir:{l.length>0&&(p(xe(l)),l=""),s?s.nodes.push(u()):t&&r.splice(0,r.length,qt(r.splice(0)));let c=n.pop();r=c?.target??i,s=c?.currentList??null,t=c?.containsCombinator??!1;break}case Mr:case Qt:case jr:{if(m===Qt&&l===":"){l+=e[d];break}l.length>0&&p(xe(l)),l=e[d];break}case Jt:{l.length>0&&(p(xe(l)),l="");let c=d,v=0;for(let h=d+1;h<e.length;h++){if(f=e.charCodeAt(h),f===Jt){v++;continue}if(f===Mn){if(v===0){d=h;break}v--}}p(xe(e.slice(c,d+1)));break}case Fn:case jn:{let c=d;for(let v=d+1;v<e.length;v++)if(f=e.charCodeAt(v),f===_r)v+=1;else if(f===m){d=v;break}l+=e.slice(c,d+1);break}case Fr:case Xt:{l.length>0&&(p(xe(l)),l=""),p(xe(e[d]));break}case _r:{l+=e[d]+e[d+1],d+=1;break}default:l+=e[d]}}return l.length>0&&p(xe(l)),s?s.nodes.push(u()):t&&r.splice(0,r.length,qt(r.splice(0))),i}function ht(e){let i=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&i.push(n+1);function r(n){let s=0,l=i.length;for(;l>0;){let u=(l|0)>>1,p=s+u;i[p]<=n?(s=p+1,l=l-u-1):l=u}s-=1;let f=n-i[s];return{line:s+1,column:f}}function t({line:n,column:s}){n-=1,n=Math.min(Math.max(n,0),i.length-1);let l=i[n],f=i[n+1]??l;return Math.min(Math.max(l+s,0),f)}return{find:r,findOffset:t}}var et=92,vt=47,kt=42,Wr=34,Br=39,Wn=58,bt=59,ge=10,wt=13,tt=32,rt=9,Yr=123,tr=125,nr=40,qr=41,Bn=91,Yn=93,Gr=45,rr=64,qn=33,he=class e extends Error{loc;constructor(i,r){if(r){let t=r[0],n=ht(t.code).find(r[1]);i=`${t.file}:${n.line}:${n.column+1}: ${i}`}super(i),this.name="CssSyntaxError",this.loc=r,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function Ie(e,i){let r=i?.from?{file:i.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],n=[],s=[],l=null,f=null,u="",p="",d=0,m;for(let c=0;c<e.length;c++){let v=e.charCodeAt(c);if(!(v===wt&&(m=e.charCodeAt(c+1),m===ge)))if(v===et)u===""&&(d=c),u+=e.slice(c,c+2),c+=1;else if(v===vt&&e.charCodeAt(c+1)===kt){let h=c;for(let y=c+2;y<e.length;y++)if(m=e.charCodeAt(y),m===et)y+=1;else if(m===kt&&e.charCodeAt(y+1)===vt){c=y+1;break}let b=e.slice(h,c+1);if(b.charCodeAt(2)===qn){let y=yt(b.slice(2,-2));n.push(y),r&&(y.src=[r,h,c+1],y.dst=[r,h,c+1])}}else if(v===Br||v===Wr){let h=Hr(e,c,v,r);u+=e.slice(c,h+1),c=h}else{if((v===tt||v===ge||v===rt)&&(m=e.charCodeAt(c+1))&&(m===tt||m===ge||m===rt||m===wt&&(m=e.charCodeAt(c+2))&&m==ge))continue;if(v===ge){if(u.length===0)continue;m=u.charCodeAt(u.length-1),m!==tt&&m!==ge&&m!==rt&&(u+=" ")}else if(v===Gr&&e.charCodeAt(c+1)===Gr&&u.length===0){let h="",b=c,y=-1;for(let x=c+2;x<e.length;x++)if(m=e.charCodeAt(x),m===et)x+=1;else if(m===Br||m===Wr)x=Hr(e,x,m,r);else if(m===vt&&e.charCodeAt(x+1)===kt){for(let w=x+2;w<e.length;w++)if(m=e.charCodeAt(w),m===et)w+=1;else if(m===kt&&e.charCodeAt(w+1)===vt){x=w+1;break}}e
`,`
`);let i=[],r=[],t=null,n="",s;for(let l=0;l<e.length;l++){let f=e.charCodeAt(l);switch(f){case Jr:{n+=e[l]+e[l+1],l++;break}case el:{if(n.length>0){let p=ne(n);t?t.nodes.push(p):i.push(p),n=""}let u=ne(e[l]);t?t.nodes.push(u):i.push(u);break}case Xr:case ei:case ti:case ri:case ii:case ni:case li:case oi:{if(n.length>0){let m=ne(n);t?t.nodes.push(m):i.push(m),n=""}let u=l,p=l+1;for(;p<e.length&&(s=e.charCodeAt(p),!(s!==Xr&&s!==ei&&s!==ti&&s!==ri&&s!==ii&&s!==ni&&s!==li&&s!==oi));p++);l=p-1;let d=Hn(e.slice(u,p));t?t.nodes.push(d):i.push(d);break}case Xn:case Qn:{let u=l;for(let p=l+1;p<e.length;p++)if(s=e.charCodeAt(p),s===Jr)p+=1;else if(s===f){l=p;break}n+=e.slice(u,l+1);break}case Jn:{let u=Gn(n,[]);n="",t?t.nodes.push(u):i.push(u),r.push(u),t=u;break}case Zn:{let u=r.pop();if(n.length>0){let p=ne(n);u?.nodes.push(p),n=""}r.length>0?t=r[r.length-1]:t=null;break}default:n+=String.fromCharCode(f)}}return n.length>0&&i.push(ne(n)),i}var or=(l=>(l[l.Continue=0]="Continue",l[l.Skip=1]="Skip",l[l.Stop=2]="Stop",l[l.Replace=3]="Replace",l[l.ReplaceSkip=4]="ReplaceSkip",l[l.ReplaceStop=5]="ReplaceStop",l))(or||{}),$={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function O(e,i){typeof i=="function"?ai(e,i):ai(e,i.enter,i.exit)}function ai(e,i=()=>$.Continue,r=()=>$.Continue){let t={value:[e,0,null],prev:null},n={parent:null,depth:0,index:0,siblings:e,path(){let s=[],l=t;for(;l;){let f=l.value[2];f&&s.push(f),l=l.prev}return s.reverse(),s}};for(;t!==null;){let s=t.value,l=s[0],f=s[1],u=s[2];if(f>=l.length){t=t.prev,n.depth-=1;continue}if(n.parent=u,n.siblings=l,f>=0){n.index=f;let c=l[f],v=i(c,n)??$.Continue;switch(v.kind){case 0:{c.nodes&&c.nodes.length>0&&(n.depth+=1,t={value:[c.nodes,0,c],prev:t}),s[1]=~f;continue}case 2:return;case 1:{s[1]=~f;continue}case 3:{l.splice(f,1,...v.nodes);continue}case 5:{l.splice(f,1,...v.nodes);return}case 4:{l.splice(f,1,...v.nodes),s[1]+=v.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${or[v.kind]??`Unknown(${v.kind})`}\` in enter.`)}}let p=~f;n.index=p;let d=l[p],m=r(d,n)??$.Continue;switch(m.kind){case 0:s[1]=p+1;continue;case 2:return;case 3:{l.splice(p,1,...m.nodes),s[1]=p+m.nodes.length;continue}case 5:{l.splice(p,1,...m.nodes);return}case 4:{l.splice(p,1,...m.nodes),s[1]=p+m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${or[m.kind]??`Unknown(${m.kind})`}\` in exit.`)}}}var tl=new L(e=>{let i=[];return O(j(e),r=>{if(!(r.kind!=="function"||r.value!=="var"))return O(r.nodes,t=>{t.kind!=="word"||t.value[0]!=="-"||t.value[1]!=="-"||i.push(t.value)}),$.Skip}),i});function Ct(e){return tl.get(e)}var rl=64,il=124;function H(e,i=[]){return{kind:"rule",selector:e,nodes:i}}function B(e,i="",r=[]){return{kind:"at-rule",name:e,params:i,nodes:r}}function Z(e,i=[]){return e.charCodeAt(0)===rl?it(e,i):H(e,i)}function o(e,i,r=!1){return{kind:"declaration",property:e,value:i,important:r}}function yt(e){return{kind:"comment",value:e}}function be(e,i){return{kind:"context",context:e,nodes:i}}function Y(e){return{kind:"at-root",nodes:e}}function re(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function lt(e){return{depth:e.depth,index:e.index,siblings:e.siblings,get context(){let i={};for(let r of e.path())r.kind==="context"&&Object.assign(i,r.context);return Object.defineProperty(this,"context",{value:i}),i},get parent(){let i=
`,i){r+=p.length;let d=r;r+=l.property.length,r+=2,r+=l.value?.length??0,l.important&&(r+=11);let m=r;r+=2,l.dst=[t,d,m]}}else if(l.kind==="rule"){if(u+=`${p}${l.selector} {
`,i){r+=p.length;let d=r;r+=l.selector.length,r+=1;let m=r;l.dst=[t,d,m],r+=2}for(let d of l.nodes)u+=n(d,f+1);u+=`${p}}
`,i&&(r+=p.length,r+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let d=`${p}${l.name} ${l.params};
`;if(i){r+=p.length;let m=r;r+=l.name.length,r+=1,r+=l.params.length;let c=r;r+=2,l.dst=[t,m,c]}return d}if(u+=`${p}${l.name}${l.params?` ${l.params} `:" "}{
`,i){r+=p.length;let d=r;r+=l.name.length,l.params&&(r+=1,r+=l.params.length),r+=1;let m=r;l.dst=[t,d,m],r+=2}for(let d of l.nodes)u+=n(d,f+1);u+=`${p}}
`,i&&(r+=p.length,r+=2)}else if(l.kind==="comment"){if(u+=`${p}/*${l.value}*/
`,i){r+=p.length;let d=r;r+=2+l.value.length+2;let m=r;l.dst=[t,d,m],r+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return u}let s="";for(let l of e)s+=n(l,0);return t.code=s,s}function al(e,i){let r=[];return O(e,(t,n)=>{if(i(t))return r=n.path(),r.push(t),$.Stop}),r}function ui(e,i,r,t=new Set){if(t.has(e)||(t.add(e),i.getOptions(e)&24))return!0;{let s=r.get(e)??[];for(let l of s)if(ui(l,i,r,t))return!0}return!1}function si(e){return e.split(/[\s,]+/)}var ar=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function ot(e){return e.indexOf("(")!==-1&&ar.some(i=>e.includes(`${i}(`))}function $t(e){if(!ar.some(s=>e.includes(s)))return e;let i="",r=[],t=null,n=null;for(let s=0;s<e.length;s++){let l=e.charCodeAt(s);if(l>=48&&l<=57||t!==null&&(l===37||l>=97&&l<=122||l>=65&&l<=90)?t=s:(n=t,t=null),l===40){i+=e[s];let f=s;for(let p=s-1;p>=0;p--){let d=e.charCodeAt(p);if(d>=48&&d<=57)f=p;else if(d>=97&&d<=122)f=p;else break}let u=e.slice(f,s);if(ar.includes(u)){r.unshift(!0);continue}else if(r[0]&&u===""){r.unshift(!0);continue}r.unshift(!1);continue}else if(l===41)i+=e[s],r.shift();else if(l===44&&r[0]){i+=", ";continue}else{if(l===32&&r[0]&&i.charCodeAt(i.length-1)===32)continue;if((l===43||l===42||l===47||l===45)&&r[0]){let f=i.trimEnd(),u=f.charCodeAt(f.length-1),p=f.charCodeAt(f.length-2),d=e.charCodeAt(s+1);if((u===101||u===69)&&p>=48&&p<=57){i+=e[s];continue}else if(u===43||u===42||u===47||u===45){i+=e[s];continue}else if(u===40||u===44){i+=e[s];continue}else e.charCodeAt(s-1)===32?i+=`${e[s]} `:u>=48&&u<=57||d>=48&&d<=57||u===41||d===40||d===43||d===42||d===47||d===45||n!==null&&n===s-1?i+=` ${e[s]} `:i+=e[s]}else i+=e[s]}}return i}function Ne(e){if(e.indexOf("(")===-1)return Fe(e);let i=j(e);return sr(i),e=F(i),e=$t(e),e}function Fe(e,i=!1){let r="";for(let t=0;t<e.length;t++){let n=e[t];n==="\\"&&e[t+1]==="_"?(r+="_",t+=1):n==="_"&&!i?r+=" ":r+=n}return r}function sr(e){for(let i of e)switch(i.kind){case"function":{if(i.value==="url"||i.value.endsWith("_url")){i.value=Fe(i.value);break}if(i.value==="var"||i.value.endsWith("_var")||i.value==="theme"||i.value.endsWith("_theme")){i.value=Fe(i.value);for(let r=0;r<i.nodes.length;r++){if(r==0&&i.nodes[r].kind==="word"){i.nodes[r].value=Fe(i.nodes[r].value,!0);continue}sr([i.nodes[r]])}break}i.value=Fe(i.value),sr(i.nodes);break}case"separator":case"word":{i.value=Fe(i.value);break}default:sl(i)}}function sl(e){throw new Error(`Unexpected value: ${e}`)}var ur=new Uint8Array(256);function Ce(e){let i=0,r=e.length;for(let t=0;t<r;t++){let n=e.charCodeAt(t);switch(n){case 92:t+=1;break;case 39:case 34:for(;++t<r;){let s=e.charCodeAt(t);if(s===92){t+=1;continue}if(s===n)break}break;case 40:ur[i]=41,i++;break;case 91:ur[i]=93,i++;break;case 123:break;case 93:case 125:case 41:if(i===0)return!1;i>0&&n===ur[i-1]&&i--;break;case 59:if(i===0)return!1;break}}return!0}var ul=58,ci=45,fi=97,pi=122,pr=/^[a-zA-Z0-9_.%-]+$/;function Be(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(We),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(We),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(We),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function We(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":ret
Only valid data types are: ${vr.map(b=>`"${b}"`).join(", ")}.
`);let p=u.value,d=structuredClone(l),m="\xB6";O(d.nodes,b=>{if(b.kind==="word"&&b.value===p)return $.ReplaceSkip({kind:"word",value:m})});let c="^".repeat(F([u]).length),v=F([d]).indexOf(m),h=["```css",F([l])," ".repeat(v)+c,"```"].join(`
`);console.warn(h)}}),n.value=F(s)}),r.utilities.functional(i.slice(0,-2),n=>{let s=re(e),l=n.value,f=n.modifier,u=!1,p=!1,d=!1,m=!1,c=new Map,v=!1;if(O([s],(h,b)=>{let y=b.parent;if(y?.kind!=="rule"&&y?.kind!=="at-rule"||h.kind!=="declaration"||!h.value)return;let S=!1,x=j(h.value);if(O(x,w=>{if(w.kind==="function"){if(w.value==="--value"){u=!0;let I=Ai(l,w,r);return I?(p=!0,I.ratio?v=!0:c.set(h,y),$.ReplaceSkip(I.nodes)):(S=!0,$.Stop)}else if(w.value==="--modifier"){d=!0;let I=Ai(f,w,r);return I?(m=!0,$.ReplaceSkip(I.nodes)):(S=!0,$.Stop)}}}),S)return $.ReplaceSkip([]);h.value=F(x)}),!u||!p||d&&!m&&f!==null||v&&m||f&&!v&&!m)return null;if(v)for(let[h,b]of c){let y=b.nodes.indexOf(h);y!==-1&&b.nodes.splice(y,1)}return s.nodes}),r.utilities.suggest(i.slice(0,-2),()=>{let n=[],s=[];for(let[l,{literals:f,usedSpacingNumber:u,usedSpacingInteger:p,themeKeys:d}]of[[n,t["--value"]],[s,t["--modifier"]]]){for(let m of f)l.push(m);if(u)l.push(...Rt);else if(p)for(let m of Rt)P(m)&&l.push(m);for(let m of r.theme.keysInNamespaces(d))l.push(m.replace(Si,(c,v,h)=>`${v}.${h}`))}return[{values:n,modifiers:s}]})}:eo(i)?r=>{r.utilities.static(i,()=>e.nodes.map(re))}:null}function Ai(e,i,r){if(e===null){for(let t of i.nodes)if(t.kind==="function"&&t.value==="--default")return{nodes:t.nodes};return}for(let t of i.nodes){if(e.kind==="named"&&t.kind==="word"&&(t.value[0]==="'"||t.value[0]==='"')&&t.value[t.value.length-1]===t.value[0]&&t.value.slice(1,-1)===e.value)return{nodes:j(e.value)};if(e.kind==="named"&&t.kind==="word"&&t.value[0]==="-"&&t.value[1]==="-"){let n=t.value;if(n.endsWith("-*")){n=n.slice(0,-2);let s=r.theme.resolve(e.value,[n]);if(s)return{nodes:j(s)}}else{let s=n.split("-*");if(s.length<=1)continue;let l=[s.shift()],f=r.theme.resolveWith(e.value,l,s);if(f){let[,u={}]=f;{let p=u[s.pop()];if(p)return{nodes:j(p)}}}}}else if(e.kind==="named"&&t.kind==="word"){if(!vr.includes(t.value))continue;let n=t.value==="ratio"&&"fraction"in e?e.fraction:e.value;if(!n)continue;let s=Q(n,[t.value]);if(s===null)continue;if(s==="ratio"){let[l,f]=K(n,"/").map(Number);if(!P(l)||!P(f))continue}else{if(s==="number"&&!J(n))continue;if(s==="percentage"&&!P(n.slice(0,-1)))continue}if(s==="ratio"){let[l,f]=K(n,"/");return{nodes:j(`${l.trim()} / ${f.trim()}`),ratio:!0}}return{nodes:j(n),ratio:!1}}else if(e.kind==="arbitrary"&&t.kind==="word"&&t.value[0]==="["&&t.value[t.value.length-1]==="]"){let n=t.value.slice(1,-1);if(n==="*")return{nodes:j(e.value)};if("dataType"in e&&e.dataType&&e.dataType!==n)continue;if("dataType"in e&&e.dataType)return{nodes:j(e.value)};if(Q(e.value,[n])!==null)return{nodes:j(e.value)}}}}function Te(e,i,r,t,n=""){let s=!1,l=ut(i,u=>r==null?t(u):u.startsWith("current")?t(X(u,r)):((u.startsWith("var(")||r.startsWith("var("))&&(s=!0),t(Ci(u,r))));function f(u){return n?K(u,",").map(p=>n.trim()+" "+p.trim()).join(", "):u}return s?[o(e,f(ut(i,t))),Z("@supports (color: lab(from red l a b))",[o(e,f(l))])]:[o(e,f(l))]}function Vt(e,i,r,t,n=""){let s=!1,l=K(i,",").map(f=>ut(f,u=>r==null?t(u):u.startsWith("current")?t(X(u,r)):((u.startsWith("var(")||r.startsWith("var("))&&(s=!0),t(Ci(u,r))))).map(f=>`drop-shadow(${f})`).join(" ");return s?[o(e,n+K(i,",").map(f=>`drop-shadow(${ut(f,t)})`).join(" ")),Z("@supports (color: lab(from red l a b))",[o(e,n+l)])]:[o(e,n+l)]}var Vi=/^-?[a-z][a-zA-Z0-9_-]*/,Bl=37,Yl=47,ql=46,Gl=97,Hl=122,Zl=65,Ql=90,Nt=48,Et=57,Jl=95,Xl=45;function eo(e){let i=Vi.exec(e);if(i===null)return!1;let r=i[0],t=e.slice(r.length);if(t.length===0&&r.endsWith("-"))return!1;if(t.length===0)return!0;let n=!1;for(let s=0;s<t.length;s++){let l=t.charCodeAt(s);switch(l){case Bl:{if(s!==t.length-1)return!1;let u=(t[s-1]||r[r.length-1]||"").charCodeAt(0);if(u<Nt||u>Et)return!1;break}case Yl:{if(s===t.length-1||n)return!1;n=!0;break}case ql:{let u=(t[s-1]||r[r.length-1]||"").charCodeAt(0);if(u<Nt||u>Et)return!1;let d=(t[s+1]||"").charCodeAt(0);if(d<Nt||d>Et)return!1;break}case Jl:case Xl:continue;default:{if(l>=Gl&&l<=Hl||l>=Zl&&l<=Ql||l>=Nt&&l<=Et)continue;return!1}}}return!0}function to(e){if(!e.endsWith("-*"))return!1;e=e.slice
`),s=!0;return O(j(t),l=>{if(l.kind==="function"&&l.value==="var"){let f=l.nodes[0].value;if(!new RegExp(`var\\(${f}[,)]\\s*`,"g").test(n)||n.includes(`${f}:`))return s=!1,$.Stop}}),s}function Lo(e,i){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=i.designSystem,t=r.storage[Ar].get(i.signatureOptions),n=r.storage[we].get(i.signatureOptions),s=r.storage[ft].get(i.signatureOptions),l=r.printCandidate(e),f=n.get(l);if(typeof f!="string")return e;for(let p of u(f,e))if(s(e,p))return p;return e;function*u(p,d){let m=t.get(p);if(m.length>1){let c;for(let v of m)if(v[0]!=="-"){if(c)return;c=v}if(c)for(let v of me(r,c))yield v;return}if(m.length===0&&d.modifier){let c={...d,modifier:null},v=n.get(r.printCandidate(c));if(typeof v=="string")for(let h of u(v,c))yield Object.assign({},h,{modifier:d.modifier})}if(m.length===1)for(let c of me(r,m[0]))yield c}}var Ko=new Map([["order-none","order-0"],["break-words","wrap-break-word"],["overflow-ellipsis","text-ellipsis"]]),zo=new Map([[/^(-)?start-(.*?)$/,"$1inset-s-$2"],[/^(-)?end-(.*?)$/,"$1inset-e-$2"]]);function*Mo(e){let i=Ko.get(e);i&&(yield i);for(let[r,t]of zo){let n=e.replace(r,t);n!==e&&(yield n)}}function jo(e,i){let r=i.designSystem,t=r.storage[ft].get(i.signatureOptions),n=Qi(r,e);for(let s of Mo(n)){if(!t(e,s))continue;let[l]=me(r,s);return l}return e}function Fo(e,i){let r=i.designSystem,t=r.storage[Kt],n=r.storage[tn],s=Lt(e);for(let[l]of s){if(l.kind==="compound")continue;let f=r.printVariant(l),u=t.get(f);if(typeof u!="string")continue;let p=n.get(u);if(p.length!==1)continue;let d=p[0],m=r.parseVariant(d);m!==null&&de(l,m)}return e}function Wo(e,i){let r=i.designSystem,t=r.storage[we].get(i.signatureOptions);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let n=r.printCandidate({...e,value:{...e.value,dataType:null}});t.get(r.printCandidate(e))===t.get(n)&&(e.value.dataType=null)}return e}function Bo(e,i){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=i.designSystem,t=r.storage[we].get(i.signatureOptions),n=t.get(r.printCandidate(e));if(n===null)return e;for(let s of Xi(e))if(t.get(r.printCandidate({...e,value:s}))===n)return e.value=s,e;return e}function Yo(e){let i=Lt(e);for(let[r]of i)if(r.kind==="functional"&&r.root==="data"&&r.value?.kind==="arbitrary"&&!r.value.value.includes("="))r.value={kind:"named",value:r.value.value};else if(r.kind==="functional"&&r.root==="aria"&&r.value?.kind==="arbitrary"&&(r.value.value.endsWith("=true")||r.value.value.endsWith('="true"')||r.value.value.endsWith("='true'"))){let[t,n]=K(r.value.value,"=");if(t[t.length-1]==="~"||t[t.length-1]==="|"||t[t.length-1]==="^"||t[t.length-1]==="$"||t[t.length-1]==="*")continue;r.value={kind:"named",value:r.value.value.slice(0,r.value.value.indexOf("="))}}else r.kind==="functional"&&r.root==="supports"&&r.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(r.value.value)&&(r.value={kind:"named",value:r.value.value});return e}function*Xi(e,i=e.value?.value??"",r=new Set){if(r.has(i))return;if(r.add(i),yield{kind:"named",value:i,fraction:null},i.endsWith("%")&&J(i.slice(0,-1))&&(yield{kind:"named",value:i.slice(0,-1),fraction:null}),i.includes("/")){let[s,l]=i.split("/");P(s)&&P(l)&&(yield{kind:"named",value:s,fraction:`${s}/${l}`})}let t=new Set;for(let s of i.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))t.add(s[0].trim());let n=Array.from(t).sort((s,l)=>s.length-l.length);for(let s of n)yield*Xi(e,s,r)}function Fi(e){return!(e.length===1&&e[0].kind==="list")}function It(e){return e.value[0]==="["&&e.value[e.value.length-1]==="]"}function qo(e,i){let r=[e],t=i.designSystem,n=t.storage[Kt],s=Lt(e);for(let[l,f]of s)if(l.kind==="compound"&&(l.root==="has"||l.root==="not"||l.root==="in")&&l.modifier!==null&&"modifier"in l.variant&&(l.variant.modifier=l.modifier,l.modifier=null),l.kind==="arbitrary"){if(l.relative)continue;let u=fe(l.selector);if(!Fi(u))continue;if(u.length===1&&u[0].kind==="complex"&&(u=u[0].nodes),f===null&&u.length===3&&u[0].kind==="selector"&&u[0].value==="&"&&u[1].kind==="combinator"&&u[1].value===">"&&u[2].kind===
${ue([m])}
Relies on:
${ue([v])}`)}p.add(m);for(let v of s.get(m))for(let h of l.get(v))c.push(m),d(h,c),c.pop();f.add(m),p.delete(m),u.push(m)}}for(let m of n)d(m);for(let m of u)"nodes"in m&&O(m.nodes,c=>{if(c.kind!=="at-rule"||c.name!=="@apply")return;let v=c.params.split(/(\s+)/g),h={},b=[],y=[],S=0;for(let[w,I]of v.entries())w%2===0&&(I[0]==="-"&&I[1]==="-"?y.push(I):b.push(I),h[I]=S),S+=I.length;if(y.length){if(b.length===0)return $.Skip;let w=y.join(" ");throw new Error(`You cannot use \`@apply\` with both mixins and utilities. Please move \`@apply ${w}\` into a separate rule.`)}if(c.nodes.length>0&&b.length){let w=b.join(" ");throw new Error(`The rule \`@apply ${w}\` must not have a body.`)}{let w=Object.keys(h),I=Oe(w,i,{respectImportant:!1,onInvalidCandidate:E=>{if(i.theme.prefix&&!E.startsWith(i.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${E}\`. Did you mean \`${i.theme.prefix}:${E}\`?`);if(i.invalidCandidates.has(E))throw new Error(`Cannot apply utility class \`${E}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let M=K(E,":");if(M.length>1){let G=M.pop();if(i.candidatesToCss([G])[0]){let q=i.candidatesToCss(M.map(ie=>`${ie}:[--tw-variant-check:1]`)),ee=M.filter((ie,a)=>q[a]===null);if(ee.length>0){if(ee.length===1)throw new Error(`Cannot apply utility class \`${E}\` because the ${ee.map(ie=>`\`${ie}\``)} variant does not exist.`);{let ie=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${E}\` because the ${ie.format(ee.map(a=>`\`${a}\``))} variants do not exist.`)}}}}throw i.theme.size===0?new Error(`Cannot apply unknown utility class \`${E}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${E}\``)}}),D=c.src,_=I.astNodes.map(E=>{let M=I.nodeSorting.get(E)?.candidate,G=M?h[M]:void 0;if(E=re(E),!D||!M||G===void 0)return O([E],ee=>{ee.src=D}),E;let q=[D[0],D[1],D[2]];return q[1]+=7+G,q[2]=q[1]+M.length,O([E],ee=>{ee.src=q}),E}),z=[];for(let E of _)if(E.kind==="rule")for(let M of E.nodes)z.push(M);else z.push(E);return $.Replace(z)}});return r}function*pn(e,i){for(let r of e.params.split(/\s+/g))for(let t of i.parseCandidate(r))switch(t.kind){case"arbitrary":break;case"static":case"functional":yield t.root;break;default:}}async function Tr(e,i,r,t=0,n=!1){let s=0,l=[];return O(e,f=>{if(f.kind==="at-rule"&&(f.name==="@import"||f.name==="@reference")){let u=ca(j(f.params));if(u===null)return;f.name==="@reference"&&(u.media="reference"),s|=2;let{uri:p,layer:d,media:m,supports:c}=u;if(p.startsWith("data:")||p.startsWith("http://")||p.startsWith("https://"))return;let v=be({},[]);return l.push((async()=>{if(t>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${p}\` in \`${i}\`)`);let h=await r(p,i),b=Ie(h.content,{from:n?h.path:void 0});await Tr(b,h.base,r,t+1,n),v.nodes=fa(f,[be({base:h.base},b)],d,m,c)})()),$.ReplaceSkip(v)}}),l.length>0&&await Promise.all(l),s}function ca(e){let i,r=null,t=null,n=null;for(let s=0;s<e.length;s++){let l=e[s];if(l.kind!=="separator"){if(l.kind==="word"&&!i){if(!l.value||l.value[0]!=='"'&&l.value[0]!=="'")return null;i=l.value.slice(1,-1);continue}if(l.kind==="function"&&l.value.toLowerCase()==="url"||!i)return null;if((l.kind==="word"||l.kind==="function")&&l.value.toLowerCase()==="layer"){if(r)return null;if(n)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in l?r=F(l.nodes):r="";continue}if(l.kind==="function"&&l.value.toLowerCase()==="supports"){if(n)return null;n=F(l.nodes);continue}t=F(e.slice(s));break}}return i?{uri:i,layer:r,media:t,supports:n}:null}function fa(e,i,r,t,n){let s=i;if(r!==null){let l=B("@layer",r,s);l.src=e.src,s=[l]}if(t!==null){let l=B("@media",t,s);l.src=e.src,s=[l]}if(n!==null){let l=B("@supports",n[0]==="("?n:`(${n})`,s);l.src=e.src,s=[l]}return s}function Je(e){if(Object.prototyp
${ue([y])}
\`@plugin\` options must be a flat list of declarations.`);if(y.value===void 0)continue;let S=y.value,x=K(S,",").map(w=>{if(w=w.trim(),w==="null")return null;if(w==="true")return!0;if(w==="false")return!1;if(Number.isNaN(Number(w))){if(w[0]==='"'&&w[w.length-1]==='"'||w[0]==="'"&&w[w.length-1]==="'")return w.slice(1,-1);if(w[0]==="{"&&w[w.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${ue([y]).trim()}\` is not supported.
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(w);return w});b[y.property]=x.length===1?x[0]:x}return l.push([{id:h,base:v.context.base,reference:!!v.context.reference,src:m.src},Object.keys(b).length>0?b:null]),s|=4,$.Replace([])}if(m.name==="@config"){if(m.nodes.length>0)throw new Error("`@config` cannot have a body.");if(v.parent!==null)throw new Error("`@config` cannot be nested.");return f.push({id:m.params.slice(1,-1),base:v.context.base,reference:!!v.context.reference,src:m.src}),s|=4,$.Replace([])}}),Sn(e);let u=e.resolveThemeValue;if(e.resolveThemeValue=function(c,v){return c.startsWith("--")?u(c,v):(s|=Vn({designSystem:e,base:i,ast:r,sources:n,configs:[],pluginDetails:[]}),e.resolveThemeValue(c,v))},!l.length&&!f.length)return 0;let[p,d]=await Promise.all([Promise.all(f.map(async({id:m,base:c,reference:v,src:h})=>{let b=await t(m,c,"config");return{path:m,base:b.base,config:b.module,reference:v,src:h}})),Promise.all(l.map(async([{id:m,base:c,reference:v,src:h},b])=>{let y=await t(m,c,"plugin");return{path:m,base:y.base,plugin:y.module,options:b,reference:v,src:h}}))]);return s|=Vn({designSystem:e,base:i,ast:r,sources:n,configs:p,pluginDetails:d}),s}function Vn({designSystem:e,base:i,ast:r,sources:t,configs:n,pluginDetails:s}){let l=0,u=[...s.map(b=>{if(!b.options)return{config:{plugins:[b.plugin]},base:b.base,reference:b.reference,src:b.src};if("__isOptionsFunction"in b.plugin)return{config:{plugins:[b.plugin(b.options)]},base:b.base,reference:b.reference,src:b.src};throw new Error(`The plugin "${b.path}" does not accept options`)}),...n],{resolvedConfig:p}=Er(e,[{config:xn(e.theme),base:i,reference:!0,src:void 0},...u,{config:{plugins:[Cn]},base:i,reference:!0,src:void 0}]),{resolvedConfig:d,replacedThemeKeys:m}=Er(e,u),c={designSystem:e,ast:r,resolvedConfig:p,featuresRef:{set current(b){l|=b}}},v=Vr({...c,referenceMode:!1,src:void 0}),h=e.resolveThemeValue;e.resolveThemeValue=function(y,S){if(y[0]==="-"&&y[1]==="-")return h(y,S);let x=v.theme(y,void 0);if(Array.isArray(x)&&x.length===2)return x[0];if(Array.isArray(x))return x.join(", ");if(typeof x=="object"&&x!==null&&"DEFAULT"in x)return x.DEFAULT;if(typeof x=="string")return x};for(let{handler:b,reference:y,src:S}of p.plugins){let x=Vr({...c,referenceMode:y??!1,src:S});b(x)}if(Oi(e,d,m),kn(e,d),Tn(d,e),$n(d,e),An(d,e),!e.theme.prefix&&p.prefix){if(p.prefix.endsWith("-")&&(p.prefix=p.prefix.slice(0,-1),console.warn(`The prefix "${p.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.`)),!wa.test(p.prefix))throw new Error(`The prefix "${p.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);e.theme.prefix=p.prefix}if(!e.important&&p.important===!0&&(e.important=!0),typeof p.important=="string"){let b=p.important;O(r,(y,S)=>{if(y.kind!=="at-rule"||y.name!=="@tailwind"||y.params!=="utilities")return;let x=lt(S);return x.parent?.kind==="rule"&&x.parent.selector===b?$.Stop:$.ReplaceStop(H(b,[y]))})}for(let b of p.blocklist)e.invalidCandidates.add(b);for(let b of p.content.files){if("raw"in b)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
${JSON.stringify(b,null,2)}
This feature is not currently supported.`);let y=!1;b.pattern[0]=="!"&&(y=!0,b.pattern=b.pattern.slice(1)),t.push({...b,negated:y})}return l}function En({ast:e}){let i=new L(n=>ht(n.code)),r=new L(n=>({url:n.file,content:n.code,ignore:!1})),t={file:null,sources:[],mappings:[]};O(e,n=>{if(!n.src||!n.dst)return;let s=r.get(n.src[0]);if(!s.content)return;let l=i.get(n.src[0]),f=i.get(n.dst[0]),u=s.content.slice(n.src[1],n.src[2]),p=0;for(let c of u.split(`
`)){if(c.trim()!==""){let v=l.find(n.src[1]+p),h=f.find(n.dst[1]);t.mappings.push({name:null,originalPosition:{source:s,...v},generatedPosition:h})}p+=c.length,p+=1}let d=l.find(n.src[2]),m=f.find(n.dst[2]);t.mappings.push({name:null,originalPosition:{source:s,...d},generatedPosition:m})});for(let n of i.keys())t.sources.push(r.get(n));return t.mappings.sort((n,s)=>n.generatedPosition.line-s.generatedPosition.line||n.generatedPosition.column-s.generatedPosition.column||(n.originalPosition?.line??0)-(s.originalPosition?.line??0)||(n.originalPosition?.column??0)-(s.originalPosition?.column??0)),t}var Rn=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function Wt(e){let i=e.indexOf("{");if(i===-1)return[e];let r=[],t=e.slice(0,i),n=e.slice(i),s=0,l=n.lastIndexOf("}");for(let m=0;m<n.length;m++){let c=n[m];if(c==="{")s++;else if(c==="}"&&(s--,s===0)){l=m;break}}if(l===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let f=n.slice(1,l),u=n.slice(l+1),p;ya(f)?p=xa(f):p=K(f,","),p=p.flatMap(m=>Wt(m));let d=Wt(u);for(let m of d)for(let c of p)r.push(t+c+m);return r}function ya(e){return Rn.test(e)}function xa(e){let i=e.match(Rn);if(!i)return[e];let[,r,t,n]=i,s=n?parseInt(n,10):void 0,l=[];if(/^-?\d+$/.test(r)&&/^-?\d+$/.test(t)){let f=parseInt(r,10),u=parseInt(t,10);if(s===void 0&&(s=f<=u?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let p=f<u;p&&s<0&&(s=-s),!p&&s>0&&(s=-s);for(let d=f;p?d<=u:d>=u;d+=s)l.push(d.toString())}return l}function Pn(e,i){let r=new Set,t=new Set,n=[];function s(l,f=[]){if(e.has(l)&&!r.has(l)){t.has(l)&&i.onCircularDependency?.(f,l),t.add(l);for(let u of e.get(l)??[])f.push(l),s(u,f),f.pop();r.add(l),t.delete(l),n.push(l)}}for(let l of e.keys())s(l);return n}var Aa=/^[a-z]+$/,St=(n=>(n[n.None=0]="None",n[n.AtProperty=1]="AtProperty",n[n.ColorMix=2]="ColorMix",n[n.All=3]="All",n))(St||{});function Ca(){throw new Error("No `loadModule` function provided to `compile`")}function Sa(){throw new Error("No `loadStylesheet` function provided to `compile`")}function $a(e){let i=0,r=null;for(let t of K(e," "))t==="reference"?i|=2:t==="inline"?i|=1:t==="default"?i|=4:t==="static"?i|=8:t.startsWith("prefix(")&&t.endsWith(")")&&(r=t.slice(7,-1));return[i,r]}var Le=(u=>(u[u.None=0]="None",u[u.AtApply=1]="AtApply",u[u.AtImport=2]="AtImport",u[u.JsPluginCompat=4]="JsPluginCompat",u[u.ThemeFunction=8]="ThemeFunction",u[u.Utilities=16]="Utilities",u[u.Variants=32]="Variants",u[u.AtTheme=64]="AtTheme",u))(Le||{});async function On(e,{base:i="",from:r,loadModule:t=Ca,loadStylesheet:n=Sa}={}){let s=0;e=[be({base:i},e)],s|=await Tr(e,i,n,0,r!==void 0);let l=null,f=new xt,u=new Map,p=new Map,d=[],m=null,c=null,v=[],h=[],b=[],y=[],S=null;O(e,(w,I)=>{if(w.kind!=="at-rule")return;let D=lt(I);if(w.name==="@tailwind"&&(w.params==="utilities"||w.params.startsWith("utilities"))){if(c!==null)return $.Replace([]);if(D.context.reference)return $.Replace([]);let _=K(w.params," ");for(let z of _)if(z.startsWith("source(")){let E=z.slice(7,-1);if(E==="none"){S=E;continue}if(E[0]==='"'&&E[E.length-1]!=='"'||E[0]==="'"&&E[E.length-1]!=="'"||E[0]!=="'"&&E[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");S={base:D.context.sourceBase??D.context.base,pattern:E.slice(1,-1)}}c=w,s|=16}if(w.name==="@utility"){if(D.parent!==null)throw new Error("`@utility` cannot be nested.");if(w.nodes.length===0)throw new Error(`\`@utility ${w.params}\` is empty. Utilities should include at least one property.`);let _=Ti(w);if(_===null){if(!w.params.endsWith("-*")){if(w.params.endsWith("*"))throw new Error(`\`@utility ${w.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(w.params.includes("*"))throw new Error(`\`@utility ${w.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${w.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}d.push(_)}if(w.name==="@source"){if(w.nodes.length>0)throw new Error("`@source` cannot have a body.")
`).map((G,q,ee)=>`${q===0||q>=ee.length-2?" ":">"} ${G}`).join(`
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
${M}`)}),m?$.ReplaceSkip([]):(m=H(":root, :host",[]),m.src=w.src,$.ReplaceSkip(m))}});let x=sn(f,c?.src);if(l&&(x.important=l),y.length>0)for(let w of y)x.invalidCandidates.add(w);s|=await Nn({designSystem:x,base:i,ast:e,loadModule:t,sources:h});for(let w of u.keys())x.variants.static(w,()=>{});for(let w of Pn(p,{onCircularDependency(I,D){let _=ue(I.map((z,E)=>B("@custom-variant",z,[B("@variant",I[E+1]??D,[])]))).replaceAll(";"," { \u2026 }").replace(`@custom-variant ${D} {`,`@custom-variant ${D} { /* \u2190 */`);throw new Error(`Circular dependency detected in custom variants:
${_}`)}}))u.get(w)?.(x);for(let w of d)w(x);if(m){let w=[];for(let[D,_]of x.theme.entries()){if(_.options&2)continue;let z=o(Ve(D),_.value);z.src=_.src,w.push(z)}let I=x.theme.getKeyframes();for(let D of I)e.push(be({theme:!0},[Y([D])]));m.nodes=[be({theme:!0},w)]}if(s|=pt(e,x),s|=Ye(e,x),s|=Pe(e,x),c){let w=c;w.kind="context",w.context={}}return O(e,w=>{if(w.kind==="at-rule")return w.name==="@utility"?$.Replace([]):$.Skip}),{designSystem:x,ast:e,sources:h,root:S,utilitiesNode:c,features:s,inlineCandidates:b}}async function _n(e,i={}){let{designSystem:r,ast:t,sources:n,root:s,utilitiesNode:l,features:f,inlineCandidates:u}=await On(e,i);t.unshift(yt(`! tailwindcss v${Rr} | MIT License | https://tailwindcss.com `));function p(h){r.invalidCandidates.add(h)}let d=new Set,m=null,c=0,v=!1;for(let h of u)r.invalidCandidates.has(h)||(d.add(h),v=!0);return{sources:n,root:s,features:f,build(h){if(f===0)return e;if(!l)return m??=De(t,r,i.polyfills),m;let b=v,y=!1;v=!1;let S=d.size;for(let w of h)if(!r.invalidCandidates.has(w))if(w[0]==="-"&&w[1]==="-"){let I=r.theme.markUsedVariable(w);b||=I,y||=I}else d.add(w),b||=d.size!==S;if(!b)return m??=De(t,r,i.polyfills),m;let x=Oe(d,r,{onInvalidCandidate:p}).astNodes;return i.from&&O(x,w=>{w.src??=l.src}),!y&&c===x.length?(m??=De(t,r,i.polyfills),m):(c=x.length,l.nodes=x,m=De(t,r,i.polyfills),m)}}}async function Ta(e,i={}){let r=Ie(e,{from:i.from}),t=await _n(r,i),n=r,s=e;return{...t,build(l){let f=t.build(l);return f===n||(s=ue(f,!!i.from),n=f),s},buildSourceMap(){return En({ast:n})}}}async function Va(e,i={}){return(await On(Ie(e,{from:i.from}),i)).designSystem}function mt(){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 e in Bt)e!=="default"&&(mt[e]=Bt[e]);module.exports=mt;