csszyx 0.14.2 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.iife.js +1 -1
- package/package.json +7 -7
package/dist/browser.iife.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";(()=>{var x={p:0,pt:0,pr:0,pb:0,pl:0,px:0,py:0,ps:0,pe:0,pbs:0,pbe:0,m:0,mt:0,mr:0,mb:0,ml:0,mx:0,my:0,ms:0,me:0,mbs:0,mbe:0,spaceX:0,spaceY:0,gap:0,gapX:0,gapY:0,inset:0,insetX:0,insetY:0,top:0,right:0,bottom:0,left:0,start:0,end:0,insetS:0,insetE:0,insetBs:0,insetBe:0,w:0,minW:0,maxW:0,h:0,minH:0,maxH:0,size:0,blockSize:0,minBlockSize:0,maxBlockSize:0,inlineSize:0,minInlineSize:0,maxInlineSize:0,basis:0,indent:0,scrollM:0,scrollMt:0,scrollMr:0,scrollMb:0,scrollMl:0,scrollMs:0,scrollMe:0,scrollMx:0,scrollMy:0,scrollP:0,scrollPt:0,scrollPr:0,scrollPb:0,scrollPl:0,scrollPs:0,scrollPe:0,scrollPx:0,scrollPy:0,scrollPbs:0,scrollPbe:0,scrollMbs:0,scrollMbe:0,translateX:0,translateY:0,borderSpacing:0,borderSpacingX:0,borderSpacingY:0,outlineOffset:0,ringOffset:0,underlineOffset:0,bg:1,color:1,borderColor:1,divideColor:1,outlineColor:1,ringColor:1,ringOffsetColor:1,shadowColor:1,textShadowColor:1,decorationColor:1,accent:1,caret:1,fill:1,stroke:1,from:1,via:1,to:1,dropShadowColor:1,scrollbarThumb:1,scrollbarTrack:1,opacity:3,z:3,order:3,columns:3,gridCols:3,gridRows:3,col:3,colSpan:3,colStart:3,colEnd:3,row:3,rowSpan:3,rowStart:3,rowEnd:3,lineClamp:3,grow:3,shrink:3,scale:3,scaleX:3,scaleY:3,brightness:3,contrast:3,saturate:3,hueRotate:3,backdropBrightness:3,backdropContrast:3,backdropSaturate:3,backdropHueRotate:3,backdropOpacity:3,strokeWidth:3,border:3,borderT:3,borderR:3,borderB:3,borderL:3,borderX:3,borderY:3,borderS:3,borderE:3,borderBs:3,borderBe:3,ring:3,outline:3,leading:3,decorationThickness:3,zoom:3,tabSize:3,rotate:4,skewX:4,skewY:4,duration:5,delay:5,animationDelay:5};var je=new Set(Object.entries(x).filter(([,t])=>t===1).map(([t])=>t));function u(){return!1}var k=class extends Error{constructor(r=32){super(`[csszyx] sz nesting exceeded the maximum depth of ${r}. This usually means untrusted/looping data reached an sz prop.`),this.name="SzDepthError"}};var ct=new Set(["inherit","current","transparent","black","white","none"]);function W(t){return!!(ct.has(t)||t.startsWith("--")||t.startsWith("#")||t.startsWith("[")&&t.endsWith("]")||/^(rgb|hsl|oklch|color|hwb|lab|lch|oklab)\(/.test(t)||/^[a-z][a-z0-9]*(-[a-z0-9]+)*-\d+$/i.test(t)||/^[a-z][a-z0-9]*(-[a-z][a-z0-9]*)*$/i.test(t))}function M(t){let r=t.indexOf("/");return r===-1?!1:r>0&&/\d$/.test(t.slice(0,r))}function j(t,r){u()&&console.warn(`[csszyx] "${t}: '${r}'" is not a recognized color value and will be ignored. Use a Tailwind color ("blue-500"), CSS variable ("--my-color"), hex/rgb/hsl ("#ff0000"), or object form ({ color: "blue-500", op: 50 }).`)}function V(t,r){if(!u())return;let e=r.indexOf("/");console.warn(`[csszyx] "${t}: '${r}'" \u2014 string slash opacity is not supported. Use object form: { color: '${r.slice(0,e)}', op: ${r.slice(e+1)} }.`)}var Z=["t","r","b","l","x","y"];var m={bg:"bg",bgAttach:"bg",bgClip:"bg-clip",bgImg:"bg",bgOrigin:"bg-origin",bgPos:"bg",bgRepeat:"bg",bgSize:"bg",from:"from",via:"via",to:"to",rounded:"rounded",roundedT:"rounded-t",roundedR:"rounded-r",roundedB:"rounded-b",roundedL:"rounded-l",roundedTl:"rounded-tl",roundedTr:"rounded-tr",roundedBl:"rounded-bl",roundedBr:"rounded-br",roundedS:"rounded-s",roundedE:"rounded-e",roundedSs:"rounded-ss",roundedSe:"rounded-se",roundedEs:"rounded-es",roundedEe:"rounded-ee",border:"border",borderColor:"border",borderStyle:"border",borderT:"border-t",borderTColor:"border-t",borderR:"border-r",borderRColor:"border-r",borderB:"border-b",borderBColor:"border-b",borderL:"border-l",borderLColor:"border-l",borderX:"border-x",borderXColor:"border-x",borderY:"border-y",borderYColor:"border-y",borderS:"border-s",borderE:"border-e",borderBs:"border-bs",borderBe:"border-be",divideX:"divide-x",divideY:"divide-y",divideColor:"divide",divideStyle:"divide",outline:"outline",outlineColor:"outline",outlineOffset:"outline-offset",outlineStyle:"outline",ring:"ring",ringColor:"ring",ringOffset:"ring-offset",ringOffsetColor:"ring-offset",insetRing:"inset-ring",insetRingColor:"inset-ring",p:"p",pt:"pt",pr:"pr",pb:"pb",pl:"pl",px:"px",py:"py",ps:"ps",pe:"pe",pbs:"pbs",pbe:"pbe",m:"m",mt:"mt",mr:"mr",mb:"mb",ml:"ml",mx:"mx",my:"my",ms:"ms",me:"me",mbs:"mbs",mbe:"mbe",spaceX:"space-x",spaceY:"space-y",w:"w",minW:"min-w",maxW:"max-w",h:"h",minH:"min-h",maxH:"max-h",size:"size",blockSize:"block",minBlockSize:"min-block",maxBlockSize:"max-block",inlineSize:"inline",minInlineSize:"min-inline",maxInlineSize:"max-inline",aspect:"aspect",columns:"columns",breakAfter:"break-after",breakBefore:"break-before",breakInside:"break-inside",boxDecoration:"box-decoration",box:"box",float:"float",clear:"clear",isolation:"isolation",objectFit:"object",objectPos:"object",overflowX:"overflow-x",overflowY:"overflow-y",overscroll:"overscroll",overscrollX:"overscroll-x",overscrollY:"overscroll-y",z:"z",position:"position",display:"display",inset:"inset",insetX:"inset-x",insetY:"inset-y",top:"top",right:"right",bottom:"bottom",left:"left",start:"inset-s",end:"inset-e",insetS:"inset-s",insetE:"inset-e",insetBs:"inset-bs",insetBe:"inset-be",visibility:"visibility",color:"text",text:"text",weight:"font",fontFamily:"font",fontStretch:"font-stretch",fontStyle:"font-style",fontSmoothing:"font-smoothing",textAlign:"text",decoration:"decoration",decorationColor:"decoration",decorationStyle:"decoration",decorationThickness:"decoration",underlineOffset:"underline-offset",textTransform:"text",textOverflow:"text",textWrap:"text",wrap:"wrap",indent:"indent",align:"align",whitespace:"whitespace",break:"break",hyphens:"hyphens",content:"content",leading:"leading",tracking:"tracking",lineClamp:"line-clamp",fontFeatures:"font-features",list:"list",listPos:"list",listImg:"list-image",basis:"basis",flex:"flex",flexDir:"flex",flexWrap:"flex",grow:"grow",shrink:"shrink",order:"order",items:"items",self:"self",justify:"justify",justifyItems:"justify-items",justifySelf:"justify-self",placeContent:"place-content",placeItems:"place-items",placeSelf:"place-self",gap:"gap",gapX:"gap-x",gapY:"gap-y",gridCols:"grid-cols",gridRows:"grid-rows",col:"col",colSpan:"col-span",colStart:"col-start",colEnd:"col-end",row:"row",rowSpan:"row-span",rowStart:"row-start",rowEnd:"row-end",gridFlow:"grid-flow",autoCols:"auto-cols",autoRows:"auto-rows",shadow:"shadow",shadowColor:"shadow",insetShadow:"inset-shadow",insetShadowColor:"inset-shadow",textShadow:"text-shadow",textShadowColor:"text-shadow",opacity:"opacity",mixBlend:"mix-blend",bgBlend:"bg-blend",filter:"filter",backdropFilter:"backdrop-filter",blur:"blur",brightness:"brightness",contrast:"contrast",dropShadow:"drop-shadow",dropShadowColor:"drop-shadow",grayscale:"grayscale",hueRotate:"hue-rotate",invert:"invert",saturate:"saturate",sepia:"sepia",backdropBlur:"backdrop-blur",backdropBrightness:"backdrop-brightness",backdropContrast:"backdrop-contrast",backdropGrayscale:"backdrop-grayscale",backdropHueRotate:"backdrop-hue-rotate",backdropInvert:"backdrop-invert",backdropOpacity:"backdrop-opacity",backdropSaturate:"backdrop-saturate",backdropSepia:"backdrop-sepia",scale:"scale",scaleX:"scale-x",scaleY:"scale-y",scaleZ:"scale-z",rotate:"rotate",rotateX:"rotate-x",rotateY:"rotate-y",rotateZ:"rotate-z",translate:"translate",translateX:"translate-x",translateY:"translate-y",translateZ:"translate-z",skewX:"skew-x",skewY:"skew-y",origin:"origin",backface:"backface",perspective:"perspective",perspectiveOrigin:"perspective-origin",transformStyle:"transform",transform:"transform",transition:"transition",transitionBehavior:"transition",duration:"duration",ease:"ease",delay:"delay",animate:"animate",animationDelay:"animation-delay",mask:"mask",maskSize:"mask-size",maskPos:"mask-position",maskRepeat:"mask-repeat",maskClip:"mask-clip",maskOrigin:"mask-origin",cursor:"cursor",caret:"caret",pointerEvents:"pointer-events",fieldSizing:"field-sizing",scheme:"scheme",resize:"resize",scroll:"scroll",scrollM:"scroll-m",scrollMt:"scroll-mt",scrollMr:"scroll-mr",scrollMb:"scroll-mb",scrollMl:"scroll-ml",scrollMs:"scroll-ms",scrollMe:"scroll-me",scrollMx:"scroll-mx",scrollMy:"scroll-my",scrollP:"scroll-p",scrollPt:"scroll-pt",scrollPr:"scroll-pr",scrollPb:"scroll-pb",scrollPl:"scroll-pl",scrollPs:"scroll-ps",scrollPe:"scroll-pe",scrollPx:"scroll-px",scrollPy:"scroll-py",scrollPbs:"scroll-pbs",scrollPbe:"scroll-pbe",scrollMbs:"scroll-mbs",scrollMbe:"scroll-mbe",snapAlign:"snap",snapStop:"snap",snapType:"snap",touch:"touch",select:"select",willChange:"will-change",appearance:"appearance",accent:"accent",forcedColorAdjust:"forced-color-adjust",fill:"fill",stroke:"stroke",strokeWidth:"stroke",borderCollapse:"border",borderSpacing:"border-spacing",borderSpacingX:"border-spacing-x",borderSpacingY:"border-spacing-y",tableLayout:"table",caption:"caption",overflow:"overflow",scrollbar:"scrollbar",scrollbarThumb:"scrollbar-thumb",scrollbarTrack:"scrollbar-track",scrollbarGutter:"scrollbar-gutter",zoom:"zoom",tabSize:"tab"},ut={fontFamily:"family-name",weight:"weight",text:"length"},q={maskFrom:"the from stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { from }",maskTo:"the to stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { to }",maskVia:"masks have no via stop in Tailwind \u2014 use { from, to } on maskLinear / maskRadial / maskConic",maskShape:'the shape keyword moved to maskRadial \u2014 { shape: "circle" | "ellipse" }'},Q={backgroundColor:"bg",backgroundImage:"bgImg",backgroundSize:"bgSize",backgroundPosition:"bgPos",backgroundRepeat:"bgRepeat",bgAttachment:"bgAttach",bgImage:"bgImg",borderRadius:"rounded",borderTopLeftRadius:"roundedTl",borderTopRightRadius:"roundedTr",borderBottomLeftRadius:"roundedBl",borderBottomRightRadius:"roundedBr",borderWidth:"border",padding:"p",paddingTop:"pt",paddingRight:"pr",paddingBottom:"pb",paddingLeft:"pl",paddingX:"px",paddingY:"py",margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my",width:"w",height:"h",minWidth:"minW",maxWidth:"maxW",minHeight:"minH",maxHeight:"maxH",aspectRatio:"aspect",boxSizing:"box",boxDecorationBreak:"boxDecoration",objectPosition:"objectPos",zIndex:"z",font:"weight (for font-weight) or fontFamily (for family)",fontWeight:"weight",fontSize:"text",textDecoration:"decoration",textDecorationColor:"decorationColor",textDecorationStyle:"decorationStyle",textDecorationThickness:"decorationThickness",textUnderlineOffset:"underlineOffset",lineHeight:"leading",letterSpacing:"tracking",textIndent:"indent",verticalAlign:"align",wordBreak:"break",overflowWrap:"wrap",listStyleType:"list",listStylePosition:"listPos",listStyleImage:"listImg",listStyle:"list",listPosition:"listPos",listImage:"listImg",flexBasis:"basis",flexDirection:"flexDir",flexGrow:"grow",flexShrink:"shrink",alignItems:"items",alignSelf:"self",justifyContent:"justify",gridTemplateColumns:"gridCols",gridTemplateRows:"gridRows",gridColumn:"col",gridRow:"row",gridAutoFlow:"gridFlow",gridAutoColumns:"autoCols",gridAutoRows:"autoRows",boxShadow:"shadow",mixBlendMode:"mixBlend",backgroundBlendMode:"bgBlend",transitionProperty:"transition",transitionDuration:"duration",transitionTimingFunction:"ease",transitionDelay:"delay",animation:"animate",transformOrigin:"origin",caretColor:"caret",accentColor:"accent",scrollBehavior:"scroll",scrollMargin:"scrollM",scrollPadding:"scrollP",scrollSnapAlign:"snapAlign",scrollSnapStop:"snapStop",scrollSnapType:"snapType",touchAction:"touch",userSelect:"select",captionSide:"caption",scrollbarColor:"scrollbarThumb (thumb color) or scrollbarTrack (track color)",scrollbarWidth:"scrollbar",flexWrapReverse:"flexWrap: 'wrap-reverse'",flexNowrap:"flexWrap: 'nowrap'"},A={focusWithin:"focus-within",focusVisible:"focus-visible",firstOfType:"first-of-type",lastOfType:"last-of-type",onlyOfType:"only-of-type",onlyChild:"only",firstChild:"first",lastChild:"last",motionReduce:"motion-reduce",motionSafe:"motion-safe",contrastMore:"contrast-more",contrastLess:"contrast-less",firstLine:"first-line",firstLetter:"first-letter",placeholderShown:"placeholder-shown",inRange:"in-range",outOfRange:"out-of-range",readOnly:"read-only",pointerFine:"pointer-fine",pointerCoarse:"pointer-coarse",pointerNone:"pointer-none",anyPointerFine:"any-pointer-fine",anyPointerCoarse:"any-pointer-coarse",anyPointerNone:"any-pointer-none",userValid:"user-valid",userInvalid:"user-invalid",detailsContent:"details-content",invertedColors:"inverted-colors",forcedColors:"forced-colors",screenPortrait:"portrait",screenLandscape:"landscape","@maxSm":"@max-sm","@maxMd":"@max-md","@maxLg":"@max-lg","@maxXl":"@max-xl","@max2xl":"@max-2xl"},E=new Set(["group","peer","has","not","data","aria","supports"]),p=new Set(["sm","md","lg","xl","2xl","@sm","@md","@lg","@xl","@2xl","dark","light","print","portrait","landscape","motion-reduce","motion-safe","motionReduce","motionSafe","contrast-more","contrast-less","contrastMore","contrastLess","hover","focus","focus-within","focus-visible","focusWithin","focusVisible","active","visited","target","disabled","enabled","checked","indeterminate","default","required","valid","invalid","in-range","out-of-range","inRange","outOfRange","placeholder-shown","placeholderShown","autofill","read-only","readOnly","first","last","only","odd","even","empty","first-of-type","last-of-type","only-of-type","firstOfType","lastOfType","onlyOfType","first-child","last-child","only-child","firstChild","lastChild","onlyChild","before","after","placeholder","file","marker","selection","first-line","first-letter","firstLine","firstLetter","backdrop","pointer-fine","pointer-coarse","pointer-none","pointerFine","pointerCoarse","pointerNone","any-pointer-fine","any-pointer-coarse","any-pointer-none","anyPointerFine","anyPointerCoarse","anyPointerNone","user-valid","user-invalid","userValid","userInvalid","details-content","detailsContent","inverted-colors","invertedColors","noscript","forced-colors","forcedColors","starting","inert","open","ltr","rtl"]),L=new Set(["checked","disabled","expanded","hidden","pressed","readonly","required","selected","busy","current","invalid","live","atomic","modal"]),gt=new Set(["css","maskLinear","maskRadial","maskConic","alignContent","fromPos","viaPos","toPos","maskComposite","maskMode","maskType","snapStrictness"]),R=new Set(["truncate","textEllipsis","textClip","grow","shrink","blur","grayscale","invert","sepia","backdropBlur","backdropGrayscale","backdropInvert","backdropSepia","container","prose","proseInvert","srOnly","notSrOnly","ordinal","slashedZero","liningNums","oldstyleNums","proportionalNums","tabularNums","diagonalFractions","stackedFractions","divideXReverse","divideYReverse","spaceXReverse","spaceYReverse","ring","outline"]),ft={border:!0,borderT:!0,borderR:!0,borderB:!0,borderL:!0,borderX:!0,borderY:!0,borderS:!0,borderE:!0,borderBs:!0,borderBe:!0,ring:!0,outline:!0,truncate:!0,shadow:!0},Qe=new Set(Object.keys(ft)),pt={block:{key:"display",value:"block"},inline:{key:"display",value:"inline"},inlineBlock:{key:"display",value:"inline-block"},flex:{key:"display",value:"flex"},inlineFlex:{key:"display",value:"inline-flex"},grid:{key:"display",value:"grid"},inlineGrid:{key:"display",value:"inline-grid"},hidden:{key:"display",value:"none"},contents:{key:"display",value:"contents"},table:{key:"display",value:"table"},tableRow:{key:"display",value:"table-row"},tableCell:{key:"display",value:"table-cell"},flowRoot:{key:"display",value:"flow-root"},listItem:{key:"display",value:"list-item"},static:{key:"position",value:"static"},fixed:{key:"position",value:"fixed"},absolute:{key:"position",value:"absolute"},relative:{key:"position",value:"relative"},sticky:{key:"position",value:"sticky"},visible:{key:"visibility",value:"visible"},invisible:{key:"visibility",value:"hidden"},collapse:{key:"visibility",value:"collapse"},isolate:{key:"isolation",value:"isolate"},uppercase:{key:"textTransform",value:"uppercase"},lowercase:{key:"textTransform",value:"lowercase"},capitalize:{key:"textTransform",value:"capitalize"},normalCase:{key:"textTransform",value:"none"},italic:{key:"fontStyle",value:"italic"},notItalic:{key:"fontStyle",value:"normal"},underline:{key:"decoration",value:"underline"},overline:{key:"decoration",value:"overline"},lineThrough:{key:"decoration",value:"line-through"},noUnderline:{key:"decoration",value:"none"},antialiased:{key:"fontSmoothing",value:"grayscale"},subpixelAntialiased:{key:"fontSmoothing",value:"subpixel"}};var mt={textEllipsis:"text-ellipsis",textClip:"text-clip",backdropBlur:"backdrop-blur",backdropGrayscale:"backdrop-grayscale",backdropInvert:"backdrop-invert",backdropSepia:"backdrop-sepia",srOnly:"sr-only",notSrOnly:"not-sr-only",divideXReverse:"divide-x-reverse",divideYReverse:"divide-y-reverse",spaceXReverse:"space-x-reverse",spaceYReverse:"space-y-reverse",liningNums:"lining-nums",oldstyleNums:"oldstyle-nums",proportionalNums:"proportional-nums",tabularNums:"tabular-nums",diagonalFractions:"diagonal-fractions",stackedFractions:"stacked-fractions",transformGpu:"transform-gpu",transformCpu:"transform-cpu",proseInvert:"prose-invert"},J={snapAlign:{start:"snap-start",end:"snap-end",center:"snap-center",none:"snap-align-none"},snapStop:{normal:"snap-normal",always:"snap-always"},snapType:{none:"snap-none",x:"snap-x",y:"snap-y",both:"snap-both"},snapStrictness:{mandatory:"snap-mandatory",proximity:"snap-proximity"}},K=new Set(["m","mt","mr","mb","ml","mx","my","ms","me","mbs","mbe","top","right","bottom","left","inset","inset-x","inset-y","inset-s","inset-e","inset-bs","inset-be","z","order","col","col-start","col-end","row","row-start","row-end","rotate","rotate-x","rotate-y","rotate-z","scale-z","skew-x","skew-y","translate","translate-x","translate-y","translate-z","mask","space-x","space-y","tracking","indent","scroll-m","scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml","hue-rotate","backdrop-hue-rotate"]);function bt(t){return typeof t=="string"&&t.endsWith("!")?{value:t.slice(0,-1),important:!0}:{value:t,important:!1}}var St=new Set(["white","black","transparent","current","inherit"]),B=new Set;function U(t,r){if(!u()||x[t]!==0||r*4%1===0)return;let e=`${t}:${r}`;if(B.has(e))return;B.add(e);let n=g?` at ${g}`:"";console.warn(`[csszyx] "${t}: ${r}"${n}: ${r} is not on Tailwind's spacing scale (quarter steps only), so the class generates no CSS. Use a quarter step (1.25, 1.5, 1.75) or a unit value ("${r}rem").`)}var D=new Set;function yt(t){return typeof t=="number"?Number.isInteger(t*2)?String(t):`[${t}]`:typeof t=="string"?t.startsWith("--")?`(${t})`:`[${t}]`:String(t)}function I(t){return t.startsWith("[")&&t.endsWith("]")}function v(t){return t.replace(/\s+/g,"")}function a(t){return(t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t).trim().replace(/\s+/g,"_")}var ht=new Set(["w","width","min-w","minW","minWidth","max-w","maxW","maxWidth","h","height","min-h","minH","minHeight","max-h","maxH","maxHeight","size","basis","flexBasis","flex","inset","inset-x","insetX","inset-y","insetY","top","right","bottom","left","start","end","translate","translate-x","translateX","translate-y","translateY","aspect"]),Ct=new Set(["px","rem","em","%","vh","vw","ch","dvh","dvw","svh","svw","lvh","lvw","cqw","cqh","deg","rad","turn","grad","ms","s","fr"]),Pt=new Set(["px","rem","em","%","vh","vw","ch"]);function $t(t){let r=/^(-?(?:\d+(?:\.\d+)?|\.\d+))([a-z%]+)?$/.exec(t);if(!r)return!1;let e=r[1].replace(/^-/,"").startsWith("."),n=r[2];return n?e?Pt.has(n):Ct.has(n):e}function b(t){let r=t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t;return $t(r)||r.startsWith("#")||wt(r)||r.includes(" ")}function wt(t){for(let r=t.indexOf("(");r>0;r=t.indexOf("(",r+1)){if(t.codePointAt(r-1)===45&&t.startsWith("--",r+1))continue;let e=r;for(;e>0&&tt(t.codePointAt(e-1));)e-=1;if(e<r&&!t.startsWith("--",e))return!0}return!1}function tt(t){return t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122||t===45}function xt(t){return t>=65&&t<=90||t===95||t>=97&&t<=122}function rt(t){let r=t.length;if(r<5||t.codePointAt(0)!==45||t.codePointAt(1)!==45||!xt(t.codePointAt(2)??-1))return!1;let e=3;for(;e<r&&tt(t.codePointAt(e)??-1);)e+=1;return e===2||e>=r||t.codePointAt(e)!==40?!1:kt(t,e)}function kt(t,r){let e={depth:0,quote:0,escaped:!1};for(let n=r;n<t.length;n++){let o=t.codePointAt(n)??-1;if(!Nt(o,e)&&(o===40&&(e.depth+=1),o===41)){if(e.depth-=1,e.depth===0)return n===t.length-1;if(e.depth<0)return!1}}return!1}function Nt(t,r){return r.escaped?(r.escaped=!1,!0):t===92?(r.escaped=!0,!0):r.quote!==0?(t===r.quote&&(r.quote=0),!0):t===34||t===39?(r.quote=t,!0):!1}var At=new Set(["none","disc","decimal"]),Ot=new Set(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]);function et(t){return t.startsWith("--")?t:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function C(t){return A[t]?A[t]:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function Y(t,r,e){let n=[];for(let[o,i]of Object.entries(r))Rt(t,o,i,e,n);return n}function Rt(t,r,e,n,o){P(e)||(r==="has"&&typeof e=="object"?N(t,"has",e,n,"",o):r==="data"&&typeof e=="object"?N(t,"data",e,n,"",o):r==="aria"&&typeof e=="object"?N(t,"aria",e,n,"",o):zt(r)?S(e,`${n}${t}-[${r}]:`,o):Wt(r)?S(e,`${n}${t}-${C(r)}:`,o):typeof e=="object"&&Tt(t,r,e,n,o))}function N(t,r,e,n,o,i){for(let[s,c]of Object.entries(e)){if(P(c))continue;let y=It(r,s),$=o?`/${o}`:"";S(c,`${n}${t}-${y}${$}:`,i)}}function It(t,r){return t==="has"?`has-[${r}]`:t==="data"?`data-[${r}]`:L.has(r)?`aria-${r}`:`aria-[${r}]`}function Tt(t,r,e,n,o){for(let[i,s]of Object.entries(e))P(s)||((i==="data"||i==="aria")&&typeof s=="object"?N(t,i,s,n,r,o):S(s,`${n}${t}-${C(i)}/${r}:`,o))}function S(t,r,e){let n=f(t,r);n.className&&e.push(n.className)}function P(t){return t==null||t===!1}function zt(t){return t.startsWith(".")||t.startsWith("#")||t.startsWith("[")||t.startsWith(":")}function nt(t){return p.has(t)?C(t):I(t)?v(t):Et(t)??_t(t)}function Et(t){let r=t.indexOf("-[");if(r<=0||!t.endsWith("]"))return null;let e=t.slice(0,r);return Lt(e)?t:null}function Lt(t){return E.has(t)||p.has(t)||t==="min"||t==="max"}function _t(t){let r=t.indexOf("-");if(r<=0)return null;let e=t.slice(0,r),n=t.slice(r+1);return Gt(e,n)?t:null}function Gt(t,r){return t==="group"||t==="peer"||t==="not"?p.has(r):t==="aria"?L.has(r):t==="data"&&r.length>0}function Wt(t){return p.has(t)||p.has(C(t))}function Mt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;p.has(n)||n.startsWith(":")?i=n.startsWith(":")?n:`:${n}`:i=n;let s=`${r}has-[${i}]:`,c=f(o,s);c.className&&e.push(c.className)}return e}function jt(t,r,e){if(t==="supports"&&typeof r=="object")return Object.entries(r).flatMap(([o,i])=>{let s=f(i,`${e}not-supports-[${o}]:`);return s.className?[s.className]:[]});let n=f(r,`${e}not-${C(t)}:`);return n.className?[n.className]:[]}function Vt(t,r){let e=[];for(let[n,o]of Object.entries(t))o==null||o===!1||e.push(...jt(n,o,r));return e}function Bt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}data-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}function Ut(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;L.has(n)?i=`${r}aria-${n}:`:i=`${r}aria-[${n}]:`;let s=f(o,i);s.className&&e.push(s.className)}return e}function Dt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}supports-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}var T=0,g;var Yt=/node_modules|node:internal|@csszyx|packages\/(?:compiler|runtime|dynamic|core|vars)\/(?:dist|src)|\btransform|\bszJoin\b|\b_sz\w*|\bdynamic\b|runtimeSzWarnContext|firstUserStackFrame/;function Ft(){let t=new Error().stack;if(t)for(let r of t.split(`
|
|
2
2
|
`).slice(1)){let e=r.trim();if(!(!e.startsWith("at ")||Yt.test(e)))return e.slice(3).trim()}}function Xt(t){let r="";try{let o=JSON.stringify(t);o&&(r=o.length>200?`${o.slice(0,197)}...`:o)}catch{r=""}let e=Ft();if(!r&&!e)return"";let n=[];return r&&n.push(`sz object was ${r}`),e&&n.push(`from ${e}`),`
|
|
3
|
-
${n.join(" \xB7 ")}`}function f(t,r="",e){if(!t||typeof t!="object")return{className:""};if(T>=32)throw new k;T++;try{return Ge(t,r,e)}finally{T--}}function Ht(t){let r="";return t.gradient==="linear"?r=Zt(t.dir??"to-r"):t.gradient==="radial"?r=qt(t.dir):t.gradient==="conic"&&(r=Qt(t.dir)),r&&t.in?`${r}/${t.in}`:r}function Zt(t){return typeof t=="number"?t<0?`-bg-linear-${Math.abs(t)}`:`bg-linear-${t}`:t.startsWith("--")?`bg-linear-(${t})`:t.startsWith("to-")?`bg-linear-${t}`:`bg-linear-[${a(t)}]`}function qt(t){return t==null?"bg-radial":typeof t!="string"?"":t.startsWith("--")?`bg-radial-(${t})`:`bg-radial-[${a(t)}]`}function Qt(t){return t==null?"bg-conic":typeof t=="number"?t<0?`-bg-conic-${Math.abs(t)}`:`bg-conic-${t}`:t.startsWith("--")?`bg-conic-(${t})`:`bg-conic-[${a(t)}]`}var Jt=new Set(["shadow","inset-shadow","text-shadow","drop-shadow"]);function Kt(t,r,e){let n=m[t]||t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=r.color,i=Jt.has(n)&&o.startsWith("--")&&!o.includes("(")?`(color:${o})`:vt(o);if(r.op===void 0)return`${e}${n}-${i}`;let s=yt(r.op);return er(o,`${e}${n}-${i}/${s}`,s),`${e}${n}-${i}/${s}`}function vt(t){return rt(t)||t.startsWith("--")&&t.includes("(")?`[${a(t)}]`:t.startsWith("--")?`(${t})`:b(t)?`[${a(t)}]`:a(t)}var tr=/^\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}$/;function rr(t){try{let r=globalThis,e=r.document?.documentElement;if(e===void 0||typeof r.getComputedStyle!="function")return null;let n=r.getComputedStyle(e).getPropertyValue(`--color-${t}`).trim();return n===""?null:n}catch{return null}}function er(t,r,e){if(!u()||t.startsWith("--")||b(t)||/-\d{2,3}$/.test(t)||St.has(t)||D.has(t))return;let n=rr(t);if(n===null||!tr.test(n))return;D.add(t);let o=g?` at ${g}`:"";console.warn(`[csszyx] "${r}"${o}: the /${e} opacity modifier will not apply \u2014 the "${t}" theme token resolves to the bare comma triplet "${n}", which color-mix() cannot dim. Wrap the variable, e.g. --color-${t}: rgb(var(--your-triplet)).`)}function nr(t,r,e){switch(t){case"group":return Y("group",r,e);case"peer":return Y("peer",r,e);case"has":return Mt(r,e);case"not":return Vt(r,e);case"data":return Bt(r,e);case"aria":return Ut(r,e);case"supports":return Dt(r,e);default:return null}}var ot=new Set(["sm","md","lg","xl","2xl"]);function or(t,r,e,n){for(let[o,i]of Object.entries(r)){if(P(i))continue;let c=I(o)||ot.has(o)?`${t}-${o}`:`${t}-[${o}]`;S(i,`${e}${c}:`,n)}}function ir(t,r){return M(r)?(V(t,r),!1):W(r)?!0:(j(t,r),!1)}function sr(t,r,e,n){let o=A[t]||t;for(let[i,s]of Object.entries(r)){if(P(s))continue;let c=ar(o,i,s);c.wrapProperty?S({[i]:s},`${e}${c.segment}:`,n):S(s,`${e}${c.segment}:`,n)}}function ar(t,r,e){return I(r)?{segment:`${t}-${r}`,wrapProperty:!1}:lr(t,r,e)?{segment:`${t}-[${r}]`,wrapProperty:!1}:m[r]||R.has(r)||r.startsWith("@")||typeof e!="object"?{segment:t,wrapProperty:!0}:{segment:`${t}/${r}`,wrapProperty:!1}}function lr(t,r,e){return(t==="@min"||t==="@max")&&typeof e=="object"&&!ot.has(r)&&!m[r]&&!R.has(r)}var cr=new Set(["auto","scroll","contents","transform"]);function dr(t,r,e,n,o){return t==="willChange"&&typeof e=="string"?(o.push(`${n}${ur(e)}`),!0):typeof e=="string"&&gr(r)?(o.push(`${n}${fr(r,e)}`),!0):_(t)&&typeof e=="number"?(o.push(`${n}${t.replace("Pos","")}-${e}%`),!0):!1}function ur(t){return cr.has(t)?`will-change-${t}`:t.startsWith("--")?`will-change-(${t})`:`will-change-[${a(t)}]`}function gr(t){return t==="display"||t==="position"||t==="visibility"||t==="isolation"}function fr(t,r){return t==="display"?r==="none"?"hidden":r:t==="visibility"?r==="hidden"?"invisible":r:t==="isolation"?r==="isolate"?"isolate":`isolation-${r}`:r}function _(t){return t==="fromPos"||t==="viaPos"||t==="toPos"}function pr(t,r,e,n){if(t==="fontStyle"){let i="";return r==="italic"?i="italic":r==="normal"&&(i="not-italic"),i?n.push(`${e}${i}`):mr(r),!0}if(t!=="fontSmoothing")return!1;let o="";return r==="grayscale"?o="antialiased":r==="subpixel"&&(o="subpixel-antialiased"),o?n.push(`${e}${o}`):u()&&console.warn(`[csszyx] fontSmoothing: '${r}' is not supported \u2014 use 'grayscale' or 'subpixel'.`),!0}function mr(t){u()&&console.warn(`[csszyx] fontStyle: '${t}' is not supported \u2014 Tailwind only models 'italic' and 'normal'. For oblique, use css: { fontStyle: '${t}' }.`)}var br=new Set(["underline","overline","line-through","no-underline","none"]),Sr=new Set(["uppercase","lowercase","capitalize"]),yr=new Set(["normal-nums","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]);function hr(t,r,e,n){return t==="decoration"&&br.has(r)?(n.push(`${e}${r==="none"?"no-underline":r}`),!0):t==="textTransform"&&Sr.has(r)?(n.push(`${e}${r}`),!0):t==="textTransform"&&(r==="normal-case"||r==="none")?(n.push(`${e}normal-case`),!0):t==="fontVariant"&&yr.has(r)?(n.push(`${e}${r}`),!0):t==="textWrap"?(n.push(`${e}text-${r}`),!0):!1}var Cr={normal:"break-normal",all:"break-all",keep:"break-keep","break-normal":"break-normal","break-all":"break-all","break-keep":"break-keep"},Pr={normal:"wrap-normal","break-word":"wrap-break-word",anywhere:"wrap-anywhere","wrap-normal":"wrap-normal","wrap-break-word":"wrap-break-word","wrap-anywhere":"wrap-anywhere"};function $r(t,r,e,n){let o=null;return t==="break"?o=Cr[r]||`break-${r}`:t==="wrap"?o=Pr[r]||`wrap-${r}`:t==="textOverflow"?o=wr(r):t==="lineClamp"?o=xr(r):t==="list"||t==="listStyle"?o=kr(r):t==="listPos"&&(o=`list-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function wr(t){return t==="ellipsis"||t==="clip"?`text-${t}`:`text-[${t}]`}function xr(t){if(t==="none")return"line-clamp-none";if(t.startsWith("--"))return`line-clamp-(${t})`;let r=Number(t);return!Number.isNaN(r)&&Number.isInteger(r)?`line-clamp-${t}`:`line-clamp-[${t}]`}function kr(t){return t.startsWith("--")?`list-(${t})`:At.has(t)?`list-${t}`:`list-[${t}]`}function Nr(t,r,e,n){let o=null;return t==="divideStyle"?o=`divide-${r}`:t==="decorationStyle"||t==="textDecorationStyle"?o=`decoration-${r}`:t==="decorationColor"||t==="textDecorationColor"?o=`decoration-${r}`:t==="decorationThickness"||t==="textDecorationThickness"?o=Ar(r):t==="fontStretch"&&(o=Or(r)),o===null?!1:(n.push(`${e}${o}`),!0)}function Ar(t){return b(t)?`decoration-[${a(t)}]`:t.startsWith("--")?`decoration-(${t})`:`decoration-${t}`}function Or(t){if(Ot.has(t))return`font-${t}`;if(t.startsWith("--"))return`font-stretch-(${t})`;if(!/^\d+(\.\d+)?%$/.test(t))return`font-stretch-[${t}]`;let r=Number.parseFloat(t);return t.includes(".")||!Number.isInteger(r)?`font-stretch-[${t}]`:`font-stretch-${t}`}var Rr=new Set(["brightness","contrast","saturate","scale","backdropBrightness","backdropContrast","backdropSaturate"]);function Ir(t,r,e,n){let o=null,i=!0;return t==="maxW"&&r==="container"?(o="container",i=!1):t==="shadowColor"?(o=z("shadow",r),i=!1):t==="insetShadowColor"?o=z("inset-shadow",r):Rr.has(t)?(o=Tr(t,r),i=t==="scale"&&r==="3d"):t==="textShadow"?o=zr(r):t==="textShadowColor"?o=z("text-shadow",r):_(t)&&(o=Er(t,r),i=!1),o===null?!1:(n.push(`${i?e:""}${o}`),!0)}function z(t,r){return r.startsWith("--")?`${t}-(color:${r})`:`${t}-${r}`}function Tr(t,r){if(t==="scale"&&r==="3d")return"scale-3d";let e=t.startsWith("backdrop")?`backdrop-${t.slice(8).toLowerCase()}`:t;return r.startsWith("--")?`${e}-(${r})`:`${e}-[${r}]`}function zr(t){return t==="none"?"text-shadow-none":t===""?"text-shadow":b(t)?`text-shadow-[${a(t)}]`:`text-shadow-${t}`}function Er(t,r){let e=t.replace("Pos","");return r.startsWith("--")?`${e}-(${r})`:/^\d+%$/.test(r)?`${e}-${r}`:`${e}-[${r}]`}function Lr(t){let r=t.trim();if(r==="none")return"bg-none";let e=r.startsWith("-")?r.slice(1):r;if(e.includes("(")&&!e.startsWith("url("))return`bg-[${a(r)}]`;if(_r(e)){let n=e.startsWith("gradient-to-")?e.replace("gradient-to-","linear-to-"):e;return r.startsWith("-")?`-bg-${n}`:`bg-${n}`}return r.startsWith("--")?`bg-(image:${r})`:r.startsWith("url(")?`bg-[${r}]`:`bg-[url(${r})]`}function _r(t){return t.startsWith("linear-")||t.startsWith("radial")||t.startsWith("conic")||t.startsWith("gradient-to-")}var Gr=new Set(["maskComposite"]),Wr=new Set(["center","top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"]);function Mr(t,r,e,n){let o=null;if(t==="bgPos")o=jr(r);else if(t==="bgSize")o=Vr(r);else if(t==="bgRepeat"||t==="backgroundRepeat")o=Br(r);else{if(t==="mask"&&te(r))return!0;t==="maskRepeat"?o=Ur(r):t==="maskType"?o=`mask-type-${r}`:t==="maskSize"?o=Dr(r):t==="maskPos"?o=Yr(r):t==="maskMode"?o=Fr(r):t==="maskClip"?o=re(r):Gr.has(t)&&(o=`mask-${r}`)}return o===null?!1:(n.push(`${e}${o}`),!0)}function jr(t){return t.startsWith("--")?`bg-(${t})`:t.includes("_")||b(t)?`bg-[${a(t)}]`:`bg-${t}`}function Vr(t){return t==="auto"||t==="cover"||t==="contain"?`bg-${t}`:t.startsWith("--")?`bg-size-(${t})`:`bg-size-[${a(t)}]`}function Br(t){return t==="repeat"?"bg-repeat":t==="no-repeat"?"bg-no-repeat":`bg-repeat-${t.startsWith("repeat-")?t.slice(7):t}`}function Ur(t){return t==="repeat"?"mask-repeat":t==="no-repeat"?"mask-no-repeat":t==="space"||t==="round"?`mask-repeat-${t}`:`mask-${t}`}function Dr(t){return t==="auto"||t==="cover"||t==="contain"?`mask-${t}`:t.startsWith("--")?`mask-size-(${t})`:`mask-size-[${a(t)}]`}function Yr(t){return Wr.has(t)?`mask-${t}`:t.startsWith("--")?`mask-position-(${t})`:`mask-position-[${a(t)}]`}function Fr(t){return t==="match-source"?"mask-match":`mask-${t}`}var Xr=new Set(["maskLinear","maskRadial","maskConic"]),Hr={maskLinear:["angle","from","to",...Z],maskConic:["angle","from","to"],maskRadial:["at","size","shape","from","to"]},Zr=["from","to"];function h(t,r){if(r==null||r===!1)return[];if(typeof r=="number")return[`${t}-${r}`];if(typeof r=="string")return[F(t,r)];if(!O(r))return[];let e=r,n=[];e.at!==void 0&&e.at!==null&&n.push(F(t,String(e.at)));let o=qr(t,e);return o&&n.push(o),n}function F(t,r){return r.startsWith("--")?`${t}-(${r})`:`${t}-${r}`}function qr(t,r){if(typeof r.color!="string"||!r.color)return null;let e=r.color.startsWith("--")?`(color:${r.color})`:r.color,n=r.op===void 0||r.op===null?"":`/${r.op}`;return`${t}-${e}${n}`}function Qr(t,r){if(it(t,r,Hr[t]),t==="maskRadial")return vr(r);let e=t==="maskConic"?"conic":"linear",n=[...Jr(e,r.angle),...h(`mask-${e}-from`,r.from),...h(`mask-${e}-to`,r.to)];return e==="linear"&&n.push(...Kr(t,r)),n}function it(t,r,e){for(let n of Object.keys(r))e.includes(n)||void 0}function Jr(t,r){return typeof r=="number"?[r<0?`-mask-${t}-${Math.abs(r)}`:`mask-${t}-${r}`]:typeof r!="string"||!r?[]:[r.startsWith("--")?`mask-${t}-(${r})`:`mask-${t}-${r}`]}function Kr(t,r){let e=[];for(let n of Z){let o=r[n];O(o)&&(it(`${t}.${n}`,o,Zr),e.push(...h(`mask-${n}-from`,o.from),...h(`mask-${n}-to`,o.to)))}return e}function vr(t){let r=[];return typeof t.at=="string"&&t.at&&r.push(`mask-radial-at-${t.at}`),typeof t.size=="string"&&t.size&&r.push(`mask-radial-${t.size}`),(t.shape==="circle"||t.shape==="ellipse")&&r.push(`mask-${t.shape}`),r.push(...h("mask-radial-from",t.from),...h("mask-radial-to",t.to)),r}function te(t){if(t.includes("("))return!1;let r=t.startsWith("-")?t.slice(1):t;return/^(linear|radial|conic)(-|$)/.test(r)}function re(t){return t==="no-clip"?"mask-no-clip":`mask-clip-${t}`}var X={borderTColor:"t",borderRColor:"r",borderBColor:"b",borderLColor:"l",borderXColor:"x",borderYColor:"y"};function ee(t,r,e,n){let o=null;return t==="alignContent"?o=`content-${r}`:t==="content"?o=ne(r):X[t]?o=`border-${X[t]}-${r}`:t==="transitionBehavior"?o=`transition-${r}`:t==="dropShadowColor"&&(o=r.startsWith("--")?`drop-shadow-(color:${r})`:`drop-shadow-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function ne(t){return t==="none"?"content-none":t.startsWith("--")?`content-(${t})`:`content-[${t.startsWith('"')&&t.endsWith('"')&&t.length>=2?`'${t.slice(1,-1)}'`:t}]`}var oe=new Set(["origin","ease","animate","filter","backdropFilter","dropShadow"]),ie=new Set(["none","normal","dramatic","midrange"]),se=new Set(["center","top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"]);function ae(t,r,e,n){let o=null;return oe.has(t)&&le(r)?o=`${m[t]||t}-[${a(r)}]`:t==="transformStyle"?o=`transform-${r}`:t==="perspective"?o=ce(r):t==="perspectiveOrigin"?o=de(r):t==="backface"&&(o=`backface-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function le(t){return b(t)||t.includes("(")||t.includes("_")||t.includes("%")}function ce(t){return ie.has(t)?`perspective-${t}`:t.startsWith("--")?`perspective-(${t})`:b(t)?`perspective-[${a(t)}]`:`perspective-${t}`}function de(t){return se.has(t)?`perspective-origin-${t}`:`perspective-origin-[${a(t)}]`}function st(t,r){if(!u()||ue(t))return;let e=ge(t);g||(e+=Xt(r)),console.warn(e)}function ue(t){return!!(m[t]||gt.has(t)||R.has(t)||J[t]||_(t)||t.startsWith("--")||t.startsWith("[")||t.startsWith("@")||p.has(t)||E.has(t)||nt(t)!==null||t==="min"||t==="max")}function ge(t){let r=g?` at ${g}`:"",e=q[t];if(e)return`[csszyx] "${t}" was removed${r}: ${e}.`;let n=Q[t];return n?`[csszyx] Use the canonical key "${n}" instead of "${t}"${r}.`:/^\d+(?:\.\d+)?$/.test(t)?`[csszyx] sz received a numeric key "${t}"${r}. This usually means an array or a spread was passed where an object of sz keys was expected. The value is ignored.`:`[csszyx] Unknown property "${t}" in sz prop${r}. The class is still emitted, so it styles nothing unless Tailwind serves that utility. Check for typos. If the class is intentional, define it with Tailwind's @utility.`}function fe(t,r,e,n){let o=bt(e),i=pe(t,r,o.value),s=i.startsWith("-")&&K.has(r)?`${n}-${r}-${i.substring(1)}`:`${n}${r}-${i}`;return o.important?`${s}!`:s}function pe(t,r,e){if(t==="ring"&&e==="none")return"0";if(t==="fontFeatures"&&e==="normal")return"[normal]";if(me(e))return`[${a(e)}]`;let n=be(t,e);if(n)return n;if(e.startsWith("var("))return`[${a(e)}]`;let o=Se(t,r,e);return o||(b(e)||/^\d+\.\d+%$/.test(e)?`[${a(e)}]`:e)}function me(t){return rt(t)||t.startsWith("--")&&t.includes("(")}function be(t,r){if(!r.startsWith("--"))return null;let e=ut[t];return e?`(${e}:${r})`:`(${r})`}function Se(t,r,e){return/^\d+\/\d+$/.test(e)?ht.has(t)?e:`[${e}]`:r!=="aspect"||!/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/.test(e)?null:`[${e}]`}var ye=/^text-(xs|sm|base|lg|[2-9]?xl|\[[^\]]+\]|\([^)]+\))$/,he=/^leading-(.+)$/;function Ce(t){let r=[],e=[];for(let i=0;i<t.length;i++)Pe(t[i],i,r,e);if(r.length===0||e.length===0)return t;let n=[...t],o=new Set;for(let i of r){let s=$e(i.prefix,e,o);s&&(n[i.index]=`${i.prefix}text-${i.size}/${s.value}`,o.add(s.index))}return o.size===0?t:n.filter((i,s)=>!o.has(s))}function Pe(t,r,e,n){let o=t.lastIndexOf(":"),i=o===-1?"":t.slice(0,o+1),s=o===-1?t:t.slice(o+1),c=ye.exec(s);c&&e.push({index:r,prefix:i,size:c[1]});let y=he.exec(s);y&&n.push({index:r,prefix:i,value:y[1]})}function $e(t,r,e){return r.find(n=>n.prefix===t&&!e.has(n.index))}function we(t,r){let e=Ce(t).filter(Boolean);return{className:(r?e.map(o=>r[o]||o):e).join(" ")}}function xe(t,r){return r<0&&K.has(t)?`-${t}-${Math.abs(r)}`:`${t}-${r}`}function ke(t){return typeof t=="number"?t*4%1!==0:typeof t=="string"&&/^\d+(?:\.\d+)?$/.test(t)}function Ne(t,r,e,n,o,i){if(st(t,o),!/^\d+(?:\.\d+)?$/.test(t)){if(e===!0){let s=R.has(t)&&mt[t]||r;i.push(`${n}${s}`);return}if(t==="animationDelay"){let s=typeof e=="number"?`${e}ms`:String(e);i.push(`${n}[animation-delay:${s}]`);return}if((t==="leading"||t==="lineHeight")&&ke(e)){i.push(`${n}leading-[${e}]`);return}if(t==="weight"&&typeof e=="number"){i.push(`${n}${r}-[${e}]`);return}if(typeof e=="number"){U(t,e),i.push(`${n}${xe(r,e)}`);return}typeof e=="string"&&(/^-?\d+(?:\.\d+)?$/.test(e)&&U(t,Number(e)),i.push(fe(t,r,e,n)))}}function Ae(t,r,e,n){if(t==="css")return O(r)&&Re(r,e,n),!0;if(!O(r))return!1;if(t==="bgImg"){let o=Ht(r);return o&&n.push(`${e}${o}`),!0}if(Xr.has(t)){for(let o of Qr(t,r))n.push(`${e}${o}`);return!0}return t in m&&"color"in r?(n.push(Kt(t,r,e)),!0):(Oe(t,r),Ie(t,r,e,n),!0)}var H=new Set;function Oe(t,r){if(!u()||!(t in m)||p.has(t)||E.has(t)||H.has(t))return;H.add(t);let e=g?` at ${g}`:"",n=Object.keys(r).slice(0,3).join(", ");console.warn(`[csszyx] "${t}" is a property, not a variant, but received an object { ${n} }${e}. This compiles to "${t}:*" classes that match no Tailwind variant and generate no CSS. Move the nested keys up a level, or for color opacity use { color: '...', op: ... }.`)}function O(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function Re(t,r,e){for(let[n,o]of Object.entries(t))typeof o!="string"&&typeof o!="number"||e.push(`${r}[${et(n)}:${a(String(o))}]`)}function Ie(t,r,e,n){let o=nr(t,r,e);if(o!==null){n.push(...o);return}if(t==="min"||t==="max"){or(t,r,e,n);return}if(t.startsWith("@")){sr(t,r,e,n);return}let i=I(t)?v(t):C(t),s=f(r,`${e}${i}:`);s.className&&n.push(s.className)}function Te(t,r){return!(r!==!0||!pt[t])}function ze(t,r,e,n){if(typeof r!="string")return!1;if(t.startsWith("@"))return n.push(`${e}${A[t]||t}/${r}`),!0;if(t==="group"||t==="peer")return n.push(`${e}${t}/${r}`),!0;if(x[t]===1&&!ir(t,r.replace(/!$/,"")))return!0;let o=J[t]?.[r];if(o)return n.push(`${e}${o}`),!0;let i=nt(t);return i!==null?(n.push(`${e}${i}:${r}`),!0):!1}function Ee(t,r,e,n){return t.startsWith("--")?(n.push(`${e}[${t}:${r}]`),!0):t!=="container"?!1:(r===!0?n.push(`${e}container`):typeof r=="string"&&n.push(`${e}@container/${r}`),!0)}function Le(t,r,e,n,o){if(r===!1||r===null||r===void 0)return;if(t in Q||t in q){st(t,n);return}if(Te(t,r)||Ae(t,r,e,o)||ze(t,r,e,o)||Ee(t,r,e,o))return;let i=m[t]||et(t);dr(t,i,r,e,o)||_e(t,r,e,o)||Ne(t,i,r,e,n,o)}function _e(t,r,e,n){return typeof r!="string"?!1:pr(t,r,e,n)||hr(t,r,e,n)||$r(t,r,e,n)||Nr(t,r,e,n)||Ir(t,r,e,n)||ee(t,r,e,n)||ae(t,r,e,n)?!0:t==="bgImg"?(n.push(`${e}${Lr(r)}`),!0):Mr(t,r,e,n)}function Ge(t,r,e){let n=[];for(let[o,i]of Object.entries(t))Le(o,i,r,t,n);return we(n,e)}function We(t){let r=t.trim(),e=r.startsWith("{")?r:`{${r}}`,n=0,o=()=>{for(;n<e.length&&/\s/.test(e[n]);)n++},i=l=>{n++;let d="";for(;n<e.length&&e[n]!==l;)e[n]==="\\"?(n++,n<e.length&&(d+=e[n])):d+=e[n],n++;return n++,d},s=()=>{if(o(),e[n]==="'"||e[n]==='"')return i(e[n]);let l="";if(e[n]==="["){let d=0;for(;n<e.length&&(e[n]==="["&&d++,e[n]==="]"&&d--,l+=e[n],n++,d!==0););return l}for(;n<e.length&&/[\w$@\-.]/.test(e[n]);)l+=e[n],n++;return l},c=()=>{o();let l=e[n];if(l==="'"||l==='"')return i(l);if(l==="{")return $();if(l==="[")return y();let d="";for(;n<e.length&&/[\w.\-+]/.test(e[n]);)d+=e[n],n++;if(d==="true")return!0;if(d==="false")return!1;if(d==="null")return null;let w=Number(d);return!Number.isNaN(w)&&d!==""?w:d},y=()=>{n++;let l=[];for(o();n<e.length&&e[n]!=="]";)l.push(c()),o(),e[n]===","&&n++,o();return n++,l},$=()=>{n++;let l={};for(o();n<e.length&&e[n]!=="}";){let d=s();o(),e[n]===":"&&n++;let w=c();l[d]=w,o(),e[n]===","&&n++,o()}return n++,l};return o(),$()}function G(t){let r=t.getAttribute("sz");if(!r)return;let e=t.dataset;if(e.szProcessed===void 0){e.szProcessed="";try{let n=We(r),o=window.__SZ_MANGLE_MAP__,{className:i}=f(n,"",o);i&&i.split(" ").forEach(s=>{s&&t.classList.add(s)})}catch(n){r.trim()&&!r.includes("{")?r.split(/\s+/).forEach(o=>{o&&t.classList.add(o)}):console.error("[csszyx] Parsing error:",r,n)}t.removeAttribute("sz"),delete e.szProcessed}}function at(){document.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G),document.body.classList.add("sz-ready")}function Me(t){t.hasAttribute("sz")&&G(t),t.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G)}var lt=new MutationObserver(t=>{for(let r of t)for(let e of r.addedNodes)e instanceof HTMLElement&&Me(e)});typeof window<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>{at(),lt.observe(document.body,{childList:!0,subtree:!0})}):(at(),lt.observe(document.body,{childList:!0,subtree:!0})));})();
|
|
3
|
+
${n.join(" \xB7 ")}`}function f(t,r="",e){if(!t||typeof t!="object")return{className:""};if(T>=32)throw new k;T++;try{return Ge(t,r,e)}finally{T--}}function Ht(t){let r="";return t.gradient==="linear"?r=Zt(t.dir??"to-r"):t.gradient==="radial"?r=qt(t.dir):t.gradient==="conic"&&(r=Qt(t.dir)),r&&t.in?`${r}/${t.in}`:r}function Zt(t){return typeof t=="number"?t<0?`-bg-linear-${Math.abs(t)}`:`bg-linear-${t}`:t.startsWith("--")?`bg-linear-(${t})`:t.startsWith("to-")?`bg-linear-${t}`:`bg-linear-[${a(t)}]`}function qt(t){return t==null?"bg-radial":typeof t!="string"?"":t.startsWith("--")?`bg-radial-(${t})`:`bg-radial-[${a(t)}]`}function Qt(t){return t==null?"bg-conic":typeof t=="number"?t<0?`-bg-conic-${Math.abs(t)}`:`bg-conic-${t}`:t.startsWith("--")?`bg-conic-(${t})`:`bg-conic-[${a(t)}]`}var Jt=new Set(["shadow","inset-shadow","text-shadow","drop-shadow"]);function Kt(t,r,e){let n=m[t]||t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=r.color,i=Jt.has(n)&&o.startsWith("--")&&!o.includes("(")?`(color:${o})`:vt(o);if(r.op===void 0)return`${e}${n}-${i}`;let s=yt(r.op);return er(o,`${e}${n}-${i}/${s}`,s),`${e}${n}-${i}/${s}`}function vt(t){return rt(t)||t.startsWith("--")&&t.includes("(")?`[${a(t)}]`:t.startsWith("--")?`(${t})`:b(t)?`[${a(t)}]`:a(t)}var tr=/^\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}$/;function rr(t){try{let r=globalThis,e=r.document?.documentElement;if(e===void 0||typeof r.getComputedStyle!="function")return null;let n=r.getComputedStyle(e).getPropertyValue(`--color-${t}`).trim();return n===""?null:n}catch{return null}}function er(t,r,e){if(!u()||t.startsWith("--")||b(t)||/-\d{2,3}$/.test(t)||St.has(t)||D.has(t))return;let n=rr(t);if(n===null||!tr.test(n))return;D.add(t);let o=g?` at ${g}`:"";console.warn(`[csszyx] "${r}"${o}: the /${e} opacity modifier will not apply \u2014 the "${t}" theme token resolves to the bare comma triplet "${n}", which color-mix() cannot dim. Wrap the variable, e.g. --color-${t}: rgb(var(--your-triplet)).`)}function nr(t,r,e){switch(t){case"group":return Y("group",r,e);case"peer":return Y("peer",r,e);case"has":return Mt(r,e);case"not":return Vt(r,e);case"data":return Bt(r,e);case"aria":return Ut(r,e);case"supports":return Dt(r,e);default:return null}}var ot=new Set(["sm","md","lg","xl","2xl"]);function or(t,r,e,n){for(let[o,i]of Object.entries(r)){if(P(i))continue;let c=I(o)||ot.has(o)?`${t}-${o}`:`${t}-[${o}]`;S(i,`${e}${c}:`,n)}}function ir(t,r){return M(r)?(V(t,r),!1):W(r)?!0:(j(t,r),!1)}function sr(t,r,e,n){let o=A[t]||t;for(let[i,s]of Object.entries(r)){if(P(s))continue;let c=ar(o,i,s);c.wrapProperty?S({[i]:s},`${e}${c.segment}:`,n):S(s,`${e}${c.segment}:`,n)}}function ar(t,r,e){return I(r)?{segment:`${t}-${r}`,wrapProperty:!1}:lr(t,r,e)?{segment:`${t}-[${r}]`,wrapProperty:!1}:m[r]||R.has(r)||r.startsWith("@")||typeof e!="object"?{segment:t,wrapProperty:!0}:{segment:`${t}/${r}`,wrapProperty:!1}}function lr(t,r,e){return(t==="@min"||t==="@max")&&typeof e=="object"&&!ot.has(r)&&!m[r]&&!R.has(r)}var cr=new Set(["auto","scroll","contents","transform"]);function dr(t,r,e,n,o){return t==="willChange"&&typeof e=="string"?(o.push(`${n}${ur(e)}`),!0):typeof e=="string"&&gr(r)?(o.push(`${n}${fr(r,e)}`),!0):_(t)&&typeof e=="number"?(o.push(`${n}${t.replace("Pos","")}-${e}%`),!0):!1}function ur(t){return cr.has(t)?`will-change-${t}`:t.startsWith("--")?`will-change-(${t})`:`will-change-[${a(t)}]`}function gr(t){return t==="display"||t==="position"||t==="visibility"||t==="isolation"}function fr(t,r){return t==="display"?r==="none"?"hidden":r:t==="visibility"?r==="hidden"?"invisible":r:t==="isolation"?r==="isolate"?"isolate":`isolation-${r}`:r}function _(t){return t==="fromPos"||t==="viaPos"||t==="toPos"}function pr(t,r,e,n){if(t==="fontStyle"){let i="";return r==="italic"?i="italic":r==="normal"&&(i="not-italic"),i?n.push(`${e}${i}`):mr(r),!0}if(t!=="fontSmoothing")return!1;let o="";return r==="grayscale"?o="antialiased":r==="subpixel"&&(o="subpixel-antialiased"),o?n.push(`${e}${o}`):u()&&console.warn(`[csszyx] fontSmoothing: '${r}' is not supported \u2014 use 'grayscale' or 'subpixel'.`),!0}function mr(t){u()&&console.warn(`[csszyx] fontStyle: '${t}' is not supported \u2014 Tailwind only models 'italic' and 'normal'. For oblique, use css: { fontStyle: '${t}' }.`)}var br=new Set(["underline","overline","line-through","no-underline","none"]),Sr=new Set(["uppercase","lowercase","capitalize"]),yr=new Set(["normal-nums","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]);function hr(t,r,e,n){return t==="decoration"&&br.has(r)?(n.push(`${e}${r==="none"?"no-underline":r}`),!0):t==="textTransform"&&Sr.has(r)?(n.push(`${e}${r}`),!0):t==="textTransform"&&(r==="normal-case"||r==="none")?(n.push(`${e}normal-case`),!0):t==="fontVariant"&&yr.has(r)?(n.push(`${e}${r}`),!0):t==="textWrap"?(n.push(`${e}text-${r}`),!0):!1}var Cr={normal:"break-normal",all:"break-all",keep:"break-keep","break-normal":"break-normal","break-all":"break-all","break-keep":"break-keep"},Pr={normal:"wrap-normal","break-word":"wrap-break-word",anywhere:"wrap-anywhere","wrap-normal":"wrap-normal","wrap-break-word":"wrap-break-word","wrap-anywhere":"wrap-anywhere"};function $r(t,r,e,n){let o=null;return t==="break"?o=Cr[r]||`break-${r}`:t==="wrap"?o=Pr[r]||`wrap-${r}`:t==="textOverflow"?o=wr(r):t==="lineClamp"?o=xr(r):t==="list"||t==="listStyle"?o=kr(r):t==="listPos"&&(o=`list-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function wr(t){return t==="ellipsis"||t==="clip"?`text-${t}`:`text-[${t}]`}function xr(t){if(t==="none")return"line-clamp-none";if(t.startsWith("--"))return`line-clamp-(${t})`;let r=Number(t);return!Number.isNaN(r)&&Number.isInteger(r)?`line-clamp-${t}`:`line-clamp-[${t}]`}function kr(t){return t.startsWith("--")?`list-(${t})`:At.has(t)?`list-${t}`:`list-[${t}]`}function Nr(t,r,e,n){let o=null;return t==="divideStyle"?o=`divide-${r}`:t==="decorationStyle"||t==="textDecorationStyle"?o=`decoration-${r}`:t==="decorationColor"||t==="textDecorationColor"?o=`decoration-${r}`:t==="decorationThickness"||t==="textDecorationThickness"?o=Ar(r):t==="fontStretch"&&(o=Or(r)),o===null?!1:(n.push(`${e}${o}`),!0)}function Ar(t){return b(t)?`decoration-[${a(t)}]`:t.startsWith("--")?`decoration-(${t})`:`decoration-${t}`}function Or(t){if(Ot.has(t))return`font-stretch-${t}`;if(t.startsWith("--"))return`font-stretch-(${t})`;if(!/^\d+(\.\d+)?%$/.test(t))return`font-stretch-[${t}]`;let r=Number.parseFloat(t);return t.includes(".")||!Number.isInteger(r)?`font-stretch-[${t}]`:`font-stretch-${t}`}var Rr=new Set(["brightness","contrast","saturate","scale","backdropBrightness","backdropContrast","backdropSaturate"]);function Ir(t,r,e,n){let o=null,i=!0;return t==="maxW"&&r==="container"?(o="container",i=!1):t==="shadowColor"?(o=z("shadow",r),i=!1):t==="insetShadowColor"?o=z("inset-shadow",r):Rr.has(t)?(o=Tr(t,r),i=t==="scale"&&r==="3d"):t==="textShadow"?o=zr(r):t==="textShadowColor"?o=z("text-shadow",r):_(t)&&(o=Er(t,r),i=!1),o===null?!1:(n.push(`${i?e:""}${o}`),!0)}function z(t,r){return r.startsWith("--")?`${t}-(color:${r})`:`${t}-${r}`}function Tr(t,r){if(t==="scale"&&r==="3d")return"scale-3d";let e=t.startsWith("backdrop")?`backdrop-${t.slice(8).toLowerCase()}`:t;return r.startsWith("--")?`${e}-(${r})`:`${e}-[${r}]`}function zr(t){return t==="none"?"text-shadow-none":t===""?"text-shadow":b(t)?`text-shadow-[${a(t)}]`:`text-shadow-${t}`}function Er(t,r){let e=t.replace("Pos","");return r.startsWith("--")?`${e}-(${r})`:/^\d+%$/.test(r)?`${e}-${r}`:`${e}-[${r}]`}function Lr(t){let r=t.trim();if(r==="none")return"bg-none";let e=r.startsWith("-")?r.slice(1):r;if(e.includes("(")&&!e.startsWith("url("))return`bg-[${a(r)}]`;if(_r(e)){let n=e.startsWith("gradient-to-")?e.replace("gradient-to-","linear-to-"):e;return r.startsWith("-")?`-bg-${n}`:`bg-${n}`}return r.startsWith("--")?`bg-(image:${r})`:r.startsWith("url(")?`bg-[${r}]`:`bg-[url(${r})]`}function _r(t){return t.startsWith("linear-")||t.startsWith("radial")||t.startsWith("conic")||t.startsWith("gradient-to-")}var Gr=new Set(["maskComposite"]),Wr=new Set(["center","top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"]);function Mr(t,r,e,n){let o=null;if(t==="bgPos")o=jr(r);else if(t==="bgSize")o=Vr(r);else if(t==="bgRepeat"||t==="backgroundRepeat")o=Br(r);else{if(t==="mask"&&te(r))return!0;t==="maskRepeat"?o=Ur(r):t==="maskType"?o=`mask-type-${r}`:t==="maskSize"?o=Dr(r):t==="maskPos"?o=Yr(r):t==="maskMode"?o=Fr(r):t==="maskClip"?o=re(r):Gr.has(t)&&(o=`mask-${r}`)}return o===null?!1:(n.push(`${e}${o}`),!0)}function jr(t){return t.startsWith("--")?`bg-(${t})`:t.includes("_")||b(t)?`bg-[${a(t)}]`:`bg-${t}`}function Vr(t){return t==="auto"||t==="cover"||t==="contain"?`bg-${t}`:t.startsWith("--")?`bg-size-(${t})`:`bg-size-[${a(t)}]`}function Br(t){return t==="repeat"?"bg-repeat":t==="no-repeat"?"bg-no-repeat":`bg-repeat-${t.startsWith("repeat-")?t.slice(7):t}`}function Ur(t){return t==="repeat"?"mask-repeat":t==="no-repeat"?"mask-no-repeat":t==="space"||t==="round"?`mask-repeat-${t}`:`mask-${t}`}function Dr(t){return t==="auto"||t==="cover"||t==="contain"?`mask-${t}`:t.startsWith("--")?`mask-size-(${t})`:`mask-size-[${a(t)}]`}function Yr(t){return Wr.has(t)?`mask-${t}`:t.startsWith("--")?`mask-position-(${t})`:`mask-position-[${a(t)}]`}function Fr(t){return t==="match-source"?"mask-match":`mask-${t}`}var Xr=new Set(["maskLinear","maskRadial","maskConic"]),Hr={maskLinear:["angle","from","to",...Z],maskConic:["angle","from","to"],maskRadial:["at","size","shape","from","to"]},Zr=["from","to"];function h(t,r){if(r==null||r===!1)return[];if(typeof r=="number")return[`${t}-${r}`];if(typeof r=="string")return[F(t,r)];if(!O(r))return[];let e=r,n=[];e.at!==void 0&&e.at!==null&&n.push(F(t,String(e.at)));let o=qr(t,e);return o&&n.push(o),n}function F(t,r){return r.startsWith("--")?`${t}-(${r})`:`${t}-${r}`}function qr(t,r){if(typeof r.color!="string"||!r.color)return null;let e=r.color.startsWith("--")?`(color:${r.color})`:r.color,n=r.op===void 0||r.op===null?"":`/${r.op}`;return`${t}-${e}${n}`}function Qr(t,r){if(it(t,r,Hr[t]),t==="maskRadial")return vr(r);let e=t==="maskConic"?"conic":"linear",n=[...Jr(e,r.angle),...h(`mask-${e}-from`,r.from),...h(`mask-${e}-to`,r.to)];return e==="linear"&&n.push(...Kr(t,r)),n}function it(t,r,e){for(let n of Object.keys(r))e.includes(n)||void 0}function Jr(t,r){return typeof r=="number"?[r<0?`-mask-${t}-${Math.abs(r)}`:`mask-${t}-${r}`]:typeof r!="string"||!r?[]:[r.startsWith("--")?`mask-${t}-(${r})`:`mask-${t}-${r}`]}function Kr(t,r){let e=[];for(let n of Z){let o=r[n];O(o)&&(it(`${t}.${n}`,o,Zr),e.push(...h(`mask-${n}-from`,o.from),...h(`mask-${n}-to`,o.to)))}return e}function vr(t){let r=[];return typeof t.at=="string"&&t.at&&r.push(`mask-radial-at-${t.at}`),typeof t.size=="string"&&t.size&&r.push(`mask-radial-${t.size}`),(t.shape==="circle"||t.shape==="ellipse")&&r.push(`mask-${t.shape}`),r.push(...h("mask-radial-from",t.from),...h("mask-radial-to",t.to)),r}function te(t){if(t.includes("("))return!1;let r=t.startsWith("-")?t.slice(1):t;return/^(linear|radial|conic)(-|$)/.test(r)}function re(t){return t==="no-clip"?"mask-no-clip":`mask-clip-${t}`}var X={borderTColor:"t",borderRColor:"r",borderBColor:"b",borderLColor:"l",borderXColor:"x",borderYColor:"y"};function ee(t,r,e,n){let o=null;return t==="alignContent"?o=`content-${r}`:t==="content"?o=ne(r):X[t]?o=`border-${X[t]}-${r}`:t==="transitionBehavior"?o=`transition-${r}`:t==="dropShadowColor"&&(o=r.startsWith("--")?`drop-shadow-(color:${r})`:`drop-shadow-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function ne(t){return t==="none"?"content-none":t.startsWith("--")?`content-(${t})`:`content-[${t.startsWith('"')&&t.endsWith('"')&&t.length>=2?`'${t.slice(1,-1)}'`:t}]`}var oe=new Set(["origin","ease","animate","filter","backdropFilter","dropShadow"]),ie=new Set(["none","normal","dramatic","midrange"]),se=new Set(["center","top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"]);function ae(t,r,e,n){let o=null;return oe.has(t)&&le(r)?o=`${m[t]||t}-[${a(r)}]`:t==="transformStyle"?o=`transform-${r}`:t==="perspective"?o=ce(r):t==="perspectiveOrigin"?o=de(r):t==="backface"&&(o=`backface-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function le(t){return b(t)||t.includes("(")||t.includes("_")||t.includes("%")}function ce(t){return ie.has(t)?`perspective-${t}`:t.startsWith("--")?`perspective-(${t})`:b(t)?`perspective-[${a(t)}]`:`perspective-${t}`}function de(t){return se.has(t)?`perspective-origin-${t}`:`perspective-origin-[${a(t)}]`}function st(t,r){if(!u()||ue(t))return;let e=ge(t);g||(e+=Xt(r)),console.warn(e)}function ue(t){return!!(m[t]||gt.has(t)||R.has(t)||J[t]||_(t)||t.startsWith("--")||t.startsWith("[")||t.startsWith("@")||p.has(t)||E.has(t)||nt(t)!==null||t==="min"||t==="max")}function ge(t){let r=g?` at ${g}`:"",e=q[t];if(e)return`[csszyx] "${t}" was removed${r}: ${e}.`;let n=Q[t];return n?`[csszyx] Use the canonical key "${n}" instead of "${t}"${r}.`:/^\d+(?:\.\d+)?$/.test(t)?`[csszyx] sz received a numeric key "${t}"${r}. This usually means an array or a spread was passed where an object of sz keys was expected. The value is ignored.`:`[csszyx] Unknown property "${t}" in sz prop${r}. The class is still emitted, so it styles nothing unless Tailwind serves that utility. Check for typos. If the class is intentional, define it with Tailwind's @utility.`}function fe(t,r,e,n){let o=bt(e),i=pe(t,r,o.value),s=i.startsWith("-")&&K.has(r)?`${n}-${r}-${i.substring(1)}`:`${n}${r}-${i}`;return o.important?`${s}!`:s}function pe(t,r,e){if(t==="ring"&&e==="none")return"0";if(t==="fontFeatures"&&e==="normal")return"[normal]";if(me(e))return`[${a(e)}]`;let n=be(t,e);if(n)return n;if(e.startsWith("var("))return`[${a(e)}]`;let o=Se(t,r,e);return o||(b(e)||/^\d+\.\d+%$/.test(e)?`[${a(e)}]`:e)}function me(t){return rt(t)||t.startsWith("--")&&t.includes("(")}function be(t,r){if(!r.startsWith("--"))return null;let e=ut[t];return e?`(${e}:${r})`:`(${r})`}function Se(t,r,e){return/^\d+\/\d+$/.test(e)?ht.has(t)?e:`[${e}]`:r!=="aspect"||!/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/.test(e)?null:`[${e}]`}var ye=/^text-(xs|sm|base|lg|[2-9]?xl|\[[^\]]+\]|\([^)]+\))$/,he=/^leading-(.+)$/;function Ce(t){let r=[],e=[];for(let i=0;i<t.length;i++)Pe(t[i],i,r,e);if(r.length===0||e.length===0)return t;let n=[...t],o=new Set;for(let i of r){let s=$e(i.prefix,e,o);s&&(n[i.index]=`${i.prefix}text-${i.size}/${s.value}`,o.add(s.index))}return o.size===0?t:n.filter((i,s)=>!o.has(s))}function Pe(t,r,e,n){let o=t.lastIndexOf(":"),i=o===-1?"":t.slice(0,o+1),s=o===-1?t:t.slice(o+1),c=ye.exec(s);c&&e.push({index:r,prefix:i,size:c[1]});let y=he.exec(s);y&&n.push({index:r,prefix:i,value:y[1]})}function $e(t,r,e){return r.find(n=>n.prefix===t&&!e.has(n.index))}function we(t,r){let e=Ce(t).filter(Boolean);return{className:(r?e.map(o=>r[o]||o):e).join(" ")}}function xe(t,r){return r<0&&K.has(t)?`-${t}-${Math.abs(r)}`:`${t}-${r}`}function ke(t){return typeof t=="number"?t*4%1!==0:typeof t=="string"&&/^\d+(?:\.\d+)?$/.test(t)}function Ne(t,r,e,n,o,i){if(st(t,o),!/^\d+(?:\.\d+)?$/.test(t)){if(e===!0){let s=R.has(t)&&mt[t]||r;i.push(`${n}${s}`);return}if(t==="animationDelay"){let s=typeof e=="number"?`${e}ms`:String(e);i.push(`${n}[animation-delay:${s}]`);return}if((t==="leading"||t==="lineHeight")&&ke(e)){i.push(`${n}leading-[${e}]`);return}if(t==="weight"&&typeof e=="number"){i.push(`${n}${r}-[${e}]`);return}if(typeof e=="number"){U(t,e),i.push(`${n}${xe(r,e)}`);return}typeof e=="string"&&(/^-?\d+(?:\.\d+)?$/.test(e)&&U(t,Number(e)),i.push(fe(t,r,e,n)))}}function Ae(t,r,e,n){if(t==="css")return O(r)&&Re(r,e,n),!0;if(!O(r))return!1;if(t==="bgImg"){let o=Ht(r);return o&&n.push(`${e}${o}`),!0}if(Xr.has(t)){for(let o of Qr(t,r))n.push(`${e}${o}`);return!0}return t in m&&"color"in r?(n.push(Kt(t,r,e)),!0):(Oe(t,r),Ie(t,r,e,n),!0)}var H=new Set;function Oe(t,r){if(!u()||!(t in m)||p.has(t)||E.has(t)||H.has(t))return;H.add(t);let e=g?` at ${g}`:"",n=Object.keys(r).slice(0,3).join(", ");console.warn(`[csszyx] "${t}" is a property, not a variant, but received an object { ${n} }${e}. This compiles to "${t}:*" classes that match no Tailwind variant and generate no CSS. Move the nested keys up a level, or for color opacity use { color: '...', op: ... }.`)}function O(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function Re(t,r,e){for(let[n,o]of Object.entries(t))typeof o!="string"&&typeof o!="number"||e.push(`${r}[${et(n)}:${a(String(o))}]`)}function Ie(t,r,e,n){let o=nr(t,r,e);if(o!==null){n.push(...o);return}if(t==="min"||t==="max"){or(t,r,e,n);return}if(t.startsWith("@")){sr(t,r,e,n);return}let i=I(t)?v(t):C(t),s=f(r,`${e}${i}:`);s.className&&n.push(s.className)}function Te(t,r){return!(r!==!0||!pt[t])}function ze(t,r,e,n){if(typeof r!="string")return!1;if(t.startsWith("@"))return n.push(`${e}${A[t]||t}/${r}`),!0;if(t==="group"||t==="peer")return n.push(`${e}${t}/${r}`),!0;if(x[t]===1&&!ir(t,r.replace(/!$/,"")))return!0;let o=J[t]?.[r];if(o)return n.push(`${e}${o}`),!0;let i=nt(t);return i!==null?(n.push(`${e}${i}:${r}`),!0):!1}function Ee(t,r,e,n){return t.startsWith("--")?(n.push(`${e}[${t}:${r}]`),!0):t!=="container"?!1:(r===!0?n.push(`${e}container`):typeof r=="string"&&n.push(`${e}@container/${r}`),!0)}function Le(t,r,e,n,o){if(r===!1||r===null||r===void 0)return;if(t in Q||t in q){st(t,n);return}if(Te(t,r)||Ae(t,r,e,o)||ze(t,r,e,o)||Ee(t,r,e,o))return;let i=m[t]||et(t);dr(t,i,r,e,o)||_e(t,r,e,o)||Ne(t,i,r,e,n,o)}function _e(t,r,e,n){return typeof r!="string"?!1:pr(t,r,e,n)||hr(t,r,e,n)||$r(t,r,e,n)||Nr(t,r,e,n)||Ir(t,r,e,n)||ee(t,r,e,n)||ae(t,r,e,n)?!0:t==="bgImg"?(n.push(`${e}${Lr(r)}`),!0):Mr(t,r,e,n)}function Ge(t,r,e){let n=[];for(let[o,i]of Object.entries(t))Le(o,i,r,t,n);return we(n,e)}function We(t){let r=t.trim(),e=r.startsWith("{")?r:`{${r}}`,n=0,o=()=>{for(;n<e.length&&/\s/.test(e[n]);)n++},i=l=>{n++;let d="";for(;n<e.length&&e[n]!==l;)e[n]==="\\"?(n++,n<e.length&&(d+=e[n])):d+=e[n],n++;return n++,d},s=()=>{if(o(),e[n]==="'"||e[n]==='"')return i(e[n]);let l="";if(e[n]==="["){let d=0;for(;n<e.length&&(e[n]==="["&&d++,e[n]==="]"&&d--,l+=e[n],n++,d!==0););return l}for(;n<e.length&&/[\w$@\-.]/.test(e[n]);)l+=e[n],n++;return l},c=()=>{o();let l=e[n];if(l==="'"||l==='"')return i(l);if(l==="{")return $();if(l==="[")return y();let d="";for(;n<e.length&&/[\w.\-+]/.test(e[n]);)d+=e[n],n++;if(d==="true")return!0;if(d==="false")return!1;if(d==="null")return null;let w=Number(d);return!Number.isNaN(w)&&d!==""?w:d},y=()=>{n++;let l=[];for(o();n<e.length&&e[n]!=="]";)l.push(c()),o(),e[n]===","&&n++,o();return n++,l},$=()=>{n++;let l={};for(o();n<e.length&&e[n]!=="}";){let d=s();o(),e[n]===":"&&n++;let w=c();l[d]=w,o(),e[n]===","&&n++,o()}return n++,l};return o(),$()}function G(t){let r=t.getAttribute("sz");if(!r)return;let e=t.dataset;if(e.szProcessed===void 0){e.szProcessed="";try{let n=We(r),o=window.__SZ_MANGLE_MAP__,{className:i}=f(n,"",o);i&&i.split(" ").forEach(s=>{s&&t.classList.add(s)})}catch(n){r.trim()&&!r.includes("{")?r.split(/\s+/).forEach(o=>{o&&t.classList.add(o)}):console.error("[csszyx] Parsing error:",r,n)}t.removeAttribute("sz"),delete e.szProcessed}}function at(){document.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G),document.body.classList.add("sz-ready")}function Me(t){t.hasAttribute("sz")&&G(t),t.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G)}var lt=new MutationObserver(t=>{for(let r of t)for(let e of r.addedNodes)e instanceof HTMLElement&&Me(e)});typeof window<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>{at(),lt.observe(document.body,{childList:!0,subtree:!0})}):(at(),lt.observe(document.body,{childList:!0,subtree:!0})));})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "csszyx",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "Universal CSS-in-JS for Tailwind CSS with WASM core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"dist"
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@csszyx/compiler": "0.14.
|
|
77
|
-
"@csszyx/dynamic": "0.14.
|
|
78
|
-
"@csszyx/
|
|
79
|
-
"@csszyx/
|
|
80
|
-
"@csszyx/core": "0.14.
|
|
81
|
-
"@csszyx/unplugin": "0.14.
|
|
76
|
+
"@csszyx/compiler": "0.14.4",
|
|
77
|
+
"@csszyx/dynamic": "0.14.4",
|
|
78
|
+
"@csszyx/types": "0.14.4",
|
|
79
|
+
"@csszyx/runtime": "0.14.4",
|
|
80
|
+
"@csszyx/core": "0.14.4",
|
|
81
|
+
"@csszyx/unplugin": "0.14.4"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"esbuild": "^0.28.2",
|