@tailwindcss/postcss 0.0.0-insiders.3aadba7 → 0.0.0-insiders.3b636b7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";var Kt=Object.create;var We=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty;var Fe=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),je=e=>{throw TypeError(e)};var Wt=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Mt(t))!jt.call(e,n)&&n!==r&&We(e,n,{get:()=>t[n],enumerable:!(o=zt(t,n))||o.enumerable});return e};var me=(e,t,r)=>(r=e!=null?Kt(Ft(e)):{},Wt(t||!e||!e.__esModule?We(r,"default",{value:e,enumerable:!0}):r,e));var Be=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&je("Object expected");var o,n;r&&(o=t[Fe("asyncDispose")]),o===void 0&&(o=t[Fe("dispose")],r&&(n=o)),typeof o!="function"&&je("Object not disposable"),n&&(o=function(){try{n.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,o,t])}else r&&e.push([r]);return t},Ge=(e,t,r)=>{var o=typeof SuppressedError=="function"?SuppressedError:function(a,l,u,f){return f=Error(u),f.name="SuppressedError",f.error=a,f.suppressed=l,f},n=a=>t=r?new o(a,t,"An error was suppressed during disposal"):(r=!0,a),i=a=>{for(;a=e.pop();)try{var l=a[1]&&a[1].call(a[2]);if(a[0])return Promise.resolve(l).then(i,u=>(n(u),i()))}catch(u){n(u)}if(r)throw t};return i()};var _t=me(require("@alloc/quick-lru")),R=require("@tailwindcss/node"),Dt=require("@tailwindcss/node/require-cache"),Ut=require("@tailwindcss/oxide"),Lt=me(require("fs")),_=me(require("path"));function Ve(e){return{kind:"word",value:e}}function Bt(e,t){return{kind:"function",value:e,nodes:t}}function Gt(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let o=0;o<e.length;o++){let n=e[o],i=!1,a=0,l=t(n,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(o,1),a=0):u.length===1?(e[o]=u[0],a=1):(e.splice(o,1,...u),a=u.length):e[o]=u)}})??0;if(i){l===0?o--:o+=a-1;continue}if(l===2)return 2;if(l!==1&&n.kind==="function"&&N(n.nodes,t,n)===2)return 2}}function $(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+$(r.nodes)+")"}return t}var qe=92,qt=41,He=58,Ze=44,Ht=34,Qe=61,Ye=62,Je=60,Xe=10,Zt=40,Qt=39,et=47,tt=32,rt=9;function x(e){e=e.replaceAll(`\r
1
+ "use strict";var Kt=Object.create;var Fe=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty;var ze=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Me=e=>{throw TypeError(e)};var Wt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Mt(t))!jt.call(e,l)&&l!==r&&Fe(e,l,{get:()=>t[l],enumerable:!(n=zt(t,l))||n.enumerable});return e};var de=(e,t,r)=>(r=e!=null?Kt(Ft(e)):{},Wt(t||!e||!e.__esModule?Fe(r,"default",{value:e,enumerable:!0}):r,e));var je=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&Me("Object expected");var n,l;r&&(n=t[ze("asyncDispose")]),n===void 0&&(n=t[ze("dispose")],r&&(l=n)),typeof n!="function"&&Me("Object not disposable"),l&&(n=function(){try{l.call(this)}catch(o){return Promise.reject(o)}}),e.push([r,n,t])}else r&&e.push([r]);return t},We=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(i,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=i,u.suppressed=s,u},l=i=>t=r?new n(i,t,"An error was suppressed during disposal"):(r=!0,i),o=i=>{for(;i=e.pop();)try{var s=i[1]&&i[1].call(i[2]);if(i[0])return Promise.resolve(s).then(o,a=>(l(a),o()))}catch(a){l(a)}if(r)throw t};return o()};var Ut=de(require("@alloc/quick-lru")),U=require("@tailwindcss/node"),_t=require("@tailwindcss/node/require-cache"),Dt=require("@tailwindcss/oxide"),Lt=de(require("fs")),D=de(require("path"));function _(e){return{kind:"word",value:e}}function Bt(e,t){return{kind:"function",value:e,nodes:t}}function Gt(e){return{kind:"separator",value:e}}function V(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+V(r.nodes)+")"}return t}var Be=92,qt=41,Ge=58,qe=44,Ht=34,He=61,Ze=62,Qe=60,Ye=10,Zt=40,Qt=39,Yt=47,Je=32,Xe=9;function C(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let t=[],r=[],o=null,n="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case qe:{n+=e[a]+e[a+1],a++;break}case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:case tt:case rt:{if(n.length>0){let s=Ve(n);o?o.nodes.push(s):t.push(s),n=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==He&&i!==Ze&&i!==Qe&&i!==Ye&&i!==Je&&i!==Xe&&i!==et&&i!==tt&&i!==rt));f++);a=f-1;let c=Gt(e.slice(u,f));o?o.nodes.push(c):t.push(c);break}case Qt:case Ht:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===qe)f+=1;else if(i===l){a=f;break}n+=e.slice(u,a+1);break}case Zt:{let u=Bt(n,[]);n="",o?o.nodes.push(u):t.push(u),r.push(u),o=u;break}case qt:{let u=r.pop();if(n.length>0){let f=Ve(n);u?.nodes.push(f),n=""}r.length>0?o=r[r.length-1]:o=null;break}default:n+=String.fromCharCode(l)}}return n.length>0&&t.push(Ve(n)),t}var g=class extends Map{constructor(r){super();this.factory=r}get(r){let o=super.get(r);return o===void 0&&(o=this.factory(r,this),this.set(r,o)),o}};var bi=new Uint8Array(256);var ge=new Uint8Array(256);function C(e,t){let r=0,o=[],n=0,i=e.length,a=t.charCodeAt(0);for(let l=0;l<i;l++){let u=e.charCodeAt(l);if(r===0&&u===a){o.push(e.slice(n,l)),n=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<i;){let f=e.charCodeAt(l);if(f===92){l+=1;continue}if(f===u)break}break;case 40:ge[r]=41,r++;break;case 91:ge[r]=93,r++;break;case 123:ge[r]=125,r++;break;case 93:case 125:case 41:r>0&&u===ge[r-1]&&r--;break}}return o.push(e.slice(n)),o}function it(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(ee),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(ee),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(ee),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function ee(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":return{kind:e.kind,root:e.root,variant:ee(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function $e(e){if(e===null)return"";let t=Xt(e.value),r=t?e.value.slice(4,-1):e.value,[o,n]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${o}${Ne(r)}${n}`:e.kind==="named"?`/${e.value}`:""}var Yt=new g(e=>{let t=x(e),r=new Set;return N(t,(o,{parent:n})=>{let i=n===null?t:n.nodes??[];if(o.kind==="word"&&(o.value==="+"||o.value==="-"||o.value==="*"||o.value==="/")){let a=i.indexOf(o)??-1;if(a===-1)return;let l=i[a-1];if(l?.kind!=="separator"||l.value!==" ")return;let u=i[a+1];if(u?.kind!=="separator"||u.value!==" ")return;r.add(l),r.add(u)}else o.kind==="separator"&&o.value.trim()==="/"?o.value="/":o.kind==="separator"&&o.value.length>0&&o.value.trim()===""?(i[0]===o||i[i.length-1]===o)&&r.add(o):o.kind==="separator"&&o.value.trim()===","&&(o.value=",")}),r.size>0&&N(t,(o,{replaceWith:n})=>{r.has(o)&&(r.delete(o),n([]))}),Se(t),$(t)});function Ne(e){return Yt.get(e)}var Ei=new g(e=>{let t=x(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?$(t[2].nodes):e});function Se(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ne(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ne(t.value);for(let r=0;r<t.nodes.length;r++)Se([t.nodes[r]]);break}t.value=ne(t.value),Se(t.nodes);break}case"separator":t.value=ne(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=ne(t.value));break}default:er(t)}}var Jt=new g(e=>{let t=x(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Xt(e){return Jt.get(e)}function er(e){throw new Error(`Unexpected value: ${e}`)}function ne(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var tr=process.env.FEATURES_ENV!=="stable";var M=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,zi=new RegExp(`^${M.source}$`);var Mi=new RegExp(`^${M.source}%$`);var Fi=new RegExp(`^${M.source}s*/s*${M.source}$`);var rr=["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"],ji=new RegExp(`^${M.source}(${rr.join("|")})$`);var ir=["deg","rad","grad","turn"],Wi=new RegExp(`^${M.source}(${ir.join("|")})$`);var Bi=new RegExp(`^${M.source} +${M.source} +${M.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function te(e){return nr(e,.25)}function nr(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function oe(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var lr={"--alpha":ar,"--spacing":sr,"--theme":ur,theme:fr};function ar(e,t,r,...o){let[n,i]=C(r,"/").map(a=>a.trim());if(!n||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);if(o.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);return oe(n,i)}function sr(e,t,r,...o){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(o.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${o.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${r})`}function ur(e,t,r,...o){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;r.endsWith(" inline")&&(n=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(n=!0);let i=e.resolveThemeValue(r,n);if(!i){if(o.length>0)return o.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(o.length===0)return i;let a=o.join(", ");if(a==="initial")return i;if(i==="initial")return a;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let l=x(i);return pr(l,a),$(l)}return i}function fr(e,t,r,...o){r=cr(r);let n=e.resolveThemeValue(r);if(!n&&o.length>0)return o.join(", ");if(!n)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 n}var cn=new RegExp(Object.keys(lr).map(e=>`${e}\\(`).join("|"));function cr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let o=1;o<e.length-1;o++){let n=e[o],i=e[o+1];n==="\\"&&(i===r||i==="\\")?(t+=i,o++):t+=n}return t}function pr(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let o=r.nodes[r.nodes.length-1];o.kind==="word"&&o.value==="initial"&&(o.value=t)}})}function Te(e,t){let r=e.length,o=t.length,n=r<o?r:o;for(let i=0;i<n;i++){let a=e.charCodeAt(i),l=t.charCodeAt(i);if(a>=48&&a<=57&&l>=48&&l<=57){let u=i,f=i+1,c=i,s=i+1;for(a=e.charCodeAt(f);a>=48&&a<=57;)a=e.charCodeAt(++f);for(l=t.charCodeAt(s);l>=48&&l<=57;)l=t.charCodeAt(++s);let p=e.slice(u,f),m=t.slice(c,s),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(a!==l)return a-l}return e.length-t.length}function at(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,o=e.length-1;for(;re(e.charCodeAt(t));)t++;{for(r=t;t<o;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let n=e.slice(r,t);for(;re(e.charCodeAt(t));)t++;if(t===o)return{attribute:n,operator:null,quote:null,value:null,sensitivity:null};let i=null,a=e.charCodeAt(t);if(a===61)i="=",t++;else if((a===126||a===124||a===94||a===36||a===42)&&e.charCodeAt(t+1)===61)i=e[t]+"=",t+=2;else return null;for(;re(e.charCodeAt(t));)t++;if(t===o)return null;let l="",u=null;if(a=e.charCodeAt(t),a===39||a===34){u=e[t],t++,r=t;for(let c=t;c<o;c++){let s=e.charCodeAt(c);s===a?t=c+1:s===92&&c++}l=e.slice(r,t-1)}else{for(r=t;t<o&&!re(e.charCodeAt(t));)t++;l=e.slice(r,t)}for(;re(e.charCodeAt(t));)t++;if(t===o)return{attribute:n,operator:i,quote:u,value:l,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;re(e.charCodeAt(t));)t++;return t!==o?null:{attribute:n,operator:i,quote:u,value:l,sensitivity:f}}function re(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var mr=/^[a-zA-Z0-9-_%/\.]+$/;function Pe(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!mr.test(t))return null;return e.map((t,r,o)=>t==="1"&&r!==o.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,o,n)=>`${o}-${n.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function gr(e){return{kind:"combinator",value:e}}function hr(e,t){return{kind:"function",value:e,nodes:t}}function q(e){return{kind:"selector",value:e}}function vr(e){return{kind:"separator",value:e}}function kr(e){return{kind:"value",value:e}}function ve(e,t,r=null){for(let o=0;o<e.length;o++){let n=e[o],i=!1,a=0,l=t(n,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(o,1),a=0):u.length===1?(e[o]=u[0],a=1):(e.splice(o,1,...u),a=u.length):(e[o]=u,a=1))}})??0;if(i){l===0?o--:o+=a-1;continue}if(l===2)return 2;if(l!==1&&n.kind==="function"&&ve(n.nodes,t,n)===2)return 2}}function H(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+H(r.nodes)+")"}return t}var ut=92,wr=93,ft=41,yr=58,ct=44,br=34,xr=46,pt=62,dt=10,Ar=35,mt=91,gt=40,ht=43,Cr=39,vt=32,kt=9,wt=126,Vr=38,Sr=42;function ae(e){e=e.replaceAll(`\r
3
+ `);let t=[],r=[],n=null,l="",o;for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);switch(s){case Be:{l+=e[i]+e[i+1],i++;break}case Yt:{if(l.length>0){let u=_(l);n?n.nodes.push(u):t.push(u),l=""}let a=_(e[i]);n?n.nodes.push(a):t.push(a);break}case Ge:case qe:case He:case Ze:case Qe:case Ye:case Je:case Xe:{if(l.length>0){let f=_(l);n?n.nodes.push(f):t.push(f),l=""}let a=i,u=i+1;for(;u<e.length&&(o=e.charCodeAt(u),!(o!==Ge&&o!==qe&&o!==He&&o!==Ze&&o!==Qe&&o!==Ye&&o!==Je&&o!==Xe));u++);i=u-1;let c=Gt(e.slice(a,u));n?n.nodes.push(c):t.push(c);break}case Qt:case Ht:{let a=i;for(let u=i+1;u<e.length;u++)if(o=e.charCodeAt(u),o===Be)u+=1;else if(o===s){i=u;break}l+=e.slice(a,i+1);break}case Zt:{let a=Bt(l,[]);l="",n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case qt:{let a=r.pop();if(l.length>0){let u=_(l);a?.nodes.push(u),l=""}r.length>0?n=r[r.length-1]:n=null;break}default:l+=String.fromCharCode(s)}}return l.length>0&&t.push(_(l)),t}var Jt=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function et(e){return e.indexOf("(")!==-1&&Jt.some(t=>e.includes(`${t}(`))}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let n=super.get(r);return n===void 0&&(n=this.factory(r,this),this.set(r,n)),n}};var Vi=new Uint8Array(256);var me=new Uint8Array(256);function T(e,t){let r=0,n=[],l=0,o=e.length,i=t.charCodeAt(0);for(let s=0;s<o;s++){let a=e.charCodeAt(s);if(r===0&&a===i){n.push(e.slice(l,s)),l=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<o;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:me[r]=41,r++;break;case 91:me[r]=93,r++;break;case 123:me[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===me[r-1]&&r--;break}}return n.push(e.slice(l)),n}var Ae=(i=>(i[i.Continue=0]="Continue",i[i.Skip=1]="Skip",i[i.Stop=2]="Stop",i[i.Replace=3]="Replace",i[i.ReplaceSkip=4]="ReplaceSkip",i[i.ReplaceStop=5]="ReplaceStop",i))(Ae||{}),v={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 k(e,t){typeof t=="function"?tt(e,t):tt(e,t.enter,t.exit)}function tt(e,t=()=>v.Continue,r=()=>v.Continue){let n=[[e,0,null]],l={parent:null,depth:0,path(){let o=[];for(let i=1;i<n.length;i++){let s=n[i][2];s&&o.push(s)}return o}};for(;n.length>0;){let o=n.length-1,i=n[o],s=i[0],a=i[1],u=i[2];if(a>=s.length){n.pop();continue}if(l.parent=u,l.depth=o,a>=0){let d=s[a],m=t(d,l)??v.Continue;switch(m.kind){case 0:{d.nodes&&d.nodes.length>0&&n.push([d.nodes,0,d]),i[1]=~a;continue}case 2:return;case 1:{i[1]=~a;continue}case 3:{s.splice(a,1,...m.nodes);continue}case 5:{s.splice(a,1,...m.nodes);return}case 4:{s.splice(a,1,...m.nodes),i[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Ae[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let c=~a,f=s[c],p=r(f,l)??v.Continue;switch(p.kind){case 0:i[1]=c+1;continue;case 2:return;case 3:{s.splice(c,1,...p.nodes),i[1]=c+p.nodes.length;continue}case 5:{s.splice(c,1,...p.nodes);return}case 4:{s.splice(c,1,...p.nodes),i[1]=c+p.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Ae[p.kind]??`Unknown(${p.kind})`}\` in exit.`)}}}function rt(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(re),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(re),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(re),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function re(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":return{kind:e.kind,root:e.root,variant:re(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Se(e){if(e===null)return"";let t=tr(e.value),r=t?e.value.slice(4,-1):e.value,[n,l]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${$e(r)}${l}`:e.kind==="named"?`/${e.value}`:""}var Xt=new h(e=>{let t=C(e),r=new Set;return k(t,(n,l)=>{let o=l.parent===null?t:l.parent.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let i=o.indexOf(n)??-1;if(i===-1)return;let s=o[i-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=o[i+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(s),r.add(a)}else n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(o[0]===n||o[o.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&k(t,n=>{if(r.has(n))return r.delete(n),v.ReplaceSkip([])}),Ce(t),V(t)});function $e(e){return Xt.get(e)}var Ii=new h(e=>{let t=C(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?V(t[2].nodes):e});function Ce(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=oe(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=oe(t.value);for(let r=0;r<t.nodes.length;r++)Ce([t.nodes[r]]);break}t.value=oe(t.value),Ce(t.nodes);break}case"separator":t.value=oe(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=oe(t.value));break}default:rr(t)}}var er=new h(e=>{let t=C(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function tr(e){return er.get(e)}function rr(e){throw new Error(`Unexpected value: ${e}`)}function oe(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var ir=process.env.FEATURES_ENV!=="stable";var W=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,qi=new RegExp(`^${W.source}$`);var Hi=new RegExp(`^${W.source}%$`);var Zi=new RegExp(`^${W.source}s*/s*${W.source}$`);var nr=["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"],or=new RegExp(`^${W.source}(${nr.join("|")})$`);function it(e){return or.test(e)||et(e)}var lr=["deg","rad","grad","turn"],Qi=new RegExp(`^${W.source}(${lr.join("|")})$`);var Yi=new RegExp(`^${W.source} +${W.source} +${W.source}$`);function R(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ie(e){return ar(e,.25)}function ar(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function le(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var ur={"--alpha":fr,"--spacing":cr,"--theme":pr,theme:dr};function fr(e,t,r,...n){let[l,o]=T(r,"/").map(i=>i.trim());if(!l||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${l||"var(--my-color)"} / ${o||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${l||"var(--my-color)"} / ${o||"50%"})\``);return le(l,o)}function cr(e,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 l=e.theme.resolve(null,["--spacing"]);if(!l)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${l} * ${r})`}function pr(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let l=!1;r.endsWith(" inline")&&(l=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(l=!0);let o=e.resolveThemeValue(r,l);if(!o){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return o;let i=n.join(", ");if(i==="initial")return o;if(o==="initial")return i;if(o.startsWith("var(")||o.startsWith("theme(")||o.startsWith("--theme(")){let s=C(o);return gr(s,i),V(s)}return o}function dr(e,t,r,...n){r=mr(r);let l=e.resolveThemeValue(r);if(!l&&n.length>0)return n.join(", ");if(!l)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 l}var wn=new RegExp(Object.keys(ur).map(e=>`${e}\\(`).join("|"));function mr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let l=e[n],o=e[n+1];l==="\\"&&(o===r||o==="\\")?(t+=o,n++):t+=l}return t}function gr(e,t){k(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function Ve(e,t){let r=e.length,n=t.length,l=r<n?r:n;for(let o=0;o<l;o++){let i=e.charCodeAt(o),s=t.charCodeAt(o);if(i>=48&&i<=57&&s>=48&&s<=57){let a=o,u=o+1,c=o,f=o+1;for(i=e.charCodeAt(u);i>=48&&i<=57;)i=e.charCodeAt(++u);for(s=t.charCodeAt(f);s>=48&&s<=57;)s=t.charCodeAt(++f);let p=e.slice(a,u),d=t.slice(c,f),m=Number(p)-Number(d);if(m)return m;if(p<d)return-1;if(p>d)return 1;continue}if(i!==s)return i-s}return e.length-t.length}function lt(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;ne(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let l=e.slice(r,t);for(;ne(e.charCodeAt(t));)t++;if(t===n)return{attribute:l,operator:null,quote:null,value:null,sensitivity:null};let o=null,i=e.charCodeAt(t);if(i===61)o="=",t++;else if((i===126||i===124||i===94||i===36||i===42)&&e.charCodeAt(t+1)===61)o=e[t]+"=",t+=2;else return null;for(;ne(e.charCodeAt(t));)t++;if(t===n)return null;let s="",a=null;if(i=e.charCodeAt(t),i===39||i===34){a=e[t],t++,r=t;for(let c=t;c<n;c++){let f=e.charCodeAt(c);f===i?t=c+1:f===92&&c++}s=e.slice(r,t-1)}else{for(r=t;t<n&&!ne(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;ne(e.charCodeAt(t));)t++;if(t===n)return{attribute:l,operator:o,quote:a,value:s,sensitivity:null};let u=null;switch(e.charCodeAt(t)){case 105:case 73:{u="i",t++;break}case 115:case 83:{u="s",t++;break}default:return null}for(;ne(e.charCodeAt(t));)t++;return t!==n?null:{attribute:l,operator:o,quote:a,value:s,sensitivity:u}}function ne(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var vr=/^[a-zA-Z0-9-_%/\.]+$/;function Ne(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!vr.test(t))return null;return e.map((t,r,n)=>t==="1"&&r!==n.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,n,l)=>`${n}-${l.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function kr(e){return{kind:"combinator",value:e}}function wr(e,t){return{kind:"function",value:e,nodes:t}}function H(e){return{kind:"selector",value:e}}function yr(e){return{kind:"separator",value:e}}function br(e){return{kind:"value",value:e}}function Z(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+Z(r.nodes)+")"}return t}var st=92,xr=93,ut=41,Ar=58,ft=44,Cr=34,Sr=46,ct=62,pt=10,$r=35,dt=91,mt=40,gt=43,Vr=39,ht=32,vt=9,kt=126,Tr=38,Nr=42;function se(e){e=e.replaceAll(`\r
4
4
  `,`
5
- `);let t=[],r=[],o=null,n="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case ct:case pt:case dt:case vt:case ht:case kt:case wt:{if(n.length>0){let p=q(n);o?o.nodes.push(p):t.push(p),n=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==ct&&i!==pt&&i!==dt&&i!==vt&&i!==ht&&i!==kt&&i!==wt));f++);a=f-1;let c=e.slice(u,f),s=c.trim()===","?vr(c):gr(c);o?o.nodes.push(s):t.push(s);break}case gt:{let u=hr(n,[]);if(n="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let f=a+1,c=0;for(let p=a+1;p<e.length;p++){if(i=e.charCodeAt(p),i===gt){c++;continue}if(i===ft){if(c===0){a=p;break}c--}}let s=a;u.nodes.push(kr(e.slice(f,s))),n="",a=s,o?o.nodes.push(u):t.push(u);break}o?o.nodes.push(u):t.push(u),r.push(u),o=u;break}case ft:{let u=r.pop();if(n.length>0){let f=q(n);u.nodes.push(f),n=""}r.length>0?o=r[r.length-1]:o=null;break}case xr:case yr:case Ar:{if(n.length>0){let u=q(n);o?o.nodes.push(u):t.push(u)}n=e[a];break}case mt:{if(n.length>0){let c=q(n);o?o.nodes.push(c):t.push(c)}n="";let u=a,f=0;for(let c=a+1;c<e.length;c++){if(i=e.charCodeAt(c),i===mt){f++;continue}if(i===wr){if(f===0){a=c;break}f--}}n+=e.slice(u,a+1);break}case Cr:case br:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===ut)f+=1;else if(i===l){a=f;break}n+=e.slice(u,a+1);break}case Vr:case Sr:{if(n.length>0){let u=q(n);o?o.nodes.push(u):t.push(u),n=""}o?o.nodes.push(q(e[a])):t.push(q(e[a]));break}case ut:{n+=e[a]+e[a+1],a+=1;break}default:n+=e[a]}}return n.length>0&&t.push(q(n)),t}var $r=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,se=new g(e=>{let t=$r.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let o=t.groups?.unit;if(o===void 0)return null;let n=Number(r);return Number.isNaN(n)?null:[n,o]});var yt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,Z=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[F(".x",[E("@apply",t)])];return Nr(e,()=>{for(let n of e.parseCandidate(t))e.compileAstNodes(n,1);ue(r,e)}),A(r,(n,{replaceWith:i})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?i([]):n.value.includes("%")&&(yt.lastIndex=0,n.value=n.value.replaceAll(yt,a=>`${Number(a.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?i(n.nodes):n.kind==="comment"?i([]):n.kind==="at-rule"&&n.name==="@property"&&i([])}),A(r,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let i=!1,a=x(n.value),l=new Set;N(a,(u,{replaceWith:f})=>{if(u.kind!=="function"||u.value!=="var"||u.nodes.length!==1&&u.nodes.length<3)return;let c=u.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let s=e.resolveThemeValue(c);if(!l.has(c)&&(l.add(c),s!==void 0&&(u.nodes.length===1&&(i=!0,u.nodes.push(...x(`,${s}`))),u.nodes.length>=3))){let p=$(u.nodes),m=`${u.nodes[0].value},${s}`;p===m&&(i=!0,f(x(s)))}}),i&&(n.value=$(a))}if(n.value.includes("calc")){let i=!1,a=x(n.value);N(a,(l,{replaceWith:u})=>{if(l.kind!=="function"||l.value!=="calc"||l.nodes.length!==5||l.nodes[2].kind!=="word"&&l.nodes[2].value!=="*")return;let f=se.get(l.nodes[0].value);if(f===null)return;let[c,s]=f,p=Number(l.nodes[4].value);Number.isNaN(p)||(i=!0,u(x(`${c*p}${s}`)))}),i&&(n.value=$(a))}n.value=Ne(n.value)}}),D(r)}catch{return Symbol()}})),Oe=new g(e=>{let t=Z.get(e),r=new g(()=>[]);for(let[o,n]of e.getClassList()){let i=t.get(o);if(typeof i=="string"){r.get(i).push(o);for(let a of n.modifiers){if(te(a))continue;let l=`${o}/${a}`,u=t.get(l);typeof u=="string"&&r.get(u).push(l)}}}return r}),ke=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[F(".x",[E("@apply",`${t}:flex`)])];return ue(r,e),A(r,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let i=ae(n.selector),a=!1;ve(i,(l,{replaceWith:u})=>{l.kind==="separator"&&l.value!==" "?(l.value=l.value.trim(),a=!0):l.kind==="function"&&l.value===":is"?l.nodes.length===1?(a=!0,u(l.nodes)):l.nodes.length===2&&l.nodes[0].kind==="selector"&&l.nodes[0].value==="*"&&l.nodes[1].kind==="selector"&&l.nodes[1].value[0]===":"&&(a=!0,u(l.nodes[1])):l.kind==="function"&&l.value[0]===":"&&l.nodes[0]?.kind==="selector"&&l.nodes[0]?.value[0]===":"&&(a=!0,l.nodes.unshift({kind:"selector",value:"*"}))}),a&&(n.selector=H(i))}}),D(r)}catch{return Symbol()}})),bt=new g(e=>{let t=ke.get(e),r=new g(()=>[]);for(let[o,n]of e.variants.entries())if(n.kind==="static"){let i=t.get(o);if(typeof i!="string")continue;r.get(i).push(o)}return r});function Nr(e,t){let r=e.theme.values.get,o=new Set;e.theme.values.get=n=>{let i=r.call(e.theme.values,n);return i===void 0||i.options&1&&(o.add(i),i.options&=-2),i};try{return t()}finally{e.theme.values.get=r;for(let n of o)n.options|=1}}function j(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function fe(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let o=0;for(;;){let n=r.indexOf("[",o),i=r.indexOf("]",n);if(n===-1||i===-1)break;n>o&&t.push(r.slice(o,n)),t.push(r.slice(n+1,i)),o=i+1}o<=r.length-1&&t.push(r.slice(o))}return t}var jn=new g(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=Pr.get(e),o=Or.get(e);return new g((n,i)=>{for(let a of e.parseCandidate(n)){let l=a.variants.slice().reverse().flatMap(c=>r.get(c)),u=a.important;if(u||l.length>0){let s=i.get(e.printCandidate({...a,variants:[],important:!1}));return e.theme.prefix!==null&&l.length>0&&(s=s.slice(t.length)),l.length>0&&(s=`${l.map(p=>e.printVariant(p)).join(":")}:${s}`),u&&(s+="!"),e.theme.prefix!==null&&l.length>0&&(s=`${t}${s}`),s}let f=o.get(n);if(f!==n)return f}return n})}),Er=[Lr,Zr,Qr,Gr],Pr=new g(e=>new g(t=>{let r=[t];for(let o of Er)for(let n of r.splice(0)){let i=o(e,ee(n));if(Array.isArray(i)){r.push(...i);continue}else r.push(i)}return r})),Rr=[Dr,Ur,Mr,jr,Br,qr,Hr,Yr],Or=new g(e=>new g(t=>{for(let r of e.parseCandidate(t)){let o=it(r);for(let i of Rr)o=i(e,o);let n=e.printCandidate(o);if(t!==n)return n}return t})),_r=["t","tr","r","br","b","bl","l","tl"];function Dr(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return _r.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function Ur(e,t){let r=At.get(e);if(t.kind==="arbitrary"){let[o,n]=r(t.value,t.modifier===null?1:0);o!==t.value&&(t.value=o,n!==null&&(t.modifier=n))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[o,n]=r(t.value.value,t.modifier===null?1:0);o!==t.value.value&&(t.value.value=o,n!==null&&(t.modifier=n))}return t}function Lr(e,t){let r=At.get(e),o=be(t);for(let[n]of o)if(n.kind==="arbitrary"){let[i]=r(n.selector,2);i!==n.selector&&(n.selector=i)}else if(n.kind==="functional"&&n.value?.kind==="arbitrary"){let[i]=r(n.value.value,2);i!==n.value.value&&(n.value.value=i)}return t}var At=new g(e=>{return t(e);function t(r){function o(l,u=0){let f=x(l);if(u&2)return[we(f,a),null];let c=0,s=0;if(N(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,N(d.nodes,h=>h.kind==="separator"&&h.value.includes(",")?2:h.kind==="separator"&&h.value.trim()==="/"?(s+=1,2):1))}),c===0)return[l,null];if(s===0)return[we(f,i),null];if(s>1)return[we(f,a),null];let p=null;return[we(f,(d,h)=>{let V=C(d,"/").map(S=>S.trim());if(V.length>2)return null;if(f.length===1&&V.length===2&&u&1){let[S,b]=V;if(/^\d+%$/.test(b))p={kind:"named",value:b.slice(0,-1)};else if(/^0?\.\d+$/.test(b)){let w=Number(b)*100;p={kind:Number.isInteger(w)?"named":"arbitrary",value:w.toString()}}else p={kind:"arbitrary",value:b};d=S}return i(d,h)||a(d,h)}),p]}function n(l,u=!0){let f=`--${Pe(fe(l))}`;return r.theme.get([f])?u&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function i(l,u){let f=n(l);if(f)return u?`var(${f}, ${u})`:`var(${f})`;let c=fe(l);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let s=c[1];return te(s)?`--spacing(${s})`:null}return null}function a(l,u){let f=C(l,"/").map(p=>p.trim());l=f.shift();let c=n(l,!1);if(!c)return null;let s=f.length>0?`/${f.join("/")}`:"";return u?`--theme(${c}${s}, ${u})`:`--theme(${c}${s})`}return o}});function we(e,t){return N(e,(r,{parent:o,replaceWith:n})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let i=r.nodes[0];if(i.kind!=="word")return;let a=i.value,l=1;for(let c=l;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)a+=$([r.nodes[c]]),l=c+1;a=Ir(a);let u=r.nodes.slice(l+1),f=u.length>0?t(a,$(u)):t(a);if(f===null)return;if(o){let c=o.nodes.indexOf(r)-1;for(;c!==-1;){let s=o.nodes[c];if(s.kind==="separator"&&s.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(s.value.trim())&&(f=`(${f})`);break}}n(x(f))}}),$(e)}function Ir(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let o=1;o<e.length-1;o++){let n=e[o],i=e[o+1];n==="\\"&&(i===r||i==="\\")?(t+=i,o++):t+=n}return t}function*be(e){function*t(r,o=null){yield[r,o],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function W(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Kr(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var zr=new g(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=se.get(t);if(!r)return null;let[o,n]=r;return new g(i=>{let a=se.get(i);if(!a)return null;let[l,u]=a;return u!==n?null:l/o})});function Mr(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Oe.get(e),o=Z.get(e),n=e.printCandidate(t),i=o.get(n);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(o.get(u)===i&&Fr(e,t,l))return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=o.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of W(e,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let s=zr.get(e)?.get(c)??null,p="";s!==null&&s<0&&(p="-",s=Math.abs(s));for(let m of Array.from(e.utilities.keys("functional")).sort((d,h)=>+(d[0]==="-")-+(h[0]==="-"))){p&&(m=`${p}${m}`);for(let d of W(e,`${m}-${c}`))yield d;if(u.modifier)for(let d of W(e,`${m}-${c}${u.modifier}`))yield d;if(s!==null){for(let d of W(e,`${m}-${s}`))yield d;if(u.modifier)for(let d of W(e,`${m}-${s}${$e(u.modifier)}`))yield d}for(let d of W(e,`${m}-[${c}]`))yield d;if(u.modifier)for(let d of W(e,`${m}-[${c}]${$e(u.modifier)}`))yield d}}}}}function Fr(e,t,r){let o=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?o=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(o=t.value),o===null)return!0;let n=e.candidatesToCss([e.printCandidate(r)]).join(`
6
- `),i=!0;return N(x(o),a=>{if(a.kind==="function"&&a.value==="var"){let l=a.nodes[0].value;if(!new RegExp(`var\\(${l}[,)]\\s*`,"g").test(n)||n.includes(`${l}:`))return i=!1,2}}),i}function jr(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Oe.get(e),o=Z.get(e),n=e.printCandidate(t),i=o.get(n);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(o.get(u)===i)return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=o.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of W(e,f[0]))yield c}}}var Wr=new Map([["order-none","order-0"]]);function Br(e,t){let r=Z.get(e),o=Kr(e,t),n=Wr.get(o)??null;if(n===null)return t;let i=r.get(o);if(typeof i!="string")return t;let a=r.get(n);if(typeof a!="string"||i!==a)return t;let[l]=W(e,n);return l}function Gr(e,t){let r=ke.get(e),o=bt.get(e),n=be(t);for(let[i]of n){if(i.kind==="compound")continue;let a=e.printVariant(i),l=r.get(a);if(typeof l!="string")continue;let u=o.get(l);if(u.length!==1)continue;let f=u[0],c=e.parseVariant(f);c!==null&&j(i,c)}return t}function qr(e,t){let r=Z.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let o=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(o)&&(t.value.dataType=null)}return t}function Hr(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=Z.get(e),o=r.get(e.printCandidate(t));if(o===null)return t;for(let n of Ct(t))if(r.get(e.printCandidate({...t,value:n}))===o)return t.value=n,t;return t}function Zr(e,t){let r=be(t);for(let[o]of r)if(o.kind==="functional"&&o.root==="data"&&o.value?.kind==="arbitrary"&&!o.value.value.includes("="))o.value={kind:"named",value:o.value.value};else if(o.kind==="functional"&&o.root==="aria"&&o.value?.kind==="arbitrary"&&(o.value.value.endsWith("=true")||o.value.value.endsWith('="true"')||o.value.value.endsWith("='true'"))){let[n,i]=C(o.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.length-1]==="*")continue;o.value={kind:"named",value:o.value.value.slice(0,o.value.value.indexOf("="))}}else o.kind==="functional"&&o.root==="supports"&&o.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(o.value.value)&&(o.value={kind:"named",value:o.value.value});return t}function*Ct(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&te(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[i,a]=t.split("/");T(i)&&T(a)&&(yield{kind:"named",value:i,fraction:`${i}/${a}`})}let o=new Set;for(let i of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))o.add(i[0].trim());let n=Array.from(o).sort((i,a)=>i.length-a.length);for(let i of n)yield*Ct(e,i,r)}function xt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ye(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Qr(e,t){let r=[t],o=ke.get(e),n=be(t);for(let[i,a]of n)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let l=ae(i.selector.trim());if(!xt(l))continue;if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&l[2].value==="*"){j(i,e.parseVariant("*"));continue}if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="*"){j(i,e.parseVariant("**"));continue}if(a===null&&l.length===3&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="&"){l.pop(),l.pop(),j(i,e.parseVariant(`in-[${H(l)}]`));continue}if(a===null&&l[0].kind==="selector"&&(l[0].value==="@media"||l[0].value==="@supports")){let s=o.get(e.printVariant(i)),p=x(H(l)),m=!1;if(N(p,(d,{replaceWith:h})=>{d.kind==="word"&&d.value==="not"&&(m=!0,h([]))}),p=x($(p)),N(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${$(p)}]`);if(d===null)continue;let h=o.get(e.printVariant(d));if(s===h){j(i,d);continue}}}let u=null;a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&ye(l[2])&&(l=[l[2]],u=e.parseVariant("*")),a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&ye(l[2])&&(l=[l[2]],u=e.parseVariant("**"));let f=l.filter(s=>!(s.kind==="selector"&&s.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!xt(c.nodes)||c.nodes.length!==1||!ye(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let s=c,p=!1;if(s.kind==="function"&&s.value===":not"){if(p=!0,s.nodes.length!==1||s.nodes[0].kind!=="selector"&&s.nodes[0].kind!=="function"||s.nodes[0].value[0]!==":")continue;s=s.nodes[0]}let m=(h=>{if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[V,S]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(h===V&&s.kind==="function"&&s.nodes.length===1)return s.nodes.length===1&&s.nodes[0].kind==="value"&&T(s.nodes[0].value)?`${S}-${s.nodes[0].value}`:`${S}-[${H(s.nodes)}]`;if(p){let V=o.get(e.printVariant(i)),S=o.get(`not-[${h}]`);if(V===S)return`[&${h}]`}return null})(s.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;j(i,d)}else if(ye(c)){let s=at(c.value);if(s===null)continue;if(s.attribute.startsWith("data-")){let p=s.attribute.slice(5);j(i,{kind:"functional",root:"data",modifier:null,value:s.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}else if(s.attribute.startsWith("aria-")){let p=s.attribute.slice(5);j(i,{kind:"functional",root:"aria",modifier:null,value:s.value===null?{kind:"arbitrary",value:p}:s.operator==="="&&s.value==="true"&&s.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${s.attribute}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function Yr(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=Z.get(e),o=r.get(e.printCandidate(t)),n=t.modifier;if(o===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let i={kind:"named",value:n.value.endsWith("%")?n.value.includes(".")?`${Number(n.value.slice(0,-1))}`:n.value.slice(0,-1):n.value,fraction:null};if(o===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}{let i={kind:"named",value:`${parseFloat(n.value)*100}`,fraction:null};if(o===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}return t}function ce(e,t,{onInvalidCandidate:r,respectImportant:o}={}){let n=new Map,i=[],a=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}a.set(f,c)}let l=0;(o??!0)&&(l|=1);let u=t.getVariantOrder();for(let[f,c]of a){let s=!1;for(let p of c){let m=t.compileAstNodes(p,l);if(m.length!==0){s=!0;for(let{node:d,propertySort:h}of m){let V=0n;for(let S of p.variants)V|=1n<<BigInt(u.get(S));n.set(d,{properties:h,variants:V,candidate:f}),i.push(d)}}}s||r?.(f)}return i.sort((f,c)=>{let s=n.get(f),p=n.get(c);if(s.variants-p.variants!==0n)return Number(s.variants-p.variants);let m=0;for(;m<s.properties.order.length&&m<p.properties.order.length&&s.properties.order[m]===p.properties.order[m];)m+=1;return(s.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-s.properties.count||Te(s.candidate,p.candidate)}),{astNodes:i,nodeSorting:n}}function ue(e,t){let r=0,o=L("&",e),n=new Set,i=new g(()=>new Set),a=new g(()=>new Set);A([o],(s,{parent:p,path:m})=>{if(s.kind==="at-rule"){if(s.name==="@keyframes")return A(s.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(s.name==="@utility"){let d=s.params.replace(/-\*$/,"");a.get(d).add(s),A(s.nodes,h=>{if(!(h.kind!=="at-rule"||h.name!=="@apply")){n.add(s);for(let V of St(h,t))i.get(s).add(V)}});return}if(s.name==="@apply"){if(p===null)return;r|=1,n.add(p);for(let d of St(s,t))for(let h of m)h!==s&&n.has(h)&&i.get(h).add(d)}}});let l=new Set,u=[],f=new Set;function c(s,p=[]){if(!l.has(s)){if(f.has(s)){let m=p[(p.indexOf(s)+1)%p.length];throw s.kind==="at-rule"&&s.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&A(s.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let h=d.params.split(/\s+/g);for(let V of h)for(let S of t.parseCandidate(V))switch(S.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===S.root)throw new Error(`You cannot \`@apply\` the \`${V}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
5
+ `);let t=[],r=[],n=null,l="",o;for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);switch(s){case ft:case ct:case pt:case ht:case gt:case vt:case kt:{if(l.length>0){let p=H(l);n?n.nodes.push(p):t.push(p),l=""}let a=i,u=i+1;for(;u<e.length&&(o=e.charCodeAt(u),!(o!==ft&&o!==ct&&o!==pt&&o!==ht&&o!==gt&&o!==vt&&o!==kt));u++);i=u-1;let c=e.slice(a,u),f=c.trim()===","?yr(c):kr(c);n?n.nodes.push(f):t.push(f);break}case mt:{let a=wr(l,[]);if(l="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=i+1,c=0;for(let p=i+1;p<e.length;p++){if(o=e.charCodeAt(p),o===mt){c++;continue}if(o===ut){if(c===0){i=p;break}c--}}let f=i;a.nodes.push(br(e.slice(u,f))),l="",i=f,n?n.nodes.push(a):t.push(a);break}n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case ut:{let a=r.pop();if(l.length>0){let u=H(l);a.nodes.push(u),l=""}r.length>0?n=r[r.length-1]:n=null;break}case Sr:case Ar:case $r:{if(l.length>0){let a=H(l);n?n.nodes.push(a):t.push(a)}l=e[i];break}case dt:{if(l.length>0){let c=H(l);n?n.nodes.push(c):t.push(c)}l="";let a=i,u=0;for(let c=i+1;c<e.length;c++){if(o=e.charCodeAt(c),o===dt){u++;continue}if(o===xr){if(u===0){i=c;break}u--}}l+=e.slice(a,i+1);break}case Vr:case Cr:{let a=i;for(let u=i+1;u<e.length;u++)if(o=e.charCodeAt(u),o===st)u+=1;else if(o===s){i=u;break}l+=e.slice(a,i+1);break}case Tr:case Nr:{if(l.length>0){let a=H(l);n?n.nodes.push(a):t.push(a),l=""}n?n.nodes.push(H(e[i])):t.push(H(e[i]));break}case st:{l+=e[i]+e[i+1],i+=1;break}default:l+=e[i]}}return l.length>0&&t.push(H(l)),t}var Er=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,X=new h(e=>{let t=Er.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=Number(r);if(Number.isNaN(n))return null;let l=t.groups?.unit;return l===void 0?[n,null]:[n,l]});function wt(e,t=null){let r=!1,n=C(e);return k(n,{exit(l){if(l.kind==="word"&&l.value!=="0"){let o=Rr(l.value,t);return o===null||o===l.value?void 0:(r=!0,v.ReplaceSkip(_(o)))}else if(l.kind==="function"&&(l.value==="calc"||l.value==="")){if(l.nodes.length!==5)return;let o=X.get(l.nodes[0].value),i=l.nodes[2].value,s=X.get(l.nodes[4].value);if(i==="*"&&(o?.[0]===0&&o?.[1]===null||s?.[0]===0&&s?.[1]===null))return r=!0,v.ReplaceSkip(_("0"));if(o===null||s===null)return;switch(i){case"*":{if(o[1]===s[1]||o[1]===null&&s[1]!==null||o[1]!==null&&s[1]===null)return r=!0,v.ReplaceSkip(_(`${o[0]*s[0]}${o[1]??""}`));break}case"+":{if(o[1]===s[1])return r=!0,v.ReplaceSkip(_(`${o[0]+s[0]}${o[1]??""}`));break}case"-":{if(o[1]===s[1])return r=!0,v.ReplaceSkip(_(`${o[0]-s[0]}${o[1]??""}`));break}case"/":{if(s[0]!==0&&(o[1]===null&&s[1]===null||o[1]!==null&&s[1]===null))return r=!0,v.ReplaceSkip(_(`${o[0]/s[0]}${o[1]??""}`));break}}}}}),r?V(n):e}function Rr(e,t=null){let r=X.get(e);if(r===null)return null;let[n,l]=r;if(l===null)return`${n}`;if(n===0&&it(e))return"0";switch(l.toLowerCase()){case"in":return`${n*96}px`;case"cm":return`${n*96/2.54}px`;case"mm":return`${n*96/2.54/10}px`;case"q":return`${n*96/2.54/10/4}px`;case"pc":return`${n*96/6}px`;case"pt":return`${n*96/72}px`;case"rem":return t!==null?`${n*t}px`:null;case"grad":return`${n*.9}deg`;case"rad":return`${n*180/Math.PI}deg`;case"turn":return`${n*360}deg`;case"ms":return`${n/1e3}s`;case"khz":return`${n*1e3}hz`;default:return`${n}${l}`}}var yt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,Q=new h(e=>{let{rem:t,designSystem:r}=e;return new h(n=>{try{n=r.theme.prefix&&!n.startsWith(r.theme.prefix)?`${r.theme.prefix}:${n}`:n;let l=[B(".x",[P("@apply",n)])];return Pr(r,()=>{for(let i of r.parseCandidate(n))r.compileAstNodes(i,1);ue(l,r)}),k(l,i=>{if(i.kind==="declaration"){if(i.value===void 0||i.property==="--tw-sort")return v.Replace([]);i.value.includes("%")&&(yt.lastIndex=0,i.value=i.value.replaceAll(yt,s=>`${Number(s.slice(0,-1))}%`))}else{if(i.kind==="context"||i.kind==="at-root")return v.Replace(i.nodes);if(i.kind==="comment")return v.Replace([]);if(i.kind==="at-rule"&&i.name==="@property")return v.Replace([])}}),k(l,i=>{if(i.kind==="declaration"&&i.value!==void 0){if(i.value.includes("var(")){let s=!1,a=C(i.value),u=new Set;k(a,c=>{if(c.kind!=="function"||c.value!=="var"||c.nodes.length!==1&&c.nodes.length<3)return;let f=c.nodes[0].value;r.theme.prefix&&f.startsWith(`--${r.theme.prefix}-`)&&(f=f.slice(`--${r.theme.prefix}-`.length));let p=r.resolveThemeValue(f);if(!u.has(f)&&(u.add(f),p!==void 0&&(c.nodes.length===1&&(s=!0,c.nodes.push(...C(`,${p}`))),c.nodes.length>=3))){let d=V(c.nodes),m=`${c.nodes[0].value},${p}`;if(d===m)return s=!0,v.Replace(C(p))}}),s&&(i.value=V(a))}i.value=wt(i.value,t),i.value=$e(i.value)}}),L(l)}catch{return Symbol()}})}),Re=new h(e=>{let{designSystem:t}=e,r=Q.get(e),n=new h(()=>[]);for(let[l,o]of t.getClassList()){let i=r.get(l);if(typeof i=="string"){if(l[0]==="-"&&l.endsWith("-0")){let s=r.get(l.slice(1));if(typeof s=="string"&&i===s)continue}n.get(i).push(l);for(let s of o.modifiers){if(ie(s))continue;let a=`${l}/${s}`,u=r.get(a);typeof u=="string"&&n.get(u).push(a)}}}return n}),he=new h(e=>{let{designSystem:t}=e;return new h(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let n=[B(".x",[P("@apply",`${r}:flex`)])];return ue(n,t),k(n,o=>{if(o.kind==="at-rule"&&o.params.includes(" "))o.params=o.params.replaceAll(" ","");else if(o.kind==="rule"){let i=se(o.selector),s=!1;k(i,a=>{if(a.kind==="separator"&&a.value!==" ")a.value=a.value.trim(),s=!0;else if(a.kind==="function"&&a.value===":is"){if(a.nodes.length===1)return s=!0,v.Replace(a.nodes);if(a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":")return s=!0,v.Replace(a.nodes[1])}else a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(s=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),s&&(o.selector=Z(i))}}),L(n)}catch{return Symbol()}})}),bt=new h(e=>{let{designSystem:t}=e,r=he.get(e),n=new h(()=>[]);for(let[l,o]of t.variants.entries())if(o.kind==="static"){let i=r.get(l);if(typeof i!="string")continue;n.get(i).push(l)}return n});function Pr(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=l=>{let o=r.call(e.theme.values,l);return o===void 0||o.options&1&&(n.add(o),o.options&=-2),o};try{return t()}finally{e.theme.values.get=r;for(let l of n)l.options|=1}}function G(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function fe(e){let t=[];for(let r of T(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let l=r.indexOf("[",n),o=r.indexOf("]",l);if(l===-1||o===-1)break;l>n&&t.push(r.slice(n,l)),t.push(r.slice(l+1,o)),n=o+1}n<=r.length-1&&t.push(r.slice(n))}return t}var io=new h(e=>new h((t=null)=>({designSystem:e,rem:t})));var no=new h(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",n=_r.get(e),l=Lr.get(e);return new h((o,i)=>{for(let s of t.parseCandidate(o)){let a=s.variants.slice().reverse().flatMap(f=>n.get(f)),u=s.important;if(u||a.length>0){let p=i.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(p=p.slice(r.length)),a.length>0&&(p=`${a.map(d=>t.printVariant(d)).join(":")}:${p}`),u&&(p+="!"),t.theme.prefix!==null&&a.length>0&&(p=`${r}${p}`),p}let c=l.get(o);if(c!==o)return c}return o})}),Ur=[Mr,Xr,ei,Qr],_r=new h(e=>new h(t=>{let r=[t];for(let n of Ur)for(let l of r.splice(0)){let o=n(re(l),e);if(Array.isArray(o)){r.push(...o);continue}else r.push(o)}return r})),Dr=[Kr,zr,Br,qr,Zr,Yr,Jr,ti],Lr=new h(e=>{let t=e.designSystem;return new h(r=>{for(let n of t.parseCandidate(r)){let l=rt(n);for(let i of Dr)l=i(l,e);let o=t.printCandidate(l);if(r!==o)return o}return r})}),Ir=["t","tr","r","br","b","bl","l","tl"];function Kr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Ir.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function zr(e,t){let r=At.get(t.designSystem);if(e.kind==="arbitrary"){let[n,l]=r(e.value,e.modifier===null?1:0);n!==e.value&&(e.value=n,l!==null&&(e.modifier=l))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[n,l]=r(e.value.value,e.modifier===null?1:0);n!==e.value.value&&(e.value.value=n,l!==null&&(e.modifier=l))}return e}function Mr(e,t){let r=At.get(t.designSystem),n=we(e);for(let[l]of n)if(l.kind==="arbitrary"){let[o]=r(l.selector,2);o!==l.selector&&(l.selector=o)}else if(l.kind==="functional"&&l.value?.kind==="arbitrary"){let[o]=r(l.value.value,2);o!==l.value.value&&(l.value.value=o)}return e}var At=new h(e=>{return t(e);function t(r){function n(s,a=0){let u=C(s);if(a&2)return[ve(u,i),null];let c=0,f=0;if(k(u,m=>{m.kind==="function"&&m.value==="theme"&&(c+=1,k(m.nodes,g=>g.kind==="separator"&&g.value.includes(",")?v.Stop:g.kind==="word"&&g.value==="/"?(f+=1,v.Stop):v.Skip))}),c===0)return[s,null];if(f===0)return[ve(u,o),null];if(f>1)return[ve(u,i),null];let p=null;return[ve(u,(m,g)=>{let x=T(m,"/").map($=>$.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[$,w]=x;if(/^\d+%$/.test(w))p={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let A=Number(w)*100;p={kind:Number.isInteger(A)?"named":"arbitrary",value:A.toString()}}else p={kind:"arbitrary",value:w};m=$}return o(m,g)||i(m,g)}),p]}function l(s,a=!0){let u=`--${Ne(fe(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function o(s,a){let u=l(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let c=fe(s);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let f=c[1];return ie(f)?`--spacing(${f})`:null}return null}function i(s,a){let u=T(s,"/").map(p=>p.trim());s=u.shift();let c=l(s,!1);if(!c)return null;let f=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${c}${f}, ${a})`:`--theme(${c}${f})`}return n}});function ve(e,t){return k(e,(r,n)=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let l=r.nodes[0];if(l.kind!=="word")return;let o=l.value,i=1;for(let u=i;u<r.nodes.length&&!r.nodes[u].value.includes(",");u++)o+=V([r.nodes[u]]),i=u+1;o=Fr(o);let s=r.nodes.slice(i+1),a=s.length>0?t(o,V(s)):t(o);if(a===null)return;if(n.parent){let u=n.parent.nodes.indexOf(r)-1;for(;u!==-1;){let c=n.parent.nodes[u];if(c.kind==="separator"&&c.value.trim()===""){u-=1;continue}/^[-+*/]$/.test(c.value.trim())&&(a=`(${a})`);break}}return v.Replace(C(a))}}),V(e)}function Fr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let l=e[n],o=e[n+1];l==="\\"&&(o===r||o==="\\")?(t+=o,n++):t+=l}return t}function*we(e){function*t(r,n=null){yield[r,n],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function q(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function jr(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Wr=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=X.get(t);if(!r)return null;let[n,l]=r;return new h(o=>{let i=X.get(o);if(!i)return null;let[s,a]=i;return a!==l?null:s/n})});function Br(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,n=Re.get(t),l=Q.get(t),o=r.printCandidate(e),i=l.get(o);if(typeof i!="string")return e;for(let a of s(i,e)){let u=r.printCandidate(a);if(l.get(u)===i&&Gr(r,e,a))return a}return e;function*s(a,u){let c=n.get(a);if(!(c.length>1)){if(c.length===0&&u.modifier){let f={...u,modifier:null},p=l.get(r.printCandidate(f));if(typeof p=="string")for(let d of s(p,f))yield Object.assign({},d,{modifier:u.modifier})}if(c.length===1)for(let f of q(r,c[0]))yield f;else if(c.length===0){let f=u.kind==="arbitrary"?u.value:u.value?.value??null;if(f===null)return;let p=Wr.get(r)?.get(f)??null,d="";p!==null&&p<0&&(d="-",p=Math.abs(p));for(let m of Array.from(r.utilities.keys("functional")).sort((g,x)=>+(g[0]==="-")-+(x[0]==="-"))){d&&(m=`${d}${m}`);for(let g of q(r,`${m}-${f}`))yield g;if(u.modifier)for(let g of q(r,`${m}-${f}${u.modifier}`))yield g;if(p!==null){for(let g of q(r,`${m}-${p}`))yield g;if(u.modifier)for(let g of q(r,`${m}-${p}${Se(u.modifier)}`))yield g}for(let g of q(r,`${m}-[${f}]`))yield g;if(u.modifier)for(let g of q(r,`${m}-[${f}]${Se(u.modifier)}`))yield g}}}}}function Gr(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let l=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),o=!0;return k(C(n),i=>{if(i.kind==="function"&&i.value==="var"){let s=i.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(l)||l.includes(`${s}:`))return o=!1,v.Stop}}),o}function qr(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,n=Re.get(t),l=Q.get(t),o=r.printCandidate(e),i=l.get(o);if(typeof i!="string")return e;for(let a of s(i,e)){let u=r.printCandidate(a);if(l.get(u)===i)return a}return e;function*s(a,u){let c=n.get(a);if(!(c.length>1)){if(c.length===0&&u.modifier){let f={...u,modifier:null},p=l.get(r.printCandidate(f));if(typeof p=="string")for(let d of s(p,f))yield Object.assign({},d,{modifier:u.modifier})}if(c.length===1)for(let f of q(r,c[0]))yield f}}}var Hr=new Map([["order-none","order-0"],["break-words","wrap-break-word"]]);function Zr(e,t){let r=t.designSystem,n=Q.get(t),l=jr(r,e),o=Hr.get(l)??null;if(o===null)return e;let i=n.get(l);if(typeof i!="string")return e;let s=n.get(o);if(typeof s!="string"||i!==s)return e;let[a]=q(r,o);return a}function Qr(e,t){let r=t.designSystem,n=he.get(t),l=bt.get(t),o=we(e);for(let[i]of o){if(i.kind==="compound")continue;let s=r.printVariant(i),a=n.get(s);if(typeof a!="string")continue;let u=l.get(a);if(u.length!==1)continue;let c=u[0],f=r.parseVariant(c);f!==null&&G(i,f)}return e}function Yr(e,t){let r=t.designSystem,n=Q.get(t);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let l=r.printCandidate({...e,value:{...e.value,dataType:null}});n.get(r.printCandidate(e))===n.get(l)&&(e.value.dataType=null)}return e}function Jr(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,n=Q.get(t),l=n.get(r.printCandidate(e));if(l===null)return e;for(let o of Ct(e))if(n.get(r.printCandidate({...e,value:o}))===l)return e.value=o,e;return e}function Xr(e){let t=we(e);for(let[r]of t)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[n,l]=T(r.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.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*Ct(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&ie(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[o,i]=t.split("/");R(o)&&R(i)&&(yield{kind:"named",value:o,fraction:`${o}/${i}`})}let n=new Set;for(let o of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(o[0].trim());let l=Array.from(n).sort((o,i)=>o.length-i.length);for(let o of l)yield*Ct(e,o,r)}function xt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ke(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function ei(e,t){let r=[e],n=t.designSystem,l=he.get(t),o=we(e);for(let[i,s]of o)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let a=se(i.selector.trim());if(!xt(a))continue;if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){G(i,n.parseVariant("*"));continue}if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){G(i,n.parseVariant("**"));continue}if(s===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),G(i,n.parseVariant(`in-[${Z(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let p=l.get(n.printVariant(i)),d=C(Z(a)),m=!1;if(k(d,g=>{if(g.kind==="word"&&g.value==="not")return m=!0,v.Replace([])}),d=C(V(d)),k(d,g=>{g.kind==="separator"&&g.value!==" "&&g.value.trim()===""&&(g.value=" ")}),m){let g=n.parseVariant(`not-[${V(d)}]`);if(g===null)continue;let x=l.get(n.printVariant(g));if(p===x){G(i,g);continue}}}let u=null;s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&ke(a[2])&&(a=[a[2]],u=n.parseVariant("*")),s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&ke(a[2])&&(a=[a[2]],u=n.parseVariant("**"));let c=a.filter(p=>!(p.kind==="selector"&&p.value.trim()==="&"));if(c.length!==1)continue;let f=c[0];if(f.kind==="function"&&f.value===":is"){if(!xt(f.nodes)||f.nodes.length!==1||!ke(f.nodes[0]))continue;f=f.nodes[0]}if(f.kind==="function"&&f.value[0]===":"||f.kind==="selector"&&f.value[0]===":"){let p=f,d=!1;if(p.kind==="function"&&p.value===":not"){if(d=!0,p.nodes.length!==1||p.nodes[0].kind!=="selector"&&p.nodes[0].kind!=="function"||p.nodes[0].value[0]!==":")continue;p=p.nodes[0]}let m=(x=>{if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[$,w]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(x===$&&p.kind==="function"&&p.nodes.length===1)return p.nodes.length===1&&p.nodes[0].kind==="value"&&R(p.nodes[0].value)?`${w}-${p.nodes[0].value}`:`${w}-[${Z(p.nodes)}]`;if(d){let $=l.get(n.printVariant(i)),w=l.get(`not-[${x}]`);if($===w)return`[&${x}]`}return null})(p.value);if(m===null)continue;d&&(m=`not-${m}`);let g=n.parseVariant(m);if(g===null)continue;G(i,g)}else if(ke(f)){let p=lt(f.value);if(p===null)continue;if(p.attribute.startsWith("data-")){let d=p.attribute.slice(5);G(i,{kind:"functional",root:"data",modifier:null,value:p.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}else if(p.attribute.startsWith("aria-")){let d=p.attribute.slice(5);G(i,{kind:"functional",root:"aria",modifier:null,value:p.value===null?{kind:"arbitrary",value:d}:p.operator==="="&&p.value==="true"&&p.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${p.attribute}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function ti(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,n=Q.get(t),l=n.get(r.printCandidate(e)),o=e.modifier;if(l===n.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let i={kind:"named",value:o.value.endsWith("%")?o.value.includes(".")?`${Number(o.value.slice(0,-1))}`:o.value.slice(0,-1):o.value,fraction:null};if(l===n.get(r.printCandidate({...e,modifier:i})))return e.modifier=i,e}{let i={kind:"named",value:`${parseFloat(o.value)*100}`,fraction:null};if(l===n.get(r.printCandidate({...e,modifier:i})))return e.modifier=i,e}return e}function ce(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let l=new Map,o=[],i=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let c=t.parseCandidate(u);if(c.length===0){r?.(u);continue}i.set(u,c)}let s=0;(n??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,c]of i){let f=!1;for(let p of c){let d=t.compileAstNodes(p,s);if(d.length!==0){f=!0;for(let{node:m,propertySort:g}of d){let x=0n;for(let $ of p.variants)x|=1n<<BigInt(a.get($));l.set(m,{properties:g,variants:x,candidate:u}),o.push(m)}}}f||r?.(u)}return o.sort((u,c)=>{let f=l.get(u),p=l.get(c);if(f.variants-p.variants!==0n)return Number(f.variants-p.variants);let d=0;for(;d<f.properties.order.length&&d<p.properties.order.length&&f.properties.order[d]===p.properties.order[d];)d+=1;return(f.properties.order[d]??1/0)-(p.properties.order[d]??1/0)||p.properties.count-f.properties.count||Ve(f.candidate,p.candidate)}),{astNodes:o,nodeSorting:l}}function ue(e,t){let r=0,n=z("&",e),l=new Set,o=new h(()=>new Set),i=new h(()=>new Set);k([n],(f,p)=>{if(f.kind==="at-rule"){if(f.name==="@keyframes")return k(f.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),v.Skip;if(f.name==="@utility"){let d=f.params.replace(/-\*$/,"");i.get(d).add(f),k(f.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){l.add(f);for(let g of $t(m,t))o.get(f).add(g)}});return}if(f.name==="@apply"){if(p.parent===null)return;r|=1,l.add(p.parent);for(let d of $t(f,t))for(let m of p.path())l.has(m)&&o.get(m).add(d)}}});let s=new Set,a=[],u=new Set;function c(f,p=[]){if(!s.has(f)){if(u.has(f)){let d=p[(p.indexOf(f)+1)%p.length];throw f.kind==="at-rule"&&f.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&k(f.nodes,m=>{if(m.kind!=="at-rule"||m.name!=="@apply")return;let g=m.params.split(/\s+/g);for(let x of g)for(let $ of t.parseCandidate(x))switch($.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===$.root)throw new Error(`You cannot \`@apply\` the \`${x}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
7
 
8
- ${D([s])}
8
+ ${L([f])}
9
9
  Relies on:
10
10
 
11
- ${D([m])}`)}f.add(s);for(let m of i.get(s))for(let d of a.get(m))p.push(s),c(d,p),p.pop();l.add(s),f.delete(s),u.push(s)}}for(let s of n)c(s);for(let s of u)"nodes"in s&&A(s.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),h={},V=0;for(let[S,b]of d.entries())S%2===0&&(h[b]=V),V+=b.length;{let S=Object.keys(h),b=ce(S,t,{respectImportant:!1,onInvalidCandidate:k=>{if(t.theme.prefix&&!k.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${k}\`. Did you mean \`${t.theme.prefix}:${k}\`?`);if(t.invalidCandidates.has(k))throw new Error(`Cannot apply utility class \`${k}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let y=C(k,":");if(y.length>1){let O=y.pop();if(t.candidatesToCss([O])[0]){let Y=t.candidatesToCss(y.map(X=>`${X}:[--tw-variant-check:1]`)),G=y.filter((X,Ce)=>Y[Ce]===null);if(G.length>0){if(G.length===1)throw new Error(`Cannot apply utility class \`${k}\` because the ${G.map(X=>`\`${X}\``)} variant does not exist.`);{let X=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${k}\` because the ${X.format(G.map(Ce=>`\`${Ce}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${k}\`. 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 \`${k}\``)}}),w=p.src,ie=b.astNodes.map(k=>{let y=b.nodeSorting.get(k)?.candidate,O=y?h[y]:void 0;if(k=K(k),!w||!y||O===void 0)return A([k],G=>{G.src=w}),k;let Y=[w[0],w[1],w[2]];return Y[1]+=7+O,Y[2]=Y[1]+y.length,A([k],G=>{G.src=Y}),k}),B=[];for(let k of ie)if(k.kind==="rule")for(let y of k.nodes)B.push(y);else B.push(k);m(B)}});return r}function*St(e,t){for(let r of e.params.split(/\s+/g))for(let o of t.parseCandidate(r))switch(o.kind){case"arbitrary":break;case"static":case"functional":yield o.root;break;default:}}var ii=32;var ni=40;function $t(e,t=[]){let r=e,o="";for(let n=5;n<e.length;n++){let i=e.charCodeAt(n);if(i===ii||i===ni){r=e.slice(0,n),o=e.slice(n);break}}return E(r.trim(),o.trim(),t)}var De={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function J(e){return{__BARE_VALUE__:e}}var U=J(e=>{if(T(e.value))return e.value}),P=J(e=>{if(T(e.value))return`${e.value}%`}),Q=J(e=>{if(T(e.value))return`${e.value}px`}),Et=J(e=>{if(T(e.value))return`${e.value}ms`}),Ae=J(e=>{if(T(e.value))return`${e.value}deg`}),ui=J(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),Pt=J(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),fi={accentColor:({theme:e})=>e("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",...ui},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Ae}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),backgroundColor:({theme:e})=>e("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:e})=>e("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:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Q},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:e})=>e("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",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({...De}),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",...U},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},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:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Q}),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:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...U},flexShrink:{0:"0",DEFAULT:"1",...U},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:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("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%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},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",...U},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",...U},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",...U},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",...U},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))",...Pt},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))",...Pt},height:({theme:e})=>({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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...Ae},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...P},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:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...U},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("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",...P},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",...U},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Ae},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},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",...P},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Ae},space:({theme:e})=>e("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:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...U},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Q},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",...Et},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Et},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:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({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",...e("spacing")}),width:({theme:e})=>({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",...e("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",...U}};function Ue(e){let t=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&t.push(n+1);function r(n){let i=0,a=t.length;for(;a>0;){let u=(a|0)>>1,f=i+u;t[f]<=n?(i=f+1,a=a-u-1):a=u}i-=1;let l=n-t[i];return{line:i+1,column:l}}function o({line:n,column:i}){n-=1,n=Math.min(Math.max(n,0),t.length-1);let a=t[n],l=t[n+1]??a;return Math.min(Math.max(a+i,0),l)}return{find:r,findOffset:o}}var ci=64;function F(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function L(e,t=[]){return e.charCodeAt(0)===ci?$t(e,t):F(e,t)}function I(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function xe(e){return{kind:"comment",value:e}}function K(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(K),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 A(e,t,r=[],o={}){for(let n=0;n<e.length;n++){let i=e[n],a=r[r.length-1]??null;if(i.kind==="context"){if(A(i.nodes,t,r,{...o,...i.context})===2)return 2;continue}r.push(i);let l=!1,u=0,f=t(i,{parent:a,context:o,path:r,replaceWith(c){l||(l=!0,Array.isArray(c)?c.length===0?(e.splice(n,1),u=0):c.length===1?(e[n]=c[0],u=1):(e.splice(n,1,...c),u=c.length):(e[n]=c,u=1))}})??0;if(r.pop(),l){f===0?n--:n+=u-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in i){r.push(i);let c=A(i.nodes,t,r,o);if(r.pop(),c===2)return 2}}}function D(e,t){let r=0,o={file:null,code:""};function n(a,l=0){let u="",f=" ".repeat(l);if(a.kind==="declaration"){if(u+=`${f}${a.property}: ${a.value}${a.important?" !important":""};
12
- `,t){r+=f.length;let c=r;r+=a.property.length,r+=2,r+=a.value?.length??0,a.important&&(r+=11);let s=r;r+=2,a.dst=[o,c,s]}}else if(a.kind==="rule"){if(u+=`${f}${a.selector} {
13
- `,t){r+=f.length;let c=r;r+=a.selector.length,r+=1;let s=r;a.dst=[o,c,s],r+=2}for(let c of a.nodes)u+=n(c,l+1);u+=`${f}}
14
- `,t&&(r+=f.length,r+=2)}else if(a.kind==="at-rule"){if(a.nodes.length===0){let c=`${f}${a.name} ${a.params};
15
- `;if(t){r+=f.length;let s=r;r+=a.name.length,r+=1,r+=a.params.length;let p=r;r+=2,a.dst=[o,s,p]}return c}if(u+=`${f}${a.name}${a.params?` ${a.params} `:" "}{
16
- `,t){r+=f.length;let c=r;r+=a.name.length,a.params&&(r+=1,r+=a.params.length),r+=1;let s=r;a.dst=[o,c,s],r+=2}for(let c of a.nodes)u+=n(c,l+1);u+=`${f}}
17
- `,t&&(r+=f.length,r+=2)}else if(a.kind==="comment"){if(u+=`${f}/*${a.value}*/
18
- `,t){r+=f.length;let c=r;r+=2+a.value.length+2;let s=r;a.dst=[o,c,s],r+=1}}else if(a.kind==="context"||a.kind==="at-root")return"";return u}let i="";for(let a of e)i+=n(a,0);return o.code=i,i}var pi=33;function Rt(e,t,r){let o=new g(f=>new e.Input(f.code,{map:r?.input.map,from:f.file??void 0})),n=new g(f=>Ue(f.code)),i=e.root();i.source=r;function a(f){if(!f||!f[0])return;let c=n.get(f[0]),s=c.find(f[1]),p=c.find(f[2]);return{input:o.get(f[0]),start:{line:s.line,column:s.column+1,offset:f[1]},end:{line:p.line,column:p.column+1,offset:f[2]}}}function l(f,c){let s=a(c);s?f.source=s:delete f.source}function u(f,c){if(f.kind==="declaration"){let s=e.decl({prop:f.property,value:f.value??"",important:f.important});l(s,f.src),c.append(s)}else if(f.kind==="rule"){let s=e.rule({selector:f.selector});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="at-rule"){let s=e.atRule({name:f.name.slice(1),params:f.params});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="comment"){let s=e.comment({text:f.value});s.raws.left="",s.raws.right="",l(s,f.src),c.append(s)}else f.kind==="at-root"||f.kind}for(let f of t)u(f,i);return i}function Ot(e){let t=new g(i=>({file:i.file??i.id??null,code:i.css}));function r(i){let a=i.source;if(!a)return;let l=a.input;if(l&&a.start!==void 0&&a.end!==void 0)return[t.get(l),a.start.offset,a.end.offset]}function o(i,a){if(i.type==="decl"){let l=I(i.prop,i.value,i.important);l.src=r(i),a.push(l)}else if(i.type==="rule"){let l=L(i.selector);l.src=r(i),i.each(u=>o(u,l.nodes)),a.push(l)}else if(i.type==="atrule"){let l=E(`@${i.name}`,i.params);l.src=r(i),i.each(u=>o(u,l.nodes)),a.push(l)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==pi)return;let l=xe(i.text);l.src=r(i),a.push(l)}}let n=[];return e.each(i=>o(i,n)),n}var Ke=require("@tailwindcss/node"),de=me(require("path")),Le="'",Ie='"';function ze(){let e=new WeakSet;function t(r){let o=r.root().source?.input.file;if(!o)return;let n=r.source?.input.file;if(!n||e.has(r))return;let i=r.params[0],a=i[0]===Ie&&i[i.length-1]===Ie?Ie:i[0]===Le&&i[i.length-1]===Le?Le:null;if(!a)return;let l=r.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let f=de.default.posix.join((0,Ke.normalizePath)(de.default.dirname(n)),l),c=de.default.posix.dirname((0,Ke.normalizePath)(o)),s=de.default.posix.relative(c,f);s.startsWith(".")||(s="./"+s),r.params=a+u+s+a,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var v=R.env.DEBUG,Me=new _t.default({maxSize:50});function di(e,t,r){let o=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Me.has(o))return Me.get(o);let n={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Me.set(o,n),n}function mi(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",o=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[ze(),{postcssPlugin:"tailwindcss",async Once(n,{result:i,postcss:a}){var d=[];try{let l=Be(d,new R.Instrumentation);let u=i.opts.from??"";let f=u.endsWith(".module.css");v&&l.start(`[@tailwindcss/postcss] ${(0,_.relative)(t,u)}`);{v&&l.start("Quick bail check");let b=!0;if(n.walkAtRules(w=>{if(w.name==="import"||w.name==="reference"||w.name==="theme"||w.name==="variant"||w.name==="config"||w.name==="plugin"||w.name==="apply"||w.name==="tailwind")return b=!1,!1}),b)return;v&&l.end("Quick bail check")}let c=di(a,u,e);let s=_.default.dirname(_.default.resolve(u));let p=c.compiler===null;async function m(){v&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&(0,Dt.clearRequireCache)(c.fullRebuildPaths),c.fullRebuildPaths=[],v&&l.start("PostCSS AST -> Tailwind CSS AST");let b=Ot(n);v&&l.end("PostCSS AST -> Tailwind CSS AST"),v&&l.start("Create compiler");let w=await(0,R.compileAst)(b,{from:i.opts.from,base:s,shouldRewriteUrls:o,onDependency:ie=>c.fullRebuildPaths.push(ie),polyfills:f?R.Polyfills.All^R.Polyfills.AtProperty:R.Polyfills.All});return v&&l.end("Create compiler"),v&&l.end("Setup compiler"),w}try{if(c.compiler??=m(),(await c.compiler).features===R.Features.None)return;let b="incremental";v&&l.start("Register full rebuild paths");{for(let y of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(y),parent:i.opts.from});let k=i.messages.flatMap(y=>y.type!=="dependency"?[]:y.file);k.push(u);for(let y of k){let O=Lt.default.statSync(y,{throwIfNoEntry:!1})?.mtimeMs??null;if(O===null){y===u&&(b="full");continue}c.mtimes.get(y)!==O&&(b="full",c.mtimes.set(y,O))}}v&&l.end("Register full rebuild paths"),b==="full"&&!p&&(c.compiler=m());let w=await c.compiler;if(c.scanner===null||b==="full"){v&&l.start("Setup scanner");let k=(w.root==="none"?[]:w.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...w.root,negated:!1}]).concat(w.sources);c.scanner=new Ut.Scanner({sources:k}),v&&l.end("Setup scanner")}v&&l.start("Scan for candidates");let ie=w.features&R.Features.Utilities?c.scanner.scan():[];if(v&&l.end("Scan for candidates"),w.features&R.Features.Utilities){v&&l.start("Register dependency messages");let k=_.default.resolve(t,u);for(let y of c.scanner.files){let O=_.default.resolve(y);O!==k&&i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:O,parent:i.opts.from})}for(let{base:y,pattern:O}of c.scanner.globs)O==="*"&&t===y||(O===""?i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(y),parent:i.opts.from}):i.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:_.default.resolve(y),glob:O,parent:i.opts.from}));v&&l.end("Register dependency messages")}v&&l.start("Build utilities");let B=w.build(ie);if(v&&l.end("Build utilities"),c.tailwindCssAst!==B)if(r){v&&l.start("Optimization"),v&&l.start("AST -> CSS");let k=D(B);v&&l.end("AST -> CSS"),v&&l.start("Lightning CSS");let y=(0,R.optimize)(k,{minify:typeof r=="object"?r.minify:!0});v&&l.end("Lightning CSS"),v&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=a.parse(y.code,i.opts),v&&l.end("CSS -> PostCSS AST"),v&&l.end("Optimization")}else v&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Rt(a,B,n.source),v&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=B,v&&l.start("Update PostCSS AST"),n.removeAll(),n.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),n.raws.indent=" ",v&&l.end("Update PostCSS AST"),v&&l.end(`[@tailwindcss/postcss] ${(0,_.relative)(t,u)}`)}catch(b){c.compiler=null;for(let w of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:_.default.resolve(w),parent:i.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?n.error(`${b.message}`):n.error(`${b}`)}}catch(h){var V=h,S=!0}finally{Ge(d,V,S)}}}]}}var It=Object.assign(mi,{postcss:!0});module.exports=It;
11
+ ${L([d])}`)}u.add(f);for(let d of o.get(f))for(let m of i.get(d))p.push(f),c(m,p),p.pop();s.add(f),u.delete(f),a.push(f)}}for(let f of l)c(f);for(let f of a)"nodes"in f&&k(f.nodes,p=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),m={},g=0;for(let[x,$]of d.entries())x%2===0&&(m[$]=g),g+=$.length;{let x=Object.keys(m),$=ce(x,t,{respectImportant:!1,onInvalidCandidate:b=>{if(t.theme.prefix&&!b.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${b}\`. Did you mean \`${t.theme.prefix}:${b}\`?`);if(t.invalidCandidates.has(b))throw new Error(`Cannot apply utility class \`${b}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let N=T(b,":");if(N.length>1){let S=N.pop();if(t.candidatesToCss([S])[0]){let E=t.candidatesToCss(N.map(te=>`${te}:[--tw-variant-check:1]`)),j=N.filter((te,xe)=>E[xe]===null);if(j.length>0){if(j.length===1)throw new Error(`Cannot apply utility class \`${b}\` because the ${j.map(te=>`\`${te}\``)} variant does not exist.`);{let te=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${b}\` because the ${te.format(j.map(xe=>`\`${xe}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${b}\`. 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 \`${b}\``)}}),w=p.src,A=$.astNodes.map(b=>{let N=$.nodeSorting.get(b)?.candidate,S=N?m[N]:void 0;if(b=F(b),!w||!N||S===void 0)return k([b],j=>{j.src=w}),b;let E=[w[0],w[1],w[2]];return E[1]+=7+S,E[2]=E[1]+N.length,k([b],j=>{j.src=E}),b}),J=[];for(let b of A)if(b.kind==="rule")for(let N of b.nodes)J.push(N);else J.push(b);return v.Replace(J)}});return r}function*$t(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}var ai=32,si=9;var ui=40;function Vt(e,t=[]){let r=e,n="";for(let l=5;l<e.length;l++){let o=e.charCodeAt(l);if(o===ai||o===si||o===ui){r=e.slice(0,l),n=e.slice(l);break}}return P(r.trim(),n.trim(),t)}var Oe={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function ee(e){return{__BARE_VALUE__:e}}var I=ee(e=>{if(R(e.value))return e.value}),O=ee(e=>{if(R(e.value))return`${e.value}%`}),Y=ee(e=>{if(R(e.value))return`${e.value}px`}),Et=ee(e=>{if(R(e.value))return`${e.value}ms`}),be=ee(e=>{if(R(e.value))return`${e.value}deg`}),mi=ee(e=>{if(e.fraction===null)return;let[t,r]=T(e.fraction,"/");if(!(!R(t)||!R(r)))return e.fraction}),Rt=ee(e=>{if(R(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),gi={accentColor:({theme:e})=>e("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",...mi},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...O}),backdropContrast:({theme:e})=>({...e("contrast"),...O}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...O}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...be}),backdropInvert:({theme:e})=>({...e("invert"),...O}),backdropOpacity:({theme:e})=>({...e("opacity"),...O}),backdropSaturate:({theme:e})=>({...e("saturate"),...O}),backdropSepia:({theme:e})=>({...e("sepia"),...O}),backgroundColor:({theme:e})=>e("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:e})=>e("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:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Y},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:e})=>e("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",...O},caretColor:({theme:e})=>e("colors"),colors:()=>({...Oe}),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",...I},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...O},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:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Y}),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:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...I},flexShrink:{0:"0",DEFAULT:"1",...I},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:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("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%",...O},grayscale:{0:"0",DEFAULT:"100%",...O},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",...I},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",...I},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",...I},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",...I},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))",...Rt},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))",...Rt},height:({theme:e})=>({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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...be},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...O},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:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...I},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("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",...O},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",...I},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...be},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...O},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",...O},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...O},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...be},space:({theme:e})=>e("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:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...I},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},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",...Et},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Et},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:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({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",...e("spacing")}),width:({theme:e})=>({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",...e("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",...I}};function Ue(e){let t=[0];for(let l=0;l<e.length;l++)e.charCodeAt(l)===10&&t.push(l+1);function r(l){let o=0,i=t.length;for(;i>0;){let a=(i|0)>>1,u=o+a;t[u]<=l?(o=u+1,i=i-a-1):i=a}o-=1;let s=l-t[o];return{line:o+1,column:s}}function n({line:l,column:o}){l-=1,l=Math.min(Math.max(l,0),t.length-1);let i=t[l],s=t[l+1]??i;return Math.min(Math.max(i+o,0),s)}return{find:r,findOffset:n}}var vi=64;function B(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function P(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function z(e,t=[]){return e.charCodeAt(0)===vi?Vt(e,t):B(e,t)}function M(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ye(e){return{kind:"comment",value:e}}function F(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(F),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(F),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(F),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(F),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 L(e,t){let r=0,n={file:null,code:""};function l(i,s=0){let a="",u=" ".repeat(s);if(i.kind==="declaration"){if(a+=`${u}${i.property}: ${i.value}${i.important?" !important":""};
12
+ `,t){r+=u.length;let c=r;r+=i.property.length,r+=2,r+=i.value?.length??0,i.important&&(r+=11);let f=r;r+=2,i.dst=[n,c,f]}}else if(i.kind==="rule"){if(a+=`${u}${i.selector} {
13
+ `,t){r+=u.length;let c=r;r+=i.selector.length,r+=1;let f=r;i.dst=[n,c,f],r+=2}for(let c of i.nodes)a+=l(c,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(i.kind==="at-rule"){if(i.nodes.length===0){let c=`${u}${i.name} ${i.params};
15
+ `;if(t){r+=u.length;let f=r;r+=i.name.length,r+=1,r+=i.params.length;let p=r;r+=2,i.dst=[n,f,p]}return c}if(a+=`${u}${i.name}${i.params?` ${i.params} `:" "}{
16
+ `,t){r+=u.length;let c=r;r+=i.name.length,i.params&&(r+=1,r+=i.params.length),r+=1;let f=r;i.dst=[n,c,f],r+=2}for(let c of i.nodes)a+=l(c,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(i.kind==="comment"){if(a+=`${u}/*${i.value}*/
18
+ `,t){r+=u.length;let c=r;r+=2+i.value.length+2;let f=r;i.dst=[n,c,f],r+=1}}else if(i.kind==="context"||i.kind==="at-root")return"";return a}let o="";for(let i of e)o+=l(i,0);return n.code=o,o}var ki=33;function Pt(e,t,r){let n=new h(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),l=new h(u=>Ue(u.code)),o=e.root();o.source=r;function i(u){if(!u||!u[0])return;let c=l.get(u[0]),f=c.find(u[1]),p=c.find(u[2]);return{input:n.get(u[0]),start:{line:f.line,column:f.column+1,offset:u[1]},end:{line:p.line,column:p.column+1,offset:u[2]}}}function s(u,c){let f=i(c);f?u.source=f:delete u.source}function a(u,c){if(u.kind==="declaration"){let f=e.decl({prop:u.property,value:u.value??"",important:u.important});s(f,u.src),c.append(f)}else if(u.kind==="rule"){let f=e.rule({selector:u.selector});s(f,u.src),f.raws.semicolon=!0,c.append(f);for(let p of u.nodes)a(p,f)}else if(u.kind==="at-rule"){let f=e.atRule({name:u.name.slice(1),params:u.params});s(f,u.src),f.raws.semicolon=!0,c.append(f);for(let p of u.nodes)a(p,f)}else if(u.kind==="comment"){let f=e.comment({text:u.value});f.raws.left="",f.raws.right="",s(f,u.src),c.append(f)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,o);return o}function Ot(e){let t=new h(o=>({file:o.file??o.id??null,code:o.css}));function r(o){let i=o.source;if(!i)return;let s=i.input;if(s&&i.start!==void 0&&i.end!==void 0)return[t.get(s),i.start.offset,i.end.offset]}function n(o,i){if(o.type==="decl"){let s=M(o.prop,o.value,o.important);s.src=r(o),i.push(s)}else if(o.type==="rule"){let s=z(o.selector);s.src=r(o),o.each(a=>n(a,s.nodes)),i.push(s)}else if(o.type==="atrule"){let s=P(`@${o.name}`,o.params);s.src=r(o),o.each(a=>n(a,s.nodes)),i.push(s)}else if(o.type==="comment"){if(o.text.charCodeAt(0)!==ki)return;let s=ye(o.text);s.src=r(o),i.push(s)}}let l=[];return e.each(o=>n(o,l)),l}var Le=require("@tailwindcss/node"),pe=de(require("path")),_e="'",De='"';function Ie(){let e=new WeakSet;function t(r){let n=r.root().source?.input.file;if(!n)return;let l=r.source?.input.file;if(!l||e.has(r))return;let o=r.params[0],i=o[0]===De&&o[o.length-1]===De?De:o[0]===_e&&o[o.length-1]===_e?_e:null;if(!i)return;let s=r.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let u=pe.default.posix.join((0,Le.normalizePath)(pe.default.dirname(l)),s),c=pe.default.posix.dirname((0,Le.normalizePath)(n)),f=pe.default.posix.relative(c,u);f.startsWith(".")||(f="./"+f),r.params=i+a+f+i,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var y=U.env.DEBUG,Ke=new Ut.default({maxSize:50});function wi(e,t,r){let n=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Ke.has(n))return Ke.get(n);let l={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Ke.set(n,l),l}function yi(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",n=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Ie(),{postcssPlugin:"tailwindcss",async Once(l,{result:o,postcss:i}){var m=[];try{let s=je(m,new U.Instrumentation);let a=o.opts.from??"";let u=a.endsWith(".module.css");y&&s.start(`[@tailwindcss/postcss] ${(0,D.relative)(t,a)}`);{y&&s.start("Quick bail check");let w=!0;if(l.walkAtRules(A=>{if(A.name==="import"||A.name==="reference"||A.name==="theme"||A.name==="variant"||A.name==="config"||A.name==="plugin"||A.name==="apply"||A.name==="tailwind")return w=!1,!1}),w)return;y&&s.end("Quick bail check")}let c=wi(i,a,e);let f=D.default.dirname(D.default.resolve(a));let p=c.compiler===null;async function d(){y&&s.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&(0,_t.clearRequireCache)(c.fullRebuildPaths),c.fullRebuildPaths=[],y&&s.start("PostCSS AST -> Tailwind CSS AST");let w=Ot(l);y&&s.end("PostCSS AST -> Tailwind CSS AST"),y&&s.start("Create compiler");let A=await(0,U.compileAst)(w,{from:o.opts.from,base:f,shouldRewriteUrls:n,onDependency:J=>c.fullRebuildPaths.push(J),polyfills:u?U.Polyfills.All^U.Polyfills.AtProperty:U.Polyfills.All});return y&&s.end("Create compiler"),y&&s.end("Setup compiler"),A}try{if(c.compiler??=d(),(await c.compiler).features===U.Features.None)return;let w="incremental";y&&s.start("Register full rebuild paths");{for(let S of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.default.resolve(S),parent:o.opts.from});let N=o.messages.flatMap(S=>S.type!=="dependency"?[]:S.file);N.push(a);for(let S of N){let E=Lt.default.statSync(S,{throwIfNoEntry:!1})?.mtimeMs??null;if(E===null){S===a&&(w="full");continue}c.mtimes.get(S)!==E&&(w="full",c.mtimes.set(S,E))}}y&&s.end("Register full rebuild paths"),w==="full"&&!p&&(c.compiler=d());let A=await c.compiler;if(c.scanner===null||w==="full"){y&&s.start("Setup scanner");let N=(A.root==="none"?[]:A.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...A.root,negated:!1}]).concat(A.sources);c.scanner=new Dt.Scanner({sources:N}),y&&s.end("Setup scanner")}y&&s.start("Scan for candidates");let J=A.features&U.Features.Utilities?c.scanner.scan():[];if(y&&s.end("Scan for candidates"),A.features&U.Features.Utilities){y&&s.start("Register dependency messages");let N=D.default.resolve(t,a);for(let S of c.scanner.files){let E=D.default.resolve(S);E!==N&&o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:E,parent:o.opts.from})}for(let{base:S,pattern:E}of c.scanner.globs)E==="*"&&t===S||(E===""?o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.default.resolve(S),parent:o.opts.from}):o.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:D.default.resolve(S),glob:E,parent:o.opts.from}));y&&s.end("Register dependency messages")}y&&s.start("Build utilities");let b=A.build(J);if(y&&s.end("Build utilities"),c.tailwindCssAst!==b)if(r){y&&s.start("Optimization"),y&&s.start("AST -> CSS");let N=L(b);y&&s.end("AST -> CSS"),y&&s.start("Lightning CSS");let S=(0,U.optimize)(N,{minify:typeof r=="object"?r.minify:!0});y&&s.end("Lightning CSS"),y&&s.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=i.parse(S.code,o.opts),y&&s.end("CSS -> PostCSS AST"),y&&s.end("Optimization")}else y&&s.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Pt(i,b,l.source),y&&s.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=b,y&&s.start("Update PostCSS AST"),l.removeAll(),l.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),l.raws.indent=" ",y&&s.end("Update PostCSS AST"),y&&s.end(`[@tailwindcss/postcss] ${(0,D.relative)(t,a)}`)}catch(w){c.compiler=null;for(let A of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:D.default.resolve(A),parent:o.opts.from});throw console.error(w),w&&typeof w=="object"&&"message"in w?l.error(`${w.message}`):l.error(`${w}`)}}catch(g){var x=g,$=!0}finally{We(m,x,$)}}}]}}var It=Object.assign(yi,{postcss:!0});module.exports=It;
package/dist/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
- var Me=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Fe=e=>{throw TypeError(e)};var je=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&Fe("Object expected");var o,n;r&&(o=t[Me("asyncDispose")]),o===void 0&&(o=t[Me("dispose")],r&&(n=o)),typeof o!="function"&&Fe("Object not disposable"),n&&(o=function(){try{n.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,o,t])}else r&&e.push([r]);return t},We=(e,t,r)=>{var o=typeof SuppressedError=="function"?SuppressedError:function(a,l,u,f){return f=Error(u),f.name="SuppressedError",f.error=a,f.suppressed=l,f},n=a=>t=r?new o(a,t,"An error was suppressed during disposal"):(r=!0,a),i=a=>{for(;a=e.pop();)try{var l=a[1]&&a[1].call(a[2]);if(a[0])return Promise.resolve(l).then(i,u=>(n(u),i()))}catch(u){n(u)}if(r)throw t};return i()};import ri from"@alloc/quick-lru";import{compileAst as ii,env as ni,Features as Ie,Instrumentation as oi,optimize as li,Polyfills as Ke}from"@tailwindcss/node";import{clearRequireCache as ai}from"@tailwindcss/node/require-cache";import{Scanner as si}from"@tailwindcss/oxide";import ui from"fs";import Z,{relative as Ot}from"path";function Ae(e){return{kind:"word",value:e}}function _t(e,t){return{kind:"function",value:e,nodes:t}}function Dt(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let o=0;o<e.length;o++){let n=e[o],i=!1,a=0,l=t(n,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(o,1),a=0):u.length===1?(e[o]=u[0],a=1):(e.splice(o,1,...u),a=u.length):e[o]=u)}})??0;if(i){l===0?o--:o+=a-1;continue}if(l===2)return 2;if(l!==1&&n.kind==="function"&&N(n.nodes,t,n)===2)return 2}}function $(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+$(r.nodes)+")"}return t}var Be=92,Ut=41,Ge=58,qe=44,Lt=34,He=61,Ze=62,Qe=60,Ye=10,It=40,Kt=39,Je=47,Xe=32,et=9;function x(e){e=e.replaceAll(`\r
1
+ var Ke=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),ze=e=>{throw TypeError(e)};var Me=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&ze("Object expected");var n,l;r&&(n=t[Ke("asyncDispose")]),n===void 0&&(n=t[Ke("dispose")],r&&(l=n)),typeof n!="function"&&ze("Object not disposable"),l&&(n=function(){try{l.call(this)}catch(o){return Promise.reject(o)}}),e.push([r,n,t])}else r&&e.push([r]);return t},Fe=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(i,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=i,u.suppressed=s,u},l=i=>t=r?new n(i,t,"An error was suppressed during disposal"):(r=!0,i),o=i=>{for(;i=e.pop();)try{var s=i[1]&&i[1].call(i[2]);if(i[0])return Promise.resolve(s).then(o,a=>(l(a),o()))}catch(a){l(a)}if(r)throw t};return o()};import si from"@alloc/quick-lru";import{compileAst as ui,env as fi,Features as De,Instrumentation as ci,optimize as pi,Polyfills as Le}from"@tailwindcss/node";import{clearRequireCache as di}from"@tailwindcss/node/require-cache";import{Scanner as mi}from"@tailwindcss/oxide";import gi from"fs";import Q,{relative as Ot}from"path";function U(e){return{kind:"word",value:e}}function Ut(e,t){return{kind:"function",value:e,nodes:t}}function _t(e){return{kind:"separator",value:e}}function V(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+V(r.nodes)+")"}return t}var je=92,Dt=41,We=58,Be=44,Lt=34,Ge=61,qe=62,He=60,Ze=10,It=40,Kt=39,zt=47,Qe=32,Ye=9;function C(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let t=[],r=[],o=null,n="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case Be:{n+=e[a]+e[a+1],a++;break}case Ge:case qe:case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:{if(n.length>0){let s=Ae(n);o?o.nodes.push(s):t.push(s),n=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==Ge&&i!==qe&&i!==He&&i!==Ze&&i!==Qe&&i!==Ye&&i!==Je&&i!==Xe&&i!==et));f++);a=f-1;let c=Dt(e.slice(u,f));o?o.nodes.push(c):t.push(c);break}case Kt:case Lt:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===Be)f+=1;else if(i===l){a=f;break}n+=e.slice(u,a+1);break}case It:{let u=_t(n,[]);n="",o?o.nodes.push(u):t.push(u),r.push(u),o=u;break}case Ut:{let u=r.pop();if(n.length>0){let f=Ae(n);u?.nodes.push(f),n=""}r.length>0?o=r[r.length-1]:o=null;break}default:n+=String.fromCharCode(l)}}return n.length>0&&t.push(Ae(n)),t}var g=class extends Map{constructor(r){super();this.factory=r}get(r){let o=super.get(r);return o===void 0&&(o=this.factory(r,this),this.set(r,o)),o}};var ki=new Uint8Array(256);var pe=new Uint8Array(256);function C(e,t){let r=0,o=[],n=0,i=e.length,a=t.charCodeAt(0);for(let l=0;l<i;l++){let u=e.charCodeAt(l);if(r===0&&u===a){o.push(e.slice(n,l)),n=l+1;continue}switch(u){case 92:l+=1;break;case 39:case 34:for(;++l<i;){let f=e.charCodeAt(l);if(f===92){l+=1;continue}if(f===u)break}break;case 40:pe[r]=41,r++;break;case 91:pe[r]=93,r++;break;case 123:pe[r]=125,r++;break;case 93:case 125:case 41:r>0&&u===pe[r-1]&&r--;break}}return o.push(e.slice(n)),o}function tt(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(X),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(X),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(X),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function X(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":return{kind:e.kind,root:e.root,variant:X(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Ve(e){if(e===null)return"";let t=Ft(e.value),r=t?e.value.slice(4,-1):e.value,[o,n]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${o}${Se(r)}${n}`:e.kind==="named"?`/${e.value}`:""}var zt=new g(e=>{let t=x(e),r=new Set;return N(t,(o,{parent:n})=>{let i=n===null?t:n.nodes??[];if(o.kind==="word"&&(o.value==="+"||o.value==="-"||o.value==="*"||o.value==="/")){let a=i.indexOf(o)??-1;if(a===-1)return;let l=i[a-1];if(l?.kind!=="separator"||l.value!==" ")return;let u=i[a+1];if(u?.kind!=="separator"||u.value!==" ")return;r.add(l),r.add(u)}else o.kind==="separator"&&o.value.trim()==="/"?o.value="/":o.kind==="separator"&&o.value.length>0&&o.value.trim()===""?(i[0]===o||i[i.length-1]===o)&&r.add(o):o.kind==="separator"&&o.value.trim()===","&&(o.value=",")}),r.size>0&&N(t,(o,{replaceWith:n})=>{r.has(o)&&(r.delete(o),n([]))}),Ce(t),$(t)});function Se(e){return zt.get(e)}var $i=new g(e=>{let t=x(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?$(t[2].nodes):e});function Ce(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ie(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ie(t.value);for(let r=0;r<t.nodes.length;r++)Ce([t.nodes[r]]);break}t.value=ie(t.value),Ce(t.nodes);break}case"separator":t.value=ie(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=ie(t.value));break}default:jt(t)}}var Mt=new g(e=>{let t=x(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Ft(e){return Mt.get(e)}function jt(e){throw new Error(`Unexpected value: ${e}`)}function ie(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Wt=process.env.FEATURES_ENV!=="stable";var K=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Li=new RegExp(`^${K.source}$`);var Ii=new RegExp(`^${K.source}%$`);var Ki=new RegExp(`^${K.source}s*/s*${K.source}$`);var Bt=["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"],zi=new RegExp(`^${K.source}(${Bt.join("|")})$`);var Gt=["deg","rad","grad","turn"],Mi=new RegExp(`^${K.source}(${Gt.join("|")})$`);var Fi=new RegExp(`^${K.source} +${K.source} +${K.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ee(e){return qt(e,.25)}function qt(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function ne(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var Zt={"--alpha":Qt,"--spacing":Yt,"--theme":Jt,theme:Xt};function Qt(e,t,r,...o){let[n,i]=C(r,"/").map(a=>a.trim());if(!n||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);if(o.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);return ne(n,i)}function Yt(e,t,r,...o){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(o.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${o.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${r})`}function Jt(e,t,r,...o){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;r.endsWith(" inline")&&(n=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(n=!0);let i=e.resolveThemeValue(r,n);if(!i){if(o.length>0)return o.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(o.length===0)return i;let a=o.join(", ");if(a==="initial")return i;if(i==="initial")return a;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let l=x(i);return tr(l,a),$(l)}return i}function Xt(e,t,r,...o){r=er(r);let n=e.resolveThemeValue(r);if(!n&&o.length>0)return o.join(", ");if(!n)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 n}var sn=new RegExp(Object.keys(Zt).map(e=>`${e}\\(`).join("|"));function er(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let o=1;o<e.length-1;o++){let n=e[o],i=e[o+1];n==="\\"&&(i===r||i==="\\")?(t+=i,o++):t+=n}return t}function tr(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let o=r.nodes[r.nodes.length-1];o.kind==="word"&&o.value==="initial"&&(o.value=t)}})}function $e(e,t){let r=e.length,o=t.length,n=r<o?r:o;for(let i=0;i<n;i++){let a=e.charCodeAt(i),l=t.charCodeAt(i);if(a>=48&&a<=57&&l>=48&&l<=57){let u=i,f=i+1,c=i,s=i+1;for(a=e.charCodeAt(f);a>=48&&a<=57;)a=e.charCodeAt(++f);for(l=t.charCodeAt(s);l>=48&&l<=57;)l=t.charCodeAt(++s);let p=e.slice(u,f),m=t.slice(c,s),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(a!==l)return a-l}return e.length-t.length}function ot(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,o=e.length-1;for(;te(e.charCodeAt(t));)t++;{for(r=t;t<o;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let n=e.slice(r,t);for(;te(e.charCodeAt(t));)t++;if(t===o)return{attribute:n,operator:null,quote:null,value:null,sensitivity:null};let i=null,a=e.charCodeAt(t);if(a===61)i="=",t++;else if((a===126||a===124||a===94||a===36||a===42)&&e.charCodeAt(t+1)===61)i=e[t]+"=",t+=2;else return null;for(;te(e.charCodeAt(t));)t++;if(t===o)return null;let l="",u=null;if(a=e.charCodeAt(t),a===39||a===34){u=e[t],t++,r=t;for(let c=t;c<o;c++){let s=e.charCodeAt(c);s===a?t=c+1:s===92&&c++}l=e.slice(r,t-1)}else{for(r=t;t<o&&!te(e.charCodeAt(t));)t++;l=e.slice(r,t)}for(;te(e.charCodeAt(t));)t++;if(t===o)return{attribute:n,operator:i,quote:u,value:l,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;te(e.charCodeAt(t));)t++;return t!==o?null:{attribute:n,operator:i,quote:u,value:l,sensitivity:f}}function te(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var ir=/^[a-zA-Z0-9-_%/\.]+$/;function Te(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!ir.test(t))return null;return e.map((t,r,o)=>t==="1"&&r!==o.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,o,n)=>`${o}-${n.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function nr(e){return{kind:"combinator",value:e}}function or(e,t){return{kind:"function",value:e,nodes:t}}function B(e){return{kind:"selector",value:e}}function lr(e){return{kind:"separator",value:e}}function ar(e){return{kind:"value",value:e}}function me(e,t,r=null){for(let o=0;o<e.length;o++){let n=e[o],i=!1,a=0,l=t(n,{parent:r,replaceWith(u){i||(i=!0,Array.isArray(u)?u.length===0?(e.splice(o,1),a=0):u.length===1?(e[o]=u[0],a=1):(e.splice(o,1,...u),a=u.length):(e[o]=u,a=1))}})??0;if(i){l===0?o--:o+=a-1;continue}if(l===2)return 2;if(l!==1&&n.kind==="function"&&me(n.nodes,t,n)===2)return 2}}function G(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+G(r.nodes)+")"}return t}var at=92,sr=93,st=41,ur=58,ut=44,fr=34,cr=46,ft=62,ct=10,pr=35,pt=91,dt=40,mt=43,dr=39,gt=32,ht=9,vt=126,mr=38,gr=42;function le(e){e=e.replaceAll(`\r
3
+ `);let t=[],r=[],n=null,l="",o;for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);switch(s){case je:{l+=e[i]+e[i+1],i++;break}case zt:{if(l.length>0){let u=U(l);n?n.nodes.push(u):t.push(u),l=""}let a=U(e[i]);n?n.nodes.push(a):t.push(a);break}case We:case Be:case Ge:case qe:case He:case Ze:case Qe:case Ye:{if(l.length>0){let f=U(l);n?n.nodes.push(f):t.push(f),l=""}let a=i,u=i+1;for(;u<e.length&&(o=e.charCodeAt(u),!(o!==We&&o!==Be&&o!==Ge&&o!==qe&&o!==He&&o!==Ze&&o!==Qe&&o!==Ye));u++);i=u-1;let c=_t(e.slice(a,u));n?n.nodes.push(c):t.push(c);break}case Kt:case Lt:{let a=i;for(let u=i+1;u<e.length;u++)if(o=e.charCodeAt(u),o===je)u+=1;else if(o===s){i=u;break}l+=e.slice(a,i+1);break}case It:{let a=Ut(l,[]);l="",n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case Dt:{let a=r.pop();if(l.length>0){let u=U(l);a?.nodes.push(u),l=""}r.length>0?n=r[r.length-1]:n=null;break}default:l+=String.fromCharCode(s)}}return l.length>0&&t.push(U(l)),t}var Mt=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function Je(e){return e.indexOf("(")!==-1&&Mt.some(t=>e.includes(`${t}(`))}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let n=super.get(r);return n===void 0&&(n=this.factory(r,this),this.set(r,n)),n}};var Ci=new Uint8Array(256);var ce=new Uint8Array(256);function T(e,t){let r=0,n=[],l=0,o=e.length,i=t.charCodeAt(0);for(let s=0;s<o;s++){let a=e.charCodeAt(s);if(r===0&&a===i){n.push(e.slice(l,s)),l=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<o;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:ce[r]=41,r++;break;case 91:ce[r]=93,r++;break;case 123:ce[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===ce[r-1]&&r--;break}}return n.push(e.slice(l)),n}var be=(i=>(i[i.Continue=0]="Continue",i[i.Skip=1]="Skip",i[i.Stop=2]="Stop",i[i.Replace=3]="Replace",i[i.ReplaceSkip=4]="ReplaceSkip",i[i.ReplaceStop=5]="ReplaceStop",i))(be||{}),v={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 k(e,t){typeof t=="function"?Xe(e,t):Xe(e,t.enter,t.exit)}function Xe(e,t=()=>v.Continue,r=()=>v.Continue){let n=[[e,0,null]],l={parent:null,depth:0,path(){let o=[];for(let i=1;i<n.length;i++){let s=n[i][2];s&&o.push(s)}return o}};for(;n.length>0;){let o=n.length-1,i=n[o],s=i[0],a=i[1],u=i[2];if(a>=s.length){n.pop();continue}if(l.parent=u,l.depth=o,a>=0){let d=s[a],m=t(d,l)??v.Continue;switch(m.kind){case 0:{d.nodes&&d.nodes.length>0&&n.push([d.nodes,0,d]),i[1]=~a;continue}case 2:return;case 1:{i[1]=~a;continue}case 3:{s.splice(a,1,...m.nodes);continue}case 5:{s.splice(a,1,...m.nodes);return}case 4:{s.splice(a,1,...m.nodes),i[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${be[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let c=~a,f=s[c],p=r(f,l)??v.Continue;switch(p.kind){case 0:i[1]=c+1;continue;case 2:return;case 3:{s.splice(c,1,...p.nodes),i[1]=c+p.nodes.length;continue}case 5:{s.splice(c,1,...p.nodes);return}case 4:{s.splice(c,1,...p.nodes),i[1]=c+p.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${be[p.kind]??`Unknown(${p.kind})`}\` in exit.`)}}}function et(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(te),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(te),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(te),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function te(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":return{kind:e.kind,root:e.root,variant:te(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Ae(e){if(e===null)return"";let t=Wt(e.value),r=t?e.value.slice(4,-1):e.value,[n,l]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${Ce(r)}${l}`:e.kind==="named"?`/${e.value}`:""}var Ft=new h(e=>{let t=C(e),r=new Set;return k(t,(n,l)=>{let o=l.parent===null?t:l.parent.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let i=o.indexOf(n)??-1;if(i===-1)return;let s=o[i-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=o[i+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(s),r.add(a)}else n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(o[0]===n||o[o.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&k(t,n=>{if(r.has(n))return r.delete(n),v.ReplaceSkip([])}),xe(t),V(t)});function Ce(e){return Ft.get(e)}var _i=new h(e=>{let t=C(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?V(t[2].nodes):e});function xe(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=ne(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=ne(t.value);for(let r=0;r<t.nodes.length;r++)xe([t.nodes[r]]);break}t.value=ne(t.value),xe(t.nodes);break}case"separator":t.value=ne(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=ne(t.value));break}default:Bt(t)}}var jt=new h(e=>{let t=C(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Wt(e){return jt.get(e)}function Bt(e){throw new Error(`Unexpected value: ${e}`)}function ne(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Gt=process.env.FEATURES_ENV!=="stable";var F=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Wi=new RegExp(`^${F.source}$`);var Bi=new RegExp(`^${F.source}%$`);var Gi=new RegExp(`^${F.source}s*/s*${F.source}$`);var qt=["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"],Ht=new RegExp(`^${F.source}(${qt.join("|")})$`);function tt(e){return Ht.test(e)||Je(e)}var Zt=["deg","rad","grad","turn"],qi=new RegExp(`^${F.source}(${Zt.join("|")})$`);var Hi=new RegExp(`^${F.source} +${F.source} +${F.source}$`);function R(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function re(e){return Qt(e,.25)}function Qt(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function oe(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var Jt={"--alpha":Xt,"--spacing":er,"--theme":tr,theme:rr};function Xt(e,t,r,...n){let[l,o]=T(r,"/").map(i=>i.trim());if(!l||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${l||"var(--my-color)"} / ${o||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${l||"var(--my-color)"} / ${o||"50%"})\``);return oe(l,o)}function er(e,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 l=e.theme.resolve(null,["--spacing"]);if(!l)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${l} * ${r})`}function tr(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let l=!1;r.endsWith(" inline")&&(l=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(l=!0);let o=e.resolveThemeValue(r,l);if(!o){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return o;let i=n.join(", ");if(i==="initial")return o;if(o==="initial")return i;if(o.startsWith("var(")||o.startsWith("theme(")||o.startsWith("--theme(")){let s=C(o);return nr(s,i),V(s)}return o}function rr(e,t,r,...n){r=ir(r);let l=e.resolveThemeValue(r);if(!l&&n.length>0)return n.join(", ");if(!l)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 l}var hn=new RegExp(Object.keys(Jt).map(e=>`${e}\\(`).join("|"));function ir(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let l=e[n],o=e[n+1];l==="\\"&&(o===r||o==="\\")?(t+=o,n++):t+=l}return t}function nr(e,t){k(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function Se(e,t){let r=e.length,n=t.length,l=r<n?r:n;for(let o=0;o<l;o++){let i=e.charCodeAt(o),s=t.charCodeAt(o);if(i>=48&&i<=57&&s>=48&&s<=57){let a=o,u=o+1,c=o,f=o+1;for(i=e.charCodeAt(u);i>=48&&i<=57;)i=e.charCodeAt(++u);for(s=t.charCodeAt(f);s>=48&&s<=57;)s=t.charCodeAt(++f);let p=e.slice(a,u),d=t.slice(c,f),m=Number(p)-Number(d);if(m)return m;if(p<d)return-1;if(p>d)return 1;continue}if(i!==s)return i-s}return e.length-t.length}function nt(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;ie(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let l=e.slice(r,t);for(;ie(e.charCodeAt(t));)t++;if(t===n)return{attribute:l,operator:null,quote:null,value:null,sensitivity:null};let o=null,i=e.charCodeAt(t);if(i===61)o="=",t++;else if((i===126||i===124||i===94||i===36||i===42)&&e.charCodeAt(t+1)===61)o=e[t]+"=",t+=2;else return null;for(;ie(e.charCodeAt(t));)t++;if(t===n)return null;let s="",a=null;if(i=e.charCodeAt(t),i===39||i===34){a=e[t],t++,r=t;for(let c=t;c<n;c++){let f=e.charCodeAt(c);f===i?t=c+1:f===92&&c++}s=e.slice(r,t-1)}else{for(r=t;t<n&&!ie(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;ie(e.charCodeAt(t));)t++;if(t===n)return{attribute:l,operator:o,quote:a,value:s,sensitivity:null};let u=null;switch(e.charCodeAt(t)){case 105:case 73:{u="i",t++;break}case 115:case 83:{u="s",t++;break}default:return null}for(;ie(e.charCodeAt(t));)t++;return t!==n?null:{attribute:l,operator:o,quote:a,value:s,sensitivity:u}}function ie(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var lr=/^[a-zA-Z0-9-_%/\.]+$/;function Ve(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!lr.test(t))return null;return e.map((t,r,n)=>t==="1"&&r!==n.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,n,l)=>`${n}-${l.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function ar(e){return{kind:"combinator",value:e}}function sr(e,t){return{kind:"function",value:e,nodes:t}}function G(e){return{kind:"selector",value:e}}function ur(e){return{kind:"separator",value:e}}function fr(e){return{kind:"value",value:e}}function q(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+q(r.nodes)+")"}return t}var lt=92,cr=93,at=41,pr=58,st=44,dr=34,mr=46,ut=62,ft=10,gr=35,ct=91,pt=40,dt=43,hr=39,mt=32,gt=9,ht=126,vr=38,kr=42;function ae(e){e=e.replaceAll(`\r
4
4
  `,`
5
- `);let t=[],r=[],o=null,n="",i;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);switch(l){case ut:case ft:case ct:case gt:case mt:case ht:case vt:{if(n.length>0){let p=B(n);o?o.nodes.push(p):t.push(p),n=""}let u=a,f=a+1;for(;f<e.length&&(i=e.charCodeAt(f),!(i!==ut&&i!==ft&&i!==ct&&i!==gt&&i!==mt&&i!==ht&&i!==vt));f++);a=f-1;let c=e.slice(u,f),s=c.trim()===","?lr(c):nr(c);o?o.nodes.push(s):t.push(s);break}case dt:{let u=or(n,[]);if(n="",u.value!==":not"&&u.value!==":where"&&u.value!==":has"&&u.value!==":is"){let f=a+1,c=0;for(let p=a+1;p<e.length;p++){if(i=e.charCodeAt(p),i===dt){c++;continue}if(i===st){if(c===0){a=p;break}c--}}let s=a;u.nodes.push(ar(e.slice(f,s))),n="",a=s,o?o.nodes.push(u):t.push(u);break}o?o.nodes.push(u):t.push(u),r.push(u),o=u;break}case st:{let u=r.pop();if(n.length>0){let f=B(n);u.nodes.push(f),n=""}r.length>0?o=r[r.length-1]:o=null;break}case cr:case ur:case pr:{if(n.length>0){let u=B(n);o?o.nodes.push(u):t.push(u)}n=e[a];break}case pt:{if(n.length>0){let c=B(n);o?o.nodes.push(c):t.push(c)}n="";let u=a,f=0;for(let c=a+1;c<e.length;c++){if(i=e.charCodeAt(c),i===pt){f++;continue}if(i===sr){if(f===0){a=c;break}f--}}n+=e.slice(u,a+1);break}case dr:case fr:{let u=a;for(let f=a+1;f<e.length;f++)if(i=e.charCodeAt(f),i===at)f+=1;else if(i===l){a=f;break}n+=e.slice(u,a+1);break}case mr:case gr:{if(n.length>0){let u=B(n);o?o.nodes.push(u):t.push(u),n=""}o?o.nodes.push(B(e[a])):t.push(B(e[a]));break}case at:{n+=e[a]+e[a+1],a+=1;break}default:n+=e[a]}}return n.length>0&&t.push(B(n)),t}var hr=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,ae=new g(e=>{let t=hr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let o=t.groups?.unit;if(o===void 0)return null;let n=Number(r);return Number.isNaN(n)?null:[n,o]});var kt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,q=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[z(".x",[E("@apply",t)])];return vr(e,()=>{for(let n of e.parseCandidate(t))e.compileAstNodes(n,1);se(r,e)}),A(r,(n,{replaceWith:i})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?i([]):n.value.includes("%")&&(kt.lastIndex=0,n.value=n.value.replaceAll(kt,a=>`${Number(a.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?i(n.nodes):n.kind==="comment"?i([]):n.kind==="at-rule"&&n.name==="@property"&&i([])}),A(r,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let i=!1,a=x(n.value),l=new Set;N(a,(u,{replaceWith:f})=>{if(u.kind!=="function"||u.value!=="var"||u.nodes.length!==1&&u.nodes.length<3)return;let c=u.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let s=e.resolveThemeValue(c);if(!l.has(c)&&(l.add(c),s!==void 0&&(u.nodes.length===1&&(i=!0,u.nodes.push(...x(`,${s}`))),u.nodes.length>=3))){let p=$(u.nodes),m=`${u.nodes[0].value},${s}`;p===m&&(i=!0,f(x(s)))}}),i&&(n.value=$(a))}if(n.value.includes("calc")){let i=!1,a=x(n.value);N(a,(l,{replaceWith:u})=>{if(l.kind!=="function"||l.value!=="calc"||l.nodes.length!==5||l.nodes[2].kind!=="word"&&l.nodes[2].value!=="*")return;let f=ae.get(l.nodes[0].value);if(f===null)return;let[c,s]=f,p=Number(l.nodes[4].value);Number.isNaN(p)||(i=!0,u(x(`${c*p}${s}`)))}),i&&(n.value=$(a))}n.value=Se(n.value)}}),O(r)}catch{return Symbol()}})),Pe=new g(e=>{let t=q.get(e),r=new g(()=>[]);for(let[o,n]of e.getClassList()){let i=t.get(o);if(typeof i=="string"){r.get(i).push(o);for(let a of n.modifiers){if(ee(a))continue;let l=`${o}/${a}`,u=t.get(l);typeof u=="string"&&r.get(u).push(l)}}}return r}),ge=new g(e=>new g(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[z(".x",[E("@apply",`${t}:flex`)])];return se(r,e),A(r,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let i=le(n.selector),a=!1;me(i,(l,{replaceWith:u})=>{l.kind==="separator"&&l.value!==" "?(l.value=l.value.trim(),a=!0):l.kind==="function"&&l.value===":is"?l.nodes.length===1?(a=!0,u(l.nodes)):l.nodes.length===2&&l.nodes[0].kind==="selector"&&l.nodes[0].value==="*"&&l.nodes[1].kind==="selector"&&l.nodes[1].value[0]===":"&&(a=!0,u(l.nodes[1])):l.kind==="function"&&l.value[0]===":"&&l.nodes[0]?.kind==="selector"&&l.nodes[0]?.value[0]===":"&&(a=!0,l.nodes.unshift({kind:"selector",value:"*"}))}),a&&(n.selector=G(i))}}),O(r)}catch{return Symbol()}})),wt=new g(e=>{let t=ge.get(e),r=new g(()=>[]);for(let[o,n]of e.variants.entries())if(n.kind==="static"){let i=t.get(o);if(typeof i!="string")continue;r.get(i).push(o)}return r});function vr(e,t){let r=e.theme.values.get,o=new Set;e.theme.values.get=n=>{let i=r.call(e.theme.values,n);return i===void 0||i.options&1&&(o.add(i),i.options&=-2),i};try{return t()}finally{e.theme.values.get=r;for(let n of o)n.options|=1}}function M(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ue(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let o=0;for(;;){let n=r.indexOf("[",o),i=r.indexOf("]",n);if(n===-1||i===-1)break;n>o&&t.push(r.slice(o,n)),t.push(r.slice(n+1,i)),o=i+1}o<=r.length-1&&t.push(r.slice(o))}return t}var zn=new g(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=yr.get(e),o=xr.get(e);return new g((n,i)=>{for(let a of e.parseCandidate(n)){let l=a.variants.slice().reverse().flatMap(c=>r.get(c)),u=a.important;if(u||l.length>0){let s=i.get(e.printCandidate({...a,variants:[],important:!1}));return e.theme.prefix!==null&&l.length>0&&(s=s.slice(t.length)),l.length>0&&(s=`${l.map(p=>e.printVariant(p)).join(":")}:${s}`),u&&(s+="!"),e.theme.prefix!==null&&l.length>0&&(s=`${t}${s}`),s}let f=o.get(n);if(f!==n)return f}return n})}),wr=[Sr,Ir,Kr,Dr],yr=new g(e=>new g(t=>{let r=[t];for(let o of wr)for(let n of r.splice(0)){let i=o(e,X(n));if(Array.isArray(i)){r.push(...i);continue}else r.push(i)}return r})),br=[Cr,Vr,Er,Rr,_r,Ur,Lr,zr],xr=new g(e=>new g(t=>{for(let r of e.parseCandidate(t)){let o=tt(r);for(let i of br)o=i(e,o);let n=e.printCandidate(o);if(t!==n)return n}return t})),Ar=["t","tr","r","br","b","bl","l","tl"];function Cr(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return Ar.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function Vr(e,t){let r=bt.get(e);if(t.kind==="arbitrary"){let[o,n]=r(t.value,t.modifier===null?1:0);o!==t.value&&(t.value=o,n!==null&&(t.modifier=n))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[o,n]=r(t.value.value,t.modifier===null?1:0);o!==t.value.value&&(t.value.value=o,n!==null&&(t.modifier=n))}return t}function Sr(e,t){let r=bt.get(e),o=ke(t);for(let[n]of o)if(n.kind==="arbitrary"){let[i]=r(n.selector,2);i!==n.selector&&(n.selector=i)}else if(n.kind==="functional"&&n.value?.kind==="arbitrary"){let[i]=r(n.value.value,2);i!==n.value.value&&(n.value.value=i)}return t}var bt=new g(e=>{return t(e);function t(r){function o(l,u=0){let f=x(l);if(u&2)return[he(f,a),null];let c=0,s=0;if(N(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,N(d.nodes,h=>h.kind==="separator"&&h.value.includes(",")?2:h.kind==="separator"&&h.value.trim()==="/"?(s+=1,2):1))}),c===0)return[l,null];if(s===0)return[he(f,i),null];if(s>1)return[he(f,a),null];let p=null;return[he(f,(d,h)=>{let V=C(d,"/").map(S=>S.trim());if(V.length>2)return null;if(f.length===1&&V.length===2&&u&1){let[S,b]=V;if(/^\d+%$/.test(b))p={kind:"named",value:b.slice(0,-1)};else if(/^0?\.\d+$/.test(b)){let w=Number(b)*100;p={kind:Number.isInteger(w)?"named":"arbitrary",value:w.toString()}}else p={kind:"arbitrary",value:b};d=S}return i(d,h)||a(d,h)}),p]}function n(l,u=!0){let f=`--${Te(ue(l))}`;return r.theme.get([f])?u&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function i(l,u){let f=n(l);if(f)return u?`var(${f}, ${u})`:`var(${f})`;let c=ue(l);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let s=c[1];return ee(s)?`--spacing(${s})`:null}return null}function a(l,u){let f=C(l,"/").map(p=>p.trim());l=f.shift();let c=n(l,!1);if(!c)return null;let s=f.length>0?`/${f.join("/")}`:"";return u?`--theme(${c}${s}, ${u})`:`--theme(${c}${s})`}return o}});function he(e,t){return N(e,(r,{parent:o,replaceWith:n})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let i=r.nodes[0];if(i.kind!=="word")return;let a=i.value,l=1;for(let c=l;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)a+=$([r.nodes[c]]),l=c+1;a=$r(a);let u=r.nodes.slice(l+1),f=u.length>0?t(a,$(u)):t(a);if(f===null)return;if(o){let c=o.nodes.indexOf(r)-1;for(;c!==-1;){let s=o.nodes[c];if(s.kind==="separator"&&s.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(s.value.trim())&&(f=`(${f})`);break}}n(x(f))}}),$(e)}function $r(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let o=1;o<e.length-1;o++){let n=e[o],i=e[o+1];n==="\\"&&(i===r||i==="\\")?(t+=i,o++):t+=n}return t}function*ke(e){function*t(r,o=null){yield[r,o],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function F(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Nr(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Tr=new g(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=ae.get(t);if(!r)return null;let[o,n]=r;return new g(i=>{let a=ae.get(i);if(!a)return null;let[l,u]=a;return u!==n?null:l/o})});function Er(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Pe.get(e),o=q.get(e),n=e.printCandidate(t),i=o.get(n);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(o.get(u)===i&&Pr(e,t,l))return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=o.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of F(e,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let s=Tr.get(e)?.get(c)??null,p="";s!==null&&s<0&&(p="-",s=Math.abs(s));for(let m of Array.from(e.utilities.keys("functional")).sort((d,h)=>+(d[0]==="-")-+(h[0]==="-"))){p&&(m=`${p}${m}`);for(let d of F(e,`${m}-${c}`))yield d;if(u.modifier)for(let d of F(e,`${m}-${c}${u.modifier}`))yield d;if(s!==null){for(let d of F(e,`${m}-${s}`))yield d;if(u.modifier)for(let d of F(e,`${m}-${s}${Ve(u.modifier)}`))yield d}for(let d of F(e,`${m}-[${c}]`))yield d;if(u.modifier)for(let d of F(e,`${m}-[${c}]${Ve(u.modifier)}`))yield d}}}}}function Pr(e,t,r){let o=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?o=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(o=t.value),o===null)return!0;let n=e.candidatesToCss([e.printCandidate(r)]).join(`
6
- `),i=!0;return N(x(o),a=>{if(a.kind==="function"&&a.value==="var"){let l=a.nodes[0].value;if(!new RegExp(`var\\(${l}[,)]\\s*`,"g").test(n)||n.includes(`${l}:`))return i=!1,2}}),i}function Rr(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Pe.get(e),o=q.get(e),n=e.printCandidate(t),i=o.get(n);if(typeof i!="string")return t;for(let l of a(i,t)){let u=e.printCandidate(l);if(o.get(u)===i)return l}return t;function*a(l,u){let f=r.get(l);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},s=o.get(e.printCandidate(c));if(typeof s=="string")for(let p of a(s,c))yield Object.assign({},p,{modifier:u.modifier})}if(f.length===1)for(let c of F(e,f[0]))yield c}}}var Or=new Map([["order-none","order-0"]]);function _r(e,t){let r=q.get(e),o=Nr(e,t),n=Or.get(o)??null;if(n===null)return t;let i=r.get(o);if(typeof i!="string")return t;let a=r.get(n);if(typeof a!="string"||i!==a)return t;let[l]=F(e,n);return l}function Dr(e,t){let r=ge.get(e),o=wt.get(e),n=ke(t);for(let[i]of n){if(i.kind==="compound")continue;let a=e.printVariant(i),l=r.get(a);if(typeof l!="string")continue;let u=o.get(l);if(u.length!==1)continue;let f=u[0],c=e.parseVariant(f);c!==null&&M(i,c)}return t}function Ur(e,t){let r=q.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let o=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(o)&&(t.value.dataType=null)}return t}function Lr(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=q.get(e),o=r.get(e.printCandidate(t));if(o===null)return t;for(let n of xt(t))if(r.get(e.printCandidate({...t,value:n}))===o)return t.value=n,t;return t}function Ir(e,t){let r=ke(t);for(let[o]of r)if(o.kind==="functional"&&o.root==="data"&&o.value?.kind==="arbitrary"&&!o.value.value.includes("="))o.value={kind:"named",value:o.value.value};else if(o.kind==="functional"&&o.root==="aria"&&o.value?.kind==="arbitrary"&&(o.value.value.endsWith("=true")||o.value.value.endsWith('="true"')||o.value.value.endsWith("='true'"))){let[n,i]=C(o.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.length-1]==="*")continue;o.value={kind:"named",value:o.value.value.slice(0,o.value.value.indexOf("="))}}else o.kind==="functional"&&o.root==="supports"&&o.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(o.value.value)&&(o.value={kind:"named",value:o.value.value});return t}function*xt(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&ee(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[i,a]=t.split("/");T(i)&&T(a)&&(yield{kind:"named",value:i,fraction:`${i}/${a}`})}let o=new Set;for(let i of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))o.add(i[0].trim());let n=Array.from(o).sort((i,a)=>i.length-a.length);for(let i of n)yield*xt(e,i,r)}function yt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ve(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Kr(e,t){let r=[t],o=ge.get(e),n=ke(t);for(let[i,a]of n)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let l=le(i.selector.trim());if(!yt(l))continue;if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&l[2].value==="*"){M(i,e.parseVariant("*"));continue}if(a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="*"){M(i,e.parseVariant("**"));continue}if(a===null&&l.length===3&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&l[2].value==="&"){l.pop(),l.pop(),M(i,e.parseVariant(`in-[${G(l)}]`));continue}if(a===null&&l[0].kind==="selector"&&(l[0].value==="@media"||l[0].value==="@supports")){let s=o.get(e.printVariant(i)),p=x(G(l)),m=!1;if(N(p,(d,{replaceWith:h})=>{d.kind==="word"&&d.value==="not"&&(m=!0,h([]))}),p=x($(p)),N(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${$(p)}]`);if(d===null)continue;let h=o.get(e.printVariant(d));if(s===h){M(i,d);continue}}}let u=null;a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===">"&&l[2].kind==="selector"&&ve(l[2])&&(l=[l[2]],u=e.parseVariant("*")),a===null&&l.length===3&&l[0].kind==="selector"&&l[0].value.trim()==="&"&&l[1].kind==="combinator"&&l[1].value.trim()===""&&l[2].kind==="selector"&&ve(l[2])&&(l=[l[2]],u=e.parseVariant("**"));let f=l.filter(s=>!(s.kind==="selector"&&s.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!yt(c.nodes)||c.nodes.length!==1||!ve(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let s=c,p=!1;if(s.kind==="function"&&s.value===":not"){if(p=!0,s.nodes.length!==1||s.nodes[0].kind!=="selector"&&s.nodes[0].kind!=="function"||s.nodes[0].value[0]!==":")continue;s=s.nodes[0]}let m=(h=>{if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(h===":nth-child"&&s.kind==="function"&&s.nodes.length===1&&s.nodes[0].kind==="value"&&s.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[V,S]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(h===V&&s.kind==="function"&&s.nodes.length===1)return s.nodes.length===1&&s.nodes[0].kind==="value"&&T(s.nodes[0].value)?`${S}-${s.nodes[0].value}`:`${S}-[${G(s.nodes)}]`;if(p){let V=o.get(e.printVariant(i)),S=o.get(`not-[${h}]`);if(V===S)return`[&${h}]`}return null})(s.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;M(i,d)}else if(ve(c)){let s=ot(c.value);if(s===null)continue;if(s.attribute.startsWith("data-")){let p=s.attribute.slice(5);M(i,{kind:"functional",root:"data",modifier:null,value:s.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}else if(s.attribute.startsWith("aria-")){let p=s.attribute.slice(5);M(i,{kind:"functional",root:"aria",modifier:null,value:s.value===null?{kind:"arbitrary",value:p}:s.operator==="="&&s.value==="true"&&s.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${s.attribute}${s.operator}${s.quote??""}${s.value}${s.quote??""}${s.sensitivity?` ${s.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function zr(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=q.get(e),o=r.get(e.printCandidate(t)),n=t.modifier;if(o===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let i={kind:"named",value:n.value.endsWith("%")?n.value.includes(".")?`${Number(n.value.slice(0,-1))}`:n.value.slice(0,-1):n.value,fraction:null};if(o===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}{let i={kind:"named",value:`${parseFloat(n.value)*100}`,fraction:null};if(o===r.get(e.printCandidate({...t,modifier:i})))return t.modifier=i,t}return t}function fe(e,t,{onInvalidCandidate:r,respectImportant:o}={}){let n=new Map,i=[],a=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}a.set(f,c)}let l=0;(o??!0)&&(l|=1);let u=t.getVariantOrder();for(let[f,c]of a){let s=!1;for(let p of c){let m=t.compileAstNodes(p,l);if(m.length!==0){s=!0;for(let{node:d,propertySort:h}of m){let V=0n;for(let S of p.variants)V|=1n<<BigInt(u.get(S));n.set(d,{properties:h,variants:V,candidate:f}),i.push(d)}}}s||r?.(f)}return i.sort((f,c)=>{let s=n.get(f),p=n.get(c);if(s.variants-p.variants!==0n)return Number(s.variants-p.variants);let m=0;for(;m<s.properties.order.length&&m<p.properties.order.length&&s.properties.order[m]===p.properties.order[m];)m+=1;return(s.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-s.properties.count||$e(s.candidate,p.candidate)}),{astNodes:i,nodeSorting:n}}function se(e,t){let r=0,o=D("&",e),n=new Set,i=new g(()=>new Set),a=new g(()=>new Set);A([o],(s,{parent:p,path:m})=>{if(s.kind==="at-rule"){if(s.name==="@keyframes")return A(s.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(s.name==="@utility"){let d=s.params.replace(/-\*$/,"");a.get(d).add(s),A(s.nodes,h=>{if(!(h.kind!=="at-rule"||h.name!=="@apply")){n.add(s);for(let V of Ct(h,t))i.get(s).add(V)}});return}if(s.name==="@apply"){if(p===null)return;r|=1,n.add(p);for(let d of Ct(s,t))for(let h of m)h!==s&&n.has(h)&&i.get(h).add(d)}}});let l=new Set,u=[],f=new Set;function c(s,p=[]){if(!l.has(s)){if(f.has(s)){let m=p[(p.indexOf(s)+1)%p.length];throw s.kind==="at-rule"&&s.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&A(s.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let h=d.params.split(/\s+/g);for(let V of h)for(let S of t.parseCandidate(V))switch(S.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===S.root)throw new Error(`You cannot \`@apply\` the \`${V}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
5
+ `);let t=[],r=[],n=null,l="",o;for(let i=0;i<e.length;i++){let s=e.charCodeAt(i);switch(s){case st:case ut:case ft:case mt:case dt:case gt:case ht:{if(l.length>0){let p=G(l);n?n.nodes.push(p):t.push(p),l=""}let a=i,u=i+1;for(;u<e.length&&(o=e.charCodeAt(u),!(o!==st&&o!==ut&&o!==ft&&o!==mt&&o!==dt&&o!==gt&&o!==ht));u++);i=u-1;let c=e.slice(a,u),f=c.trim()===","?ur(c):ar(c);n?n.nodes.push(f):t.push(f);break}case pt:{let a=sr(l,[]);if(l="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=i+1,c=0;for(let p=i+1;p<e.length;p++){if(o=e.charCodeAt(p),o===pt){c++;continue}if(o===at){if(c===0){i=p;break}c--}}let f=i;a.nodes.push(fr(e.slice(u,f))),l="",i=f,n?n.nodes.push(a):t.push(a);break}n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case at:{let a=r.pop();if(l.length>0){let u=G(l);a.nodes.push(u),l=""}r.length>0?n=r[r.length-1]:n=null;break}case mr:case pr:case gr:{if(l.length>0){let a=G(l);n?n.nodes.push(a):t.push(a)}l=e[i];break}case ct:{if(l.length>0){let c=G(l);n?n.nodes.push(c):t.push(c)}l="";let a=i,u=0;for(let c=i+1;c<e.length;c++){if(o=e.charCodeAt(c),o===ct){u++;continue}if(o===cr){if(u===0){i=c;break}u--}}l+=e.slice(a,i+1);break}case hr:case dr:{let a=i;for(let u=i+1;u<e.length;u++)if(o=e.charCodeAt(u),o===lt)u+=1;else if(o===s){i=u;break}l+=e.slice(a,i+1);break}case vr:case kr:{if(l.length>0){let a=G(l);n?n.nodes.push(a):t.push(a),l=""}n?n.nodes.push(G(e[i])):t.push(G(e[i]));break}case lt:{l+=e[i]+e[i+1],i+=1;break}default:l+=e[i]}}return l.length>0&&t.push(G(l)),t}var wr=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,J=new h(e=>{let t=wr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=Number(r);if(Number.isNaN(n))return null;let l=t.groups?.unit;return l===void 0?[n,null]:[n,l]});function vt(e,t=null){let r=!1,n=C(e);return k(n,{exit(l){if(l.kind==="word"&&l.value!=="0"){let o=yr(l.value,t);return o===null||o===l.value?void 0:(r=!0,v.ReplaceSkip(U(o)))}else if(l.kind==="function"&&(l.value==="calc"||l.value==="")){if(l.nodes.length!==5)return;let o=J.get(l.nodes[0].value),i=l.nodes[2].value,s=J.get(l.nodes[4].value);if(i==="*"&&(o?.[0]===0&&o?.[1]===null||s?.[0]===0&&s?.[1]===null))return r=!0,v.ReplaceSkip(U("0"));if(o===null||s===null)return;switch(i){case"*":{if(o[1]===s[1]||o[1]===null&&s[1]!==null||o[1]!==null&&s[1]===null)return r=!0,v.ReplaceSkip(U(`${o[0]*s[0]}${o[1]??""}`));break}case"+":{if(o[1]===s[1])return r=!0,v.ReplaceSkip(U(`${o[0]+s[0]}${o[1]??""}`));break}case"-":{if(o[1]===s[1])return r=!0,v.ReplaceSkip(U(`${o[0]-s[0]}${o[1]??""}`));break}case"/":{if(s[0]!==0&&(o[1]===null&&s[1]===null||o[1]!==null&&s[1]===null))return r=!0,v.ReplaceSkip(U(`${o[0]/s[0]}${o[1]??""}`));break}}}}}),r?V(n):e}function yr(e,t=null){let r=J.get(e);if(r===null)return null;let[n,l]=r;if(l===null)return`${n}`;if(n===0&&tt(e))return"0";switch(l.toLowerCase()){case"in":return`${n*96}px`;case"cm":return`${n*96/2.54}px`;case"mm":return`${n*96/2.54/10}px`;case"q":return`${n*96/2.54/10/4}px`;case"pc":return`${n*96/6}px`;case"pt":return`${n*96/72}px`;case"rem":return t!==null?`${n*t}px`:null;case"grad":return`${n*.9}deg`;case"rad":return`${n*180/Math.PI}deg`;case"turn":return`${n*360}deg`;case"ms":return`${n/1e3}s`;case"khz":return`${n*1e3}hz`;default:return`${n}${l}`}}var kt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,H=new h(e=>{let{rem:t,designSystem:r}=e;return new h(n=>{try{n=r.theme.prefix&&!n.startsWith(r.theme.prefix)?`${r.theme.prefix}:${n}`:n;let l=[j(".x",[P("@apply",n)])];return br(r,()=>{for(let i of r.parseCandidate(n))r.compileAstNodes(i,1);se(l,r)}),k(l,i=>{if(i.kind==="declaration"){if(i.value===void 0||i.property==="--tw-sort")return v.Replace([]);i.value.includes("%")&&(kt.lastIndex=0,i.value=i.value.replaceAll(kt,s=>`${Number(s.slice(0,-1))}%`))}else{if(i.kind==="context"||i.kind==="at-root")return v.Replace(i.nodes);if(i.kind==="comment")return v.Replace([]);if(i.kind==="at-rule"&&i.name==="@property")return v.Replace([])}}),k(l,i=>{if(i.kind==="declaration"&&i.value!==void 0){if(i.value.includes("var(")){let s=!1,a=C(i.value),u=new Set;k(a,c=>{if(c.kind!=="function"||c.value!=="var"||c.nodes.length!==1&&c.nodes.length<3)return;let f=c.nodes[0].value;r.theme.prefix&&f.startsWith(`--${r.theme.prefix}-`)&&(f=f.slice(`--${r.theme.prefix}-`.length));let p=r.resolveThemeValue(f);if(!u.has(f)&&(u.add(f),p!==void 0&&(c.nodes.length===1&&(s=!0,c.nodes.push(...C(`,${p}`))),c.nodes.length>=3))){let d=V(c.nodes),m=`${c.nodes[0].value},${p}`;if(d===m)return s=!0,v.Replace(C(p))}}),s&&(i.value=V(a))}i.value=vt(i.value,t),i.value=Ce(i.value)}}),_(l)}catch{return Symbol()}})}),Ne=new h(e=>{let{designSystem:t}=e,r=H.get(e),n=new h(()=>[]);for(let[l,o]of t.getClassList()){let i=r.get(l);if(typeof i=="string"){if(l[0]==="-"&&l.endsWith("-0")){let s=r.get(l.slice(1));if(typeof s=="string"&&i===s)continue}n.get(i).push(l);for(let s of o.modifiers){if(re(s))continue;let a=`${l}/${s}`,u=r.get(a);typeof u=="string"&&n.get(u).push(a)}}}return n}),de=new h(e=>{let{designSystem:t}=e;return new h(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let n=[j(".x",[P("@apply",`${r}:flex`)])];return se(n,t),k(n,o=>{if(o.kind==="at-rule"&&o.params.includes(" "))o.params=o.params.replaceAll(" ","");else if(o.kind==="rule"){let i=ae(o.selector),s=!1;k(i,a=>{if(a.kind==="separator"&&a.value!==" ")a.value=a.value.trim(),s=!0;else if(a.kind==="function"&&a.value===":is"){if(a.nodes.length===1)return s=!0,v.Replace(a.nodes);if(a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":")return s=!0,v.Replace(a.nodes[1])}else a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(s=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),s&&(o.selector=q(i))}}),_(n)}catch{return Symbol()}})}),wt=new h(e=>{let{designSystem:t}=e,r=de.get(e),n=new h(()=>[]);for(let[l,o]of t.variants.entries())if(o.kind==="static"){let i=r.get(l);if(typeof i!="string")continue;n.get(i).push(l)}return n});function br(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=l=>{let o=r.call(e.theme.values,l);return o===void 0||o.options&1&&(n.add(o),o.options&=-2),o};try{return t()}finally{e.theme.values.get=r;for(let l of n)l.options|=1}}function W(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ue(e){let t=[];for(let r of T(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let l=r.indexOf("[",n),o=r.indexOf("]",l);if(l===-1||o===-1)break;l>n&&t.push(r.slice(n,l)),t.push(r.slice(l+1,o)),n=o+1}n<=r.length-1&&t.push(r.slice(n))}return t}var eo=new h(e=>new h((t=null)=>({designSystem:e,rem:t})));var to=new h(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",n=Cr.get(e),l=$r.get(e);return new h((o,i)=>{for(let s of t.parseCandidate(o)){let a=s.variants.slice().reverse().flatMap(f=>n.get(f)),u=s.important;if(u||a.length>0){let p=i.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(p=p.slice(r.length)),a.length>0&&(p=`${a.map(d=>t.printVariant(d)).join(":")}:${p}`),u&&(p+="!"),t.theme.prefix!==null&&a.length>0&&(p=`${r}${p}`),p}let c=l.get(o);if(c!==o)return c}return o})}),Ar=[Er,Fr,jr,Kr],Cr=new h(e=>new h(t=>{let r=[t];for(let n of Ar)for(let l of r.splice(0)){let o=n(te(l),e);if(Array.isArray(o)){r.push(...o);continue}else r.push(o)}return r})),Sr=[Tr,Nr,Ur,Dr,Ir,zr,Mr,Wr],$r=new h(e=>{let t=e.designSystem;return new h(r=>{for(let n of t.parseCandidate(r)){let l=et(n);for(let i of Sr)l=i(l,e);let o=t.printCandidate(l);if(r!==o)return o}return r})}),Vr=["t","tr","r","br","b","bl","l","tl"];function Tr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Vr.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function Nr(e,t){let r=bt.get(t.designSystem);if(e.kind==="arbitrary"){let[n,l]=r(e.value,e.modifier===null?1:0);n!==e.value&&(e.value=n,l!==null&&(e.modifier=l))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[n,l]=r(e.value.value,e.modifier===null?1:0);n!==e.value.value&&(e.value.value=n,l!==null&&(e.modifier=l))}return e}function Er(e,t){let r=bt.get(t.designSystem),n=he(e);for(let[l]of n)if(l.kind==="arbitrary"){let[o]=r(l.selector,2);o!==l.selector&&(l.selector=o)}else if(l.kind==="functional"&&l.value?.kind==="arbitrary"){let[o]=r(l.value.value,2);o!==l.value.value&&(l.value.value=o)}return e}var bt=new h(e=>{return t(e);function t(r){function n(s,a=0){let u=C(s);if(a&2)return[me(u,i),null];let c=0,f=0;if(k(u,m=>{m.kind==="function"&&m.value==="theme"&&(c+=1,k(m.nodes,g=>g.kind==="separator"&&g.value.includes(",")?v.Stop:g.kind==="word"&&g.value==="/"?(f+=1,v.Stop):v.Skip))}),c===0)return[s,null];if(f===0)return[me(u,o),null];if(f>1)return[me(u,i),null];let p=null;return[me(u,(m,g)=>{let x=T(m,"/").map($=>$.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[$,w]=x;if(/^\d+%$/.test(w))p={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let A=Number(w)*100;p={kind:Number.isInteger(A)?"named":"arbitrary",value:A.toString()}}else p={kind:"arbitrary",value:w};m=$}return o(m,g)||i(m,g)}),p]}function l(s,a=!0){let u=`--${Ve(ue(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function o(s,a){let u=l(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let c=ue(s);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let f=c[1];return re(f)?`--spacing(${f})`:null}return null}function i(s,a){let u=T(s,"/").map(p=>p.trim());s=u.shift();let c=l(s,!1);if(!c)return null;let f=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${c}${f}, ${a})`:`--theme(${c}${f})`}return n}});function me(e,t){return k(e,(r,n)=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let l=r.nodes[0];if(l.kind!=="word")return;let o=l.value,i=1;for(let u=i;u<r.nodes.length&&!r.nodes[u].value.includes(",");u++)o+=V([r.nodes[u]]),i=u+1;o=Rr(o);let s=r.nodes.slice(i+1),a=s.length>0?t(o,V(s)):t(o);if(a===null)return;if(n.parent){let u=n.parent.nodes.indexOf(r)-1;for(;u!==-1;){let c=n.parent.nodes[u];if(c.kind==="separator"&&c.value.trim()===""){u-=1;continue}/^[-+*/]$/.test(c.value.trim())&&(a=`(${a})`);break}}return v.Replace(C(a))}}),V(e)}function Rr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let l=e[n],o=e[n+1];l==="\\"&&(o===r||o==="\\")?(t+=o,n++):t+=l}return t}function*he(e){function*t(r,n=null){yield[r,n],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function B(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Pr(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Or=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=J.get(t);if(!r)return null;let[n,l]=r;return new h(o=>{let i=J.get(o);if(!i)return null;let[s,a]=i;return a!==l?null:s/n})});function Ur(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,n=Ne.get(t),l=H.get(t),o=r.printCandidate(e),i=l.get(o);if(typeof i!="string")return e;for(let a of s(i,e)){let u=r.printCandidate(a);if(l.get(u)===i&&_r(r,e,a))return a}return e;function*s(a,u){let c=n.get(a);if(!(c.length>1)){if(c.length===0&&u.modifier){let f={...u,modifier:null},p=l.get(r.printCandidate(f));if(typeof p=="string")for(let d of s(p,f))yield Object.assign({},d,{modifier:u.modifier})}if(c.length===1)for(let f of B(r,c[0]))yield f;else if(c.length===0){let f=u.kind==="arbitrary"?u.value:u.value?.value??null;if(f===null)return;let p=Or.get(r)?.get(f)??null,d="";p!==null&&p<0&&(d="-",p=Math.abs(p));for(let m of Array.from(r.utilities.keys("functional")).sort((g,x)=>+(g[0]==="-")-+(x[0]==="-"))){d&&(m=`${d}${m}`);for(let g of B(r,`${m}-${f}`))yield g;if(u.modifier)for(let g of B(r,`${m}-${f}${u.modifier}`))yield g;if(p!==null){for(let g of B(r,`${m}-${p}`))yield g;if(u.modifier)for(let g of B(r,`${m}-${p}${Ae(u.modifier)}`))yield g}for(let g of B(r,`${m}-[${f}]`))yield g;if(u.modifier)for(let g of B(r,`${m}-[${f}]${Ae(u.modifier)}`))yield g}}}}}function _r(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let l=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),o=!0;return k(C(n),i=>{if(i.kind==="function"&&i.value==="var"){let s=i.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(l)||l.includes(`${s}:`))return o=!1,v.Stop}}),o}function Dr(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,n=Ne.get(t),l=H.get(t),o=r.printCandidate(e),i=l.get(o);if(typeof i!="string")return e;for(let a of s(i,e)){let u=r.printCandidate(a);if(l.get(u)===i)return a}return e;function*s(a,u){let c=n.get(a);if(!(c.length>1)){if(c.length===0&&u.modifier){let f={...u,modifier:null},p=l.get(r.printCandidate(f));if(typeof p=="string")for(let d of s(p,f))yield Object.assign({},d,{modifier:u.modifier})}if(c.length===1)for(let f of B(r,c[0]))yield f}}}var Lr=new Map([["order-none","order-0"],["break-words","wrap-break-word"]]);function Ir(e,t){let r=t.designSystem,n=H.get(t),l=Pr(r,e),o=Lr.get(l)??null;if(o===null)return e;let i=n.get(l);if(typeof i!="string")return e;let s=n.get(o);if(typeof s!="string"||i!==s)return e;let[a]=B(r,o);return a}function Kr(e,t){let r=t.designSystem,n=de.get(t),l=wt.get(t),o=he(e);for(let[i]of o){if(i.kind==="compound")continue;let s=r.printVariant(i),a=n.get(s);if(typeof a!="string")continue;let u=l.get(a);if(u.length!==1)continue;let c=u[0],f=r.parseVariant(c);f!==null&&W(i,f)}return e}function zr(e,t){let r=t.designSystem,n=H.get(t);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let l=r.printCandidate({...e,value:{...e.value,dataType:null}});n.get(r.printCandidate(e))===n.get(l)&&(e.value.dataType=null)}return e}function Mr(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,n=H.get(t),l=n.get(r.printCandidate(e));if(l===null)return e;for(let o of xt(e))if(n.get(r.printCandidate({...e,value:o}))===l)return e.value=o,e;return e}function Fr(e){let t=he(e);for(let[r]of t)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[n,l]=T(r.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.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*xt(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&re(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[o,i]=t.split("/");R(o)&&R(i)&&(yield{kind:"named",value:o,fraction:`${o}/${i}`})}let n=new Set;for(let o of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(o[0].trim());let l=Array.from(n).sort((o,i)=>o.length-i.length);for(let o of l)yield*xt(e,o,r)}function yt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ge(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function jr(e,t){let r=[e],n=t.designSystem,l=de.get(t),o=he(e);for(let[i,s]of o)if(i.kind==="compound"&&(i.root==="has"||i.root==="not"||i.root==="in")&&i.modifier!==null&&"modifier"in i.variant&&(i.variant.modifier=i.modifier,i.modifier=null),i.kind==="arbitrary"){if(i.relative)continue;let a=ae(i.selector.trim());if(!yt(a))continue;if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){W(i,n.parseVariant("*"));continue}if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){W(i,n.parseVariant("**"));continue}if(s===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),W(i,n.parseVariant(`in-[${q(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let p=l.get(n.printVariant(i)),d=C(q(a)),m=!1;if(k(d,g=>{if(g.kind==="word"&&g.value==="not")return m=!0,v.Replace([])}),d=C(V(d)),k(d,g=>{g.kind==="separator"&&g.value!==" "&&g.value.trim()===""&&(g.value=" ")}),m){let g=n.parseVariant(`not-[${V(d)}]`);if(g===null)continue;let x=l.get(n.printVariant(g));if(p===x){W(i,g);continue}}}let u=null;s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&ge(a[2])&&(a=[a[2]],u=n.parseVariant("*")),s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&ge(a[2])&&(a=[a[2]],u=n.parseVariant("**"));let c=a.filter(p=>!(p.kind==="selector"&&p.value.trim()==="&"));if(c.length!==1)continue;let f=c[0];if(f.kind==="function"&&f.value===":is"){if(!yt(f.nodes)||f.nodes.length!==1||!ge(f.nodes[0]))continue;f=f.nodes[0]}if(f.kind==="function"&&f.value[0]===":"||f.kind==="selector"&&f.value[0]===":"){let p=f,d=!1;if(p.kind==="function"&&p.value===":not"){if(d=!0,p.nodes.length!==1||p.nodes[0].kind!=="selector"&&p.nodes[0].kind!=="function"||p.nodes[0].value[0]!==":")continue;p=p.nodes[0]}let m=(x=>{if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[$,w]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(x===$&&p.kind==="function"&&p.nodes.length===1)return p.nodes.length===1&&p.nodes[0].kind==="value"&&R(p.nodes[0].value)?`${w}-${p.nodes[0].value}`:`${w}-[${q(p.nodes)}]`;if(d){let $=l.get(n.printVariant(i)),w=l.get(`not-[${x}]`);if($===w)return`[&${x}]`}return null})(p.value);if(m===null)continue;d&&(m=`not-${m}`);let g=n.parseVariant(m);if(g===null)continue;W(i,g)}else if(ge(f)){let p=nt(f.value);if(p===null)continue;if(p.attribute.startsWith("data-")){let d=p.attribute.slice(5);W(i,{kind:"functional",root:"data",modifier:null,value:p.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}else if(p.attribute.startsWith("aria-")){let d=p.attribute.slice(5);W(i,{kind:"functional",root:"aria",modifier:null,value:p.value===null?{kind:"arbitrary",value:d}:p.operator==="="&&p.value==="true"&&p.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${p.attribute}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}}if(u)return[u,i]}return r}function Wr(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,n=H.get(t),l=n.get(r.printCandidate(e)),o=e.modifier;if(l===n.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let i={kind:"named",value:o.value.endsWith("%")?o.value.includes(".")?`${Number(o.value.slice(0,-1))}`:o.value.slice(0,-1):o.value,fraction:null};if(l===n.get(r.printCandidate({...e,modifier:i})))return e.modifier=i,e}{let i={kind:"named",value:`${parseFloat(o.value)*100}`,fraction:null};if(l===n.get(r.printCandidate({...e,modifier:i})))return e.modifier=i,e}return e}function fe(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let l=new Map,o=[],i=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let c=t.parseCandidate(u);if(c.length===0){r?.(u);continue}i.set(u,c)}let s=0;(n??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,c]of i){let f=!1;for(let p of c){let d=t.compileAstNodes(p,s);if(d.length!==0){f=!0;for(let{node:m,propertySort:g}of d){let x=0n;for(let $ of p.variants)x|=1n<<BigInt(a.get($));l.set(m,{properties:g,variants:x,candidate:u}),o.push(m)}}}f||r?.(u)}return o.sort((u,c)=>{let f=l.get(u),p=l.get(c);if(f.variants-p.variants!==0n)return Number(f.variants-p.variants);let d=0;for(;d<f.properties.order.length&&d<p.properties.order.length&&f.properties.order[d]===p.properties.order[d];)d+=1;return(f.properties.order[d]??1/0)-(p.properties.order[d]??1/0)||p.properties.count-f.properties.count||Se(f.candidate,p.candidate)}),{astNodes:o,nodeSorting:l}}function se(e,t){let r=0,n=I("&",e),l=new Set,o=new h(()=>new Set),i=new h(()=>new Set);k([n],(f,p)=>{if(f.kind==="at-rule"){if(f.name==="@keyframes")return k(f.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),v.Skip;if(f.name==="@utility"){let d=f.params.replace(/-\*$/,"");i.get(d).add(f),k(f.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){l.add(f);for(let g of Ct(m,t))o.get(f).add(g)}});return}if(f.name==="@apply"){if(p.parent===null)return;r|=1,l.add(p.parent);for(let d of Ct(f,t))for(let m of p.path())l.has(m)&&o.get(m).add(d)}}});let s=new Set,a=[],u=new Set;function c(f,p=[]){if(!s.has(f)){if(u.has(f)){let d=p[(p.indexOf(f)+1)%p.length];throw f.kind==="at-rule"&&f.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&k(f.nodes,m=>{if(m.kind!=="at-rule"||m.name!=="@apply")return;let g=m.params.split(/\s+/g);for(let x of g)for(let $ of t.parseCandidate(x))switch($.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===$.root)throw new Error(`You cannot \`@apply\` the \`${x}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
7
 
8
- ${O([s])}
8
+ ${_([f])}
9
9
  Relies on:
10
10
 
11
- ${O([m])}`)}f.add(s);for(let m of i.get(s))for(let d of a.get(m))p.push(s),c(d,p),p.pop();l.add(s),f.delete(s),u.push(s)}}for(let s of n)c(s);for(let s of u)"nodes"in s&&A(s.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),h={},V=0;for(let[S,b]of d.entries())S%2===0&&(h[b]=V),V+=b.length;{let S=Object.keys(h),b=fe(S,t,{respectImportant:!1,onInvalidCandidate:k=>{if(t.theme.prefix&&!k.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${k}\`. Did you mean \`${t.theme.prefix}:${k}\`?`);if(t.invalidCandidates.has(k))throw new Error(`Cannot apply utility class \`${k}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let y=C(k,":");if(y.length>1){let R=y.pop();if(t.candidatesToCss([R])[0]){let Q=t.candidatesToCss(y.map(J=>`${J}:[--tw-variant-check:1]`)),W=y.filter((J,xe)=>Q[xe]===null);if(W.length>0){if(W.length===1)throw new Error(`Cannot apply utility class \`${k}\` because the ${W.map(J=>`\`${J}\``)} variant does not exist.`);{let J=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${k}\` because the ${J.format(W.map(xe=>`\`${xe}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${k}\`. 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 \`${k}\``)}}),w=p.src,re=b.astNodes.map(k=>{let y=b.nodeSorting.get(k)?.candidate,R=y?h[y]:void 0;if(k=L(k),!w||!y||R===void 0)return A([k],W=>{W.src=w}),k;let Q=[w[0],w[1],w[2]];return Q[1]+=7+R,Q[2]=Q[1]+y.length,A([k],W=>{W.src=Q}),k}),j=[];for(let k of re)if(k.kind==="rule")for(let y of k.nodes)j.push(y);else j.push(k);m(j)}});return r}function*Ct(e,t){for(let r of e.params.split(/\s+/g))for(let o of t.parseCandidate(r))switch(o.kind){case"arbitrary":break;case"static":case"functional":yield o.root;break;default:}}var Gr=32;var qr=40;function Vt(e,t=[]){let r=e,o="";for(let n=5;n<e.length;n++){let i=e.charCodeAt(n);if(i===Gr||i===qr){r=e.slice(0,n),o=e.slice(n);break}}return E(r.trim(),o.trim(),t)}var Oe={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function Y(e){return{__BARE_VALUE__:e}}var _=Y(e=>{if(T(e.value))return e.value}),P=Y(e=>{if(T(e.value))return`${e.value}%`}),H=Y(e=>{if(T(e.value))return`${e.value}px`}),Nt=Y(e=>{if(T(e.value))return`${e.value}ms`}),ye=Y(e=>{if(T(e.value))return`${e.value}deg`}),Jr=Y(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),Tt=Y(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Xr={accentColor:({theme:e})=>e("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",...Jr},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...ye}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),backgroundColor:({theme:e})=>e("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:e})=>e("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:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...H},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:e})=>e("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",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({...Oe}),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",..._},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},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:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...H}),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:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",..._},flexShrink:{0:"0",DEFAULT:"1",..._},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:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("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%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},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",..._},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",..._},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",..._},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",..._},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))",...Tt},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))",...Tt},height:({theme:e})=>({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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...ye},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...P},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:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",..._},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("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",...P},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",..._},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...ye},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},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",...P},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...ye},space:({theme:e})=>e("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:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",..._},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...H},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",...Nt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Nt},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:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({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",...e("spacing")}),width:({theme:e})=>({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",...e("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",..._}};function _e(e){let t=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&t.push(n+1);function r(n){let i=0,a=t.length;for(;a>0;){let u=(a|0)>>1,f=i+u;t[f]<=n?(i=f+1,a=a-u-1):a=u}i-=1;let l=n-t[i];return{line:i+1,column:l}}function o({line:n,column:i}){n-=1,n=Math.min(Math.max(n,0),t.length-1);let a=t[n],l=t[n+1]??a;return Math.min(Math.max(a+i,0),l)}return{find:r,findOffset:o}}var ei=64;function z(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function D(e,t=[]){return e.charCodeAt(0)===ei?Vt(e,t):z(e,t)}function U(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function we(e){return{kind:"comment",value:e}}function L(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(L),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(L),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 A(e,t,r=[],o={}){for(let n=0;n<e.length;n++){let i=e[n],a=r[r.length-1]??null;if(i.kind==="context"){if(A(i.nodes,t,r,{...o,...i.context})===2)return 2;continue}r.push(i);let l=!1,u=0,f=t(i,{parent:a,context:o,path:r,replaceWith(c){l||(l=!0,Array.isArray(c)?c.length===0?(e.splice(n,1),u=0):c.length===1?(e[n]=c[0],u=1):(e.splice(n,1,...c),u=c.length):(e[n]=c,u=1))}})??0;if(r.pop(),l){f===0?n--:n+=u-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in i){r.push(i);let c=A(i.nodes,t,r,o);if(r.pop(),c===2)return 2}}}function O(e,t){let r=0,o={file:null,code:""};function n(a,l=0){let u="",f=" ".repeat(l);if(a.kind==="declaration"){if(u+=`${f}${a.property}: ${a.value}${a.important?" !important":""};
12
- `,t){r+=f.length;let c=r;r+=a.property.length,r+=2,r+=a.value?.length??0,a.important&&(r+=11);let s=r;r+=2,a.dst=[o,c,s]}}else if(a.kind==="rule"){if(u+=`${f}${a.selector} {
13
- `,t){r+=f.length;let c=r;r+=a.selector.length,r+=1;let s=r;a.dst=[o,c,s],r+=2}for(let c of a.nodes)u+=n(c,l+1);u+=`${f}}
14
- `,t&&(r+=f.length,r+=2)}else if(a.kind==="at-rule"){if(a.nodes.length===0){let c=`${f}${a.name} ${a.params};
15
- `;if(t){r+=f.length;let s=r;r+=a.name.length,r+=1,r+=a.params.length;let p=r;r+=2,a.dst=[o,s,p]}return c}if(u+=`${f}${a.name}${a.params?` ${a.params} `:" "}{
16
- `,t){r+=f.length;let c=r;r+=a.name.length,a.params&&(r+=1,r+=a.params.length),r+=1;let s=r;a.dst=[o,c,s],r+=2}for(let c of a.nodes)u+=n(c,l+1);u+=`${f}}
17
- `,t&&(r+=f.length,r+=2)}else if(a.kind==="comment"){if(u+=`${f}/*${a.value}*/
18
- `,t){r+=f.length;let c=r;r+=2+a.value.length+2;let s=r;a.dst=[o,c,s],r+=1}}else if(a.kind==="context"||a.kind==="at-root")return"";return u}let i="";for(let a of e)i+=n(a,0);return o.code=i,i}var ti=33;function Et(e,t,r){let o=new g(f=>new e.Input(f.code,{map:r?.input.map,from:f.file??void 0})),n=new g(f=>_e(f.code)),i=e.root();i.source=r;function a(f){if(!f||!f[0])return;let c=n.get(f[0]),s=c.find(f[1]),p=c.find(f[2]);return{input:o.get(f[0]),start:{line:s.line,column:s.column+1,offset:f[1]},end:{line:p.line,column:p.column+1,offset:f[2]}}}function l(f,c){let s=a(c);s?f.source=s:delete f.source}function u(f,c){if(f.kind==="declaration"){let s=e.decl({prop:f.property,value:f.value??"",important:f.important});l(s,f.src),c.append(s)}else if(f.kind==="rule"){let s=e.rule({selector:f.selector});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="at-rule"){let s=e.atRule({name:f.name.slice(1),params:f.params});l(s,f.src),s.raws.semicolon=!0,c.append(s);for(let p of f.nodes)u(p,s)}else if(f.kind==="comment"){let s=e.comment({text:f.value});s.raws.left="",s.raws.right="",l(s,f.src),c.append(s)}else f.kind==="at-root"||f.kind}for(let f of t)u(f,i);return i}function Pt(e){let t=new g(i=>({file:i.file??i.id??null,code:i.css}));function r(i){let a=i.source;if(!a)return;let l=a.input;if(l&&a.start!==void 0&&a.end!==void 0)return[t.get(l),a.start.offset,a.end.offset]}function o(i,a){if(i.type==="decl"){let l=U(i.prop,i.value,i.important);l.src=r(i),a.push(l)}else if(i.type==="rule"){let l=D(i.selector);l.src=r(i),i.each(u=>o(u,l.nodes)),a.push(l)}else if(i.type==="atrule"){let l=E(`@${i.name}`,i.params);l.src=r(i),i.each(u=>o(u,l.nodes)),a.push(l)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==ti)return;let l=we(i.text);l.src=r(i),a.push(l)}}let n=[];return e.each(i=>o(i,n)),n}import{normalizePath as Rt}from"@tailwindcss/node";import be from"path";var De="'",Ue='"';function Le(){let e=new WeakSet;function t(r){let o=r.root().source?.input.file;if(!o)return;let n=r.source?.input.file;if(!n||e.has(r))return;let i=r.params[0],a=i[0]===Ue&&i[i.length-1]===Ue?Ue:i[0]===De&&i[i.length-1]===De?De:null;if(!a)return;let l=r.params.slice(1,-1),u="";if(l.startsWith("!")&&(l=l.slice(1),u="!"),!l.startsWith("./")&&!l.startsWith("../"))return;let f=be.posix.join(Rt(be.dirname(n)),l),c=be.posix.dirname(Rt(o)),s=be.posix.relative(c,f);s.startsWith(".")||(s="./"+s),r.params=a+u+s+a,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var v=ni.DEBUG,ze=new ri({maxSize:50});function fi(e,t,r){let o=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(ze.has(o))return ze.get(o);let n={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return ze.set(o,n),n}function ci(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",o=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Le(),{postcssPlugin:"tailwindcss",async Once(n,{result:i,postcss:a}){var d=[];try{let l=je(d,new oi);let u=i.opts.from??"";let f=u.endsWith(".module.css");v&&l.start(`[@tailwindcss/postcss] ${Ot(t,u)}`);{v&&l.start("Quick bail check");let b=!0;if(n.walkAtRules(w=>{if(w.name==="import"||w.name==="reference"||w.name==="theme"||w.name==="variant"||w.name==="config"||w.name==="plugin"||w.name==="apply"||w.name==="tailwind")return b=!1,!1}),b)return;v&&l.end("Quick bail check")}let c=fi(a,u,e);let s=Z.dirname(Z.resolve(u));let p=c.compiler===null;async function m(){v&&l.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&ai(c.fullRebuildPaths),c.fullRebuildPaths=[],v&&l.start("PostCSS AST -> Tailwind CSS AST");let b=Pt(n);v&&l.end("PostCSS AST -> Tailwind CSS AST"),v&&l.start("Create compiler");let w=await ii(b,{from:i.opts.from,base:s,shouldRewriteUrls:o,onDependency:re=>c.fullRebuildPaths.push(re),polyfills:f?Ke.All^Ke.AtProperty:Ke.All});return v&&l.end("Create compiler"),v&&l.end("Setup compiler"),w}try{if(c.compiler??=m(),(await c.compiler).features===Ie.None)return;let b="incremental";v&&l.start("Register full rebuild paths");{for(let y of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(y),parent:i.opts.from});let k=i.messages.flatMap(y=>y.type!=="dependency"?[]:y.file);k.push(u);for(let y of k){let R=ui.statSync(y,{throwIfNoEntry:!1})?.mtimeMs??null;if(R===null){y===u&&(b="full");continue}c.mtimes.get(y)!==R&&(b="full",c.mtimes.set(y,R))}}v&&l.end("Register full rebuild paths"),b==="full"&&!p&&(c.compiler=m());let w=await c.compiler;if(c.scanner===null||b==="full"){v&&l.start("Setup scanner");let k=(w.root==="none"?[]:w.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...w.root,negated:!1}]).concat(w.sources);c.scanner=new si({sources:k}),v&&l.end("Setup scanner")}v&&l.start("Scan for candidates");let re=w.features&Ie.Utilities?c.scanner.scan():[];if(v&&l.end("Scan for candidates"),w.features&Ie.Utilities){v&&l.start("Register dependency messages");let k=Z.resolve(t,u);for(let y of c.scanner.files){let R=Z.resolve(y);R!==k&&i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R,parent:i.opts.from})}for(let{base:y,pattern:R}of c.scanner.globs)R==="*"&&t===y||(R===""?i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(y),parent:i.opts.from}):i.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:Z.resolve(y),glob:R,parent:i.opts.from}));v&&l.end("Register dependency messages")}v&&l.start("Build utilities");let j=w.build(re);if(v&&l.end("Build utilities"),c.tailwindCssAst!==j)if(r){v&&l.start("Optimization"),v&&l.start("AST -> CSS");let k=O(j);v&&l.end("AST -> CSS"),v&&l.start("Lightning CSS");let y=li(k,{minify:typeof r=="object"?r.minify:!0});v&&l.end("Lightning CSS"),v&&l.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=a.parse(y.code,i.opts),v&&l.end("CSS -> PostCSS AST"),v&&l.end("Optimization")}else v&&l.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Et(a,j,n.source),v&&l.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=j,v&&l.start("Update PostCSS AST"),n.removeAll(),n.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),n.raws.indent=" ",v&&l.end("Update PostCSS AST"),v&&l.end(`[@tailwindcss/postcss] ${Ot(t,u)}`)}catch(b){c.compiler=null;for(let w of c.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Z.resolve(w),parent:i.opts.from});throw console.error(b),b&&typeof b=="object"&&"message"in b?n.error(`${b.message}`):n.error(`${b}`)}}catch(h){var V=h,S=!0}finally{We(d,V,S)}}}]}}var As=Object.assign(ci,{postcss:!0});export{As as default};
11
+ ${_([d])}`)}u.add(f);for(let d of o.get(f))for(let m of i.get(d))p.push(f),c(m,p),p.pop();s.add(f),u.delete(f),a.push(f)}}for(let f of l)c(f);for(let f of a)"nodes"in f&&k(f.nodes,p=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),m={},g=0;for(let[x,$]of d.entries())x%2===0&&(m[$]=g),g+=$.length;{let x=Object.keys(m),$=fe(x,t,{respectImportant:!1,onInvalidCandidate:b=>{if(t.theme.prefix&&!b.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${b}\`. Did you mean \`${t.theme.prefix}:${b}\`?`);if(t.invalidCandidates.has(b))throw new Error(`Cannot apply utility class \`${b}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let N=T(b,":");if(N.length>1){let S=N.pop();if(t.candidatesToCss([S])[0]){let E=t.candidatesToCss(N.map(ee=>`${ee}:[--tw-variant-check:1]`)),M=N.filter((ee,ye)=>E[ye]===null);if(M.length>0){if(M.length===1)throw new Error(`Cannot apply utility class \`${b}\` because the ${M.map(ee=>`\`${ee}\``)} variant does not exist.`);{let ee=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${b}\` because the ${ee.format(M.map(ye=>`\`${ye}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${b}\`. 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 \`${b}\``)}}),w=p.src,A=$.astNodes.map(b=>{let N=$.nodeSorting.get(b)?.candidate,S=N?m[N]:void 0;if(b=z(b),!w||!N||S===void 0)return k([b],M=>{M.src=w}),b;let E=[w[0],w[1],w[2]];return E[1]+=7+S,E[2]=E[1]+N.length,k([b],M=>{M.src=E}),b}),Y=[];for(let b of A)if(b.kind==="rule")for(let N of b.nodes)Y.push(N);else Y.push(b);return v.Replace(Y)}});return r}function*Ct(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}var Qr=32,Yr=9;var Jr=40;function St(e,t=[]){let r=e,n="";for(let l=5;l<e.length;l++){let o=e.charCodeAt(l);if(o===Qr||o===Yr||o===Jr){r=e.slice(0,l),n=e.slice(l);break}}return P(r.trim(),n.trim(),t)}var Re={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function X(e){return{__BARE_VALUE__:e}}var D=X(e=>{if(R(e.value))return e.value}),O=X(e=>{if(R(e.value))return`${e.value}%`}),Z=X(e=>{if(R(e.value))return`${e.value}px`}),Tt=X(e=>{if(R(e.value))return`${e.value}ms`}),ke=X(e=>{if(R(e.value))return`${e.value}deg`}),ii=X(e=>{if(e.fraction===null)return;let[t,r]=T(e.fraction,"/");if(!(!R(t)||!R(r)))return e.fraction}),Nt=X(e=>{if(R(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),ni={accentColor:({theme:e})=>e("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",...ii},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...O}),backdropContrast:({theme:e})=>({...e("contrast"),...O}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...O}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...ke}),backdropInvert:({theme:e})=>({...e("invert"),...O}),backdropOpacity:({theme:e})=>({...e("opacity"),...O}),backdropSaturate:({theme:e})=>({...e("saturate"),...O}),backdropSepia:({theme:e})=>({...e("sepia"),...O}),backgroundColor:({theme:e})=>e("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:e})=>e("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:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Z},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:e})=>e("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",...O},caretColor:({theme:e})=>e("colors"),colors:()=>({...Re}),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",...D},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...O},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:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Z}),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:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({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%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...D},flexShrink:{0:"0",DEFAULT:"1",...D},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:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("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%",...O},grayscale:{0:"0",DEFAULT:"100%",...O},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",...D},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",...D},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",...D},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",...D},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))",...Nt},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))",...Nt},height:({theme:e})=>({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",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...ke},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...O},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:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...D},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({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",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("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",...O},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",...D},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...ke},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...O},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",...O},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...O},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...ke},space:({theme:e})=>e("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:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...D},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},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",...Tt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Tt},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:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({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",...e("spacing")}),width:({theme:e})=>({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",...e("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",...D}};function Pe(e){let t=[0];for(let l=0;l<e.length;l++)e.charCodeAt(l)===10&&t.push(l+1);function r(l){let o=0,i=t.length;for(;i>0;){let a=(i|0)>>1,u=o+a;t[u]<=l?(o=u+1,i=i-a-1):i=a}o-=1;let s=l-t[o];return{line:o+1,column:s}}function n({line:l,column:o}){l-=1,l=Math.min(Math.max(l,0),t.length-1);let i=t[l],s=t[l+1]??i;return Math.min(Math.max(i+o,0),s)}return{find:r,findOffset:n}}var li=64;function j(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function P(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function I(e,t=[]){return e.charCodeAt(0)===li?St(e,t):j(e,t)}function K(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ve(e){return{kind:"comment",value:e}}function z(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(z),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(z),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(z),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(z),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 _(e,t){let r=0,n={file:null,code:""};function l(i,s=0){let a="",u=" ".repeat(s);if(i.kind==="declaration"){if(a+=`${u}${i.property}: ${i.value}${i.important?" !important":""};
12
+ `,t){r+=u.length;let c=r;r+=i.property.length,r+=2,r+=i.value?.length??0,i.important&&(r+=11);let f=r;r+=2,i.dst=[n,c,f]}}else if(i.kind==="rule"){if(a+=`${u}${i.selector} {
13
+ `,t){r+=u.length;let c=r;r+=i.selector.length,r+=1;let f=r;i.dst=[n,c,f],r+=2}for(let c of i.nodes)a+=l(c,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(i.kind==="at-rule"){if(i.nodes.length===0){let c=`${u}${i.name} ${i.params};
15
+ `;if(t){r+=u.length;let f=r;r+=i.name.length,r+=1,r+=i.params.length;let p=r;r+=2,i.dst=[n,f,p]}return c}if(a+=`${u}${i.name}${i.params?` ${i.params} `:" "}{
16
+ `,t){r+=u.length;let c=r;r+=i.name.length,i.params&&(r+=1,r+=i.params.length),r+=1;let f=r;i.dst=[n,c,f],r+=2}for(let c of i.nodes)a+=l(c,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(i.kind==="comment"){if(a+=`${u}/*${i.value}*/
18
+ `,t){r+=u.length;let c=r;r+=2+i.value.length+2;let f=r;i.dst=[n,c,f],r+=1}}else if(i.kind==="context"||i.kind==="at-root")return"";return a}let o="";for(let i of e)o+=l(i,0);return n.code=o,o}var ai=33;function Et(e,t,r){let n=new h(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),l=new h(u=>Pe(u.code)),o=e.root();o.source=r;function i(u){if(!u||!u[0])return;let c=l.get(u[0]),f=c.find(u[1]),p=c.find(u[2]);return{input:n.get(u[0]),start:{line:f.line,column:f.column+1,offset:u[1]},end:{line:p.line,column:p.column+1,offset:u[2]}}}function s(u,c){let f=i(c);f?u.source=f:delete u.source}function a(u,c){if(u.kind==="declaration"){let f=e.decl({prop:u.property,value:u.value??"",important:u.important});s(f,u.src),c.append(f)}else if(u.kind==="rule"){let f=e.rule({selector:u.selector});s(f,u.src),f.raws.semicolon=!0,c.append(f);for(let p of u.nodes)a(p,f)}else if(u.kind==="at-rule"){let f=e.atRule({name:u.name.slice(1),params:u.params});s(f,u.src),f.raws.semicolon=!0,c.append(f);for(let p of u.nodes)a(p,f)}else if(u.kind==="comment"){let f=e.comment({text:u.value});f.raws.left="",f.raws.right="",s(f,u.src),c.append(f)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,o);return o}function Rt(e){let t=new h(o=>({file:o.file??o.id??null,code:o.css}));function r(o){let i=o.source;if(!i)return;let s=i.input;if(s&&i.start!==void 0&&i.end!==void 0)return[t.get(s),i.start.offset,i.end.offset]}function n(o,i){if(o.type==="decl"){let s=K(o.prop,o.value,o.important);s.src=r(o),i.push(s)}else if(o.type==="rule"){let s=I(o.selector);s.src=r(o),o.each(a=>n(a,s.nodes)),i.push(s)}else if(o.type==="atrule"){let s=P(`@${o.name}`,o.params);s.src=r(o),o.each(a=>n(a,s.nodes)),i.push(s)}else if(o.type==="comment"){if(o.text.charCodeAt(0)!==ai)return;let s=ve(o.text);s.src=r(o),i.push(s)}}let l=[];return e.each(o=>n(o,l)),l}import{normalizePath as Pt}from"@tailwindcss/node";import we from"path";var Oe="'",Ue='"';function _e(){let e=new WeakSet;function t(r){let n=r.root().source?.input.file;if(!n)return;let l=r.source?.input.file;if(!l||e.has(r))return;let o=r.params[0],i=o[0]===Ue&&o[o.length-1]===Ue?Ue:o[0]===Oe&&o[o.length-1]===Oe?Oe:null;if(!i)return;let s=r.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let u=we.posix.join(Pt(we.dirname(l)),s),c=we.posix.dirname(Pt(n)),f=we.posix.relative(c,u);f.startsWith(".")||(f="./"+f),r.params=i+a+f+i,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var y=fi.DEBUG,Ie=new si({maxSize:50});function hi(e,t,r){let n=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Ie.has(n))return Ie.get(n);let l={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Ie.set(n,l),l}function vi(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",n=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[_e(),{postcssPlugin:"tailwindcss",async Once(l,{result:o,postcss:i}){var m=[];try{let s=Me(m,new ci);let a=o.opts.from??"";let u=a.endsWith(".module.css");y&&s.start(`[@tailwindcss/postcss] ${Ot(t,a)}`);{y&&s.start("Quick bail check");let w=!0;if(l.walkAtRules(A=>{if(A.name==="import"||A.name==="reference"||A.name==="theme"||A.name==="variant"||A.name==="config"||A.name==="plugin"||A.name==="apply"||A.name==="tailwind")return w=!1,!1}),w)return;y&&s.end("Quick bail check")}let c=hi(i,a,e);let f=Q.dirname(Q.resolve(a));let p=c.compiler===null;async function d(){y&&s.start("Setup compiler"),c.fullRebuildPaths.length>0&&!p&&di(c.fullRebuildPaths),c.fullRebuildPaths=[],y&&s.start("PostCSS AST -> Tailwind CSS AST");let w=Rt(l);y&&s.end("PostCSS AST -> Tailwind CSS AST"),y&&s.start("Create compiler");let A=await ui(w,{from:o.opts.from,base:f,shouldRewriteUrls:n,onDependency:Y=>c.fullRebuildPaths.push(Y),polyfills:u?Le.All^Le.AtProperty:Le.All});return y&&s.end("Create compiler"),y&&s.end("Setup compiler"),A}try{if(c.compiler??=d(),(await c.compiler).features===De.None)return;let w="incremental";y&&s.start("Register full rebuild paths");{for(let S of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(S),parent:o.opts.from});let N=o.messages.flatMap(S=>S.type!=="dependency"?[]:S.file);N.push(a);for(let S of N){let E=gi.statSync(S,{throwIfNoEntry:!1})?.mtimeMs??null;if(E===null){S===a&&(w="full");continue}c.mtimes.get(S)!==E&&(w="full",c.mtimes.set(S,E))}}y&&s.end("Register full rebuild paths"),w==="full"&&!p&&(c.compiler=d());let A=await c.compiler;if(c.scanner===null||w==="full"){y&&s.start("Setup scanner");let N=(A.root==="none"?[]:A.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...A.root,negated:!1}]).concat(A.sources);c.scanner=new mi({sources:N}),y&&s.end("Setup scanner")}y&&s.start("Scan for candidates");let Y=A.features&De.Utilities?c.scanner.scan():[];if(y&&s.end("Scan for candidates"),A.features&De.Utilities){y&&s.start("Register dependency messages");let N=Q.resolve(t,a);for(let S of c.scanner.files){let E=Q.resolve(S);E!==N&&o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:E,parent:o.opts.from})}for(let{base:S,pattern:E}of c.scanner.globs)E==="*"&&t===S||(E===""?o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(S),parent:o.opts.from}):o.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:Q.resolve(S),glob:E,parent:o.opts.from}));y&&s.end("Register dependency messages")}y&&s.start("Build utilities");let b=A.build(Y);if(y&&s.end("Build utilities"),c.tailwindCssAst!==b)if(r){y&&s.start("Optimization"),y&&s.start("AST -> CSS");let N=_(b);y&&s.end("AST -> CSS"),y&&s.start("Lightning CSS");let S=pi(N,{minify:typeof r=="object"?r.minify:!0});y&&s.end("Lightning CSS"),y&&s.start("CSS -> PostCSS AST"),c.optimizedPostCssAst=i.parse(S.code,o.opts),y&&s.end("CSS -> PostCSS AST"),y&&s.end("Optimization")}else y&&s.start("Transform Tailwind CSS AST into PostCSS AST"),c.cachedPostCssAst=Et(i,b,l.source),y&&s.end("Transform Tailwind CSS AST into PostCSS AST");c.tailwindCssAst=b,y&&s.start("Update PostCSS AST"),l.removeAll(),l.append(r?c.optimizedPostCssAst.clone().nodes:c.cachedPostCssAst.clone().nodes),l.raws.indent=" ",y&&s.end("Update PostCSS AST"),y&&s.end(`[@tailwindcss/postcss] ${Ot(t,a)}`)}catch(w){c.compiler=null;for(let A of c.fullRebuildPaths)o.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(A),parent:o.opts.from});throw console.error(w),w&&typeof w=="object"&&"message"in w?l.error(`${w.message}`):l.error(`${w}`)}}catch(g){var x=g,$=!0}finally{Fe(m,x,$)}}}]}}var qs=Object.assign(vi,{postcss:!0});export{qs as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/postcss",
3
- "version": "0.0.0-insiders.3aadba7",
3
+ "version": "0.0.0-insiders.3b636b7",
4
4
  "description": "PostCSS plugin for Tailwind CSS, a utility-first CSS framework for rapidly building custom user interfaces",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,9 +27,9 @@
27
27
  "dependencies": {
28
28
  "@alloc/quick-lru": "^5.2.0",
29
29
  "postcss": "^8.4.41",
30
- "tailwindcss": "0.0.0-insiders.3aadba7",
31
- "@tailwindcss/node": "0.0.0-insiders.3aadba7",
32
- "@tailwindcss/oxide": "0.0.0-insiders.3aadba7"
30
+ "@tailwindcss/oxide": "0.0.0-insiders.3b636b7",
31
+ "@tailwindcss/node": "0.0.0-insiders.3b636b7",
32
+ "tailwindcss": "0.0.0-insiders.3b636b7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^20.19.0",