www_zola_template/node_modules/tailwindcss/dist/lib.mjs
2025-03-18 16:37:12 +02:00

23 lines
145 KiB
JavaScript

import{a as qe,b as K,c as I,d as S,e as Se,f as oe,g as ke,h as Ge}from"./chunk-V2K3XTS4.mjs";import{a as Je}from"./chunk-AZANAYY2.mjs";import{a as Q,b as ie,c as we,d as Me,e as z,f as ce,g as q,h as M,i as Le,j as _,k as j,l as B,m as o,n as Be,o as Y,p as P,q as O,r as We,s as ee,t as J}from"./chunk-7GINGMIH.mjs";var Ye="4.0.14";function H(r){if(r.indexOf("(")===-1)return le(r);let t=M(r);return Ee(t),r=q(t),r=qe(r),r}function le(r,t=!1){let i="";for(let e=0;e<r.length;e++){let l=r[e];l==="\\"&&r[e+1]==="_"?(i+="_",e+=1):l==="_"&&!t?i+=" ":i+=l}return i}function Ee(r){for(let t of r)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=le(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=le(t.value);for(let i=0;i<t.nodes.length;i++){if(i==0&&t.nodes[i].kind==="word"){t.nodes[i].value=le(t.nodes[i].value,!0);continue}Ee([t.nodes[i]])}break}t.value=le(t.value),Ee(t.nodes);break}case"separator":case"word":{t.value=le(t.value);break}default:Xt(t)}}function Xt(r){throw new Error(`Unexpected value: ${r}`)}var Qt=58,Ze=45,He=97,Xe=122;function*Qe(r,t){let i=K(r,":");if(t.theme.prefix){if(i.length===1||i[0]!==t.theme.prefix)return null;i.shift()}let e=i.pop(),l=[];for(let g=i.length-1;g>=0;--g){let h=t.parseVariant(i[g]);if(h===null)return;l.push(h)}let u=!1;e[e.length-1]==="!"?(u=!0,e=e.slice(0,-1)):e[0]==="!"&&(u=!0,e=e.slice(1)),t.utilities.has(e,"static")&&!e.includes("[")&&(yield{kind:"static",root:e,variants:l,important:u,raw:r});let[s,p=null,m]=K(e,"/");if(m)return;let f=p===null?null:Ke(p);if(p!==null&&f===null)return;if(s[0]==="["){if(s[s.length-1]!=="]")return;let g=s.charCodeAt(1);if(g!==Ze&&!(g>=He&&g<=Xe))return;s=s.slice(1,-1);let h=s.indexOf(":");if(h===-1||h===0||h===s.length-1)return;let y=s.slice(0,h),b=H(s.slice(h+1));yield{kind:"arbitrary",property:y,value:b,modifier:f,variants:l,important:u,raw:r};return}let d;if(s[s.length-1]==="]"){let g=s.indexOf("-[");if(g===-1)return;let h=s.slice(0,g);if(!t.utilities.has(h,"functional"))return;let y=s.slice(g+1);d=[[h,y]]}else if(s[s.length-1]===")"){let g=s.indexOf("-(");if(g===-1)return;let h=s.slice(0,g);if(!t.utilities.has(h,"functional"))return;let y=s.slice(g+2,-1),b=K(y,":"),x=null;if(b.length===2&&(x=b[0],y=b[1]),y[0]!=="-"&&y[1]!=="-")return;d=[[h,x===null?`[var(${y})]`:`[${x}:var(${y})]`]]}else d=tt(s,g=>t.utilities.has(g,"functional"));for(let[g,h]of d){let y={kind:"functional",root:g,modifier:f,value:null,variants:l,important:u,raw:r};if(h===null){yield y;continue}{let b=h.indexOf("[");if(b!==-1){if(h[h.length-1]!=="]")return;let V=H(h.slice(b+1,-1)),k="";for(let N=0;N<V.length;N++){let F=V.charCodeAt(N);if(F===Qt){k=V.slice(0,N),V=V.slice(N+1);break}if(!(F===Ze||F>=He&&F<=Xe))break}if(V.length===0||V.trim().length===0)continue;y.value={kind:"arbitrary",dataType:k||null,value:V}}else{let V=p===null||y.modifier?.kind==="arbitrary"?null:`${h}/${p}`;y.value={kind:"named",value:h,fraction:V}}}yield y}}function Ke(r){if(r[0]==="["&&r[r.length-1]==="]"){let t=H(r.slice(1,-1));return t.length===0||t.trim().length===0?null:{kind:"arbitrary",value:t}}if(r[0]==="("&&r[r.length-1]===")"){let t=H(r.slice(1,-1));return t.length===0||t.trim().length===0||t[0]!=="-"&&t[1]!=="-"?null:{kind:"arbitrary",value:`var(${t})`}}return{kind:"named",value:r}}function et(r,t){if(r[0]==="["&&r[r.length-1]==="]"){if(r[1]==="@"&&r.includes("&"))return null;let i=H(r.slice(1,-1));if(i.length===0||i.trim().length===0)return null;let e=i[0]===">"||i[0]==="+"||i[0]==="~";return!e&&i[0]!=="@"&&!i.includes("&")&&(i=`&:is(${i})`),{kind:"arbitrary",selector:i,relative:e}}{let[i,e=null,l]=K(r,"/");if(l)return null;let u=tt(i,s=>t.variants.has(s));for(let[s,p]of u)switch(t.variants.kind(s)){case"static":return p!==null||e!==null?null:{kind:"static",root:s};case"functional":{let m=e===null?null:Ke(e);if(e!==null&&m===null)return null;if(p===null)return{kind:"functional",root:s,modifier:m,value:null};if(p[p.length-1]==="]"){if(p[0]!=="[")continue;let f=H(p.slice(1,-1));return f.length===0||f.trim().length===0?null:{kind:"functional",root:s,modifier:m,value:{kind:"arbitrary",value:f}}}if(p[p.length-1]===")"){if(p[0]!=="(")continue;let f=H(p.slice(1,-1));return f.length===0||f.trim().length===0||f[0]!=="-"&&f[1]!=="-"?null:{kind:"functional",root:s,modifier:m,value:{kind:"arbitrary",value:`var(${f})`}}}return{kind:"functional",root:s,modifier:m,value:{kind:"named",value:p}}}case"compound":{if(p===null)return null;let m=t.parseVariant(p);if(m===null||!t.variants.compoundsWith(s,m))return null;let f=e===null?null:Ke(e);return e!==null&&f===null?null:{kind:"compound",root:s,modifier:f,variant:m}}}}return null}function*tt(r,t){t(r)&&(yield[r,null]);let i=r.lastIndexOf("-");if(i===-1){r[0]==="@"&&t("@")&&(yield["@",r.slice(1)]);return}do{let e=r.slice(0,i);if(t(e)){let l=[e,r.slice(i+1)];if(l[1]==="")break;yield l}i=r.lastIndexOf("-",i-1)}while(i>0)}function te(r,t,i){if(r===t)return 0;let e=r.indexOf("("),l=t.indexOf("("),u=e===-1?r.replace(/[\d.]+/g,""):r.slice(0,e),s=l===-1?t.replace(/[\d.]+/g,""):t.slice(0,l),p=(u===s?0:u<s?-1:1)||(i==="asc"?parseInt(r)-parseInt(t):parseInt(t)-parseInt(r));return Number.isNaN(p)?r<t?-1:1:p}var er=new Set(["inset","inherit","initial","revert","unset"]),rt=/^-?(\d+|\.\d+)(.*?)$/g;function re(r,t){return K(r,",").map(e=>{e=e.trim();let l=K(e," ").filter(f=>f.trim()!==""),u=null,s=null,p=null;for(let f of l)er.has(f)||(rt.test(f)?(s===null?s=f:p===null&&(p=f),rt.lastIndex=0):u===null&&(u=f));if(s===null||p===null)return e;let m=t(u??"currentcolor");return u!==null?e.replace(u,m):`${e} ${m}`}).join(", ")}var rr=/^-?[a-z][a-zA-Z0-9/%._-]*$/,nr=/^-?[a-z][a-zA-Z0-9/%._-]*-\*$/,je=class{utilities=new z(()=>[]);completions=new Map;static(t,i){this.utilities.get(t).push({kind:"static",compileFn:i})}functional(t,i,e){this.utilities.get(t).push({kind:"functional",compileFn:i,options:e})}has(t,i){return this.utilities.has(t)&&this.utilities.get(t).some(e=>e.kind===i)}get(t){return this.utilities.has(t)?this.utilities.get(t):[]}getCompletions(t){return this.completions.get(t)?.()??[]}suggest(t,i){this.completions.set(t,i)}keys(t){let i=[];for(let[e,l]of this.utilities.entries())for(let u of l)if(u.kind===t){i.push(e);break}return i}};function T(r,t,i){return j("@property",r,[o("syntax",i?`"${i}"`:'"*"'),o("inherits","false"),...t?[o("initial-value",t)]:[]])}function G(r,t){if(t===null)return r;let i=Number(t);return Number.isNaN(i)||(t=`${i*100}%`),`color-mix(in oklab, ${r} ${t}, transparent)`}function L(r,t,i){if(!t)return r;if(t.kind==="arbitrary")return G(r,t.value);let e=i.resolve(t.value,["--opacity"]);return e?G(r,e):ke(t.value)?G(r,`${t.value}%`):null}function W(r,t,i){let e=null;switch(r.value.value){case"inherit":{e="inherit";break}case"transparent":{e="transparent";break}case"current":{e="currentColor";break}default:{e=t.resolve(r.value.value,i);break}}return e?L(e,r.modifier,t):null}function it(r){let t=new je;function i(n,a){let c=/(\d+)_(\d+)/g;function*w($){for(let E of r.keysInNamespaces($))yield E.replace(c,(C,A,U)=>`${A}.${U}`)}let v=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];t.suggest(n,()=>{let $=[];for(let E of a()){if(typeof E=="string"){$.push({values:[E],modifiers:[]});continue}let C=[...E.values??[],...w(E.valueThemeKeys??[])],A=[...E.modifiers??[],...w(E.modifierThemeKeys??[])];E.supportsFractions&&C.push(...v),E.hasDefaultValue&&C.unshift(null),$.push({supportsNegative:E.supportsNegative,values:C,modifiers:A})}return $})}function e(n,a){t.static(n,()=>a.map(c=>typeof c=="function"?c():o(c[0],c[1])))}function l(n,a){function c({negative:w}){return v=>{let $=null;if(v.value)if(v.value.kind==="arbitrary"){if(v.modifier)return;$=v.value.value}else{if($=r.resolve(v.value.fraction??v.value.value,a.themeKeys??[]),$===null&&a.supportsFractions&&v.value.fraction){let[E,C]=K(v.value.fraction,"/");if(!S(E)||!S(C))return;$=`calc(${v.value.fraction} * 100%)`}if($===null&&w&&a.handleNegativeBareValue){if($=a.handleNegativeBareValue(v.value),!$?.includes("/")&&v.modifier)return;if($!==null)return a.handle($)}if($===null&&a.handleBareValue&&($=a.handleBareValue(v.value),!$?.includes("/")&&v.modifier))return}else{if(v.modifier)return;$=a.defaultValue!==void 0?a.defaultValue:r.resolve(null,a.themeKeys??[])}if($!==null)return a.handle(w?`calc(${$} * -1)`:$)}}a.supportsNegative&&t.functional(`-${n}`,c({negative:!0})),t.functional(n,c({negative:!1})),i(n,()=>[{supportsNegative:a.supportsNegative,valueThemeKeys:a.themeKeys??[],hasDefaultValue:a.defaultValue!==void 0&&a.defaultValue!==null,supportsFractions:a.supportsFractions}])}function u(n,a){t.functional(n,c=>{if(!c.value)return;let w=null;if(c.value.kind==="arbitrary"?(w=c.value.value,w=L(w,c.modifier,r)):w=W(c,r,a.themeKeys),w!==null)return a.handle(w)}),i(n,()=>[{values:["current","inherit","transparent"],valueThemeKeys:a.themeKeys,modifiers:Array.from({length:21},(c,w)=>`${w*5}`)}])}function s(n,a,c,{supportsNegative:w=!1,supportsFractions:v=!1}={}){w&&t.static(`-${n}-px`,()=>c("-1px")),t.static(`${n}-px`,()=>c("1px")),l(n,{themeKeys:a,supportsFractions:v,supportsNegative:w,defaultValue:null,handleBareValue:({value:$})=>{let E=r.resolve(null,["--spacing"]);return!E||!oe($)?null:`calc(${E} * ${$})`},handleNegativeBareValue:({value:$})=>{let E=r.resolve(null,["--spacing"]);return!E||!oe($)?null:`calc(${E} * -${$})`},handle:c}),i(n,()=>[{values:r.get(["--spacing"])?["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"]:[],supportsNegative:w,supportsFractions:v,valueThemeKeys:a}])}e("sr-only",[["position","absolute"],["width","1px"],["height","1px"],["padding","0"],["margin","-1px"],["overflow","hidden"],["clip","rect(0, 0, 0, 0)"],["white-space","nowrap"],["border-width","0"]]),e("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip","auto"],["white-space","normal"]]),e("pointer-events-none",[["pointer-events","none"]]),e("pointer-events-auto",[["pointer-events","auto"]]),e("visible",[["visibility","visible"]]),e("invisible",[["visibility","hidden"]]),e("collapse",[["visibility","collapse"]]),e("static",[["position","static"]]),e("fixed",[["position","fixed"]]),e("absolute",[["position","absolute"]]),e("relative",[["position","relative"]]),e("sticky",[["position","sticky"]]);for(let[n,a]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["start","inset-inline-start"],["end","inset-inline-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])e(`${n}-auto`,[[a,"auto"]]),e(`${n}-full`,[[a,"100%"]]),e(`-${n}-full`,[[a,"-100%"]]),s(n,["--inset","--spacing"],c=>[o(a,c)],{supportsNegative:!0,supportsFractions:!0});e("isolate",[["isolation","isolate"]]),e("isolation-auto",[["isolation","auto"]]),e("z-auto",[["z-index","auto"]]),l("z",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--z-index"],handle:n=>[o("z-index",n)]}),i("z",()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}]),e("order-first",[["order","-9999"]]),e("order-last",[["order","9999"]]),e("order-none",[["order","0"]]),l("order",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--order"],handle:n=>[o("order",n)]}),i("order",()=>[{supportsNegative:!0,values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:["--order"]}]),e("col-auto",[["grid-column","auto"]]),l("col",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-column"],handle:n=>[o("grid-column",n)]}),e("col-span-full",[["grid-column","1 / -1"]]),l("col-span",{handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("grid-column",`span ${n} / span ${n}`)]}),e("col-start-auto",[["grid-column-start","auto"]]),l("col-start",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-column-start"],handle:n=>[o("grid-column-start",n)]}),e("col-end-auto",[["grid-column-end","auto"]]),l("col-end",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-column-end"],handle:n=>[o("grid-column-end",n)]}),i("col-span",()=>[{values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:[]}]),i("col-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-column-start"]}]),i("col-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-column-end"]}]),e("row-auto",[["grid-row","auto"]]),l("row",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-row"],handle:n=>[o("grid-row",n)]}),e("row-span-full",[["grid-row","1 / -1"]]),l("row-span",{themeKeys:[],handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("grid-row",`span ${n} / span ${n}`)]}),e("row-start-auto",[["grid-row-start","auto"]]),l("row-start",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-row-start"],handle:n=>[o("grid-row-start",n)]}),e("row-end-auto",[["grid-row-end","auto"]]),l("row-end",{supportsNegative:!0,handleBareValue:({value:n})=>S(n)?n:null,themeKeys:["--grid-row-end"],handle:n=>[o("grid-row-end",n)]}),i("row-span",()=>[{values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:[]}]),i("row-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-row-start"]}]),i("row-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-row-end"]}]),e("float-start",[["float","inline-start"]]),e("float-end",[["float","inline-end"]]),e("float-right",[["float","right"]]),e("float-left",[["float","left"]]),e("float-none",[["float","none"]]),e("clear-start",[["clear","inline-start"]]),e("clear-end",[["clear","inline-end"]]),e("clear-right",[["clear","right"]]),e("clear-left",[["clear","left"]]),e("clear-both",[["clear","both"]]),e("clear-none",[["clear","none"]]);for(let[n,a]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])e(`${n}-auto`,[[a,"auto"]]),s(n,["--margin","--spacing"],c=>[o(a,c)],{supportsNegative:!0});e("box-border",[["box-sizing","border-box"]]),e("box-content",[["box-sizing","content-box"]]),e("line-clamp-none",[["overflow","visible"],["display","block"],["-webkit-box-orient","horizontal"],["-webkit-line-clamp","unset"]]),l("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("overflow","hidden"),o("display","-webkit-box"),o("-webkit-box-orient","vertical"),o("-webkit-line-clamp",n)]}),i("line-clamp",()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}]),e("block",[["display","block"]]),e("inline-block",[["display","inline-block"]]),e("inline",[["display","inline"]]),e("hidden",[["display","none"]]),e("inline-flex",[["display","inline-flex"]]),e("table",[["display","table"]]),e("inline-table",[["display","inline-table"]]),e("table-caption",[["display","table-caption"]]),e("table-cell",[["display","table-cell"]]),e("table-column",[["display","table-column"]]),e("table-column-group",[["display","table-column-group"]]),e("table-footer-group",[["display","table-footer-group"]]),e("table-header-group",[["display","table-header-group"]]),e("table-row-group",[["display","table-row-group"]]),e("table-row",[["display","table-row"]]),e("flow-root",[["display","flow-root"]]),e("flex",[["display","flex"]]),e("grid",[["display","grid"]]),e("inline-grid",[["display","inline-grid"]]),e("contents",[["display","contents"]]),e("list-item",[["display","list-item"]]),e("field-sizing-content",[["field-sizing","content"]]),e("field-sizing-fixed",[["field-sizing","fixed"]]),e("aspect-auto",[["aspect-ratio","auto"]]),e("aspect-square",[["aspect-ratio","1 / 1"]]),l("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:n})=>{if(n===null)return null;let[a,c]=K(n,"/");return!S(a)||!S(c)?null:n},handle:n=>[o("aspect-ratio",n)]});for(let[n,a]of[["auto","auto"],["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])e(`size-${n}`,[["--tw-sort","size"],["width",a],["height",a]]),e(`w-${n}`,[["width",a]]),e(`h-${n}`,[["height",a]]),e(`min-w-${n}`,[["min-width",a]]),e(`min-h-${n}`,[["min-height",a]]),n!=="auto"&&(e(`max-w-${n}`,[["max-width",a]]),e(`max-h-${n}`,[["max-height",a]]));e("w-screen",[["width","100vw"]]),e("min-w-screen",[["min-width","100vw"]]),e("max-w-screen",[["max-width","100vw"]]),e("h-screen",[["height","100vh"]]),e("min-h-screen",[["min-height","100vh"]]),e("max-h-screen",[["max-height","100vh"]]),e("max-w-none",[["max-width","none"]]),e("max-h-none",[["max-height","none"]]),s("size",["--size","--spacing"],n=>[o("--tw-sort","size"),o("width",n),o("height",n)],{supportsFractions:!0});for(let[n,a,c]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])s(n,a,w=>[o(c,w)],{supportsFractions:!0});t.static("container",()=>{let n=[...r.namespace("--breakpoint").values()];n.sort((c,w)=>te(c,w,"asc"));let a=[o("--tw-sort","--tw-container-component"),o("width","100%")];for(let c of n)a.push(j("@media",`(width >= ${c})`,[o("max-width",c)]));return a}),e("flex-auto",[["flex","auto"]]),e("flex-initial",[["flex","0 auto"]]),e("flex-none",[["flex","none"]]),t.functional("flex",n=>{if(n.value){if(n.value.kind==="arbitrary")return n.modifier?void 0:[o("flex",n.value.value)];if(n.value.fraction){let[a,c]=K(n.value.fraction,"/");return!S(a)||!S(c)?void 0:[o("flex",`calc(${n.value.fraction} * 100%)`)]}if(S(n.value.value))return n.modifier?void 0:[o("flex",n.value.value)]}}),i("flex",()=>[{supportsFractions:!0}]),l("shrink",{defaultValue:"1",handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("flex-shrink",n)]}),l("grow",{defaultValue:"1",handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("flex-grow",n)]}),i("shrink",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),i("grow",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),e("basis-auto",[["flex-basis","auto"]]),e("basis-full",[["flex-basis","100%"]]),s("basis",["--flex-basis","--spacing","--container"],n=>[o("flex-basis",n)],{supportsFractions:!0}),e("table-auto",[["table-layout","auto"]]),e("table-fixed",[["table-layout","fixed"]]),e("caption-top",[["caption-side","top"]]),e("caption-bottom",[["caption-side","bottom"]]),e("border-collapse",[["border-collapse","collapse"]]),e("border-separate",[["border-collapse","separate"]]);let p=()=>P([T("--tw-border-spacing-x","0","<length>"),T("--tw-border-spacing-y","0","<length>")]);s("border-spacing",["--border-spacing","--spacing"],n=>[p(),o("--tw-border-spacing-x",n),o("--tw-border-spacing-y",n),o("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),s("border-spacing-x",["--border-spacing","--spacing"],n=>[p(),o("--tw-border-spacing-x",n),o("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),s("border-spacing-y",["--border-spacing","--spacing"],n=>[p(),o("--tw-border-spacing-y",n),o("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),e("origin-center",[["transform-origin","center"]]),e("origin-top",[["transform-origin","top"]]),e("origin-top-right",[["transform-origin","top right"]]),e("origin-right",[["transform-origin","right"]]),e("origin-bottom-right",[["transform-origin","bottom right"]]),e("origin-bottom",[["transform-origin","bottom"]]),e("origin-bottom-left",[["transform-origin","bottom left"]]),e("origin-left",[["transform-origin","left"]]),e("origin-top-left",[["transform-origin","top left"]]),l("origin",{themeKeys:["--transform-origin"],handle:n=>[o("transform-origin",n)]}),e("perspective-origin-center",[["perspective-origin","center"]]),e("perspective-origin-top",[["perspective-origin","top"]]),e("perspective-origin-top-right",[["perspective-origin","top right"]]),e("perspective-origin-right",[["perspective-origin","right"]]),e("perspective-origin-bottom-right",[["perspective-origin","bottom right"]]),e("perspective-origin-bottom",[["perspective-origin","bottom"]]),e("perspective-origin-bottom-left",[["perspective-origin","bottom left"]]),e("perspective-origin-left",[["perspective-origin","left"]]),e("perspective-origin-top-left",[["perspective-origin","top left"]]),l("perspective-origin",{themeKeys:["--perspective-origin"],handle:n=>[o("perspective-origin",n)]}),e("perspective-none",[["perspective","none"]]),l("perspective",{themeKeys:["--perspective"],handle:n=>[o("perspective",n)]});let m=()=>P([T("--tw-translate-x","0"),T("--tw-translate-y","0"),T("--tw-translate-z","0")]);e("translate-none",[["translate","none"]]),e("-translate-full",[m,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),e("translate-full",[m,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),s("translate",["--translate","--spacing"],n=>[m(),o("--tw-translate-x",n),o("--tw-translate-y",n),o("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});for(let n of["x","y"])e(`-translate-${n}-full`,[m,[`--tw-translate-${n}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),e(`translate-${n}-full`,[m,[`--tw-translate-${n}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),s(`translate-${n}`,["--translate","--spacing"],a=>[m(),o(`--tw-translate-${n}`,a),o("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});s("translate-z",["--translate","--spacing"],n=>[m(),o("--tw-translate-z",n),o("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")],{supportsNegative:!0}),e("translate-3d",[m,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let f=()=>P([T("--tw-scale-x","1"),T("--tw-scale-y","1"),T("--tw-scale-z","1")]);e("scale-none",[["scale","none"]]);function d({negative:n}){return a=>{if(!a.value||a.modifier)return;let c;return a.value.kind==="arbitrary"?(c=a.value.value,[o("scale",c)]):(c=r.resolve(a.value.value,["--scale"]),!c&&S(a.value.value)&&(c=`${a.value.value}%`),c?(c=n?`calc(${c} * -1)`:c,[f(),o("--tw-scale-x",c),o("--tw-scale-y",c),o("--tw-scale-z",c),o("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}t.functional("-scale",d({negative:!0})),t.functional("scale",d({negative:!1})),i("scale",()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);for(let n of["x","y","z"])l(`scale-${n}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:a})=>S(a)?`${a}%`:null,handle:a=>[f(),o(`--tw-scale-${n}`,a),o("scale",`var(--tw-scale-x) var(--tw-scale-y)${n==="z"?" var(--tw-scale-z)":""}`)]}),i(`scale-${n}`,()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);e("scale-3d",[f,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),e("rotate-none",[["rotate","none"]]);function g({negative:n}){return a=>{if(!a.value||a.modifier)return;let c;if(a.value.kind==="arbitrary"){c=a.value.value;let w=a.value.dataType??I(c,["angle","vector"]);if(w==="vector")return[o("rotate",`${c} var(--tw-rotate)`)];if(w!=="angle")return[o("rotate",c)]}else if(c=r.resolve(a.value.value,["--rotate"]),!c&&S(a.value.value)&&(c=`${a.value.value}deg`),!c)return;return[o("rotate",n?`calc(${c} * -1)`:c)]}}t.functional("-rotate",g({negative:!0})),t.functional("rotate",g({negative:!1})),i("rotate",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);{let n=["var(--tw-rotate-x)","var(--tw-rotate-y)","var(--tw-rotate-z)","var(--tw-skew-x)","var(--tw-skew-y)"].join(" "),a=()=>P([T("--tw-rotate-x","rotateX(0)"),T("--tw-rotate-y","rotateY(0)"),T("--tw-rotate-z","rotateZ(0)"),T("--tw-skew-x","skewX(0)"),T("--tw-skew-y","skewY(0)")]);for(let c of["x","y","z"])l(`rotate-${c}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:w})=>S(w)?`${w}deg`:null,handle:w=>[a(),o(`--tw-rotate-${c}`,`rotate${c.toUpperCase()}(${w})`),o("transform",n)]}),i(`rotate-${c}`,()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);l("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:c})=>S(c)?`${c}deg`:null,handle:c=>[a(),o("--tw-skew-x",`skewX(${c})`),o("--tw-skew-y",`skewY(${c})`),o("transform",n)]}),l("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:c})=>S(c)?`${c}deg`:null,handle:c=>[a(),o("--tw-skew-x",`skewX(${c})`),o("transform",n)]}),l("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:c})=>S(c)?`${c}deg`:null,handle:c=>[a(),o("--tw-skew-y",`skewY(${c})`),o("transform",n)]}),i("skew",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),i("skew-x",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),i("skew-y",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),t.functional("transform",c=>{if(c.modifier)return;let w=null;if(c.value?c.value.kind==="arbitrary"&&(w=c.value.value):w=n,w!==null)return[a(),o("transform",w)]}),i("transform",()=>[{hasDefaultValue:!0}]),e("transform-cpu",[["transform",n]]),e("transform-gpu",[["transform",`translateZ(0) ${n}`]]),e("transform-none",[["transform","none"]])}e("transform-flat",[["transform-style","flat"]]),e("transform-3d",[["transform-style","preserve-3d"]]),e("transform-content",[["transform-box","content-box"]]),e("transform-border",[["transform-box","border-box"]]),e("transform-fill",[["transform-box","fill-box"]]),e("transform-stroke",[["transform-box","stroke-box"]]),e("transform-view",[["transform-box","view-box"]]),e("backface-visible",[["backface-visibility","visible"]]),e("backface-hidden",[["backface-visibility","hidden"]]);for(let n of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"])e(`cursor-${n}`,[["cursor",n]]);l("cursor",{themeKeys:["--cursor"],handle:n=>[o("cursor",n)]});for(let n of["auto","none","manipulation"])e(`touch-${n}`,[["touch-action",n]]);let h=()=>P([T("--tw-pan-x"),T("--tw-pan-y"),T("--tw-pinch-zoom")]);for(let n of["x","left","right"])e(`touch-pan-${n}`,[h,["--tw-pan-x",`pan-${n}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let n of["y","up","down"])e(`touch-pan-${n}`,[h,["--tw-pan-y",`pan-${n}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);e("touch-pinch-zoom",[h,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let n of["none","text","all","auto"])e(`select-${n}`,[["-webkit-user-select",n],["user-select",n]]);e("resize-none",[["resize","none"]]),e("resize-x",[["resize","horizontal"]]),e("resize-y",[["resize","vertical"]]),e("resize",[["resize","both"]]),e("snap-none",[["scroll-snap-type","none"]]);let y=()=>P([T("--tw-scroll-snap-strictness","proximity","*")]);for(let n of["x","y","both"])e(`snap-${n}`,[y,["scroll-snap-type",`${n} var(--tw-scroll-snap-strictness)`]]);e("snap-mandatory",[y,["--tw-scroll-snap-strictness","mandatory"]]),e("snap-proximity",[y,["--tw-scroll-snap-strictness","proximity"]]),e("snap-align-none",[["scroll-snap-align","none"]]),e("snap-start",[["scroll-snap-align","start"]]),e("snap-end",[["scroll-snap-align","end"]]),e("snap-center",[["scroll-snap-align","center"]]),e("snap-normal",[["scroll-snap-stop","normal"]]),e("snap-always",[["scroll-snap-stop","always"]]);for(let[n,a]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["scroll-ms","scroll-margin-inline-start"],["scroll-me","scroll-margin-inline-end"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]])s(n,["--scroll-margin","--spacing"],c=>[o(a,c)],{supportsNegative:!0});for(let[n,a]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["scroll-ps","scroll-padding-inline-start"],["scroll-pe","scroll-padding-inline-end"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]])s(n,["--scroll-padding","--spacing"],c=>[o(a,c)]);e("list-inside",[["list-style-position","inside"]]),e("list-outside",[["list-style-position","outside"]]),e("list-none",[["list-style-type","none"]]),e("list-disc",[["list-style-type","disc"]]),e("list-decimal",[["list-style-type","decimal"]]),l("list",{themeKeys:["--list-style-type"],handle:n=>[o("list-style-type",n)]}),e("list-image-none",[["list-style-image","none"]]),l("list-image",{themeKeys:["--list-style-image"],handle:n=>[o("list-style-image",n)]}),e("appearance-none",[["appearance","none"]]),e("appearance-auto",[["appearance","auto"]]),e("scheme-normal",[["color-scheme","normal"]]),e("scheme-dark",[["color-scheme","dark"]]),e("scheme-light",[["color-scheme","light"]]),e("scheme-light-dark",[["color-scheme","light dark"]]),e("scheme-only-dark",[["color-scheme","only dark"]]),e("scheme-only-light",[["color-scheme","only light"]]),e("columns-auto",[["columns","auto"]]),l("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:n})=>S(n)?n:null,handle:n=>[o("columns",n)]}),i("columns",()=>[{values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:["--columns","--container"]}]);for(let n of["auto","avoid","all","avoid-page","page","left","right","column"])e(`break-before-${n}`,[["break-before",n]]);for(let n of["auto","avoid","avoid-page","avoid-column"])e(`break-inside-${n}`,[["break-inside",n]]);for(let n of["auto","avoid","all","avoid-page","page","left","right","column"])e(`break-after-${n}`,[["break-after",n]]);e("grid-flow-row",[["grid-auto-flow","row"]]),e("grid-flow-col",[["grid-auto-flow","column"]]),e("grid-flow-dense",[["grid-auto-flow","dense"]]),e("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),e("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),e("auto-cols-auto",[["grid-auto-columns","auto"]]),e("auto-cols-min",[["grid-auto-columns","min-content"]]),e("auto-cols-max",[["grid-auto-columns","max-content"]]),e("auto-cols-fr",[["grid-auto-columns","minmax(0, 1fr)"]]),l("auto-cols",{themeKeys:["--grid-auto-columns"],handle:n=>[o("grid-auto-columns",n)]}),e("auto-rows-auto",[["grid-auto-rows","auto"]]),e("auto-rows-min",[["grid-auto-rows","min-content"]]),e("auto-rows-max",[["grid-auto-rows","max-content"]]),e("auto-rows-fr",[["grid-auto-rows","minmax(0, 1fr)"]]),l("auto-rows",{themeKeys:["--grid-auto-rows"],handle:n=>[o("grid-auto-rows",n)]}),e("grid-cols-none",[["grid-template-columns","none"]]),e("grid-cols-subgrid",[["grid-template-columns","subgrid"]]),l("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:n})=>Se(n)?`repeat(${n}, minmax(0, 1fr))`:null,handle:n=>[o("grid-template-columns",n)]}),e("grid-rows-none",[["grid-template-rows","none"]]),e("grid-rows-subgrid",[["grid-template-rows","subgrid"]]),l("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:n})=>Se(n)?`repeat(${n}, minmax(0, 1fr))`:null,handle:n=>[o("grid-template-rows",n)]}),i("grid-cols",()=>[{values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-template-columns"]}]),i("grid-rows",()=>[{values:Array.from({length:12},(n,a)=>`${a+1}`),valueThemeKeys:["--grid-template-rows"]}]),e("flex-row",[["flex-direction","row"]]),e("flex-row-reverse",[["flex-direction","row-reverse"]]),e("flex-col",[["flex-direction","column"]]),e("flex-col-reverse",[["flex-direction","column-reverse"]]),e("flex-wrap",[["flex-wrap","wrap"]]),e("flex-nowrap",[["flex-wrap","nowrap"]]),e("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),e("place-content-center",[["place-content","center"]]),e("place-content-start",[["place-content","start"]]),e("place-content-end",[["place-content","end"]]),e("place-content-between",[["place-content","space-between"]]),e("place-content-around",[["place-content","space-around"]]),e("place-content-evenly",[["place-content","space-evenly"]]),e("place-content-baseline",[["place-content","baseline"]]),e("place-content-stretch",[["place-content","stretch"]]),e("place-items-center",[["place-items","center"]]),e("place-items-start",[["place-items","start"]]),e("place-items-end",[["place-items","end"]]),e("place-items-baseline",[["place-items","baseline"]]),e("place-items-stretch",[["place-items","stretch"]]),e("content-normal",[["align-content","normal"]]),e("content-center",[["align-content","center"]]),e("content-start",[["align-content","flex-start"]]),e("content-end",[["align-content","flex-end"]]),e("content-between",[["align-content","space-between"]]),e("content-around",[["align-content","space-around"]]),e("content-evenly",[["align-content","space-evenly"]]),e("content-baseline",[["align-content","baseline"]]),e("content-stretch",[["align-content","stretch"]]),e("items-center",[["align-items","center"]]),e("items-start",[["align-items","flex-start"]]),e("items-end",[["align-items","flex-end"]]),e("items-baseline",[["align-items","baseline"]]),e("items-stretch",[["align-items","stretch"]]),e("justify-normal",[["justify-content","normal"]]),e("justify-center",[["justify-content","center"]]),e("justify-start",[["justify-content","flex-start"]]),e("justify-end",[["justify-content","flex-end"]]),e("justify-between",[["justify-content","space-between"]]),e("justify-around",[["justify-content","space-around"]]),e("justify-evenly",[["justify-content","space-evenly"]]),e("justify-baseline",[["justify-content","baseline"]]),e("justify-stretch",[["justify-content","stretch"]]),e("justify-items-normal",[["justify-items","normal"]]),e("justify-items-center",[["justify-items","center"]]),e("justify-items-start",[["justify-items","start"]]),e("justify-items-end",[["justify-items","end"]]),e("justify-items-stretch",[["justify-items","stretch"]]),s("gap",["--gap","--spacing"],n=>[o("gap",n)]),s("gap-x",["--gap","--spacing"],n=>[o("column-gap",n)]),s("gap-y",["--gap","--spacing"],n=>[o("row-gap",n)]),s("space-x",["--space","--spacing"],n=>[P([T("--tw-space-x-reverse","0")]),_(":where(& > :not(:last-child))",[o("--tw-sort","row-gap"),o("--tw-space-x-reverse","0"),o("margin-inline-start",`calc(${n} * var(--tw-space-x-reverse))`),o("margin-inline-end",`calc(${n} * calc(1 - var(--tw-space-x-reverse)))`)])],{supportsNegative:!0}),s("space-y",["--space","--spacing"],n=>[P([T("--tw-space-y-reverse","0")]),_(":where(& > :not(:last-child))",[o("--tw-sort","column-gap"),o("--tw-space-y-reverse","0"),o("margin-block-start",`calc(${n} * var(--tw-space-y-reverse))`),o("margin-block-end",`calc(${n} * calc(1 - var(--tw-space-y-reverse)))`)])],{supportsNegative:!0}),e("space-x-reverse",[()=>P([T("--tw-space-x-reverse","0")]),()=>_(":where(& > :not(:last-child))",[o("--tw-sort","row-gap"),o("--tw-space-x-reverse","1")])]),e("space-y-reverse",[()=>P([T("--tw-space-y-reverse","0")]),()=>_(":where(& > :not(:last-child))",[o("--tw-sort","column-gap"),o("--tw-space-y-reverse","1")])]),e("accent-auto",[["accent-color","auto"]]),u("accent",{themeKeys:["--accent-color","--color"],handle:n=>[o("accent-color",n)]}),u("caret",{themeKeys:["--caret-color","--color"],handle:n=>[o("caret-color",n)]}),u("divide",{themeKeys:["--divide-color","--color"],handle:n=>[_(":where(& > :not(:last-child))",[o("--tw-sort","divide-color"),o("border-color",n)])]}),e("place-self-auto",[["place-self","auto"]]),e("place-self-start",[["place-self","start"]]),e("place-self-end",[["place-self","end"]]),e("place-self-center",[["place-self","center"]]),e("place-self-stretch",[["place-self","stretch"]]),e("self-auto",[["align-self","auto"]]),e("self-start",[["align-self","flex-start"]]),e("self-end",[["align-self","flex-end"]]),e("self-center",[["align-self","center"]]),e("self-stretch",[["align-self","stretch"]]),e("self-baseline",[["align-self","baseline"]]),e("justify-self-auto",[["justify-self","auto"]]),e("justify-self-start",[["justify-self","flex-start"]]),e("justify-self-end",[["justify-self","flex-end"]]),e("justify-self-center",[["justify-self","center"]]),e("justify-self-stretch",[["justify-self","stretch"]]);for(let n of["auto","hidden","clip","visible","scroll"])e(`overflow-${n}`,[["overflow",n]]),e(`overflow-x-${n}`,[["overflow-x",n]]),e(`overflow-y-${n}`,[["overflow-y",n]]);for(let n of["auto","contain","none"])e(`overscroll-${n}`,[["overscroll-behavior",n]]),e(`overscroll-x-${n}`,[["overscroll-behavior-x",n]]),e(`overscroll-y-${n}`,[["overscroll-behavior-y",n]]);e("scroll-auto",[["scroll-behavior","auto"]]),e("scroll-smooth",[["scroll-behavior","smooth"]]),e("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),e("text-ellipsis",[["text-overflow","ellipsis"]]),e("text-clip",[["text-overflow","clip"]]),e("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),e("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),e("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),e("whitespace-normal",[["white-space","normal"]]),e("whitespace-nowrap",[["white-space","nowrap"]]),e("whitespace-pre",[["white-space","pre"]]),e("whitespace-pre-line",[["white-space","pre-line"]]),e("whitespace-pre-wrap",[["white-space","pre-wrap"]]),e("whitespace-break-spaces",[["white-space","break-spaces"]]),e("text-wrap",[["text-wrap","wrap"]]),e("text-nowrap",[["text-wrap","nowrap"]]),e("text-balance",[["text-wrap","balance"]]),e("text-pretty",[["text-wrap","pretty"]]),e("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),e("break-words",[["overflow-wrap","break-word"]]),e("break-all",[["word-break","break-all"]]),e("break-keep",[["word-break","keep-all"]]),!1;for(let[n,a]of[["rounded",["border-radius"]],["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]],["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]])e(`${n}-none`,a.map(c=>[c,"0"])),e(`${n}-full`,a.map(c=>[c,"calc(infinity * 1px)"])),l(n,{themeKeys:["--radius"],handle:c=>a.map(w=>o(w,c))});e("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),e("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),e("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),e("border-double",[["--tw-border-style","double"],["border-style","double"]]),e("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),e("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let a=function(c,w){t.functional(c,v=>{if(!v.value){if(v.modifier)return;let $=r.get(["--default-border-width"])??"1px",E=w.width($);return E?[n(),...E]:void 0}if(v.value.kind==="arbitrary"){let $=v.value.value;switch(v.value.dataType??I($,["color","line-width","length"])){case"line-width":case"length":{if(v.modifier)return;let C=w.width($);return C?[n(),...C]:void 0}default:return $=L($,v.modifier,r),$===null?void 0:w.color($)}}{let $=W(v,r,["--border-color","--color"]);if($)return w.color($)}{if(v.modifier)return;let $=r.resolve(v.value.value,["--border-width"]);if($){let E=w.width($);return E?[n(),...E]:void 0}if(S(v.value.value)){let E=w.width(`${v.value.value}px`);return E?[n(),...E]:void 0}}}),i(c,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},(v,$)=>`${$*5}`),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}])};var V=a;let n=()=>P([T("--tw-border-style","solid")]);a("border",{width:c=>[o("border-style","var(--tw-border-style)"),o("border-width",c)],color:c=>[o("border-color",c)]}),a("border-x",{width:c=>[o("border-inline-style","var(--tw-border-style)"),o("border-inline-width",c)],color:c=>[o("border-inline-color",c)]}),a("border-y",{width:c=>[o("border-block-style","var(--tw-border-style)"),o("border-block-width",c)],color:c=>[o("border-block-color",c)]}),a("border-s",{width:c=>[o("border-inline-start-style","var(--tw-border-style)"),o("border-inline-start-width",c)],color:c=>[o("border-inline-start-color",c)]}),a("border-e",{width:c=>[o("border-inline-end-style","var(--tw-border-style)"),o("border-inline-end-width",c)],color:c=>[o("border-inline-end-color",c)]}),a("border-t",{width:c=>[o("border-top-style","var(--tw-border-style)"),o("border-top-width",c)],color:c=>[o("border-top-color",c)]}),a("border-r",{width:c=>[o("border-right-style","var(--tw-border-style)"),o("border-right-width",c)],color:c=>[o("border-right-color",c)]}),a("border-b",{width:c=>[o("border-bottom-style","var(--tw-border-style)"),o("border-bottom-width",c)],color:c=>[o("border-bottom-color",c)]}),a("border-l",{width:c=>[o("border-left-style","var(--tw-border-style)"),o("border-left-width",c)],color:c=>[o("border-left-color",c)]}),l("divide-x",{defaultValue:r.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:c})=>S(c)?`${c}px`:null,handle:c=>[P([T("--tw-divide-x-reverse","0")]),_(":where(& > :not(:last-child))",[o("--tw-sort","divide-x-width"),n(),o("--tw-divide-x-reverse","0"),o("border-inline-style","var(--tw-border-style)"),o("border-inline-start-width",`calc(${c} * var(--tw-divide-x-reverse))`),o("border-inline-end-width",`calc(${c} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),l("divide-y",{defaultValue:r.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:c})=>S(c)?`${c}px`:null,handle:c=>[P([T("--tw-divide-y-reverse","0")]),_(":where(& > :not(:last-child))",[o("--tw-sort","divide-y-width"),n(),o("--tw-divide-y-reverse","0"),o("border-bottom-style","var(--tw-border-style)"),o("border-top-style","var(--tw-border-style)"),o("border-top-width",`calc(${c} * var(--tw-divide-y-reverse))`),o("border-bottom-width",`calc(${c} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),i("divide-x",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),i("divide-y",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),e("divide-x-reverse",[()=>P([T("--tw-divide-x-reverse","0")]),()=>_(":where(& > :not(:last-child))",[o("--tw-divide-x-reverse","1")])]),e("divide-y-reverse",[()=>P([T("--tw-divide-y-reverse","0")]),()=>_(":where(& > :not(:last-child))",[o("--tw-divide-y-reverse","1")])]);for(let c of["solid","dashed","dotted","double","none"])e(`divide-${c}`,[()=>_(":where(& > :not(:last-child))",[o("--tw-sort","divide-style"),o("--tw-border-style",c),o("border-style",c)])])}e("bg-auto",[["background-size","auto"]]),e("bg-cover",[["background-size","cover"]]),e("bg-contain",[["background-size","contain"]]),e("bg-fixed",[["background-attachment","fixed"]]),e("bg-local",[["background-attachment","local"]]),e("bg-scroll",[["background-attachment","scroll"]]),e("bg-center",[["background-position","center"]]),e("bg-top",[["background-position","top"]]),e("bg-right-top",[["background-position","right top"]]),e("bg-right",[["background-position","right"]]),e("bg-right-bottom",[["background-position","right bottom"]]),e("bg-bottom",[["background-position","bottom"]]),e("bg-left-bottom",[["background-position","left bottom"]]),e("bg-left",[["background-position","left"]]),e("bg-left-top",[["background-position","left top"]]),e("bg-repeat",[["background-repeat","repeat"]]),e("bg-no-repeat",[["background-repeat","no-repeat"]]),e("bg-repeat-x",[["background-repeat","repeat-x"]]),e("bg-repeat-y",[["background-repeat","repeat-y"]]),e("bg-repeat-round",[["background-repeat","round"]]),e("bg-repeat-space",[["background-repeat","space"]]),e("bg-none",[["background-image","none"]]);{let c=function($){let E="in oklab";if($?.kind==="named")switch($.value){case"longer":case"shorter":case"increasing":case"decreasing":E=`in oklch ${$.value} hue`;break;default:E=`in ${$.value}`}else $?.kind==="arbitrary"&&(E=$.value);return E},w=function({negative:$}){return E=>{if(!E.value)return;if(E.value.kind==="arbitrary"){if(E.modifier)return;let U=E.value.value;switch(E.value.dataType??I(U,["angle"])){case"angle":return U=$?`calc(${U} * -1)`:`${U}`,[o("--tw-gradient-position",U),o("background-image",`linear-gradient(var(--tw-gradient-stops,${U}))`)];default:return $?void 0:[o("--tw-gradient-position",U),o("background-image",`linear-gradient(var(--tw-gradient-stops,${U}))`)]}}let C=E.value.value;if(!$&&a.has(C))C=a.get(C);else if(S(C))C=$?`calc(${C}deg * -1)`:`${C}deg`;else return;let A=c(E.modifier);return[o("--tw-gradient-position",`${C} ${A}`),o("background-image","linear-gradient(var(--tw-gradient-stops))")]}},v=function({negative:$}){return E=>{if(E.value?.kind==="arbitrary"){if(E.modifier)return;let U=E.value.value;return[o("--tw-gradient-position",U),o("background-image",`conic-gradient(var(--tw-gradient-stops,${U}))`)]}let C=c(E.modifier);if(!E.value)return[o("--tw-gradient-position",C),o("background-image","conic-gradient(var(--tw-gradient-stops))")];let A=E.value.value;if(S(A))return A=$?`calc(${A} * -1)`:`${A}deg`,[o("--tw-gradient-position",`from ${A} ${C}`),o("background-image","conic-gradient(var(--tw-gradient-stops))")]}};var k=c,N=w,F=v;let n=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],a=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);t.functional("-bg-linear",w({negative:!0})),t.functional("bg-linear",w({negative:!1})),i("bg-linear",()=>[{values:[...a.keys()],modifiers:n},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:n}]),t.functional("-bg-conic",v({negative:!0})),t.functional("bg-conic",v({negative:!1})),i("bg-conic",()=>[{hasDefaultValue:!0,modifiers:n},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:n}]),t.functional("bg-radial",$=>{if(!$.value){let E=c($.modifier);return[o("--tw-gradient-position",E),o("background-image","radial-gradient(var(--tw-gradient-stops))")]}if($.value.kind==="arbitrary"){if($.modifier)return;let E=$.value.value;return[o("--tw-gradient-position",E),o("background-image",`radial-gradient(var(--tw-gradient-stops,${E}))`)]}}),i("bg-radial",()=>[{hasDefaultValue:!0,modifiers:n}])}t.functional("bg",n=>{if(n.value){if(n.value.kind==="arbitrary"){let a=n.value.value;switch(n.value.dataType??I(a,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return n.modifier?void 0:[o("background-position",a)];case"bg-size":case"length":case"size":return n.modifier?void 0:[o("background-size",a)];case"image":case"url":return n.modifier?void 0:[o("background-image",a)];default:return a=L(a,n.modifier,r),a===null?void 0:[o("background-color",a)]}}{let a=W(n,r,["--background-color","--color"]);if(a)return[o("background-color",a)]}{if(n.modifier)return;let a=r.resolve(n.value.value,["--background-image"]);if(a)return[o("background-image",a)]}}}),i("bg",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)},{values:[],valueThemeKeys:["--background-image"]}]);let b=()=>P([T("--tw-gradient-position"),T("--tw-gradient-from","#0000","<color>"),T("--tw-gradient-via","#0000","<color>"),T("--tw-gradient-to","#0000","<color>"),T("--tw-gradient-stops"),T("--tw-gradient-via-stops"),T("--tw-gradient-from-position","0%","<length-percentage>"),T("--tw-gradient-via-position","50%","<length-percentage>"),T("--tw-gradient-to-position","100%","<length-percentage>")]);function x(n,a){t.functional(n,c=>{if(c.value){if(c.value.kind==="arbitrary"){let w=c.value.value;switch(c.value.dataType??I(w,["color","length","percentage"])){case"length":case"percentage":return c.modifier?void 0:a.position(w);default:return w=L(w,c.modifier,r),w===null?void 0:a.color(w)}}{let w=W(c,r,["--background-color","--color"]);if(w)return a.color(w)}{if(c.modifier)return;let w=r.resolve(c.value.value,["--gradient-color-stop-positions"]);if(w)return a.position(w);if(c.value.value[c.value.value.length-1]==="%"&&S(c.value.value.slice(0,-1)))return a.position(c.value.value)}}}),i(n,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(c,w)=>`${w*5}`)},{values:Array.from({length:21},(c,w)=>`${w*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}])}x("from",{color:n=>[b(),o("--tw-sort","--tw-gradient-from"),o("--tw-gradient-from",n),o("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:n=>[b(),o("--tw-gradient-from-position",n)]}),e("via-none",[["--tw-gradient-via-stops","initial"]]),x("via",{color:n=>[b(),o("--tw-sort","--tw-gradient-via"),o("--tw-gradient-via",n),o("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),o("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:n=>[b(),o("--tw-gradient-via-position",n)]}),x("to",{color:n=>[b(),o("--tw-sort","--tw-gradient-to"),o("--tw-gradient-to",n),o("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:n=>[b(),o("--tw-gradient-to-position",n)]}),e("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),e("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),e("bg-clip-text",[["background-clip","text"]]),e("bg-clip-border",[["background-clip","border-box"]]),e("bg-clip-padding",[["background-clip","padding-box"]]),e("bg-clip-content",[["background-clip","content-box"]]),e("bg-origin-border",[["background-origin","border-box"]]),e("bg-origin-padding",[["background-origin","padding-box"]]),e("bg-origin-content",[["background-origin","content-box"]]);for(let n of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])e(`bg-blend-${n}`,[["background-blend-mode",n]]),e(`mix-blend-${n}`,[["mix-blend-mode",n]]);e("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),e("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),e("fill-none",[["fill","none"]]),t.functional("fill",n=>{if(!n.value)return;if(n.value.kind==="arbitrary"){let c=L(n.value.value,n.modifier,r);return c===null?void 0:[o("fill",c)]}let a=W(n,r,["--fill","--color"]);if(a)return[o("fill",a)]}),i("fill",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)}]),e("stroke-none",[["stroke","none"]]),t.functional("stroke",n=>{if(n.value){if(n.value.kind==="arbitrary"){let a=n.value.value;switch(n.value.dataType??I(a,["color","number","length","percentage"])){case"number":case"length":case"percentage":return n.modifier?void 0:[o("stroke-width",a)];default:return a=L(n.value.value,n.modifier,r),a===null?void 0:[o("stroke",a)]}}{let a=W(n,r,["--stroke","--color"]);if(a)return[o("stroke",a)]}{let a=r.resolve(n.value.value,["--stroke-width"]);if(a)return[o("stroke-width",a)];if(S(n.value.value))return[o("stroke-width",n.value.value)]}}}),i("stroke",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}]),e("object-contain",[["object-fit","contain"]]),e("object-cover",[["object-fit","cover"]]),e("object-fill",[["object-fit","fill"]]),e("object-none",[["object-fit","none"]]),e("object-scale-down",[["object-fit","scale-down"]]),e("object-bottom",[["object-position","bottom"]]),e("object-center",[["object-position","center"]]),e("object-left",[["object-position","left"]]),e("object-left-bottom",[["object-position","left bottom"]]),e("object-left-top",[["object-position","left top"]]),e("object-right",[["object-position","right"]]),e("object-right-bottom",[["object-position","right bottom"]]),e("object-right-top",[["object-position","right top"]]),e("object-top",[["object-position","top"]]),l("object",{themeKeys:["--object-position"],handle:n=>[o("object-position",n)]});for(let[n,a]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])s(n,["--padding","--spacing"],c=>[o(a,c)]);e("text-left",[["text-align","left"]]),e("text-center",[["text-align","center"]]),e("text-right",[["text-align","right"]]),e("text-justify",[["text-align","justify"]]),e("text-start",[["text-align","start"]]),e("text-end",[["text-align","end"]]),s("indent",["--text-indent","--spacing"],n=>[o("text-indent",n)],{supportsNegative:!0}),e("align-baseline",[["vertical-align","baseline"]]),e("align-top",[["vertical-align","top"]]),e("align-middle",[["vertical-align","middle"]]),e("align-bottom",[["vertical-align","bottom"]]),e("align-text-top",[["vertical-align","text-top"]]),e("align-text-bottom",[["vertical-align","text-bottom"]]),e("align-sub",[["vertical-align","sub"]]),e("align-super",[["vertical-align","super"]]),l("align",{themeKeys:[],handle:n=>[o("vertical-align",n)]}),t.functional("font",n=>{if(!(!n.value||n.modifier)){if(n.value.kind==="arbitrary"){let a=n.value.value;switch(n.value.dataType??I(a,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[o("font-family",a)];default:return[P([T("--tw-font-weight")]),o("--tw-font-weight",a),o("font-weight",a)]}}{let a=r.resolveWith(n.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if(a){let[c,w={}]=a;return[o("font-family",c),o("font-feature-settings",w["--font-feature-settings"]),o("font-variation-settings",w["--font-variation-settings"])]}}{let a=r.resolve(n.value.value,["--font-weight"]);if(a)return[P([T("--tw-font-weight")]),o("--tw-font-weight",a),o("font-weight",a)]}}}),i("font",()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}]),e("uppercase",[["text-transform","uppercase"]]),e("lowercase",[["text-transform","lowercase"]]),e("capitalize",[["text-transform","capitalize"]]),e("normal-case",[["text-transform","none"]]),e("italic",[["font-style","italic"]]),e("not-italic",[["font-style","normal"]]),e("underline",[["text-decoration-line","underline"]]),e("overline",[["text-decoration-line","overline"]]),e("line-through",[["text-decoration-line","line-through"]]),e("no-underline",[["text-decoration-line","none"]]),e("font-stretch-normal",[["font-stretch","normal"]]),e("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),e("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),e("font-stretch-condensed",[["font-stretch","condensed"]]),e("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),e("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),e("font-stretch-expanded",[["font-stretch","expanded"]]),e("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),e("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),l("font-stretch",{handleBareValue:({value:n})=>{if(!n.endsWith("%"))return null;let a=Number(n.slice(0,-1));return!S(a)||Number.isNaN(a)||a<50||a>200?null:n},handle:n=>[o("font-stretch",n)]}),i("font-stretch",()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}]),u("placeholder",{themeKeys:["--background-color","--color"],handle:n=>[_("&::placeholder",[o("--tw-sort","placeholder-color"),o("color",n)])]}),e("decoration-solid",[["text-decoration-style","solid"]]),e("decoration-double",[["text-decoration-style","double"]]),e("decoration-dotted",[["text-decoration-style","dotted"]]),e("decoration-dashed",[["text-decoration-style","dashed"]]),e("decoration-wavy",[["text-decoration-style","wavy"]]),e("decoration-auto",[["text-decoration-thickness","auto"]]),e("decoration-from-font",[["text-decoration-thickness","from-font"]]),t.functional("decoration",n=>{if(n.value){if(n.value.kind==="arbitrary"){let a=n.value.value;switch(n.value.dataType??I(a,["color","length","percentage"])){case"length":case"percentage":return n.modifier?void 0:[o("text-decoration-thickness",a)];default:return a=L(a,n.modifier,r),a===null?void 0:[o("text-decoration-color",a)]}}{let a=r.resolve(n.value.value,["--text-decoration-thickness"]);if(a)return n.modifier?void 0:[o("text-decoration-thickness",a)];if(S(n.value.value))return n.modifier?void 0:[o("text-decoration-thickness",`${n.value.value}px`)]}{let a=W(n,r,["--text-decoration-color","--color"]);if(a)return[o("text-decoration-color",a)]}}}),i("decoration",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}]),e("animate-none",[["animation","none"]]),l("animate",{themeKeys:["--animate"],handle:n=>[o("animation",n)]});{let n=["var(--tw-blur,)","var(--tw-brightness,)","var(--tw-contrast,)","var(--tw-grayscale,)","var(--tw-hue-rotate,)","var(--tw-invert,)","var(--tw-saturate,)","var(--tw-sepia,)","var(--tw-drop-shadow,)"].join(" "),a=["var(--tw-backdrop-blur,)","var(--tw-backdrop-brightness,)","var(--tw-backdrop-contrast,)","var(--tw-backdrop-grayscale,)","var(--tw-backdrop-hue-rotate,)","var(--tw-backdrop-invert,)","var(--tw-backdrop-opacity,)","var(--tw-backdrop-saturate,)","var(--tw-backdrop-sepia,)"].join(" "),c=()=>P([T("--tw-blur"),T("--tw-brightness"),T("--tw-contrast"),T("--tw-grayscale"),T("--tw-hue-rotate"),T("--tw-invert"),T("--tw-opacity"),T("--tw-saturate"),T("--tw-sepia"),T("--tw-drop-shadow")]),w=()=>P([T("--tw-backdrop-blur"),T("--tw-backdrop-brightness"),T("--tw-backdrop-contrast"),T("--tw-backdrop-grayscale"),T("--tw-backdrop-hue-rotate"),T("--tw-backdrop-invert"),T("--tw-backdrop-opacity"),T("--tw-backdrop-saturate"),T("--tw-backdrop-sepia")]);t.functional("filter",v=>{if(!v.modifier){if(v.value===null)return[c(),o("filter",n)];if(v.value.kind==="arbitrary")return[o("filter",v.value.value)];switch(v.value.value){case"none":return[o("filter","none")]}}}),t.functional("backdrop-filter",v=>{if(!v.modifier){if(v.value===null)return[w(),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)];if(v.value.kind==="arbitrary")return[o("-webkit-backdrop-filter",v.value.value),o("backdrop-filter",v.value.value)];switch(v.value.value){case"none":return[o("-webkit-backdrop-filter","none"),o("backdrop-filter","none")]}}}),l("blur",{themeKeys:["--blur"],handle:v=>[c(),o("--tw-blur",`blur(${v})`),o("filter",n)]}),e("blur-none",[c,["--tw-blur"," "],["filter",n]]),l("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:v=>[w(),o("--tw-backdrop-blur",`blur(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),e("backdrop-blur-none",[w,["--tw-backdrop-blur"," "],["-webkit-backdrop-filter",a],["backdrop-filter",a]]),l("brightness",{themeKeys:["--brightness"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[c(),o("--tw-brightness",`brightness(${v})`),o("filter",n)]}),l("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[w(),o("--tw-backdrop-brightness",`brightness(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}]),i("backdrop-brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}]),l("contrast",{themeKeys:["--contrast"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[c(),o("--tw-contrast",`contrast(${v})`),o("filter",n)]}),l("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[w(),o("--tw-backdrop-contrast",`contrast(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}]),i("backdrop-contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}]),l("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[c(),o("--tw-grayscale",`grayscale(${v})`),o("filter",n)]}),l("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[w(),o("--tw-backdrop-grayscale",`grayscale(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}]),i("backdrop-grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}]),l("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:v})=>S(v)?`${v}deg`:null,handle:v=>[c(),o("--tw-hue-rotate",`hue-rotate(${v})`),o("filter",n)]}),l("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:v})=>S(v)?`${v}deg`:null,handle:v=>[w(),o("--tw-backdrop-hue-rotate",`hue-rotate(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}]),i("backdrop-hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}]),l("invert",{themeKeys:["--invert"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[c(),o("--tw-invert",`invert(${v})`),o("filter",n)]}),l("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[w(),o("--tw-backdrop-invert",`invert(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}]),i("backdrop-invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}]),l("saturate",{themeKeys:["--saturate"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[c(),o("--tw-saturate",`saturate(${v})`),o("filter",n)]}),l("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,handle:v=>[w(),o("--tw-backdrop-saturate",`saturate(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}]),i("backdrop-saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}]),l("sepia",{themeKeys:["--sepia"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[c(),o("--tw-sepia",`sepia(${v})`),o("filter",n)]}),l("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:v})=>S(v)?`${v}%`:null,defaultValue:"100%",handle:v=>[w(),o("--tw-backdrop-sepia",`sepia(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}]),i("backdrop-sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}]),e("drop-shadow-none",[c,["--tw-drop-shadow"," "],["filter",n]]),l("drop-shadow",{themeKeys:["--drop-shadow"],handle:v=>[c(),o("--tw-drop-shadow",K(v,",").map($=>`drop-shadow(${$})`).join(" ")),o("filter",n)]}),l("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:v})=>ke(v)?`${v}%`:null,handle:v=>[w(),o("--tw-backdrop-opacity",`opacity(${v})`),o("-webkit-backdrop-filter",a),o("backdrop-filter",a)]}),i("backdrop-opacity",()=>[{values:Array.from({length:21},(v,$)=>`${$*5}`),valueThemeKeys:["--backdrop-opacity","--opacity"]}])}{let n=`var(--tw-ease, ${r.resolve(null,["--default-transition-timing-function"])??"ease"})`,a=`var(--tw-duration, ${r.resolve(null,["--default-transition-duration"])??"0s"})`;e("transition-none",[["transition-property","none"]]),e("transition-all",[["transition-property","all"],["transition-timing-function",n],["transition-duration",a]]),e("transition-colors",[["transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"],["transition-timing-function",n],["transition-duration",a]]),e("transition-opacity",[["transition-property","opacity"],["transition-timing-function",n],["transition-duration",a]]),e("transition-shadow",[["transition-property","box-shadow"],["transition-timing-function",n],["transition-duration",a]]),e("transition-transform",[["transition-property","transform, translate, scale, rotate"],["transition-timing-function",n],["transition-duration",a]]),l("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter",themeKeys:["--transition-property"],handle:c=>[o("transition-property",c),o("transition-timing-function",n),o("transition-duration",a)]}),e("transition-discrete",[["transition-behavior","allow-discrete"]]),e("transition-normal",[["transition-behavior","normal"]]),l("delay",{handleBareValue:({value:c})=>S(c)?`${c}ms`:null,themeKeys:["--transition-delay"],handle:c=>[o("transition-delay",c)]});{let c=()=>P([T("--tw-duration")]);e("duration-initial",[c,["--tw-duration","initial"]]),t.functional("duration",w=>{if(w.modifier||!w.value)return;let v=null;if(w.value.kind==="arbitrary"?v=w.value.value:(v=r.resolve(w.value.fraction??w.value.value,["--transition-duration"]),v===null&&S(w.value.value)&&(v=`${w.value.value}ms`)),v!==null)return[c(),o("--tw-duration",v),o("transition-duration",v)]})}i("delay",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}]),i("duration",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}])}{let n=()=>P([T("--tw-ease")]);e("ease-initial",[n,["--tw-ease","initial"]]),e("ease-linear",[n,["--tw-ease","linear"],["transition-timing-function","linear"]]),l("ease",{themeKeys:["--ease"],handle:a=>[n(),o("--tw-ease",a),o("transition-timing-function",a)]})}e("will-change-auto",[["will-change","auto"]]),e("will-change-scroll",[["will-change","scroll-position"]]),e("will-change-contents",[["will-change","contents"]]),e("will-change-transform",[["will-change","transform"]]),l("will-change",{themeKeys:[],handle:n=>[o("will-change",n)]}),e("content-none",[["--tw-content","none"],["content","none"]]),l("content",{themeKeys:[],handle:n=>[P([T("--tw-content",'""')]),o("--tw-content",n),o("content","var(--tw-content)")]});{let n="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",a=()=>P([T("--tw-contain-size"),T("--tw-contain-layout"),T("--tw-contain-paint"),T("--tw-contain-style")]);e("contain-none",[["contain","none"]]),e("contain-content",[["contain","content"]]),e("contain-strict",[["contain","strict"]]),e("contain-size",[a,["--tw-contain-size","size"],["contain",n]]),e("contain-inline-size",[a,["--tw-contain-size","inline-size"],["contain",n]]),e("contain-layout",[a,["--tw-contain-layout","layout"],["contain",n]]),e("contain-paint",[a,["--tw-contain-paint","paint"],["contain",n]]),e("contain-style",[a,["--tw-contain-style","style"],["contain",n]]),l("contain",{themeKeys:[],handle:c=>[o("contain",c)]})}e("forced-color-adjust-none",[["forced-color-adjust","none"]]),e("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),e("leading-none",[()=>P([T("--tw-leading")]),["--tw-leading","1"],["line-height","1"]]),s("leading",["--leading","--spacing"],n=>[P([T("--tw-leading")]),o("--tw-leading",n),o("line-height",n)]),l("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:n=>[P([T("--tw-tracking")]),o("--tw-tracking",n),o("letter-spacing",n)]}),e("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),e("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let n="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",a=()=>P([T("--tw-ordinal"),T("--tw-slashed-zero"),T("--tw-numeric-figure"),T("--tw-numeric-spacing"),T("--tw-numeric-fraction")]);e("normal-nums",[["font-variant-numeric","normal"]]),e("ordinal",[a,["--tw-ordinal","ordinal"],["font-variant-numeric",n]]),e("slashed-zero",[a,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",n]]),e("lining-nums",[a,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",n]]),e("oldstyle-nums",[a,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",n]]),e("proportional-nums",[a,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",n]]),e("tabular-nums",[a,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",n]]),e("diagonal-fractions",[a,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",n]]),e("stacked-fractions",[a,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",n]])}{let n=()=>P([T("--tw-outline-style","solid")]);t.static("outline-hidden",()=>[o("--tw-outline-style","none"),o("outline-style","none"),j("@media","(forced-colors: active)",[o("outline","2px solid transparent"),o("outline-offset","2px")])]),e("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),e("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),e("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),e("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),e("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),t.functional("outline",a=>{if(a.value===null){if(a.modifier)return;let c=r.get(["--default-outline-width"])??"1px";return[n(),o("outline-style","var(--tw-outline-style)"),o("outline-width",c)]}if(a.value.kind==="arbitrary"){let c=a.value.value;switch(a.value.dataType??I(c,["color","length","number","percentage"])){case"length":case"number":case"percentage":return a.modifier?void 0:[n(),o("outline-style","var(--tw-outline-style)"),o("outline-width",c)];default:return c=L(c,a.modifier,r),c===null?void 0:[o("outline-color",c)]}}{let c=W(a,r,["--outline-color","--color"]);if(c)return[o("outline-color",c)]}{if(a.modifier)return;let c=r.resolve(a.value.value,["--outline-width"]);if(c)return[n(),o("outline-style","var(--tw-outline-style)"),o("outline-width",c)];if(S(a.value.value))return[n(),o("outline-style","var(--tw-outline-style)"),o("outline-width",`${a.value.value}px`)]}}),i("outline",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},(a,c)=>`${c*5}`),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}]),l("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:a})=>S(a)?`${a}px`:null,handle:a=>[o("outline-offset",a)]}),i("outline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}])}l("opacity",{themeKeys:["--opacity"],handleBareValue:({value:n})=>ke(n)?`${n}%`:null,handle:n=>[o("opacity",n)]}),i("opacity",()=>[{values:Array.from({length:21},(n,a)=>`${a*5}`),valueThemeKeys:["--opacity"]}]),e("underline-offset-auto",[["text-underline-offset","auto"]]),l("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:n})=>S(n)?`${n}px`:null,handle:n=>[o("text-underline-offset",n)]}),i("underline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}]),t.functional("text",n=>{if(n.value){if(n.value.kind==="arbitrary"){let a=n.value.value;switch(n.value.dataType??I(a,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":{if(n.modifier){let w=n.modifier.kind==="arbitrary"?n.modifier.value:r.resolve(n.modifier.value,["--leading"]);if(!w&&oe(n.modifier.value)){let v=r.resolve(null,["--spacing"]);if(!v)return null;w=`calc(${v} * ${n.modifier.value})`}return!w&&n.modifier.value==="none"&&(w="1"),w?[o("font-size",a),o("line-height",w)]:null}return[o("font-size",a)]}default:return a=L(a,n.modifier,r),a===null?void 0:[o("color",a)]}}{let a=W(n,r,["--text-color","--color"]);if(a)return[o("color",a)]}{let a=r.resolveWith(n.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if(a){let[c,w={}]=Array.isArray(a)?a:[a];if(n.modifier){let v=n.modifier.kind==="arbitrary"?n.modifier.value:r.resolve(n.modifier.value,["--leading"]);if(!v&&oe(n.modifier.value)){let E=r.resolve(null,["--spacing"]);if(!E)return null;v=`calc(${E} * ${n.modifier.value})`}if(!v&&n.modifier.value==="none"&&(v="1"),!v)return null;let $=[o("font-size",c)];return v&&$.push(o("line-height",v)),$}return typeof w=="string"?[o("font-size",c),o("line-height",w)]:[o("font-size",c),o("line-height",w["--line-height"]?`var(--tw-leading, ${w["--line-height"]})`:void 0),o("letter-spacing",w["--letter-spacing"]?`var(--tw-tracking, ${w["--letter-spacing"]})`:void 0),o("font-weight",w["--font-weight"]?`var(--tw-font-weight, ${w["--font-weight"]})`:void 0)]}}}}),i("text",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]);{let v=function(C){return`var(--tw-ring-inset,) 0 0 0 calc(${C} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${w})`},$=function(C){return`inset 0 0 0 ${C} var(--tw-inset-ring-color, currentColor)`};var R=v,D=$;let n=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),a="0 0 #0000",c=()=>P([T("--tw-shadow",a),T("--tw-shadow-color"),T("--tw-inset-shadow",a),T("--tw-inset-shadow-color"),T("--tw-ring-color"),T("--tw-ring-shadow",a),T("--tw-inset-ring-color"),T("--tw-inset-ring-shadow",a),T("--tw-ring-inset"),T("--tw-ring-offset-width","0px","<length>"),T("--tw-ring-offset-color","#fff"),T("--tw-ring-offset-shadow",a)]);e("shadow-initial",[c,["--tw-shadow-color","initial"]]),t.functional("shadow",C=>{if(!C.value){let A=r.get(["--shadow"]);return A===null?void 0:[c(),o("--tw-shadow",re(A,U=>`var(--tw-shadow-color, ${U})`)),o("box-shadow",n)]}if(C.value.kind==="arbitrary"){let A=C.value.value;switch(C.value.dataType??I(A,["color"])){case"color":return A=L(A,C.modifier,r),A===null?void 0:[c(),o("--tw-shadow-color",A)];default:return[c(),o("--tw-shadow",re(A,be=>`var(--tw-shadow-color, ${be})`)),o("box-shadow",n)]}}switch(C.value.value){case"none":return C.modifier?void 0:[c(),o("--tw-shadow",a),o("box-shadow",n)]}{let A=r.get([`--shadow-${C.value.value}`]);if(A)return C.modifier?void 0:[c(),o("--tw-shadow",re(A,U=>`var(--tw-shadow-color, ${U})`)),o("box-shadow",n)]}{let A=W(C,r,["--box-shadow-color","--color"]);if(A)return[c(),o("--tw-shadow-color",A)]}}),i("shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(C,A)=>`${A*5}`)},{values:["none"],valueThemeKeys:["--shadow"],hasDefaultValue:!0}]),e("inset-shadow-initial",[c,["--tw-inset-shadow-color","initial"]]),t.functional("inset-shadow",C=>{if(!C.value){let A=r.get(["--inset-shadow"]);return A===null?void 0:[c(),o("--tw-inset-shadow",re(A,U=>`var(--tw-inset-shadow-color, ${U})`)),o("box-shadow",n)]}if(C.value.kind==="arbitrary"){let A=C.value.value;switch(C.value.dataType??I(A,["color"])){case"color":return A=L(A,C.modifier,r),A===null?void 0:[c(),o("--tw-inset-shadow-color",A)];default:return[c(),o("--tw-inset-shadow",`inset ${re(A,be=>`var(--tw-inset-shadow-color, ${be})`)}`),o("box-shadow",n)]}}switch(C.value.value){case"none":return C.modifier?void 0:[c(),o("--tw-inset-shadow",a),o("box-shadow",n)]}{let A=r.get([`--inset-shadow-${C.value.value}`]);if(A)return C.modifier?void 0:[c(),o("--tw-inset-shadow",re(A,U=>`var(--tw-inset-shadow-color, ${U})`)),o("box-shadow",n)]}{let A=W(C,r,["--box-shadow-color","--color"]);if(A)return[c(),o("--tw-inset-shadow-color",A)]}}),i("inset-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(C,A)=>`${A*5}`)},{values:[],valueThemeKeys:["--inset-shadow"],hasDefaultValue:!0}]),e("ring-inset",[c,["--tw-ring-inset","inset"]]);let w=r.get(["--default-ring-color"])??"currentColor";t.functional("ring",C=>{if(!C.value){if(C.modifier)return;let A=r.get(["--default-ring-width"])??"1px";return[c(),o("--tw-ring-shadow",v(A)),o("box-shadow",n)]}if(C.value.kind==="arbitrary"){let A=C.value.value;switch(C.value.dataType??I(A,["color","length"])){case"length":return C.modifier?void 0:[c(),o("--tw-ring-shadow",v(A)),o("box-shadow",n)];default:return A=L(A,C.modifier,r),A===null?void 0:[o("--tw-ring-color",A)]}}{let A=W(C,r,["--ring-color","--color"]);if(A)return[o("--tw-ring-color",A)]}{if(C.modifier)return;let A=r.resolve(C.value.value,["--ring-width"]);if(A===null&&S(C.value.value)&&(A=`${C.value.value}px`),A)return[c(),o("--tw-ring-shadow",v(A)),o("box-shadow",n)]}}),i("ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(C,A)=>`${A*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]),t.functional("inset-ring",C=>{if(!C.value)return C.modifier?void 0:[c(),o("--tw-inset-ring-shadow",$("1px")),o("box-shadow",n)];if(C.value.kind==="arbitrary"){let A=C.value.value;switch(C.value.dataType??I(A,["color","length"])){case"length":return C.modifier?void 0:[c(),o("--tw-inset-ring-shadow",$(A)),o("box-shadow",n)];default:return A=L(A,C.modifier,r),A===null?void 0:[o("--tw-inset-ring-color",A)]}}{let A=W(C,r,["--ring-color","--color"]);if(A)return[o("--tw-inset-ring-color",A)]}{if(C.modifier)return;let A=r.resolve(C.value.value,["--ring-width"]);if(A===null&&S(C.value.value)&&(A=`${C.value.value}px`),A)return[c(),o("--tw-inset-ring-shadow",$(A)),o("box-shadow",n)]}}),i("inset-ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(C,A)=>`${A*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]);let E="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";t.functional("ring-offset",C=>{if(C.value){if(C.value.kind==="arbitrary"){let A=C.value.value;switch(C.value.dataType??I(A,["color","length"])){case"length":return C.modifier?void 0:[o("--tw-ring-offset-width",A),o("--tw-ring-offset-shadow",E)];default:return A=L(A,C.modifier,r),A===null?void 0:[o("--tw-ring-offset-color",A)]}}{let A=r.resolve(C.value.value,["--ring-offset-width"]);if(A)return C.modifier?void 0:[o("--tw-ring-offset-width",A),o("--tw-ring-offset-shadow",E)];if(S(C.value.value))return C.modifier?void 0:[o("--tw-ring-offset-width",`${C.value.value}px`),o("--tw-ring-offset-shadow",E)]}{let A=W(C,r,["--ring-offset-color","--color"]);if(A)return[o("--tw-ring-offset-color",A)]}}})}return i("ring-offset",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},(n,a)=>`${a*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}]),t.functional("@container",n=>{let a=null;if(n.value===null?a="inline-size":n.value.kind==="arbitrary"?a=n.value.value:n.value.kind==="named"&&n.value.value==="normal"&&(a="normal"),a!==null)return n.modifier?[o("container-type",a),o("container-name",n.modifier.value)]:[o("container-type",a)]}),i("@container",()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}]),t}function ot(r){let t=r.params;return nr.test(t)?i=>{let e=new Set,l=new Set;O(r.nodes,u=>{if(u.kind!=="declaration"||!u.value||!u.value.includes("--value(")&&!u.value.includes("--modifier("))return;let s=M(u.value);ce(s,p=>{if(p.kind!=="function"||p.value!=="--value"&&p.value!=="--modifier")return;let m=K(q(p.nodes),",");for(let[f,d]of m.entries())d=d.replace(/\\\*/g,"*"),d=d.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),d=d.replace(/\s+/g,""),d=d.replace(/(-\*){2,}/g,"-*"),d[0]==="-"&&d[1]==="-"&&!d.includes("-*")&&(d+="-*"),m[f]=d;p.nodes=M(m.join(","));for(let f of p.nodes)if(f.kind==="word"&&f.value[0]==="-"&&f.value[1]==="-"){let d=f.value.replace(/-\*.*$/g,"");p.value==="--value"?e.add(d):p.value==="--modifier"&&l.add(d)}}),u.value=q(s)}),i.utilities.functional(t.slice(0,-2),u=>{let s=structuredClone(r),p=u.value,m=u.modifier;if(p===null)return;let f=!1,d=!1,g=!1,h=!1,y=new Map,b=!1;if(O([s],(x,{parent:V,replaceWith:k})=>{if(V?.kind!=="rule"&&V?.kind!=="at-rule"||x.kind!=="declaration"||!x.value)return;let N=M(x.value);(ce(N,(R,{replaceWith:D})=>{if(R.kind==="function"){if(R.value==="--value"){f=!0;let n=nt(p,R,i);return n?(d=!0,n.ratio?b=!0:y.set(x,V),D(n.nodes),1):(f||=!1,k([]),2)}else if(R.value==="--modifier"){if(m===null)return k([]),1;g=!0;let n=nt(m,R,i);return n?(h=!0,D(n.nodes),1):(g||=!1,k([]),2)}}})??0)===0&&(x.value=q(N))}),f&&!d||g&&!h||b&&h||m&&!b&&!h)return null;if(b)for(let[x,V]of y){let k=V.nodes.indexOf(x);k!==-1&&V.nodes.splice(k,1)}return s.nodes}),i.utilities.suggest(t.slice(0,-2),()=>[{values:i.theme.keysInNamespaces(e).map(u=>u.replaceAll("_",".")),modifiers:i.theme.keysInNamespaces(l).map(u=>u.replaceAll("_","."))}])}:rr.test(t)?i=>{i.utilities.static(t,()=>structuredClone(r.nodes))}:null}function nt(r,t,i){for(let e of t.nodes)if(r.kind==="named"&&e.kind==="word"&&e.value[0]==="-"&&e.value[1]==="-"){let l=e.value;if(l.endsWith("-*")){l=l.slice(0,-2);let u=i.theme.resolve(r.value,[l]);if(u)return{nodes:M(u)}}else{let u=l.split("-*");if(u.length<=1)continue;let s=[u.shift()],p=i.theme.resolveWith(r.value,s,u);if(p){let[,m={}]=p;{let f=m[u.pop()];if(f)return{nodes:M(f)}}}}}else if(r.kind==="named"&&e.kind==="word"){if(e.value!=="number"&&e.value!=="integer"&&e.value!=="ratio"&&e.value!=="percentage")continue;let l=e.value==="ratio"&&"fraction"in r?r.fraction:r.value;if(!l)continue;let u=I(l,[e.value]);if(u===null)continue;if(u==="ratio"){let[s,p]=K(l,"/");if(!S(s)||!S(p))continue}else{if(u==="number"&&!oe(l))continue;if(u==="percentage"&&!S(l.slice(0,-1)))continue}return{nodes:M(l),ratio:u==="ratio"}}else if(r.kind==="arbitrary"&&e.kind==="word"&&e.value[0]==="["&&e.value[e.value.length-1]==="]"){let l=e.value.slice(1,-1);if(l==="*")return{nodes:M(r.value)};if("dataType"in r&&r.dataType&&r.dataType!==l)continue;if("dataType"in r&&r.dataType)return{nodes:M(r.value)};if(I(r.value,[l])!==null)return{nodes:M(r.value)}}}var Pe={"--alpha":ir,"--spacing":or,"--theme":lr,theme:st};function ir(r,t,...i){let[e,l]=K(t,"/").map(u=>u.trim());if(!e||!l)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${e||"var(--my-color)"} / ${l||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${e||"var(--my-color)"} / ${l||"50%"})\``);return G(e,l)}function or(r,t,...i){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(i.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${i.length+1}.`);let e=r.theme.resolve(null,["--spacing"]);if(!e)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${e} * ${t})`}function lr(r,t,...i){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");return st(r,t,...i)}function st(r,t,...i){t=ar(t);let e=r.resolveThemeValue(t);if(!e&&i.length>0)return i.join(", ");if(!e)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return e}var lt=new RegExp(Object.keys(Pe).map(r=>`${r}\\(`).join("|"));function ae(r,t){let i=0;return O(r,e=>{if(e.kind==="declaration"&&e.value&&lt.test(e.value)){i|=8,e.value=at(e.value,t);return}e.kind==="at-rule"&&(e.name==="@media"||e.name==="@custom-media"||e.name==="@container"||e.name==="@supports")&&lt.test(e.params)&&(i|=8,e.params=at(e.params,t))}),i}function at(r,t){let i=M(r);return ce(i,(e,{replaceWith:l})=>{if(e.kind==="function"&&e.value in Pe){let u=K(q(e.nodes).trim(),",").map(p=>p.trim()),s=Pe[e.value](t,...u);return l(M(s))}}),q(i)}function ar(r){if(r[0]!=="'"&&r[0]!=='"')return r;let t="",i=r[0];for(let e=1;e<r.length-1;e++){let l=r[e],u=r[e+1];l==="\\"&&(u===i||u==="\\")?(t+=u,e++):t+=l}return t}function xe(r,t){let i=r.length,e=t.length,l=i<e?i:e;for(let u=0;u<l;u++){let s=r.charCodeAt(u),p=t.charCodeAt(u);if(s>=48&&s<=57&&p>=48&&p<=57){let m=u,f=u+1,d=u,g=u+1;for(s=r.charCodeAt(f);s>=48&&s<=57;)s=r.charCodeAt(++f);for(p=t.charCodeAt(g);p>=48&&p<=57;)p=t.charCodeAt(++g);let h=r.slice(m,f),y=t.slice(d,g),b=Number(h)-Number(y);if(b)return b;if(h<y)return-1;if(h>y)return 1;continue}if(s!==p)return s-p}return r.length-t.length}var sr=/^\d+\/\d+$/;function ut(r){let t=[];for(let e of r.utilities.keys("static"))t.push({name:e,utility:e,fraction:!1,modifiers:[]});for(let e of r.utilities.keys("functional")){let l=r.utilities.getCompletions(e);for(let u of l)for(let s of u.values){let p=s!==null&&sr.test(s),m=s===null?e:`${e}-${s}`;t.push({name:m,utility:e,fraction:p,modifiers:u.modifiers}),u.supportsNegative&&t.push({name:`-${m}`,utility:`-${e}`,fraction:p,modifiers:u.modifiers})}}return t.length===0?[]:(t.sort((e,l)=>xe(e.name,l.name)),ur(t))}function ur(r){let t=[],i=null,e=new Map,l=new z(()=>[]);for(let s of r){let{utility:p,fraction:m}=s;i||(i={utility:p,items:[]},e.set(p,i)),p!==i.utility&&(t.push(i),i={utility:p,items:[]},e.set(p,i)),m?l.get(p).push(s):i.items.push(s)}i&&t[t.length-1]!==i&&t.push(i);for(let[s,p]of l){let m=e.get(s);m&&m.items.push(...p)}let u=[];for(let s of t)for(let p of s.items)u.push([p.name,{modifiers:p.modifiers}]);return u}function ft(r){let t=[];for(let[e,l]of r.variants.entries()){let p=function({value:m,modifier:f}={}){let d=e;m&&(d+=u?`-${m}`:m),f&&(d+=`/${f}`);let g=r.parseVariant(d);if(!g)return[];let h=_(".__placeholder__",[]);if(se(h,g,r.variants)===null)return[];let y=[];return We(h.nodes,(b,{path:x})=>{if(b.kind!=="rule"&&b.kind!=="at-rule"||b.nodes.length>0)return;x.sort((N,F)=>{let R=N.kind==="at-rule",D=F.kind==="at-rule";return R&&!D?-1:!R&&D?1:0});let V=x.flatMap(N=>N.kind==="rule"?N.selector==="&"?[]:[N.selector]:N.kind==="at-rule"?[`${N.name} ${N.params}`]:[]),k="";for(let N=V.length-1;N>=0;N--)k=k===""?V[N]:`${V[N]} { ${k} }`;y.push(k)}),y};var i=p;if(l.kind==="arbitrary")continue;let u=e!=="@",s=r.variants.getCompletions(e);switch(l.kind){case"static":{t.push({name:e,values:s,isArbitrary:!1,hasDash:u,selectors:p});break}case"functional":{t.push({name:e,values:s,isArbitrary:!0,hasDash:u,selectors:p});break}case"compound":{t.push({name:e,values:s,isArbitrary:!0,hasDash:u,selectors:p});break}}}return t}function ct(r,t){let{astNodes:i,nodeSorting:e}=X(Array.from(t),r),l=new Map(t.map(s=>[s,null])),u=0n;for(let s of i){let p=e.get(s)?.candidate;p&&l.set(p,l.get(p)??u++)}return t.map(s=>[s,l.get(s)??null])}var Ae=/^@?[a-zA-Z0-9_-]*$/;var Oe=class{compareFns=new Map;variants=new Map;completions=new Map;groupOrder=null;lastOrder=0;static(t,i,{compounds:e,order:l}={}){this.set(t,{kind:"static",applyFn:i,compoundsWith:0,compounds:e??2,order:l})}fromAst(t,i){let e=[];O(i,l=>{l.kind==="rule"?e.push(l.selector):l.kind==="at-rule"&&l.name!=="@slot"&&e.push(`${l.name} ${l.params}`)}),this.static(t,l=>{let u=structuredClone(i);_e(u,l.nodes),l.nodes=u},{compounds:ne(e)})}functional(t,i,{compounds:e,order:l}={}){this.set(t,{kind:"functional",applyFn:i,compoundsWith:0,compounds:e??2,order:l})}compound(t,i,e,{compounds:l,order:u}={}){this.set(t,{kind:"compound",applyFn:e,compoundsWith:i,compounds:l??2,order:u})}group(t,i){this.groupOrder=this.nextOrder(),i&&this.compareFns.set(this.groupOrder,i),t(),this.groupOrder=null}has(t){return this.variants.has(t)}get(t){return this.variants.get(t)}kind(t){return this.variants.get(t)?.kind}compoundsWith(t,i){let e=this.variants.get(t),l=typeof i=="string"?this.variants.get(i):i.kind==="arbitrary"?{compounds:ne([i.selector])}:this.variants.get(i.root);return!(!e||!l||e.kind!=="compound"||l.compounds===0||e.compoundsWith===0||(e.compoundsWith&l.compounds)===0)}suggest(t,i){this.completions.set(t,i)}getCompletions(t){return this.completions.get(t)?.()??[]}compare(t,i){if(t===i)return 0;if(t===null)return-1;if(i===null)return 1;if(t.kind==="arbitrary"&&i.kind==="arbitrary")return t.selector<i.selector?-1:1;if(t.kind==="arbitrary")return 1;if(i.kind==="arbitrary")return-1;let e=this.variants.get(t.root).order,l=this.variants.get(i.root).order,u=e-l;if(u!==0)return u;if(t.kind==="compound"&&i.kind==="compound"){let f=this.compare(t.variant,i.variant);return f!==0?f:t.modifier&&i.modifier?t.modifier.value<i.modifier.value?-1:1:t.modifier?1:i.modifier?-1:0}let s=this.compareFns.get(e);if(s!==void 0)return s(t,i);if(t.root!==i.root)return t.root<i.root?-1:1;let p=t.value,m=i.value;return p===null?-1:m===null||p.kind==="arbitrary"&&m.kind!=="arbitrary"?1:p.kind!=="arbitrary"&&m.kind==="arbitrary"||p.value<m.value?-1:1}keys(){return this.variants.keys()}entries(){return this.variants.entries()}set(t,{kind:i,applyFn:e,compounds:l,compoundsWith:u,order:s}){let p=this.variants.get(t);p?Object.assign(p,{kind:i,applyFn:e,compounds:l}):(s===void 0&&(this.lastOrder=this.nextOrder(),s=this.lastOrder),this.variants.set(t,{kind:i,applyFn:e,order:s,compoundsWith:u,compounds:l}))}nextOrder(){return this.groupOrder??this.lastOrder+1}};function ne(r){let t=0;for(let i of r){if(i[0]==="@"){if(!i.startsWith("@media")&&!i.startsWith("@supports")&&!i.startsWith("@container"))return 0;t|=1;continue}if(i.includes("::"))return 0;t|=2}return t}function pt(r){let t=new Oe;function i(f,d,{compounds:g}={}){g=g??ne(d),t.static(f,h=>{h.nodes=d.map(y=>B(y,h.nodes))},{compounds:g})}i("*",[":is(& > *)"],{compounds:0}),i("**",[":is(& *)"],{compounds:0});function e(f,d){return d.map(g=>{g=g.trim();let h=K(g," ");return h[0]==="not"?h.slice(1).join(" "):f==="@container"?h[0][0]==="("?`not ${g}`:h[1]==="not"?`${h[0]} ${h.slice(2).join(" ")}`:`${h[0]} not ${h.slice(1).join(" ")}`:`not ${g}`})}let l=["@media","@supports","@container"];function u(f){for(let d of l){if(d!==f.name)continue;let g=K(f.params,",");return g.length>1?null:(g=e(f.name,g),j(f.name,g.join(", ")))}return null}function s(f){return f.includes("::")?null:`&:not(${K(f,",").map(g=>(g=g.replaceAll("&","*"),g)).join(", ")})`}t.compound("not",3,(f,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative||d.modifier)return null;let g=!1;if(O([f],(h,{path:y})=>{if(h.kind!=="rule"&&h.kind!=="at-rule")return 0;if(h.nodes.length>0)return 0;let b=[],x=[];for(let k of y)k.kind==="at-rule"?b.push(k):k.kind==="rule"&&x.push(k);if(b.length>1)return 2;if(x.length>1)return 2;let V=[];for(let k of x){let N=s(k.selector);if(!N)return g=!1,2;V.push(_(N,[]))}for(let k of b){let N=u(k);if(!N)return g=!1,2;V.push(N)}return Object.assign(f,_("&",V)),g=!0,1}),f.kind==="rule"&&f.selector==="&"&&f.nodes.length===1&&Object.assign(f,f.nodes[0]),!g)return null}),t.suggest("not",()=>Array.from(t.keys()).filter(f=>t.compoundsWith("not",f))),t.compound("group",2,(f,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative)return null;let g=d.modifier?`:where(.${r.prefix?`${r.prefix}\\:`:""}group\\/${d.modifier.value})`:`:where(.${r.prefix?`${r.prefix}\\:`:""}group)`,h=!1;if(O([f],(y,{path:b})=>{if(y.kind!=="rule")return 0;for(let V of b.slice(0,-1))if(V.kind==="rule")return h=!1,2;let x=y.selector.replaceAll("&",g);K(x,",").length>1&&(x=`:is(${x})`),y.selector=`&:is(${x} *)`,h=!0}),!h)return null}),t.suggest("group",()=>Array.from(t.keys()).filter(f=>t.compoundsWith("group",f))),t.compound("peer",2,(f,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative)return null;let g=d.modifier?`:where(.${r.prefix?`${r.prefix}\\:`:""}peer\\/${d.modifier.value})`:`:where(.${r.prefix?`${r.prefix}\\:`:""}peer)`,h=!1;if(O([f],(y,{path:b})=>{if(y.kind!=="rule")return 0;for(let V of b.slice(0,-1))if(V.kind==="rule")return h=!1,2;let x=y.selector.replaceAll("&",g);K(x,",").length>1&&(x=`:is(${x})`),y.selector=`&:is(${x} ~ *)`,h=!0}),!h)return null}),t.suggest("peer",()=>Array.from(t.keys()).filter(f=>t.compoundsWith("peer",f))),i("first-letter",["&::first-letter"]),i("first-line",["&::first-line"]),i("marker",["& *::marker","&::marker"]),i("selection",["& *::selection","&::selection"]),i("file",["&::file-selector-button"]),i("placeholder",["&::placeholder"]),i("backdrop",["&::backdrop"]),!1;{let f=function(){return P([j("@property","--tw-content",[o("syntax",'"*"'),o("initial-value",'""'),o("inherits","false")])])};var p=f;t.static("before",d=>{d.nodes=[_("&::before",[f(),o("content","var(--tw-content)"),...d.nodes])]},{compounds:0}),t.static("after",d=>{d.nodes=[_("&::after",[f(),o("content","var(--tw-content)"),...d.nodes])]},{compounds:0})}i("first",["&:first-child"]),i("last",["&:last-child"]),i("only",["&:only-child"]),i("odd",["&:nth-child(odd)"]),i("even",["&:nth-child(even)"]),i("first-of-type",["&:first-of-type"]),i("last-of-type",["&:last-of-type"]),i("only-of-type",["&:only-of-type"]),i("visited",["&:visited"]),i("target",["&:target"]),i("open",["&:is([open], :popover-open, :open)"]),i("default",["&:default"]),i("checked",["&:checked"]),i("indeterminate",["&:indeterminate"]),i("placeholder-shown",["&:placeholder-shown"]),i("autofill",["&:autofill"]),i("optional",["&:optional"]),i("required",["&:required"]),i("valid",["&:valid"]),i("invalid",["&:invalid"]),!1,i("in-range",["&:in-range"]),i("out-of-range",["&:out-of-range"]),i("read-only",["&:read-only"]),i("empty",["&:empty"]),i("focus-within",["&:focus-within"]),t.static("hover",f=>{f.nodes=[_("&:hover",[j("@media","(hover: hover)",f.nodes)])]}),i("focus",["&:focus"]),i("focus-visible",["&:focus-visible"]),i("active",["&:active"]),i("enabled",["&:enabled"]),i("disabled",["&:disabled"]),i("inert",["&:is([inert], [inert] *)"]),t.compound("in",2,(f,d)=>{if(d.modifier)return null;let g=!1;if(O([f],(h,{path:y})=>{if(h.kind!=="rule")return 0;for(let b of y.slice(0,-1))if(b.kind==="rule")return g=!1,2;h.selector=`:where(${h.selector.replaceAll("&","*")}) &`,g=!0}),!g)return null}),t.suggest("in",()=>Array.from(t.keys()).filter(f=>t.compoundsWith("in",f))),t.compound("has",2,(f,d)=>{if(d.modifier)return null;let g=!1;if(O([f],(h,{path:y})=>{if(h.kind!=="rule")return 0;for(let b of y.slice(0,-1))if(b.kind==="rule")return g=!1,2;h.selector=`&:has(${h.selector.replaceAll("&","*")})`,g=!0}),!g)return null}),t.suggest("has",()=>Array.from(t.keys()).filter(f=>t.compoundsWith("has",f))),t.functional("aria",(f,d)=>{if(!d.value||d.modifier)return null;d.value.kind==="arbitrary"?f.nodes=[_(`&[aria-${dt(d.value.value)}]`,f.nodes)]:f.nodes=[_(`&[aria-${d.value.value}="true"]`,f.nodes)]}),t.suggest("aria",()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"]),t.functional("data",(f,d)=>{if(!d.value||d.modifier)return null;f.nodes=[_(`&[data-${dt(d.value.value)}]`,f.nodes)]}),t.functional("nth",(f,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!S(d.value.value))return null;f.nodes=[_(`&:nth-child(${d.value.value})`,f.nodes)]}),t.functional("nth-last",(f,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!S(d.value.value))return null;f.nodes=[_(`&:nth-last-child(${d.value.value})`,f.nodes)]}),t.functional("nth-of-type",(f,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!S(d.value.value))return null;f.nodes=[_(`&:nth-of-type(${d.value.value})`,f.nodes)]}),t.functional("nth-last-of-type",(f,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!S(d.value.value))return null;f.nodes=[_(`&:nth-last-of-type(${d.value.value})`,f.nodes)]}),t.functional("supports",(f,d)=>{if(!d.value||d.modifier)return null;let g=d.value.value;if(g===null)return null;if(/^[\w-]*\s*\(/.test(g)){let h=g.replace(/\b(and|or|not)\b/g," $1 ");f.nodes=[j("@supports",h,f.nodes)];return}g.includes(":")||(g=`${g}: var(--tw)`),(g[0]!=="("||g[g.length-1]!==")")&&(g=`(${g})`),f.nodes=[j("@supports",g,f.nodes)]},{compounds:1}),i("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),i("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),i("contrast-more",["@media (prefers-contrast: more)"]),i("contrast-less",["@media (prefers-contrast: less)"]);{let f=function(d,g,h,y){if(d===g)return 0;let b=y.get(d);if(b===null)return h==="asc"?-1:1;let x=y.get(g);return x===null?h==="asc"?1:-1:te(b,x,h)};var m=f;{let d=r.namespace("--breakpoint"),g=new z(h=>{switch(h.kind){case"static":return r.resolveValue(h.root,["--breakpoint"])??null;case"functional":{if(!h.value||h.modifier)return null;let y=null;return h.value.kind==="arbitrary"?y=h.value.value:h.value.kind==="named"&&(y=r.resolveValue(h.value.value,["--breakpoint"])),!y||y.includes("var(")?null:y}case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("max",(h,y)=>{if(y.modifier)return null;let b=g.get(y);if(b===null)return null;h.nodes=[j("@media",`(width < ${b})`,h.nodes)]},{compounds:1})},(h,y)=>f(h,y,"desc",g)),t.suggest("max",()=>Array.from(d.keys()).filter(h=>h!==null)),t.group(()=>{for(let[h,y]of r.namespace("--breakpoint"))h!==null&&t.static(h,b=>{b.nodes=[j("@media",`(width >= ${y})`,b.nodes)]},{compounds:1});t.functional("min",(h,y)=>{if(y.modifier)return null;let b=g.get(y);if(b===null)return null;h.nodes=[j("@media",`(width >= ${b})`,h.nodes)]},{compounds:1})},(h,y)=>f(h,y,"asc",g)),t.suggest("min",()=>Array.from(d.keys()).filter(h=>h!==null))}{let d=r.namespace("--container"),g=new z(h=>{switch(h.kind){case"functional":{if(h.value===null)return null;let y=null;return h.value.kind==="arbitrary"?y=h.value.value:h.value.kind==="named"&&(y=r.resolveValue(h.value.value,["--container"])),!y||y.includes("var(")?null:y}case"static":case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("@max",(h,y)=>{let b=g.get(y);if(b===null)return null;h.nodes=[j("@container",y.modifier?`${y.modifier.value} (width < ${b})`:`(width < ${b})`,h.nodes)]},{compounds:1})},(h,y)=>f(h,y,"desc",g)),t.suggest("@max",()=>Array.from(d.keys()).filter(h=>h!==null)),t.group(()=>{t.functional("@",(h,y)=>{let b=g.get(y);if(b===null)return null;h.nodes=[j("@container",y.modifier?`${y.modifier.value} (width >= ${b})`:`(width >= ${b})`,h.nodes)]},{compounds:1}),t.functional("@min",(h,y)=>{let b=g.get(y);if(b===null)return null;h.nodes=[j("@container",y.modifier?`${y.modifier.value} (width >= ${b})`:`(width >= ${b})`,h.nodes)]},{compounds:1})},(h,y)=>f(h,y,"asc",g)),t.suggest("@min",()=>Array.from(d.keys()).filter(h=>h!==null)),t.suggest("@",()=>Array.from(d.keys()).filter(h=>h!==null))}}return i("portrait",["@media (orientation: portrait)"]),i("landscape",["@media (orientation: landscape)"]),i("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),i("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),i("dark",["@media (prefers-color-scheme: dark)"]),i("starting",["@starting-style"]),i("print",["@media print"]),i("forced-colors",["@media (forced-colors: active)"]),!1,!1,!1,t}function dt(r){if(r.includes("=")){let[t,...i]=K(r,"="),e=i.join("=").trim();if(e[0]==="'"||e[0]==='"')return r;if(e.length>1){let l=e[e.length-1];if(e[e.length-2]===" "&&(l==="i"||l==="I"||l==="s"||l==="S"))return`${t}="${e.slice(0,-2)}" ${l}`}return`${t}="${e}"`}return r}function _e(r,t){O(r,(i,{replaceWith:e})=>{if(i.kind==="at-rule"&&i.name==="@slot")e(t);else if(i.kind==="at-rule"&&(i.name==="@keyframes"||i.name==="@property"))return Object.assign(i,P([j(i.name,i.params,i.nodes)])),1})}function gt(r){let t=it(r),i=pt(r),e=new z(m=>et(m,p)),l=new z(m=>Array.from(Qe(m,p))),u=new z(m=>{let f=mt(m,p);try{ae(f.map(({node:d})=>d),p)}catch{return[]}return f}),s=new z(m=>{for(let f of Le(m))r.markUsedVariable(f)}),p={theme:r,utilities:t,variants:i,invalidCandidates:new Set,important:!1,candidatesToCss(m){let f=[];for(let d of m){let g=!1,{astNodes:h}=X([d],this,{onInvalidCandidate(){g=!0}});h=ee(h,p),h.length===0||g?f.push(null):f.push(J(h))}return f},getClassOrder(m){return ct(this,m)},getClassList(){return ut(this)},getVariants(){return ft(this)},parseCandidate(m){return l.get(m)},parseVariant(m){return e.get(m)},compileAstNodes(m){return u.get(m)},getVariantOrder(){let m=Array.from(e.values());m.sort((h,y)=>this.variants.compare(h,y));let f=new Map,d,g=0;for(let h of m)h!==null&&(d!==void 0&&this.variants.compare(d,h)!==0&&g++,f.set(h,g),d=h);return f},resolveThemeValue(m){let f=m.lastIndexOf("/"),d=null;f!==-1&&(d=m.slice(f+1).trim(),m=m.slice(0,f).trim());let g=r.get([m])??void 0;return d&&g?G(g,d):g},trackUsedVariables(m){s.get(m)}};return p}var De=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","filter","--tw-backdrop-blur","--tw-backdrop-brightness","--tw-backdrop-contrast","--tw-backdrop-grayscale","--tw-backdrop-hue-rotate","--tw-backdrop-invert","--tw-backdrop-opacity","--tw-backdrop-saturate","--tw-backdrop-sepia","backdrop-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];function X(r,t,{onInvalidCandidate:i}={}){let e=new Map,l=[],u=new Map;for(let p of r){if(t.invalidCandidates.has(p)){i?.(p);continue}let m=t.parseCandidate(p);if(m.length===0){i?.(p);continue}u.set(p,m)}let s=t.getVariantOrder();for(let[p,m]of u){let f=!1;for(let d of m){let g=t.compileAstNodes(d);if(g.length!==0){f=!0;for(let{node:h,propertySort:y}of g){let b=0n;for(let x of d.variants)b|=1n<<BigInt(s.get(x));e.set(h,{properties:y,variants:b,candidate:p}),l.push(h)}}}f||i?.(p)}return l.sort((p,m)=>{let f=e.get(p),d=e.get(m);if(f.variants-d.variants!==0n)return Number(f.variants-d.variants);let g=0;for(;g<f.properties.order.length&&g<d.properties.order.length&&f.properties.order[g]===d.properties.order[g];)g+=1;return(f.properties.order[g]??1/0)-(d.properties.order[g]??1/0)||d.properties.count-f.properties.count||xe(f.candidate,d.candidate)}),{astNodes:l,nodeSorting:e}}function mt(r,t){let i=mr(r,t);if(i.length===0)return[];let e=[],l=`.${ie(r.raw)}`;for(let u of i){let s=hr(u);(r.important||t.important)&&vt(u);let p={kind:"rule",selector:l,nodes:u};for(let m of r.variants)if(se(p,m,t.variants)===null)return[];e.push({node:p,propertySort:s})}return e}function se(r,t,i,e=0){if(t.kind==="arbitrary"){if(t.relative&&e===0)return null;r.nodes=[B(t.selector,r.nodes)];return}let{applyFn:l}=i.get(t.root);if(t.kind==="compound"){let s=j("@slot");if(se(s,t.variant,i,e+1)===null||t.root==="not"&&s.nodes.length>1)return null;for(let m of s.nodes)if(m.kind!=="rule"&&m.kind!=="at-rule"||l(m,t)===null)return null;O(s.nodes,m=>{if((m.kind==="rule"||m.kind==="at-rule")&&m.nodes.length<=0)return m.nodes=r.nodes,1}),r.nodes=s.nodes;return}if(l(r,t)===null)return null}function ht(r){let t=r.options?.types??[];return t.length>1&&t.includes("any")}function mr(r,t){if(r.kind==="arbitrary"){let s=r.value;return r.modifier&&(s=L(s,r.modifier,t.theme)),s===null?[]:[[o(r.property,s)]]}let i=t.utilities.get(r.root)??[],e=[],l=i.filter(s=>!ht(s));for(let s of l){if(s.kind!==r.kind)continue;let p=s.compileFn(r);if(p!==void 0){if(p===null)return e;e.push(p)}}if(e.length>0)return e;let u=i.filter(s=>ht(s));for(let s of u){if(s.kind!==r.kind)continue;let p=s.compileFn(r);if(p!==void 0){if(p===null)return e;e.push(p)}}return e}function vt(r){for(let t of r)t.kind!=="at-root"&&(t.kind==="declaration"?t.important=!0:(t.kind==="rule"||t.kind==="at-rule")&&vt(t.nodes))}function hr(r){let t=new Set,i=0,e=r.slice(),l=!1;for(;e.length>0;){let u=e.shift();if(u.kind==="declaration"){if(u.value===void 0||(i++,l))continue;if(u.property==="--tw-sort"){let p=De.indexOf(u.value??"");if(p!==-1){t.add(p),l=!0;continue}}let s=De.indexOf(u.property);s!==-1&&t.add(s)}else if(u.kind==="rule"||u.kind==="at-rule")for(let s of u.nodes)e.push(s)}return{order:Array.from(t).sort((u,s)=>u-s),count:i}}function ge(r,t){let i=0,e=B("&",r),l=new Set,u=new z(()=>new Set),s=new z(()=>new Set);O([e],(g,{parent:h})=>{if(g.kind==="at-rule"){if(g.name==="@keyframes")return O(g.nodes,y=>{if(y.kind==="at-rule"&&y.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(g.name==="@utility"){let y=g.params.replace(/-\*$/,"");s.get(y).add(g),O(g.nodes,b=>{if(!(b.kind!=="at-rule"||b.name!=="@apply")){l.add(g);for(let x of yt(b,t))u.get(g).add(x)}});return}if(g.name==="@apply"){if(h===null)return;i|=1,l.add(h);for(let y of yt(g,t))u.get(h).add(y)}}});let p=new Set,m=[],f=new Set;function d(g,h=[]){if(!p.has(g)){if(f.has(g)){let y=h[(h.indexOf(g)+1)%h.length];throw g.kind==="at-rule"&&g.name==="@utility"&&y.kind==="at-rule"&&y.name==="@utility"&&O(g.nodes,b=>{if(b.kind!=="at-rule"||b.name!=="@apply")return;let x=b.params.split(/\s+/g);for(let V of x)for(let k of t.parseCandidate(V))switch(k.kind){case"arbitrary":break;case"static":case"functional":if(y.params.replace(/-\*$/,"")===k.root)throw new Error(`You cannot \`@apply\` the \`${V}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
${J([g])}
Relies on:
${J([y])}`)}f.add(g);for(let y of u.get(g))for(let b of s.get(y))h.push(g),d(b,h),h.pop();p.add(g),f.delete(g),m.push(g)}}for(let g of l)d(g);for(let g of m)if("nodes"in g)for(let h=0;h<g.nodes.length;h++){let y=g.nodes[h];if(y.kind!=="at-rule"||y.name!=="@apply")continue;let b=y.params.split(/\s+/g);{let x=X(b,t,{onInvalidCandidate:k=>{throw new Error(`Cannot apply unknown utility class: ${k}`)}}).astNodes,V=[];for(let k of x)if(k.kind==="rule")for(let N of k.nodes)V.push(N);else V.push(k);g.nodes.splice(h,1,...V)}}return i}function*yt(r,t){for(let i of r.params.split(/\s+/g))for(let e of t.parseCandidate(i))switch(e.kind){case"arbitrary":break;case"static":case"functional":yield e.root;break;default:}}async function Fe(r,t,i,e=0){let l=0,u=[];return O(r,(s,{replaceWith:p})=>{if(s.kind==="at-rule"&&(s.name==="@import"||s.name==="@reference")){let m=vr(M(s.params));if(m===null)return;s.name==="@reference"&&(m.media="reference"),l|=2;let{uri:f,layer:d,media:g,supports:h}=m;if(f.startsWith("data:")||f.startsWith("http://")||f.startsWith("https://"))return;let y=Y({},[]);return u.push((async()=>{if(e>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${f}\` in \`${t}\`)`);let b=await i(f,t),x=Q(b.content);await Fe(x,b.base,i,e+1),y.nodes=yr([Y({base:b.base},x)],d,g,h)})()),p(y),1}}),u.length>0&&await Promise.all(u),l}function vr(r){let t,i=null,e=null,l=null;for(let u=0;u<r.length;u++){let s=r[u];if(s.kind!=="separator"){if(s.kind==="word"&&!t){if(!s.value||s.value[0]!=='"'&&s.value[0]!=="'")return null;t=s.value.slice(1,-1);continue}if(s.kind==="function"&&s.value.toLowerCase()==="url"||!t)return null;if((s.kind==="word"||s.kind==="function")&&s.value.toLowerCase()==="layer"){if(i)return null;if(l)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in s?i=q(s.nodes):i="";continue}if(s.kind==="function"&&s.value.toLowerCase()==="supports"){if(l)return null;l=q(s.nodes);continue}e=q(r.slice(u));break}}return t?{uri:t,layer:i,media:e,supports:l}:null}function yr(r,t,i,e){let l=r;return t!==null&&(l=[j("@layer",t,l)]),i!==null&&(l=[j("@media",i,l)]),e!==null&&(l=[j("@supports",e[0]==="("?e:`(${e})`,l)]),l}function ue(r,t=null){return Array.isArray(r)&&r.length===2&&typeof r[1]=="object"&&typeof r[1]!==null?t?r[1][t]??null:r[0]:Array.isArray(r)&&t===null?r.join(", "):typeof r=="string"&&t===null?r:null}function kt(r,{theme:t},i){for(let e of i){let l=Ce([e]);l&&r.theme.clearNamespace(`--${l}`,4)}for(let[e,l]of br(t)){if(typeof l!="string"&&typeof l!="number")continue;if(typeof l=="string"&&(l=l.replace(/<alpha-value>/g,"1")),e[0]==="opacity"&&(typeof l=="number"||typeof l=="string")){let s=typeof l=="string"?parseFloat(l):l;s>=0&&s<=1&&(l=s*100+"%")}let u=Ce(e);u&&r.theme.add(`--${u}`,""+l,7)}if(Object.hasOwn(t,"fontFamily")){let e=5;{let l=ue(t.fontFamily.sans);l&&r.theme.hasDefault("--font-sans")&&(r.theme.add("--default-font-family",l,e),r.theme.add("--default-font-feature-settings",ue(t.fontFamily.sans,"fontFeatureSettings")??"normal",e),r.theme.add("--default-font-variation-settings",ue(t.fontFamily.sans,"fontVariationSettings")??"normal",e))}{let l=ue(t.fontFamily.mono);l&&r.theme.hasDefault("--font-mono")&&(r.theme.add("--default-mono-font-family",l,e),r.theme.add("--default-mono-font-feature-settings",ue(t.fontFamily.mono,"fontFeatureSettings")??"normal",e),r.theme.add("--default-mono-font-variation-settings",ue(t.fontFamily.mono,"fontVariationSettings")??"normal",e))}}return t}function br(r){let t=[];return xt(r,[],(i,e)=>{if(kr(i))return t.push([e,i]),1;if(xr(i)){t.push([e,i[0]]);for(let l of Reflect.ownKeys(i[1]))t.push([[...e,`-${l}`],i[1][l]]);return 1}if(Array.isArray(i)&&i.every(l=>typeof l=="string"))return t.push([e,i.join(", ")]),1}),t}var wr=/^[a-zA-Z0-9-_%/\.]+$/;function Ce(r){if(r[0]==="container")return null;r=structuredClone(r),r[0]==="animation"&&(r[0]="animate"),r[0]==="aspectRatio"&&(r[0]="aspect"),r[0]==="borderRadius"&&(r[0]="radius"),r[0]==="boxShadow"&&(r[0]="shadow"),r[0]==="colors"&&(r[0]="color"),r[0]==="containers"&&(r[0]="container"),r[0]==="fontFamily"&&(r[0]="font"),r[0]==="fontSize"&&(r[0]="text"),r[0]==="letterSpacing"&&(r[0]="tracking"),r[0]==="lineHeight"&&(r[0]="leading"),r[0]==="maxWidth"&&(r[0]="container"),r[0]==="screens"&&(r[0]="breakpoint"),r[0]==="transitionTimingFunction"&&(r[0]="ease");for(let t of r)if(!wr.test(t))return null;return r.map((t,i,e)=>t==="1"&&i!==e.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(i,e,l)=>`${e}-${l.toLowerCase()}`)).filter((t,i)=>t!=="DEFAULT"||i!==r.length-1).join("-")}function kr(r){return typeof r=="number"||typeof r=="string"}function xr(r){if(!Array.isArray(r)||r.length!==2||typeof r[0]!="string"&&typeof r[0]!="number"||r[1]===void 0||r[1]===null||typeof r[1]!="object")return!1;for(let t of Reflect.ownKeys(r[1]))if(typeof t!="string"||typeof r[1][t]!="string"&&typeof r[1][t]!="number")return!1;return!0}function xt(r,t=[],i){for(let e of Reflect.ownKeys(r)){let l=r[e];if(l==null)continue;let u=[...t,e],s=i(l,u)??0;if(s!==1){if(s===2)return 2;if(!(!Array.isArray(l)&&typeof l!="object")&&xt(l,u,i)===2)return 2}}}function Ve(r){let t=[];for(let i of K(r,".")){if(!i.includes("[")){t.push(i);continue}let e=0;for(;;){let l=i.indexOf("[",e),u=i.indexOf("]",l);if(l===-1||u===-1)break;l>e&&t.push(i.slice(e,l)),t.push(i.slice(l+1,u)),e=u+1}e<=i.length-1&&t.push(i.slice(e))}return t}function fe(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;let t=Object.getPrototypeOf(r);return t===null||Object.getPrototypeOf(t)===null}function me(r,t,i,e=[]){for(let l of t)if(l!=null)for(let u of Reflect.ownKeys(l)){e.push(u);let s=i(r[u],l[u],e);s!==void 0?r[u]=s:!fe(r[u])||!fe(l[u])?r[u]=l[u]:r[u]=me({},[r[u],l[u]],i,e),e.pop()}return r}function $e(r,t,i){return function(l,u){let s=l.lastIndexOf("/"),p=null;s!==-1&&(p=l.slice(s+1).trim(),l=l.slice(0,s).trim());let m=(()=>{let f=Ve(l),[d,g]=Ar(r.theme,f),h=i(At(t()??{},f)??null);if(typeof h=="string"&&(h=h.replace("<alpha-value>","1")),typeof d!="object")return typeof g!="object"&&g&4?h??d:d;if(h!==null&&typeof h=="object"&&!Array.isArray(h)){let y=me({},[h],(b,x)=>x);if(d===null&&Object.hasOwn(h,"__CSS_VALUES__")){let b={};for(let x in h.__CSS_VALUES__)b[x]=h[x],delete y[x];d=b}for(let b in d)b!=="__CSS_VALUES__"&&(h?.__CSS_VALUES__?.[b]&4&&At(y,b.split("-"))!==void 0||(y[we(b)]=d[b]));return y}if(Array.isArray(d)&&Array.isArray(g)&&Array.isArray(h)){let y=d[0],b=d[1];g[0]&4&&(y=h[0]??y);for(let x of Object.keys(b))g[1][x]&4&&(b[x]=h[1][x]??b[x]);return[y,b]}return d??h})();return p&&typeof m=="string"&&(m=G(m,p)),m??u}}function Ar(r,t){if(t.length===1&&t[0].startsWith("--"))return[r.get([t[0]]),r.getOptions(t[0])];let i=Ce(t),e=new Map,l=new z(()=>new Map),u=r.namespace(`--${i}`);if(u.size===0)return[null,0];let s=new Map;for(let[d,g]of u){if(!d||!d.includes("--")){e.set(d,g),s.set(d,r.getOptions(d?`--${i}-${d}`:`--${i}`));continue}let h=d.indexOf("--"),y=d.slice(0,h),b=d.slice(h+2);b=b.replace(/-([a-z])/g,(x,V)=>V.toUpperCase()),l.get(y===""?null:y).set(b,[g,r.getOptions(`--${i}${d}`)])}let p=r.getOptions(`--${i}`);for(let[d,g]of l){let h=e.get(d);if(typeof h!="string")continue;let y={},b={};for(let[x,[V,k]]of g)y[x]=V,b[x]=k;e.set(d,[h,y]),s.set(d,[p,b])}let m={},f={};for(let[d,g]of e)Ct(m,[d??"DEFAULT"],g);for(let[d,g]of s)Ct(f,[d??"DEFAULT"],g);return t[t.length-1]==="DEFAULT"?[m?.DEFAULT??null,f.DEFAULT??0]:"DEFAULT"in m&&Object.keys(m).length===1?[m.DEFAULT,f.DEFAULT??0]:(m.__CSS_VALUES__=f,[m,f])}function At(r,t){for(let i=0;i<t.length;++i){let e=t[i];if(r?.[e]===void 0){if(t[i+1]===void 0)return;t[i+1]=`${e}-${t[i+1]}`;continue}r=r[e]}return r}function Ct(r,t,i){for(let e of t.slice(0,-1))r[e]===void 0&&(r[e]={}),r=r[e];r[t[t.length-1]]=i}function Cr(r){return{kind:"combinator",value:r}}function Vr(r,t){return{kind:"function",value:r,nodes:t}}function he(r){return{kind:"selector",value:r}}function $r(r){return{kind:"separator",value:r}}function Tr(r){return{kind:"value",value:r}}function ve(r,t,i=null){for(let e=0;e<r.length;e++){let l=r[e],u=!1,s=0,p=t(l,{parent:i,replaceWith(m){u=!0,Array.isArray(m)?m.length===0?(r.splice(e,1),s=0):m.length===1?(r[e]=m[0],s=1):(r.splice(e,1,...m),s=m.length):(r[e]=m,s=1)}})??0;if(u){p===0?e--:e+=s-1;continue}if(p===2)return 2;if(p!==1&&l.kind==="function"&&ve(l.nodes,t,l)===2)return 2}}function ye(r){let t="";for(let i of r)switch(i.kind){case"combinator":case"selector":case"separator":case"value":{t+=i.value;break}case"function":t+=i.value+"("+ye(i.nodes)+")"}return t}var Vt=92,Nr=93,$t=41,Sr=58,Tt=44,Er=34,Rr=46,Nt=62,St=10,Kr=35,Et=91,Rt=40,Kt=43,jr=39,jt=32,Pt=9,Ot=126;function Te(r){r=r.replaceAll(`\r
`,`
`);let t=[],i=[],e=null,l="",u;for(let s=0;s<r.length;s++){let p=r.charCodeAt(s);switch(p){case Tt:case Nt:case St:case jt:case Kt:case Pt:case Ot:{if(l.length>0){let h=he(l);e?e.nodes.push(h):t.push(h),l=""}let m=s,f=s+1;for(;f<r.length&&(u=r.charCodeAt(f),!(u!==Tt&&u!==Nt&&u!==St&&u!==jt&&u!==Kt&&u!==Pt&&u!==Ot));f++);s=f-1;let d=r.slice(m,f),g=d.trim()===","?$r(d):Cr(d);e?e.nodes.push(g):t.push(g);break}case Rt:{let m=Vr(l,[]);if(l="",m.value!==":not"&&m.value!==":where"&&m.value!==":has"&&m.value!==":is"){let f=s+1,d=0;for(let h=s+1;h<r.length;h++){if(u=r.charCodeAt(h),u===Rt){d++;continue}if(u===$t){if(d===0){s=h;break}d--}}let g=s;m.nodes.push(Tr(r.slice(f,g))),l="",s=g,e?e.nodes.push(m):t.push(m);break}e?e.nodes.push(m):t.push(m),i.push(m),e=m;break}case $t:{let m=i.pop();if(l.length>0){let f=he(l);m.nodes.push(f),l=""}i.length>0?e=i[i.length-1]:e=null;break}case Rr:case Sr:case Kr:{if(l.length>0){let m=he(l);e?e.nodes.push(m):t.push(m)}l=String.fromCharCode(p);break}case Et:{if(l.length>0){let d=he(l);e?e.nodes.push(d):t.push(d)}l="";let m=s,f=0;for(let d=s+1;d<r.length;d++){if(u=r.charCodeAt(d),u===Et){f++;continue}if(u===Nr){if(f===0){s=d;break}f--}}l+=r.slice(m,s+1);break}case jr:case Er:{let m=s;for(let f=s+1;f<r.length;f++)if(u=r.charCodeAt(f),u===Vt)f+=1;else if(u===p){s=f;break}l+=r.slice(m,s+1);break}case Vt:{let m=r.charCodeAt(s+1);l+=String.fromCharCode(p)+String.fromCharCode(m),s+=1;break}default:l+=String.fromCharCode(p)}}return l.length>0&&t.push(he(l)),t}var _t=/^[a-z@][a-zA-Z0-9/%._-]*$/;function Ue({designSystem:r,ast:t,resolvedConfig:i,featuresRef:e,referenceMode:l}){let u={addBase(s){if(l)return;let p=Z(s);e.current|=ae(p,r),t.push(j("@layer","base",p))},addVariant(s,p){if(!Ae.test(s))throw new Error(`\`addVariant('${s}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);typeof p=="string"||Array.isArray(p)?r.variants.static(s,m=>{m.nodes=Dt(p,m.nodes)},{compounds:ne(typeof p=="string"?[p]:p)}):typeof p=="object"&&r.variants.fromAst(s,Z(p))},matchVariant(s,p,m){function f(g,h,y){let b=p(g,{modifier:h?.value??null});return Dt(b,y)}let d=Object.keys(m?.values??{});r.variants.group(()=>{r.variants.functional(s,(g,h)=>{if(!h.value){if(m?.values&&"DEFAULT"in m.values){g.nodes=f(m.values.DEFAULT,h.modifier,g.nodes);return}return null}if(h.value.kind==="arbitrary")g.nodes=f(h.value.value,h.modifier,g.nodes);else if(h.value.kind==="named"&&m?.values){let y=m.values[h.value.value];if(typeof y!="string")return;g.nodes=f(y,h.modifier,g.nodes)}})},(g,h)=>{if(g.kind!=="functional"||h.kind!=="functional")return 0;let y=g.value?g.value.value:"DEFAULT",b=h.value?h.value.value:"DEFAULT",x=m?.values?.[y]??y,V=m?.values?.[b]??b;if(m&&typeof m.sort=="function")return m.sort({value:x,modifier:g.modifier?.value??null},{value:V,modifier:h.modifier?.value??null});let k=d.indexOf(y),N=d.indexOf(b);return k=k===-1?d.length:k,N=N===-1?d.length:N,k!==N?k-N:x<V?-1:1})},addUtilities(s){s=Array.isArray(s)?s:[s];let p=s.flatMap(f=>Object.entries(f));p=p.flatMap(([f,d])=>K(f,",").map(g=>[g.trim(),d]));let m=new z(()=>[]);for(let[f,d]of p){if(f.startsWith("@keyframes ")){l||t.push(B(f,Z(d)));continue}let g=Te(f),h=!1;if(ve(g,y=>{if(y.kind==="selector"&&y.value[0]==="."&&_t.test(y.value.slice(1))){let b=y.value;y.value="&";let x=ye(g),V=b.slice(1),k=x==="&"?Z(d):[B(x,Z(d))];m.get(V).push(...k),h=!0,y.value=b;return}if(y.kind==="function"&&y.value===":not")return 1}),!h)throw new Error(`\`addUtilities({ '${f}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[f,d]of m)r.theme.prefix&&O(d,g=>{if(g.kind==="rule"){let h=Te(g.selector);ve(h,y=>{y.kind==="selector"&&y.value[0]==="."&&(y.value=`.${r.theme.prefix}\\:${y.value.slice(1)}`)}),g.selector=ye(h)}}),r.utilities.static(f,g=>{let h=structuredClone(d);return Ft(h,f,g.raw),e.current|=ge(h,r),h})},matchUtilities(s,p){let m=p?.type?Array.isArray(p?.type)?p.type:[p.type]:["any"];for(let[d,g]of Object.entries(s)){let h=function({negative:y}){return b=>{if(b.value?.kind==="arbitrary"&&m.length>0&&!m.includes("any")&&(b.value.dataType&&!m.includes(b.value.dataType)||!b.value.dataType&&!I(b.value.value,m)))return;let x=m.includes("color"),V=null,k=!1;{let R=p?.values??{};x&&(R=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentColor"},R)),b.value?b.value.kind==="arbitrary"?V=b.value.value:b.value.fraction&&R[b.value.fraction]?(V=R[b.value.fraction],k=!0):R[b.value.value]?V=R[b.value.value]:R.__BARE_VALUE__&&(V=R.__BARE_VALUE__(b.value)??null,k=(b.value.fraction!==null&&V?.includes("/"))??!1):V=R.DEFAULT??null}if(V===null)return;let N;{let R=p?.modifiers??null;b.modifier?R==="any"||b.modifier.kind==="arbitrary"?N=b.modifier.value:R?.[b.modifier.value]?N=R[b.modifier.value]:x&&!Number.isNaN(Number(b.modifier.value))?N=`${b.modifier.value}%`:N=null:N=null}if(b.modifier&&N===null&&!k)return b.value?.kind==="arbitrary"?null:void 0;x&&N!==null&&(V=G(V,N)),y&&(V=`calc(${V} * -1)`);let F=Z(g(V,{modifier:N}));return Ft(F,d,b.raw),e.current|=ge(F,r),F}};var f=h;if(!_t.test(d))throw new Error(`\`matchUtilities({ '${d}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);p?.supportsNegativeValues&&r.utilities.functional(`-${d}`,h({negative:!0}),{types:m}),r.utilities.functional(d,h({negative:!1}),{types:m}),r.utilities.suggest(d,()=>{let y=p?.values??{},b=new Set(Object.keys(y));b.delete("__BARE_VALUE__"),b.has("DEFAULT")&&(b.delete("DEFAULT"),b.add(null));let x=p?.modifiers??{},V=x==="any"?[]:Object.keys(x);return[{supportsNegative:p?.supportsNegativeValues??!1,values:Array.from(b),modifiers:V}]})}},addComponents(s,p){this.addUtilities(s,p)},matchComponents(s,p){this.matchUtilities(s,p)},theme:$e(r,()=>i.theme??{},s=>s),prefix(s){return s},config(s,p){let m=i;if(!s)return m;let f=Ve(s);for(let d=0;d<f.length;++d){let g=f[d];if(m[g]===void 0)return p;m=m[g]}return m??p}};return u.addComponents=u.addComponents.bind(u),u.matchComponents=u.matchComponents.bind(u),u}function Z(r){let t=[];r=Array.isArray(r)?r:[r];let i=r.flatMap(e=>Object.entries(e));for(let[e,l]of i)if(typeof l!="object"){if(!e.startsWith("--")){if(l==="@slot"){t.push(B(e,[j("@slot")]));continue}e=e.replace(/([A-Z])/g,"-$1").toLowerCase()}t.push(o(e,String(l)))}else if(Array.isArray(l))for(let u of l)typeof u=="string"?t.push(o(e,u)):t.push(B(e,Z(u)));else l!==null&&t.push(B(e,Z(l)));return t}function Dt(r,t){return(typeof r=="string"?[r]:r).flatMap(e=>{if(e.trim().endsWith("}")){let l=e.replace("}","{@slot}}"),u=Q(l);return _e(u,t),u}else return B(e,t)})}function Ft(r,t,i){O(r,e=>{if(e.kind==="rule"){let l=Te(e.selector);ve(l,u=>{u.kind==="selector"&&u.value===`.${t}`&&(u.value=`.${ie(i)}`)}),e.selector=ye(l)}})}function Ut(r,t,i){for(let e of Or(t))r.theme.addKeyframes(e)}function Or(r){let t=[];if("keyframes"in r.theme)for(let[i,e]of Object.entries(r.theme.keyframes))t.push(j("@keyframes",i,Z(e)));return t}function It(r){return{theme:{...Ge,colors:({theme:t})=>t("color",{}),extend:{fontSize:({theme:t})=>({...t("text",{})}),boxShadow:({theme:t})=>({...t("shadow",{})}),animation:({theme:t})=>({...t("animate",{})}),aspectRatio:({theme:t})=>({...t("aspect",{})}),borderRadius:({theme:t})=>({...t("radius",{})}),screens:({theme:t})=>({...t("breakpoint",{})}),letterSpacing:({theme:t})=>({...t("tracking",{})}),lineHeight:({theme:t})=>({...t("leading",{})}),transitionDuration:{DEFAULT:r.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:r.get(["--default-transition-timing-function"])??null},maxWidth:({theme:t})=>({...t("container",{})})}}}}var _r={blocklist:[],future:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};function ze(r,t){let i={design:r,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(_r)};for(let l of t)Ie(i,l);for(let l of i.configs)"darkMode"in l&&l.darkMode!==void 0&&(i.result.darkMode=l.darkMode??null),"prefix"in l&&l.prefix!==void 0&&(i.result.prefix=l.prefix??""),"blocklist"in l&&l.blocklist!==void 0&&(i.result.blocklist=l.blocklist??[]),"important"in l&&l.important!==void 0&&(i.result.important=l.important??!1);let e=Fr(i);return{resolvedConfig:{...i.result,content:i.content,theme:i.theme,plugins:i.plugins},replacedThemeKeys:e}}function Dr(r,t){if(Array.isArray(r)&&fe(r[0]))return r.concat(t);if(Array.isArray(t)&&fe(t[0])&&fe(r))return[r,...t];if(Array.isArray(t))return t}function Ie(r,{config:t,base:i,path:e,reference:l}){let u=[];for(let m of t.plugins??[])"__isOptionsFunction"in m?u.push({...m(),reference:l}):"handler"in m?u.push({...m,reference:l}):u.push({handler:m,reference:l});if(Array.isArray(t.presets)&&t.presets.length===0)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let m of t.presets??[])Ie(r,{path:e,base:i,config:m,reference:l});for(let m of u)r.plugins.push(m),m.config&&Ie(r,{path:e,base:i,config:m.config,reference:!!m.reference});let s=t.content??[],p=Array.isArray(s)?s:s.files;for(let m of p)r.content.files.push(typeof m=="object"?m:{base:i,pattern:m});r.configs.push(t)}function Fr(r){let t=new Set,i=$e(r.design,()=>r.theme,l),e=Object.assign(i,{theme:i,colors:Je});function l(u){return typeof u=="function"?u(e)??null:u??null}for(let u of r.configs){let s=u.theme??{},p=s.extend??{};for(let m in s)m!=="extend"&&t.add(m);Object.assign(r.theme,s);for(let m in p)r.extend[m]??=[],r.extend[m].push(p[m])}delete r.theme.extend;for(let u in r.extend){let s=[r.theme[u],...r.extend[u]];r.theme[u]=()=>{let p=s.map(l);return me({},p,Dr)}}for(let u in r.theme)r.theme[u]=l(r.theme[u]);if(r.theme.screens&&typeof r.theme.screens=="object")for(let u of Object.keys(r.theme.screens)){let s=r.theme.screens[u];s&&typeof s=="object"&&("raw"in s||"max"in s||"min"in s&&(r.theme.screens[u]=s.min))}return t}function zt(r,t){let i=r.theme.container||{};if(typeof i!="object"||i===null)return;let e=Ur(i,t);e.length!==0&&t.utilities.static("container",()=>structuredClone(e))}function Ur({center:r,padding:t,screens:i},e){let l=[],u=null;if(r&&l.push(o("margin-inline","auto")),(typeof t=="string"||typeof t=="object"&&t!==null&&"DEFAULT"in t)&&l.push(o("padding-inline",typeof t=="string"?t:t.DEFAULT)),typeof i=="object"&&i!==null){u=new Map;let s=Array.from(e.theme.namespace("--breakpoint").entries());if(s.sort((p,m)=>te(p[1],m[1],"asc")),s.length>0){let[p]=s[0];l.push(j("@media",`(width >= --theme(--breakpoint-${p}))`,[o("max-width","none")]))}for(let[p,m]of Object.entries(i)){if(typeof m=="object")if("min"in m)m=m.min;else continue;u.set(p,j("@media",`(width >= ${m})`,[o("max-width",m)]))}}if(typeof t=="object"&&t!==null){let s=Object.entries(t).filter(([p])=>p!=="DEFAULT").map(([p,m])=>[p,e.theme.resolveValue(p,["--breakpoint"]),m]).filter(Boolean);s.sort((p,m)=>te(p[1],m[1],"asc"));for(let[p,,m]of s)if(u&&u.has(p))u.get(p).nodes.push(o("padding-inline",m));else{if(u)continue;l.push(j("@media",`(width >= theme(--breakpoint-${p}))`,[o("padding-inline",m)]))}}if(u)for(let[,s]of u)l.push(s);return l}function Mt({addVariant:r,config:t}){let i=t("darkMode",null),[e,l=".dark"]=Array.isArray(i)?i:[i];if(e==="variant"){let u;if(Array.isArray(l)||typeof l=="function"?u=l:typeof l=="string"&&(u=[l]),Array.isArray(u))for(let s of u)s===".dark"?(e=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):s.includes("&")||(e=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));l=u}e===null||(e==="selector"?r("dark",`&:where(${l}, ${l} *)`):e==="media"?r("dark","@media (prefers-color-scheme: dark)"):e==="variant"?r("dark",l):e==="class"&&r("dark",`&:is(${l} *)`))}function Lt(r){for(let[t,i]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])r.utilities.static(`bg-gradient-to-${t}`,()=>[o("--tw-gradient-position",`to ${i} in oklab`),o("background-image","linear-gradient(var(--tw-gradient-stops))")]);r.utilities.functional("max-w-screen",t=>{if(!t.value||t.value.kind==="arbitrary")return;let i=r.theme.resolve(t.value.value,["--breakpoint"]);if(i)return[o("max-width",i)]}),r.utilities.static("overflow-ellipsis",()=>[o("text-overflow","ellipsis")]),r.utilities.static("decoration-slice",()=>[o("-webkit-box-decoration-break","slice"),o("box-decoration-break","slice")]),r.utilities.static("decoration-clone",()=>[o("-webkit-box-decoration-break","clone"),o("box-decoration-break","clone")]),r.utilities.functional("flex-shrink",t=>{if(!t.modifier){if(!t.value)return[o("flex-shrink","1")];if(t.value.kind==="arbitrary")return[o("flex-shrink",t.value.value)];if(S(t.value.value))return[o("flex-shrink",t.value.value)]}}),r.utilities.functional("flex-grow",t=>{if(!t.modifier){if(!t.value)return[o("flex-grow","1")];if(t.value.kind==="arbitrary")return[o("flex-grow",t.value.value)];if(S(t.value.value))return[o("flex-grow",t.value.value)]}})}function Bt(r,t){let i=r.theme.screens||{},e=t.variants.get("min")?.order??0,l=[];for(let[s,p]of Object.entries(i)){let h=function(y){t.variants.static(s,b=>{b.nodes=[j("@media",g,b.nodes)]},{order:y})};var u=h;let m=t.variants.get(s),f=t.theme.resolveValue(s,["--breakpoint"]);if(m&&f&&!t.theme.hasDefault(`--breakpoint-${s}`))continue;let d=!0;typeof p=="string"&&(d=!1);let g=Ir(p);d?l.push(h):h(e)}if(l.length!==0){for(let[,s]of t.variants.variants)s.order>e&&(s.order+=l.length);t.variants.compareFns=new Map(Array.from(t.variants.compareFns).map(([s,p])=>(s>e&&(s+=l.length),[s,p])));for(let[s,p]of l.entries())p(e+s+1)}}function Ir(r){return(Array.isArray(r)?r:[r]).map(i=>typeof i=="string"?{min:i}:i&&typeof i=="object"?i:null).map(i=>{if(i===null)return null;if("raw"in i)return i.raw;let e="";return i.max!==void 0&&(e+=`${i.max} >= `),e+="width",i.min!==void 0&&(e+=` >= ${i.min}`),`(${e})`}).filter(Boolean).join(", ")}function Wt(r,t){let i=r.theme.aria||{},e=r.theme.supports||{},l=r.theme.data||{};if(Object.keys(i).length>0){let u=t.variants.get("aria"),s=u?.applyFn,p=u?.compounds;t.variants.functional("aria",(m,f)=>{let d=f.value;return d&&d.kind==="named"&&d.value in i?s?.(m,{...f,value:{kind:"arbitrary",value:i[d.value]}}):s?.(m,f)},{compounds:p})}if(Object.keys(e).length>0){let u=t.variants.get("supports"),s=u?.applyFn,p=u?.compounds;t.variants.functional("supports",(m,f)=>{let d=f.value;return d&&d.kind==="named"&&d.value in e?s?.(m,{...f,value:{kind:"arbitrary",value:e[d.value]}}):s?.(m,f)},{compounds:p})}if(Object.keys(l).length>0){let u=t.variants.get("data"),s=u?.applyFn,p=u?.compounds;t.variants.functional("data",(m,f)=>{let d=f.value;return d&&d.kind==="named"&&d.value in l?s?.(m,{...f,value:{kind:"arbitrary",value:l[d.value]}}):s?.(m,f)},{compounds:p})}}var zr=/^[a-z]+$/;async function Jt({designSystem:r,base:t,ast:i,loadModule:e,globs:l}){let u=0,s=[],p=[];O(i,(g,{parent:h,replaceWith:y,context:b})=>{if(g.kind==="at-rule"){if(g.name==="@plugin"){if(h!==null)throw new Error("`@plugin` cannot be nested.");let x=g.params.slice(1,-1);if(x.length===0)throw new Error("`@plugin` must have a path.");let V={};for(let k of g.nodes??[]){if(k.kind!=="declaration")throw new Error(`Unexpected \`@plugin\` option:
${J([k])}
\`@plugin\` options must be a flat list of declarations.`);if(k.value===void 0)continue;let N=k.value,F=K(N,",").map(R=>{if(R=R.trim(),R==="null")return null;if(R==="true")return!0;if(R==="false")return!1;if(Number.isNaN(Number(R))){if(R[0]==='"'&&R[R.length-1]==='"'||R[0]==="'"&&R[R.length-1]==="'")return R.slice(1,-1);if(R[0]==="{"&&R[R.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${J([k]).trim()}\` is not supported.
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(R);return R});V[k.property]=F.length===1?F[0]:F}s.push([{id:x,base:b.base,reference:!!b.reference},Object.keys(V).length>0?V:null]),y([]),u|=4;return}if(g.name==="@config"){if(g.nodes.length>0)throw new Error("`@config` cannot have a body.");if(h!==null)throw new Error("`@config` cannot be nested.");p.push({id:g.params.slice(1,-1),base:b.base,reference:!!b.reference}),y([]),u|=4;return}}}),Lt(r);let m=r.resolveThemeValue;if(r.resolveThemeValue=function(h){return h.startsWith("--")?m(h):(u|=qt({designSystem:r,base:t,ast:i,globs:l,configs:[],pluginDetails:[]}),r.resolveThemeValue(h))},!s.length&&!p.length)return 0;let[f,d]=await Promise.all([Promise.all(p.map(async({id:g,base:h,reference:y})=>{let b=await e(g,h,"config");return{path:g,base:b.base,config:b.module,reference:y}})),Promise.all(s.map(async([{id:g,base:h,reference:y},b])=>{let x=await e(g,h,"plugin");return{path:g,base:x.base,plugin:x.module,options:b,reference:y}}))]);return u|=qt({designSystem:r,base:t,ast:i,globs:l,configs:f,pluginDetails:d}),u}function qt({designSystem:r,base:t,ast:i,globs:e,configs:l,pluginDetails:u}){let s=0,m=[...u.map(x=>{if(!x.options)return{config:{plugins:[x.plugin]},base:x.base,reference:x.reference};if("__isOptionsFunction"in x.plugin)return{config:{plugins:[x.plugin(x.options)]},base:x.base,reference:x.reference};throw new Error(`The plugin "${x.path}" does not accept options`)}),...l],{resolvedConfig:f}=ze(r,[{config:It(r.theme),base:t,reference:!0},...m,{config:{plugins:[Mt]},base:t,reference:!0}]),{resolvedConfig:d,replacedThemeKeys:g}=ze(r,m);r.resolveThemeValue=function(V,k){let N=y.theme(V,k);if(Array.isArray(N)&&N.length===2)return N[0];if(Array.isArray(N))return N.join(", ");if(typeof N=="string")return N};let h={designSystem:r,ast:i,resolvedConfig:f,featuresRef:{set current(x){s|=x}}},y=Ue({...h,referenceMode:!1}),b;for(let{handler:x,reference:V}of f.plugins)V?(b||=Ue({...h,referenceMode:!0}),x(b)):x(y);if(kt(r,d,g),Ut(r,d,g),Wt(d,r),Bt(d,r),zt(d,r),!r.theme.prefix&&f.prefix){if(f.prefix.endsWith("-")&&(f.prefix=f.prefix.slice(0,-1),console.warn(`The prefix "${f.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!zr.test(f.prefix))throw new Error(`The prefix "${f.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);r.theme.prefix=f.prefix}if(!r.important&&f.important===!0&&(r.important=!0),typeof f.important=="string"){let x=f.important;O(i,(V,{replaceWith:k,parent:N})=>{if(V.kind==="at-rule"&&!(V.name!=="@tailwind"||V.params!=="utilities"))return N?.kind==="rule"&&N.selector===x?2:(k(_(x,[V])),2)})}for(let x of f.blocklist)r.invalidCandidates.add(x);for(let x of f.content.files){if("raw"in x)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
${JSON.stringify(x,null,2)}
This feature is not currently supported.`);e.push(x)}return s}var Gt=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function Ne(r){let t=r.indexOf("{");if(t===-1)return[r];let i=[],e=r.slice(0,t),l=r.slice(t),u=0,s=l.lastIndexOf("}");for(let g=0;g<l.length;g++){let h=l[g];if(h==="{")u++;else if(h==="}"&&(u--,u===0)){s=g;break}}if(s===-1)throw new Error(`The pattern \`${r}\` is not balanced.`);let p=l.slice(1,s),m=l.slice(s+1),f;Mr(p)?f=Lr(p):f=K(p,","),f=f.flatMap(g=>Ne(g));let d=Ne(m);for(let g of d)for(let h of f)i.push(e+h+g);return i}function Mr(r){return Gt.test(r)}function Lr(r){let t=r.match(Gt);if(!t)return[r];let[,i,e,l]=t,u=l?parseInt(l,10):void 0,s=[];if(/^-?\d+$/.test(i)&&/^-?\d+$/.test(e)){let p=parseInt(i,10),m=parseInt(e,10),f=Math.max(i.replace(/^-/,"").length,e.replace(/^-/,"").length);if(u===void 0&&(u=p<=m?1:-1),u===0)throw new Error("Step cannot be zero in sequence expansion.");if(u>0)for(let d=p;d<=m;d+=u){let g=d.toString();g.length<f&&(g=g.padStart(f,"0")),s.push(g)}else for(let d=p;d>=m;d+=u){let g=d.toString();g.length<f&&(g=g.padStart(f,"0")),s.push(g)}}return s}var Br=/^[a-z]+$/;function Wr(){throw new Error("No `loadModule` function provided to `compile`")}function qr(){throw new Error("No `loadStylesheet` function provided to `compile`")}function Jr(r){let t=0,i=null;for(let e of K(r," "))e==="reference"?t|=2:e==="inline"?t|=1:e==="default"?t|=4:e==="static"?t|=8:e.startsWith("prefix(")&&e.endsWith(")")&&(i=e.slice(7,-1));return[t,i]}var de=(p=>(p[p.None=0]="None",p[p.AtApply=1]="AtApply",p[p.AtImport=2]="AtImport",p[p.JsPluginCompat=4]="JsPluginCompat",p[p.ThemeFunction=8]="ThemeFunction",p[p.Utilities=16]="Utilities",p[p.Variants=32]="Variants",p))(de||{});async function Zt(r,{base:t="",loadModule:i=Wr,loadStylesheet:e=qr}={}){let l=0;r=[Y({base:t},r)],l|=await Fe(r,t,e);let u=null,s=new Me,p=[],m=[],f=null,d=null,g=[],h=[],y=[],b=[],x=null;O(r,(k,{parent:N,replaceWith:F,context:R})=>{if(k.kind==="at-rule"){if(k.name==="@tailwind"&&(k.params==="utilities"||k.params.startsWith("utilities"))){if(d!==null){F([]);return}let D=K(k.params," ");for(let n of D)if(n.startsWith("source(")){let a=n.slice(7,-1);if(a==="none"){x=a;continue}if(a[0]==='"'&&a[a.length-1]!=='"'||a[0]==="'"&&a[a.length-1]!=="'"||a[0]!=="'"&&a[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");x={base:R.sourceBase??R.base,pattern:a.slice(1,-1)}}d=k,l|=16}if(k.name==="@utility"){if(N!==null)throw new Error("`@utility` cannot be nested.");if(k.nodes.length===0)throw new Error(`\`@utility ${k.params}\` is empty. Utilities should include at least one property.`);let D=ot(k);if(D===null)throw new Error(`\`@utility ${k.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`);m.push(D)}if(k.name==="@source"){if(k.nodes.length>0)throw new Error("`@source` cannot have a body.");if(N!==null)throw new Error("`@source` cannot be nested.");let D=!1,n=!1,a=k.params;if(!1,a[0]==='"'&&a[a.length-1]!=='"'||a[0]==="'"&&a[a.length-1]!=="'"||a[0]!=="'"&&a[0]!=='"')throw new Error("`@source` paths must be quoted.");let c=a.slice(1,-1);if(!1){let w=D?b:y,v=K(c," ");for(let $ of v)for(let E of Ne($))w.push(E)}else h.push({base:R.base,pattern:c});F([]);return}if(k.name==="@variant"&&(N===null?k.nodes.length===0?k.name="@custom-variant":(O(k.nodes,D=>{if(D.kind==="at-rule"&&D.name==="@slot")return k.name="@custom-variant",2}),k.name==="@variant"&&g.push(k)):g.push(k)),k.name==="@custom-variant"){if(N!==null)throw new Error("`@custom-variant` cannot be nested.");F([]);let[D,n]=K(k.params," ");if(!Ae.test(D))throw new Error(`\`@custom-variant ${D}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes or underscore characters.`);if(k.nodes.length>0&&n)throw new Error(`\`@custom-variant ${D}\` cannot have both a selector and a body.`);if(k.nodes.length===0){if(!n)throw new Error(`\`@custom-variant ${D}\` has no selector or body.`);let a=K(n.slice(1,-1),",");if(a.length===0||a.some(v=>v.trim()===""))throw new Error(`\`@custom-variant ${D} (${a.join(",")})\` selector is invalid.`);let c=[],w=[];for(let v of a)v=v.trim(),v[0]==="@"?c.push(v):w.push(v);p.push(v=>{v.variants.static(D,$=>{let E=[];w.length>0&&E.push(_(w.join(", "),$.nodes));for(let C of c)E.push(B(C,$.nodes));$.nodes=E},{compounds:ne([...w,...c])})});return}else{p.push(a=>{a.variants.fromAst(D,k.nodes)});return}}if(k.name==="@media"){let D=K(k.params," "),n=[];for(let a of D)if(a.startsWith("source(")){let c=a.slice(7,-1);O(k.nodes,(w,{replaceWith:v})=>{if(w.kind==="at-rule"&&w.name==="@tailwind"&&w.params==="utilities")return w.params+=` source(${c})`,v([Y({sourceBase:R.base},[w])]),2})}else if(a.startsWith("theme(")){let c=a.slice(6,-1),w=c.includes("reference");O(k.nodes,v=>{if(v.kind!=="at-rule"){if(w)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(v.name==="@theme")return v.params+=" "+c,1})}else if(a.startsWith("prefix(")){let c=a.slice(7,-1);O(k.nodes,w=>{if(w.kind==="at-rule"&&w.name==="@theme")return w.params+=` prefix(${c})`,1})}else a==="important"?u=!0:a==="reference"?k.nodes=[Y({reference:!0},k.nodes)]:n.push(a);n.length>0?k.params=n.join(" "):D.length>0&&F(k.nodes)}if(k.name==="@theme"){let[D,n]=Jr(k.params);if(R.reference&&(D|=2),n){if(!Br.test(n))throw new Error(`The prefix "${n}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);s.prefix=n}return O(k.nodes,a=>{if(a.kind==="at-rule"&&a.name==="@keyframes")return s.addKeyframes(a),1;if(a.kind==="comment")return;if(a.kind==="declaration"&&a.property.startsWith("--")){s.add(we(a.property),a.value??"",D);return}let c=J([j(k.name,k.params,[a])]).split(`
`).map((w,v,$)=>`${v===0||v>=$.length-2?" ":">"} ${w}`).join(`
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
${c}`)}),f?F([]):(f=_(":root, :host",[]),F([f])),1}}});let V=gt(s);if(u&&(V.important=u),b.length>0)for(let k of b)V.invalidCandidates.add(k);l|=await Jt({designSystem:V,base:t,ast:r,loadModule:i,globs:h});for(let k of p)k(V);for(let k of m)k(V);if(f){let k=[];for(let[F,R]of V.theme.entries())R.options&2||k.push(o(ie(F),R.value));let N=V.theme.getKeyframes();for(let F of N)r.push(Y({theme:!0},[P([F])]));f.nodes=[Y({theme:!0},k)]}if(d){let k=d;k.kind="context",k.context={}}if(g.length>0){for(let k of g){let N=_("&",k.nodes),F=k.params,R=V.parseVariant(F);if(R===null)throw new Error(`Cannot use \`@variant\` with unknown variant: ${F}`);if(se(N,R,V.variants)===null)throw new Error(`Cannot use \`@variant\` with variant: ${F}`);Object.assign(k,N)}l|=32}return l|=ae(r,V),l|=ge(r,V),O(r,(k,{replaceWith:N})=>{if(k.kind==="at-rule")return k.name==="@utility"&&N([]),1}),{designSystem:V,ast:r,globs:h,root:x,utilitiesNode:d,features:l,inlineCandidates:y}}async function Gr(r,t={}){let{designSystem:i,ast:e,globs:l,root:u,utilitiesNode:s,features:p,inlineCandidates:m}=await Zt(r,t);e.unshift(Be(`! tailwindcss v${Ye} | MIT License | https://tailwindcss.com `));function f(b){i.invalidCandidates.add(b)}let d=new Set,g=null,h=0,y=!1;for(let b of m)i.invalidCandidates.has(b)||(d.add(b),y=!0);return{globs:l,root:u,features:p,build(b){if(p===0)return r;if(!s)return g??=ee(e,i),g;let x=y;y=!1;let V=d.size;for(let N of b)i.invalidCandidates.has(N)||(N[0]==="-"&&N[1]==="-"?i.theme.markUsedVariable(N):d.add(N),x||=d.size!==V);if(!x)return g??=ee(e,i),g;let k=X(d,i,{onInvalidCandidate:f}).astNodes;return h===k.length?(g??=ee(e,i),g):(h=k.length,s.nodes=k,g=ee(e,i),g)}}}async function Do(r,t={}){let i=Q(r),e=await Gr(i,t),l=i,u=r;return{...e,build(s){let p=e.build(s);return p===l||(u=J(p),l=p),u}}}async function Fo(r,t={}){return(await Zt(Q(r),t)).designSystem}function Yr(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}export{de as Features,Fo as __unstable__loadDesignSystem,Do as compile,Gr as compileAst,Yr as default};