@cssxio/html 0.3.2 → 0.3.3

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.
@@ -1 +1 @@
1
- "use strict";var CSSX=(()=>{var Xr=new Set(["active","disabled","empty","enabled","even","first","focus","focus-visible","focus-within","hover","last","odd","open","required","target","visited"]),H=new Map([["sm",10],["md",20],["lg",30],["xl",40],["2xl",50],["dark",60],["motion-safe",65],["motion-reduce",65],["print",70]]),Fr=16384,X=32;function Y(e){if(e.length>Fr)throw new Error("CSSX utility list exceeds the 16 KiB limit.");let r=[],t=-1,o=0,i=0,n=0,l=!1;for(let a=0;a<e.length;a++){let c=e.charCodeAt(a);if(t===-1&&!Ce(c)&&(t=a),l){l=!1;continue}if(c===92){l=!0;continue}if(n){c===n&&(n=0);continue}if(c===34||c===39){n=c;continue}if(c===91&&o++,c===93&&o--,c===40&&i++,c===41&&i--,o<0||i<0||o>X||i>X)throw new Error(`Invalid utility list "${e}".`);if(Ce(c)&&o===0&&i===0){t!==-1&&r.push(e.slice(t,a)),t=-1;continue}}if(l||n||o!==0||i!==0)throw new Error(`Invalid utility list "${e}".`);return t!==-1&&r.push(e.slice(t)),r}function Ce(e){return Br.has(e)}var Br=new Set([9,10,11,12,13,32,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279]);function Z(e){if(!e||e.length>500)throw new Error(`Invalid utility "${e}".`);let r=qr(e,":"),o=r.pop(),i=!1,n=!1;if(o.startsWith("!")&&(i=!0,o=o.slice(1)),o.endsWith("!")){if(i)throw new Error(`Invalid utility "${e}".`);i=!0,o=o.slice(0,-1)}if(o.startsWith("-")&&(n=!0,o=o.slice(1)),!o||o.startsWith("!")||o.endsWith("!")||ze(o)||Ue(o))throw new Error(`Invalid utility "${e}".`);let l=Kr(r,e);return{raw:e,variants:l,utility:o,important:i,negative:n}}function Re(e){let r=e.variants.join(":");return e.important?r?`${r}!`:"!":r}function qr(e,r){let t=[],o="",i=0,n=0,l="",a=!1;for(let c of e){if(a){o+=c,a=!1;continue}if(c==="\\"){o+=c,a=!0;continue}if(l){o+=c,c===l&&(l="");continue}if(c==='"'||c==="'"){l=c,o+=c;continue}if(c==="["&&i++,c==="]"&&i--,c==="("&&n++,c===")"&&n--,i<0||n<0||i>X||n>X)throw new Error(`Invalid utility "${e}".`);if(c===r&&i===0&&n===0){if(!o)throw new Error(`Invalid utility "${e}".`);t.push(o),o="";continue}o+=c}if(a||l||i!==0||n!==0)throw new Error(`Invalid utility "${e}".`);if(!o)throw new Error(`Invalid utility "${e}".`);return t.push(o),t}function Kr(e,r){for(let o of e)if(!o||ze(o)||Ue(o))throw new Error(`Invalid utility "${r}".`);return e.every(o=>Xr.has(o)||H.has(o))?[...e].sort((o,i)=>{let n=H.get(o)??100,l=H.get(i)??100;return n-l||o.localeCompare(i)}):e}function ze(e){let r=0,t=0,o="",i=!1;for(let n of e){if(i){i=!1;continue}if(n==="\\"){i=!0;continue}if(o){n===o&&(o="");continue}if(n==='"'||n==="'"){o=n;continue}if(n==="["&&r++,n==="]"&&r--,n==="("&&t++,n===")"&&t--,r===0&&t===0&&(n===";"||n==="{"||n==="}"))return!0}return!1}function Ue(e){let r="",t=!1;for(let o of e){if(t){t=!1;continue}if(o==="\\"){t=!0;continue}if(r){o===r&&(r="");continue}if(o==='"'||o==="'"){r=o;continue}if(o===";"||o==="{"||o==="}")return!0}return!1}var Te={p:["p","px","py","pt","pr","pb","pl","ps","pe"],px:["px","pl","pr","ps","pe"],py:["py","pt","pb"],m:["m","mx","my","mt","mr","mb","ml","ms","me"],mx:["mx","ml","mr","ms","me"],my:["my","mt","mb"],inset:["inset","inset-x","inset-y","top","right","bottom","left","start","end"],"inset-x":["inset-x","left","right","start","end"],"inset-y":["inset-y","top","bottom"],size:["size","width","height"],gap:["gap","row-gap","column-gap"],border:["border","border-x","border-y","border-top","border-right","border-bottom","border-left","border-inline-start","border-inline-end"],"border-width":["border-width","border-x","border-y","border-top","border-right","border-bottom","border-left","border-inline-start","border-inline-end"],"border-x":["border-x","border-left","border-right","border-inline-start","border-inline-end"],"border-y":["border-y","border-top","border-bottom"]};var De={block:{group:"display"},"inline-block":{group:"display"},inline:{group:"display"},flex:{group:"display"},"inline-flex":{group:"display"},grid:{group:"display"},"inline-grid":{group:"display"},table:{group:"display"},"inline-table":{group:"display"},"flow-root":{group:"display"},contents:{group:"display"},"list-item":{group:"display"},"sr-only":{group:"sr-only"},"not-sr-only":{group:"sr-only"},hidden:{group:"display"},static:{group:"position"},fixed:{group:"position"},absolute:{group:"position"},relative:{group:"position"},sticky:{group:"position"},visible:{group:"visibility"},invisible:{group:"visibility"},collapse:{group:"visibility"},"box-border":{group:"box-sizing"},"box-content":{group:"box-sizing"},isolate:{group:"isolation"},"isolation-auto":{group:"isolation"},border:{group:"border-width"},"border-none":{group:"border-style"},"border-hidden":{group:"border-style"},"border-dotted":{group:"border-style"},"border-dashed":{group:"border-style"},"border-solid":{group:"border-style"},"border-double":{group:"border-style"},"divide-x":{group:"divide-x"},"divide-y":{group:"divide-y"},outline:{group:"outline-width"},"outline-none":{group:"outline-style"},"outline-hidden":{group:"outline-hidden"},"outline-solid":{group:"outline-style"},"outline-dashed":{group:"outline-style"},"outline-dotted":{group:"outline-style"},"outline-double":{group:"outline-style"},rounded:{group:"border-radius"},shadow:{group:"box-shadow"},transition:{group:"transition-property"},transform:{group:"transform"},"transform-none":{group:"transform"},"transition-none":{group:"transition-property"},"transition-normal":{group:"transition-behavior"},"transition-discrete":{group:"transition-behavior"},blur:{group:"blur"},grayscale:{group:"grayscale"},invert:{group:"invert"},sepia:{group:"sepia"},"drop-shadow":{group:"drop-shadow"},"overflow-auto":{group:"overflow"},"overflow-hidden":{group:"overflow"},"overflow-clip":{group:"overflow"},"overflow-visible":{group:"overflow"},"overflow-scroll":{group:"overflow"},container:{group:"container"},"flex-row":{group:"flex-direction"},"flex-row-reverse":{group:"flex-direction"},"flex-col":{group:"flex-direction"},"flex-col-reverse":{group:"flex-direction"},"flex-wrap":{group:"flex-wrap"},"flex-wrap-reverse":{group:"flex-wrap"},"flex-nowrap":{group:"flex-wrap"},"font-thin":{group:"font-weight"},"font-extralight":{group:"font-weight"},"font-light":{group:"font-weight"},"font-normal":{group:"font-weight"},"font-medium":{group:"font-weight"},"font-semibold":{group:"font-weight"},"font-bold":{group:"font-weight"},"font-extrabold":{group:"font-weight"},"font-black":{group:"font-weight"},antialiased:{group:"font-smoothing"},"subpixel-antialiased":{group:"font-smoothing"},"normal-nums":{group:"numeric-normal"},ordinal:{group:"numeric-ordinal"},"slashed-zero":{group:"numeric-slashed-zero"},"lining-nums":{group:"numeric-lining-nums"},"oldstyle-nums":{group:"numeric-oldstyle-nums"},"proportional-nums":{group:"numeric-proportional-nums"},"tabular-nums":{group:"numeric-tabular-nums"},"diagonal-fractions":{group:"numeric-diagonal-fractions"},"stacked-fractions":{group:"numeric-stacked-fractions"},italic:{group:"font-style"},"not-italic":{group:"font-style"},truncate:{group:"truncate"},uppercase:{group:"text-transform"},lowercase:{group:"text-transform"},capitalize:{group:"text-transform"},"normal-case":{group:"text-transform"},underline:{group:"text-decoration-line"},overline:{group:"text-decoration-line"},"line-through":{group:"text-decoration-line"},"no-underline":{group:"text-decoration-line"},"pointer-events-none":{group:"pointer-events"},"pointer-events-auto":{group:"pointer-events"},"select-none":{group:"user-select"},"select-text":{group:"user-select"},"select-all":{group:"user-select"},"select-auto":{group:"user-select"},"appearance-none":{group:"appearance"},"appearance-auto":{group:"appearance"},"field-sizing-content":{group:"field-sizing"},"resize-none":{group:"resize"},"resize-x":{group:"resize"},"resize-y":{group:"resize"},resize:{group:"resize"},"scroll-auto":{group:"scroll-behavior"},"scroll-smooth":{group:"scroll-behavior"},"scrollbar-auto":{group:"scrollbar-width"},"scrollbar-thin":{group:"scrollbar-width"},"scrollbar-none":{group:"scrollbar-width"},"scrollbar-gutter-auto":{group:"scrollbar-gutter"},"scrollbar-gutter-stable":{group:"scrollbar-gutter"},"scrollbar-gutter-both":{group:"scrollbar-gutter"},"border-collapse":{group:"border-collapse"},"border-separate":{group:"border-collapse"},"table-auto":{group:"table-layout"},"table-fixed":{group:"table-layout"},"caption-top":{group:"caption-side"},"caption-bottom":{group:"caption-side"},"snap-none":{group:"scroll-snap-type"},"snap-x":{group:"scroll-snap-type"},"snap-y":{group:"scroll-snap-type"},"snap-both":{group:"scroll-snap-type"},"snap-mandatory":{group:"scroll-snap-strictness"},"snap-proximity":{group:"scroll-snap-strictness"},"snap-normal":{group:"scroll-snap-stop"},"snap-always":{group:"scroll-snap-stop"},"snap-start":{group:"scroll-snap-align"},"snap-end":{group:"scroll-snap-align"},"snap-center":{group:"scroll-snap-align"},"snap-align-none":{group:"scroll-snap-align"},"forced-color-adjust-auto":{group:"forced-color-adjust"},"forced-color-adjust-none":{group:"forced-color-adjust"},"accent-auto":{group:"accent-color"},"caret-auto":{group:"caret-color"},"fill-none":{group:"fill"},"stroke-none":{group:"stroke"}};var Ee=[["content-visibility-","content-visibility"],["contain-intrinsic-inline-size-","contain-intrinsic-inline-size"],["contain-intrinsic-block-size-","contain-intrinsic-block-size"],["contain-intrinsic-size-","contain-intrinsic-size"],["contain-","contain"],["columns-","columns"],["break-before-","break-before"],["break-after-","break-after"],["break-inside-","break-inside"],["float-","float"],["clear-","clear"],["box-decoration-","box-decoration-break"],["line-clamp-","line-clamp"],["list-image-","list-style-image"],["list-","list-style-type"],["tab-","tab-size"],["whitespace-","white-space"],["hyphens-","hyphens"],["wrap-","overflow-wrap"],["table-","display"],["overflow-x-","overflow-x"],["overflow-y-","overflow-y"],["overscroll-x-","overscroll-x"],["overscroll-y-","overscroll-y"],["overscroll-","overscroll"],["object-","object"],["isolation-","isolation"],["z-","z-index"],["order-","order"],["col-span-","grid-column"],["col-start-","grid-column-start"],["col-end-","grid-column-end"],["row-span-","grid-row"],["row-start-","grid-row-start"],["row-end-","grid-row-end"],["grid-cols-","grid-template-columns"],["grid-rows-","grid-template-rows"],["grid-flow-","grid-auto-flow"],["auto-cols-","grid-auto-columns"],["auto-rows-","grid-auto-rows"],["place-content-","place-content"],["place-items-","place-items"],["place-self-","place-self"],["justify-items-","justify-items"],["justify-self-","justify-self"],["justify-","justify-content"],["items-","align-items"],["self-","align-self"],["content-","align-content"],["basis-","flex-basis"],["flex-","flex"],["grow","flex-grow"],["shrink","flex-shrink"],["aspect-","aspect-ratio"],["size-","size"],["min-inline-","min-inline-size"],["max-inline-","max-inline-size"],["inline-","inline-size"],["min-block-","min-block-size"],["max-block-","max-block-size"],["block-","block-size"],["min-w-","min-width"],["max-w-","max-width"],["min-h-","min-height"],["max-h-","max-height"],["w-","width"],["h-","height"],["inset-x-","inset-x"],["inset-y-","inset-y"],["inset-s-","start"],["inset-e-","end"],["inset-","inset"],["start-","inset-inline-start"],["end-","inset-inline-end"],["top-","top"],["right-","right"],["bottom-","bottom"],["left-","left"],["space-x-","space-x"],["space-y-","space-y"],["placeholder-","placeholder-color"],["underline-offset-","text-underline-offset"],["decoration-","text-decoration-thickness"],["divide-x-","divide-x"],["divide-y-","divide-y"],["divide-","divide-color"],["outline-offset-","outline-offset"],["outline-","outline-width"],["gap-x-","column-gap"],["gap-y-","row-gap"],["gap-","gap"],["scroll-mx-","scroll-margin-x"],["scroll-my-","scroll-margin-y"],["scroll-mt-","scroll-margin-top"],["scroll-mr-","scroll-margin-right"],["scroll-mb-","scroll-margin-bottom"],["scroll-ml-","scroll-margin-left"],["scroll-m-","scroll-margin"],["scroll-px-","scroll-padding-x"],["scroll-py-","scroll-padding-y"],["scroll-pt-","scroll-padding-top"],["scroll-pr-","scroll-padding-right"],["scroll-pb-","scroll-padding-bottom"],["scroll-pl-","scroll-padding-left"],["scroll-p-","scroll-padding"],["mx-","mx"],["my-","my"],["ms-","ms"],["me-","me"],["mt-","mt"],["mr-","mr"],["mb-","mb"],["ml-","ml"],["m-","m"],["px-","px"],["py-","py"],["ps-","ps"],["pe-","pe"],["pt-","pt"],["pr-","pr"],["pb-","pb"],["pl-","pl"],["p-","p"],["font-synthesis-","font-synthesis"],["font-optical-","font-optical-sizing"],["font-kerning-","font-kerning"],["font-","font-family"],["text-combine-upright-","text-combine-upright"],["text-orientation-","text-orientation"],["text-","text"],["leading-","line-height"],["tracking-","letter-spacing"],["indent-","text-indent"],["align-","vertical-align"],["whitespace-","white-space"],["break-","word-break"],["hyphens-","hyphens"],["bg-linear-to-","background-image"],["bg-linear-","background-image"],["bg-","background"],["accent-","accent-color"],["caret-","caret-color"],["stroke-miterlimit-","stroke-miterlimit"],["stroke-dasharray-","stroke-dasharray"],["stroke-dashoffset-","stroke-dashoffset"],["stroke-cap-","stroke-linecap"],["stroke-join-","stroke-linejoin"],["fill-rule-","fill-rule"],["clip-rule-","clip-rule"],["vector-effect-","vector-effect"],["paint-order-","paint-order"],["shape-rendering-","shape-rendering"],["fill-","fill"],["stroke-","stroke"],["scrollbar-thumb-","scrollbar-thumb"],["scrollbar-track-","scrollbar-track"],["scheme-","color-scheme"],["mask-","mask-image"],["from-","gradient-from"],["via-","gradient-via"],["to-","gradient-to"],["rounded-","border-radius"],["border-spacing-","border-spacing"],["border-x-","border-x"],["border-y-","border-y"],["border-s-","border-inline-start"],["border-e-","border-inline-end"],["border-t-","border-top"],["border-r-","border-right"],["border-b-","border-bottom"],["border-l-","border-left"],["border-","border"],["outline-","outline"],["ring-offset-","ring-offset"],["ring-","ring"],["shadow-","box-shadow"],["opacity-","opacity"],["mix-blend-","mix-blend-mode"],["bg-blend-","background-blend-mode"],["filter-","filter"],["blur-","blur"],["brightness-","brightness"],["contrast-","contrast"],["drop-shadow-","drop-shadow"],["grayscale-","grayscale"],["hue-rotate-","hue-rotate"],["invert-","invert"],["saturate-","saturate"],["sepia-","sepia"],["backdrop-","backdrop-filter"],["animation-name-","animation-name"],["animation-composition-","animation-composition"],["animation-timeline-","animation-timeline"],["animation-range-start-","animation-range-start"],["animation-range-end-","animation-range-end"],["animation-range-","animation-range"],["animation-duration-","animation-duration"],["animation-delay-","animation-delay"],["animation-ease-","animation-timing-function"],["animation-iterations-","animation-iteration-count"],["animation-direction-","animation-direction"],["animation-fill-","animation-fill-mode"],["animation-","animation-play-state"],["writing-","writing-mode"],["unicode-bidi-","unicode-bidi"],["image-render-","image-rendering"],["transition-","transition-property"],["duration-","transition-duration"],["delay-","transition-delay"],["ease-","transition-timing-function"],["animate-","animation"],["stagger-index-","stagger-index"],["stagger-count-","stagger-count"],["stagger-reverse","stagger-reverse"],["stagger-","stagger"],["scroll-timeline-name-","scroll-timeline-name"],["scroll-timeline-axis-","scroll-timeline-axis"],["view-timeline-name-","view-timeline-name"],["view-timeline-axis-","view-timeline-axis"],["view-timeline-inset-","view-timeline-inset"],["timeline-scope-","timeline-scope"],["view-transition-name-","view-transition-name"],["view-transition-class-","view-transition-class"],["origin-","transform-origin"],["scale-x-","scale-x"],["scale-y-","scale-y"],["scale-","scale"],["rotate-","rotate"],["translate-x-","translate-x"],["translate-y-","translate-y"],["skew-x-","skew-x"],["skew-y-","skew-y"],["cursor-","cursor"],["touch-","touch-action"],["will-change-","will-change"]];function We(e){let r=e.utility,t=Hr(r);return t?{scope:Re(e),group:t,conflicts:Te[t]??[t]}:null}function Hr(e){if(e.startsWith("[")&&e.endsWith("]"))return Yr(e);let r=De[e];if(r)return r.group;for(let[t,o]of Ee)if(e.startsWith(t))return Zr(t,o,e);return null}function Yr(e){let r=e.slice(1,-1).split(":",1)[0]?.trim().toLowerCase();return!r||!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(r)?null:`arbitrary..${r}`}function Zr(e,r,t){if(e==="border-")return J(t.slice(e.length))?"border-color":r;if(e==="outline-")return J(t.slice(e.length))?"outline-color":r;if(e==="decoration-"){let i=t.slice(e.length);return/^(solid|double|dotted|dashed|wavy)$/.test(i)?"text-decoration-style":J(i)?"text-decoration-color":r}if(e!=="text-")return r;let o=t.slice(e.length);return/^(xs|sm|base|lg|xl|\d+xl)$/.test(o)||o.startsWith("[")&&o.endsWith("]")&&Jr(o.slice(1,-1))?"font-size":/^(left|center|right|justify|start|end)$/.test(o)?"text-align":/^(ellipsis|clip|wrap|nowrap|balance|pretty)$/.test(o)?"text-overflow":"text-color"}function J(e){let r=e.split("/",1)[0];return r.startsWith("[")||/^(?:transparent|current|black|white|[a-z-]+-\d{1,3})$/i.test(r)}function Jr(e){let r=e.replace(/^(?:length|size):/,"");return/^-?(?:\d+(?:\.\d+)?)(?:px|rem|em|ch|ex|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc)$/i.test(r)||r.startsWith("calc(")}var Ae={"--color-red-50":"oklch(97.13% 0.013 17.38)","--color-red-100":"oklch(93.63% 0.032 17.717)","--color-red-200":"oklch(88.49% 0.062 18.334)","--color-red-300":"oklch(80.82% 0.114 19.571)","--color-red-400":"oklch(70.37% 0.191 22.216)","--color-red-500":"oklch(63.71% 0.237 25.331)","--color-red-600":"oklch(57.68% 0.245 27.325)","--color-red-700":"oklch(50.53% 0.213 27.518)","--color-red-800":"oklch(44.39% 0.177 26.899)","--color-red-900":"oklch(39.62% 0.141 25.723)","--color-red-950":"oklch(25.79% 0.092 26.042)","--color-orange-50":"oklch(97.97% 0.016 73.684)","--color-orange-100":"oklch(95.38% 0.038 75.164)","--color-orange-200":"oklch(90.11% 0.076 70.697)","--color-orange-300":"oklch(83.67% 0.128 66.29)","--color-orange-400":"oklch(75.02% 0.183 55.934)","--color-orange-500":"oklch(70.49% 0.213 47.604)","--color-orange-600":"oklch(64.63% 0.222 41.116)","--color-orange-700":"oklch(55.28% 0.195 38.402)","--color-orange-800":"oklch(47.01% 0.157 37.304)","--color-orange-900":"oklch(40.77% 0.123 38.172)","--color-orange-950":"oklch(26.61% 0.079 36.259)","--color-amber-50":"oklch(98.72% 0.022 95.277)","--color-amber-100":"oklch(96.23% 0.059 95.617)","--color-amber-200":"oklch(92.39% 0.12 95.746)","--color-amber-300":"oklch(87.92% 0.169 91.605)","--color-amber-400":"oklch(82.77% 0.189 84.429)","--color-amber-500":"oklch(76.91% 0.188 70.08)","--color-amber-600":"oklch(66.58% 0.179 58.318)","--color-amber-700":"oklch(55.53% 0.163 48.998)","--color-amber-800":"oklch(47.29% 0.137 46.201)","--color-amber-900":"oklch(41.42% 0.112 45.904)","--color-amber-950":"oklch(27.89% 0.077 45.635)","--color-yellow-50":"oklch(98.67% 0.026 102.212)","--color-yellow-100":"oklch(97.27% 0.071 103.193)","--color-yellow-200":"oklch(94.51% 0.129 101.54)","--color-yellow-300":"oklch(90.48% 0.182 98.111)","--color-yellow-400":"oklch(85.23% 0.199 91.936)","--color-yellow-500":"oklch(79.49% 0.184 86.047)","--color-yellow-600":"oklch(68.12% 0.162 75.834)","--color-yellow-700":"oklch(55.37% 0.135 66.442)","--color-yellow-800":"oklch(47.61% 0.114 61.907)","--color-yellow-900":"oklch(42.08% 0.095 57.708)","--color-yellow-950":"oklch(28.61% 0.066 53.813)","--color-lime-50":"oklch(98.62% 0.031 120.757)","--color-lime-100":"oklch(96.73% 0.067 122.328)","--color-lime-200":"oklch(93.79% 0.127 124.321)","--color-lime-300":"oklch(89.72% 0.196 126.665)","--color-lime-400":"oklch(84.07% 0.238 128.85)","--color-lime-500":"oklch(76.81% 0.233 130.85)","--color-lime-600":"oklch(64.78% 0.2 131.684)","--color-lime-700":"oklch(53.23% 0.157 131.589)","--color-lime-800":"oklch(45.29% 0.124 130.933)","--color-lime-900":"oklch(40.52% 0.101 131.063)","--color-lime-950":"oklch(27.39% 0.072 132.109)","--color-green-50":"oklch(98.23% 0.018 155.826)","--color-green-100":"oklch(96.21% 0.044 156.743)","--color-green-200":"oklch(92.48% 0.084 155.995)","--color-green-300":"oklch(87.13% 0.15 154.449)","--color-green-400":"oklch(79.19% 0.209 151.711)","--color-green-500":"oklch(72.32% 0.219 149.579)","--color-green-600":"oklch(62.67% 0.194 149.214)","--color-green-700":"oklch(52.71% 0.154 150.069)","--color-green-800":"oklch(44.78% 0.119 151.328)","--color-green-900":"oklch(39.33% 0.095 152.535)","--color-green-950":"oklch(26.58% 0.065 152.934)","--color-emerald-50":"oklch(97.87% 0.021 166.113)","--color-emerald-100":"oklch(94.97% 0.052 163.051)","--color-emerald-200":"oklch(90.51% 0.093 164.15)","--color-emerald-300":"oklch(84.48% 0.143 164.978)","--color-emerald-400":"oklch(76.53% 0.177 163.223)","--color-emerald-500":"oklch(69.59% 0.17 162.48)","--color-emerald-600":"oklch(59.62% 0.145 163.225)","--color-emerald-700":"oklch(50.77% 0.118 165.612)","--color-emerald-800":"oklch(43.21% 0.095 166.913)","--color-emerald-900":"oklch(37.78% 0.077 168.94)","--color-emerald-950":"oklch(26.21% 0.051 172.552)","--color-teal-50":"oklch(98.37% 0.014 180.72)","--color-teal-100":"oklch(95.27% 0.051 180.801)","--color-teal-200":"oklch(91.01% 0.096 180.426)","--color-teal-300":"oklch(85.48% 0.138 181.071)","--color-teal-400":"oklch(77.73% 0.152 181.912)","--color-teal-500":"oklch(70.39% 0.14 182.503)","--color-teal-600":"oklch(60.02% 0.118 184.704)","--color-teal-700":"oklch(51.07% 0.096 186.391)","--color-teal-800":"oklch(43.71% 0.078 188.216)","--color-teal-900":"oklch(38.58% 0.063 188.416)","--color-teal-950":"oklch(27.71% 0.046 192.524)","--color-cyan-50":"oklch(98.42% 0.019 200.873)","--color-cyan-100":"oklch(95.61% 0.045 203.388)","--color-cyan-200":"oklch(91.67% 0.08 205.041)","--color-cyan-300":"oklch(86.52% 0.127 207.078)","--color-cyan-400":"oklch(78.89% 0.154 211.53)","--color-cyan-500":"oklch(71.53% 0.143 215.221)","--color-cyan-600":"oklch(60.88% 0.126 221.723)","--color-cyan-700":"oklch(52.01% 0.105 223.128)","--color-cyan-800":"oklch(44.97% 0.085 224.283)","--color-cyan-900":"oklch(39.82% 0.07 227.392)","--color-cyan-950":"oklch(30.17% 0.056 229.695)","--color-sky-50":"oklch(97.72% 0.013 236.62)","--color-sky-100":"oklch(95.12% 0.026 236.824)","--color-sky-200":"oklch(90.09% 0.058 230.902)","--color-sky-300":"oklch(82.83% 0.111 230.318)","--color-sky-400":"oklch(74.58% 0.16 232.661)","--color-sky-500":"oklch(68.51% 0.169 237.323)","--color-sky-600":"oklch(58.77% 0.158 241.966)","--color-sky-700":"oklch(50.02% 0.134 242.749)","--color-sky-800":"oklch(44.29% 0.11 240.79)","--color-sky-900":"oklch(39.13% 0.09 240.876)","--color-sky-950":"oklch(29.29% 0.066 243.157)","--color-blue-50":"oklch(96.98% 0.014 254.604)","--color-blue-100":"oklch(93.19% 0.032 255.585)","--color-blue-200":"oklch(88.23% 0.059 254.128)","--color-blue-300":"oklch(80.88% 0.105 251.813)","--color-blue-400":"oklch(70.71% 0.165 254.624)","--color-blue-500":"oklch(62.27% 0.214 259.815)","--color-blue-600":"oklch(54.62% 0.245 262.881)","--color-blue-700":"oklch(48.79% 0.243 264.376)","--color-blue-800":"oklch(42.43% 0.199 265.638)","--color-blue-900":"oklch(37.88% 0.146 265.522)","--color-blue-950":"oklch(28.23% 0.091 267.935)","--color-indigo-50":"oklch(96.17% 0.018 272.314)","--color-indigo-100":"oklch(92.97% 0.034 272.788)","--color-indigo-200":"oklch(87.01% 0.065 274.039)","--color-indigo-300":"oklch(78.48% 0.115 274.713)","--color-indigo-400":"oklch(67.33% 0.182 276.935)","--color-indigo-500":"oklch(58.49% 0.233 277.117)","--color-indigo-600":"oklch(51.12% 0.262 276.966)","--color-indigo-700":"oklch(45.67% 0.24 277.023)","--color-indigo-800":"oklch(39.81% 0.195 277.366)","--color-indigo-900":"oklch(35.88% 0.144 278.697)","--color-indigo-950":"oklch(25.71% 0.09 281.288)","--color-violet-50":"oklch(96.92% 0.016 293.756)","--color-violet-100":"oklch(94.33% 0.029 294.588)","--color-violet-200":"oklch(89.38% 0.057 293.283)","--color-violet-300":"oklch(81.11% 0.111 293.571)","--color-violet-400":"oklch(70.17% 0.183 293.541)","--color-violet-500":"oklch(60.62% 0.25 292.717)","--color-violet-600":"oklch(54.09% 0.281 293.009)","--color-violet-700":"oklch(49.13% 0.27 292.581)","--color-violet-800":"oklch(43.18% 0.232 292.759)","--color-violet-900":"oklch(38.01% 0.189 293.745)","--color-violet-950":"oklch(28.28% 0.141 291.089)","--color-purple-50":"oklch(97.68% 0.014 308.299)","--color-purple-100":"oklch(94.59% 0.033 307.174)","--color-purple-200":"oklch(90.22% 0.063 306.703)","--color-purple-300":"oklch(82.67% 0.119 306.383)","--color-purple-400":"oklch(71.41% 0.203 305.504)","--color-purple-500":"oklch(62.68% 0.265 303.9)","--color-purple-600":"oklch(55.83% 0.288 302.321)","--color-purple-700":"oklch(49.59% 0.265 301.924)","--color-purple-800":"oklch(43.82% 0.218 303.724)","--color-purple-900":"oklch(38.07% 0.176 304.987)","--color-purple-950":"oklch(29.12% 0.149 302.717)","--color-fuchsia-50":"oklch(97.72% 0.017 320.058)","--color-fuchsia-100":"oklch(95.23% 0.037 318.852)","--color-fuchsia-200":"oklch(90.29% 0.076 319.62)","--color-fuchsia-300":"oklch(83.32% 0.145 321.434)","--color-fuchsia-400":"oklch(73.97% 0.238 322.16)","--color-fuchsia-500":"oklch(66.71% 0.295 322.15)","--color-fuchsia-600":"oklch(59.08% 0.293 322.896)","--color-fuchsia-700":"oklch(51.83% 0.253 323.949)","--color-fuchsia-800":"oklch(45.19% 0.211 324.591)","--color-fuchsia-900":"oklch(40.12% 0.17 325.612)","--color-fuchsia-950":"oklch(29.29% 0.136 325.661)","--color-pink-50":"oklch(97.08% 0.014 343.198)","--color-pink-100":"oklch(94.78% 0.028 342.258)","--color-pink-200":"oklch(89.91% 0.061 343.231)","--color-pink-300":"oklch(82.27% 0.12 346.018)","--color-pink-400":"oklch(71.82% 0.202 349.761)","--color-pink-500":"oklch(65.59% 0.241 354.308)","--color-pink-600":"oklch(59.23% 0.249 0.584)","--color-pink-700":"oklch(52.48% 0.223 3.958)","--color-pink-800":"oklch(45.91% 0.187 3.815)","--color-pink-900":"oklch(40.77% 0.153 2.432)","--color-pink-950":"oklch(28.41% 0.109 3.907)","--color-rose-50":"oklch(96.91% 0.015 12.422)","--color-rose-100":"oklch(94.13% 0.03 12.58)","--color-rose-200":"oklch(89.18% 0.058 10.001)","--color-rose-300":"oklch(81.01% 0.117 11.638)","--color-rose-400":"oklch(71.17% 0.194 13.428)","--color-rose-500":"oklch(64.52% 0.246 16.439)","--color-rose-600":"oklch(58.59% 0.253 17.585)","--color-rose-700":"oklch(51.43% 0.222 16.935)","--color-rose-800":"oklch(45.48% 0.188 13.697)","--color-rose-900":"oklch(41.01% 0.159 10.272)","--color-rose-950":"oklch(27.08% 0.105 12.094)","--color-slate-50":"oklch(98.42% 0.003 247.858)","--color-slate-100":"oklch(96.83% 0.007 247.896)","--color-slate-200":"oklch(92.88% 0.013 255.508)","--color-slate-300":"oklch(86.91% 0.022 252.894)","--color-slate-400":"oklch(70.37% 0.04 256.788)","--color-slate-500":"oklch(55.42% 0.046 257.417)","--color-slate-600":"oklch(44.59% 0.043 257.281)","--color-slate-700":"oklch(37.23% 0.044 257.287)","--color-slate-800":"oklch(27.88% 0.041 260.031)","--color-slate-900":"oklch(20.81% 0.042 265.755)","--color-slate-950":"oklch(12.88% 0.042 264.695)","--color-gray-50":"oklch(98.53% 0.002 247.839)","--color-gray-100":"oklch(96.72% 0.003 264.542)","--color-gray-200":"oklch(92.79% 0.006 264.531)","--color-gray-300":"oklch(87.23% 0.01 258.338)","--color-gray-400":"oklch(70.68% 0.022 261.325)","--color-gray-500":"oklch(55.11% 0.027 264.364)","--color-gray-600":"oklch(44.57% 0.03 256.802)","--color-gray-700":"oklch(37.32% 0.034 259.733)","--color-gray-800":"oklch(27.79% 0.033 256.848)","--color-gray-900":"oklch(21.03% 0.034 264.665)","--color-gray-950":"oklch(12.99% 0.028 261.692)","--color-zinc-50":"oklch(98.47% 0 none)","--color-zinc-100":"oklch(96.69% 0.001 286.375)","--color-zinc-200":"oklch(92.03% 0.004 286.32)","--color-zinc-300":"oklch(87.08% 0.006 286.286)","--color-zinc-400":"oklch(70.51% 0.015 286.067)","--color-zinc-500":"oklch(55.17% 0.016 285.938)","--color-zinc-600":"oklch(44.22% 0.017 285.786)","--color-zinc-700":"oklch(36.99% 0.013 285.805)","--color-zinc-800":"oklch(27.43% 0.006 286.033)","--color-zinc-900":"oklch(20.98% 0.006 285.885)","--color-zinc-950":"oklch(14.13% 0.005 285.823)","--color-neutral-50":"oklch(98.52% 0 none)","--color-neutral-100":"oklch(97.01% 0 none)","--color-neutral-200":"oklch(92.17% 0 none)","--color-neutral-300":"oklch(87.02% 0 none)","--color-neutral-400":"oklch(70.79% 0 none)","--color-neutral-500":"oklch(55.63% 0 none)","--color-neutral-600":"oklch(43.88% 0 none)","--color-neutral-700":"oklch(37.11% 0 none)","--color-neutral-800":"oklch(26.87% 0 none)","--color-neutral-900":"oklch(20.52% 0 none)","--color-neutral-950":"oklch(14.47% 0 none)","--color-stone-50":"oklch(98.53% 0.001 106.423)","--color-stone-100":"oklch(97.03% 0.001 106.424)","--color-stone-200":"oklch(92.29% 0.003 48.717)","--color-stone-300":"oklch(86.92% 0.005 56.366)","--color-stone-400":"oklch(70.87% 0.01 56.259)","--color-stone-500":"oklch(55.31% 0.013 58.071)","--color-stone-600":"oklch(44.38% 0.011 73.639)","--color-stone-700":"oklch(37.43% 0.01 67.558)","--color-stone-800":"oklch(26.79% 0.007 34.298)","--color-stone-900":"oklch(21.62% 0.006 56.043)","--color-stone-950":"oklch(14.69% 0.004 49.25)","--color-mauve-50":"oklch(98.49% 0 none)","--color-mauve-100":"oklch(95.98% 0.003 325.6)","--color-mauve-200":"oklch(92.23% 0.005 325.62)","--color-mauve-300":"oklch(86.49% 0.012 325.68)","--color-mauve-400":"oklch(71.12% 0.019 323.02)","--color-mauve-500":"oklch(54.17% 0.034 322.5)","--color-mauve-600":"oklch(43.51% 0.029 321.78)","--color-mauve-700":"oklch(36.38% 0.029 323.89)","--color-mauve-800":"oklch(26.33% 0.024 320.12)","--color-mauve-900":"oklch(21.19% 0.019 322.12)","--color-mauve-950":"oklch(14.53% 0.008 326)","--color-olive-50":"oklch(98.83% 0.003 106.5)","--color-olive-100":"oklch(96.63% 0.005 106.5)","--color-olive-200":"oklch(92.99% 0.007 106.5)","--color-olive-300":"oklch(88.02% 0.011 106.6)","--color-olive-400":"oklch(73.67% 0.021 106.9)","--color-olive-500":"oklch(58.01% 0.031 107.3)","--color-olive-600":"oklch(46.58% 0.025 107.3)","--color-olive-700":"oklch(39.43% 0.023 107.4)","--color-olive-800":"oklch(28.59% 0.016 107.4)","--color-olive-900":"oklch(22.82% 0.013 107.4)","--color-olive-950":"oklch(15.29% 0.006 107.1)","--color-mist-50":"oklch(98.73% 0.002 197.1)","--color-mist-100":"oklch(96.32% 0.002 197.1)","--color-mist-200":"oklch(92.49% 0.005 214.3)","--color-mist-300":"oklch(87.23% 0.007 219.6)","--color-mist-400":"oklch(72.28% 0.014 214.4)","--color-mist-500":"oklch(56.01% 0.021 213.5)","--color-mist-600":"oklch(44.97% 0.017 213.2)","--color-mist-700":"oklch(37.82% 0.015 216)","--color-mist-800":"oklch(27.49% 0.011 216.9)","--color-mist-900":"oklch(21.83% 0.008 223.9)","--color-mist-950":"oklch(14.79% 0.004 228.8)","--color-taupe-50":"oklch(98.63% 0.002 67.8)","--color-taupe-100":"oklch(96.02% 0.002 17.2)","--color-taupe-200":"oklch(92.17% 0.005 34.3)","--color-taupe-300":"oklch(86.81% 0.007 39.5)","--color-taupe-400":"oklch(71.38% 0.014 41.2)","--color-taupe-500":"oklch(54.73% 0.021 43.1)","--color-taupe-600":"oklch(43.79% 0.017 39.3)","--color-taupe-700":"oklch(36.72% 0.016 35.7)","--color-taupe-800":"oklch(26.77% 0.011 36.5)","--color-taupe-900":"oklch(21.41% 0.009 43.1)","--color-taupe-950":"oklch(14.67% 0.004 49.3)","--color-blue-gray-50":"oklch(95.01% 0.004 236.498)","--color-blue-gray-100":"oklch(87.64% 0.011 225.999)","--color-blue-gray-200":"oklch(79.30% 0.018 229.071)","--color-blue-gray-300":"oklch(70.61% 0.027 229.306)","--color-blue-gray-400":"oklch(63.89% 0.033 229.545)","--color-blue-gray-500":"oklch(57.22% 0.040 229.025)","--color-blue-gray-600":"oklch(52.24% 0.036 227.881)","--color-blue-gray-700":"oklch(45.40% 0.030 228.623)","--color-blue-gray-800":"oklch(38.75% 0.025 229.789)","--color-blue-gray-900":"oklch(30.84% 0.019 229.784)","--color-blue-gray-950":"oklch(23.03% 0.014 229.775)","--color-brown-50":"oklch(94.24% 0.005 48.684)","--color-brown-100":"oklch(85.29% 0.013 41.187)","--color-brown-200":"oklch(75.19% 0.023 39.348)","--color-brown-300":"oklch(64.68% 0.033 40.796)","--color-brown-400":"oklch(56.57% 0.043 40.432)","--color-brown-500":"oklch(48.43% 0.053 40.694)","--color-brown-600":"oklch(44.98% 0.049 39.211)","--color-brown-700":"oklch(40.14% 0.044 37.959)","--color-brown-800":"oklch(35.39% 0.039 33.474)","--color-brown-900":"oklch(29.97% 0.036 30.204)","--color-brown-950":"oklch(24.65% 0.032 26.239)","--color-deep-orange-50":"oklch(94.81% 0.020 25.173)","--color-deep-orange-100":"oklch(88.60% 0.062 38.131)","--color-deep-orange-200":"oklch(81.68% 0.106 37.938)","--color-deep-orange-300":"oklch(75.48% 0.151 38.258)","--color-deep-orange-400":"oklch(71.21% 0.185 37.768)","--color-deep-orange-500":"oklch(67.93% 0.213 36.532)","--color-deep-orange-600":"oklch(65.45% 0.208 36.327)","--color-deep-orange-700":"oklch(62.43% 0.200 36.191)","--color-deep-orange-800":"oklch(59.29% 0.193 35.896)","--color-deep-orange-900":"oklch(53.65% 0.180 35.371)","--color-deep-orange-950":"oklch(47.94% 0.167 34.765)","--color-light-green-50":"oklch(96.97% 0.021 127.381)","--color-light-green-100":"oklch(92.37% 0.052 127.543)","--color-light-green-200":"oklch(87.45% 0.085 128.378)","--color-light-green-300":"oklch(82.50% 0.118 129.001)","--color-light-green-400":"oklch(78.88% 0.143 129.766)","--color-light-green-500":"oklch(75.34% 0.163 130.502)","--color-light-green-600":"oklch(70.52% 0.155 131.384)","--color-light-green-700":"oklch(64.22% 0.147 133.015)","--color-light-green-800":"oklch(57.92% 0.137 134.665)","--color-light-green-900":"oklch(46.64% 0.121 138.274)","--color-light-green-950":"oklch(35.47% 0.107 142.904)","--color-light-blue-50":"oklch(95.82% 0.024 226.470)","--color-light-blue-100":"oklch(89.50% 0.060 227.768)","--color-light-blue-200":"oklch(83.07% 0.097 229.091)","--color-light-blue-300":"oklch(77.28% 0.127 231.115)","--color-light-blue-400":"oklch(73.34% 0.145 234.615)","--color-light-blue-500":"oklch(69.92% 0.157 238.994)","--color-light-blue-600":"oklch(65.84% 0.152 240.754)","--color-light-blue-700":"oklch(60.32% 0.147 243.459)","--color-light-blue-800":"oklch(55.07% 0.139 245.433)","--color-light-blue-900":"oklch(45.22% 0.131 251.008)","--color-light-blue-950":"oklch(35.31% 0.124 257.277)","--color-deep-purple-50":"oklch(93.71% 0.021 304.024)","--color-deep-purple-100":"oklch(84.28% 0.053 301.289)","--color-deep-purple-200":"oklch(73.71% 0.091 300.462)","--color-deep-purple-300":"oklch(63.00% 0.132 299.358)","--color-deep-purple-400":"oklch(54.94% 0.162 297.661)","--color-deep-purple-500":"oklch(47.44% 0.186 294.782)","--color-deep-purple-600":"oklch(45.29% 0.185 292.630)","--color-deep-purple-700":"oklch(42.16% 0.183 289.492)","--color-deep-purple-800":"oklch(39.43% 0.181 286.039)","--color-deep-purple-900":"oklch(34.76% 0.179 280.108)","--color-deep-purple-950":"oklch(30.00% 0.178 274.080)"};var Q={...Ae,"--spacing":"0.25rem","--breakpoint-xs":"30rem","--breakpoint-sm":"40rem","--breakpoint-md":"48rem","--breakpoint-lg":"64rem","--breakpoint-xl":"80rem","--breakpoint-2xl":"96rem","--color-black":"#000","--color-white":"#fff","--color-transparent":"transparent","--color-gray-50":"#f9fafb","--color-gray-100":"#f3f4f6","--color-gray-200":"#e5e7eb","--color-gray-300":"#d1d5db","--color-gray-400":"#9ca3af","--color-gray-500":"#6b7280","--color-gray-600":"#4b5563","--color-gray-700":"#374151","--color-gray-800":"#1f2937","--color-gray-900":"#111827","--color-red-50":"#fef2f2","--color-red-100":"#fee2e2","--color-red-200":"#fecaca","--color-red-300":"#fca5a5","--color-red-400":"#f87171","--color-red-500":"#ef4444","--color-red-600":"#dc2626","--color-red-700":"#b91c1c","--color-red-800":"#991b1b","--color-red-900":"#7f1d1d","--color-blue-50":"#eff6ff","--color-blue-100":"#dbeafe","--color-blue-200":"#bfdbfe","--color-blue-300":"#93c5fd","--color-blue-400":"#60a5fa","--color-blue-500":"#3b82f6","--color-blue-600":"#2563eb","--color-blue-700":"#1d4ed8","--color-blue-800":"#1e40af","--color-blue-900":"#1e3a8a","--color-green-500":"#22c55e","--color-yellow-500":"#eab308","--color-purple-500":"#a855f7","--duration-instant":"0ms","--duration-fast":"100ms","--duration-normal":"200ms","--duration-slow":"300ms","--duration-slower":"500ms","--delay-none":"0ms","--delay-short":"75ms","--delay-normal":"150ms","--delay-long":"300ms","--ease-standard":"cubic-bezier(.4, 0, .2, 1)","--ease-expressive":"cubic-bezier(.2, .8, .2, 1)","--ease-spring-snappy":"linear(0, 0.0962 6.25%, 0.3058 12.5%, 0.54 18.75%, 0.7469 25%, 0.9032 31.25%, 1.0051 37.5%, 1.06 43.75%, 1.0801 50%, 1.078 56.25%, 1.0642 62.5%, 1.0466 68.75%, 1.03 75%, 1.0167 81.25%, 1.0076 87.5%, 1.0023 93.75%, 1)","--ease-spring-gentle":"linear(0, 0.0594 5%, 0.1857 10%, 0.3294 15%, 0.4659 20%, 0.5849 25%, 0.6833 30%, 0.762 35%, 0.8234 40%, 0.8704 45%, 0.9059 50%, 0.9324 55%, 0.952 60%, 0.9664 65%, 0.9768 70%, 0.9844 75%, 0.9899 80%, 0.9938 85%, 0.9966 90%, 0.9986 95%, 1)","--ease-spring-bouncy":"linear(0, 0.0922 4%, 0.3092 8%, 0.5705 12%, 0.8157 16%, 1.0078 20%, 1.1318 24%, 1.1895 28%, 1.1937 32%, 1.162 36%, 1.1122 40%, 1.0591 44%, 1.0131 48%, 0.9797 52%, 0.9604 56%, 0.9536 60%, 0.9563 64%, 0.9648 68%, 0.9755 72%, 0.9859 76%, 0.9943 80%, 0.9999 84%, 1.0027 88%, 1.0031 92%, 1.002 96%, 1)","--ease-spring-soft":"linear(0, 0.0436 4%, 0.1414 8%, 0.2597 12%, 0.3793 16%, 0.4901 20%, 0.5878 24%, 0.6709 28%, 0.74 32%, 0.7964 36%, 0.8418 40%, 0.878 44%, 0.9065 48%, 0.9288 52%, 0.9461 56%, 0.9595 60%, 0.9698 64%, 0.9778 68%, 0.9838 72%, 0.9884 76%, 0.9919 80%, 0.9945 84%, 0.9965 88%, 0.998 92%, 0.9992 96%, 1)","--stagger-tight":"40ms","--stagger-normal":"75ms","--stagger-relaxed":"120ms","--animate-spin":"spin 1s linear infinite","--animate-ping":"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite","--animate-pulse":"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite","--animate-bounce":"bounce 1s infinite","--animate-fade-in":"fade-in 200ms cubic-bezier(0, 0, .2, 1) both","--animate-fade-out":"fade-out 150ms cubic-bezier(.4, 0, 1, 1) both","--animate-slide-in-up":"slide-in-up 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-down":"slide-in-down 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-left":"slide-in-left 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-right":"slide-in-right 200ms cubic-bezier(0, 0, .2, 1) both","--animate-scale-in":"scale-in 200ms cubic-bezier(0, 0, .2, 1) both","--animate-scale-out":"scale-out 150ms cubic-bezier(.4, 0, 1, 1) both","--animate-shimmer":"shimmer 2s linear infinite"},ee={spin:"@keyframes spin{to{rotate:360deg;}}",ping:"@keyframes ping{75%,100%{scale:2;opacity:0;}}",pulse:"@keyframes pulse{50%{opacity:.5;}}",bounce:"@keyframes bounce{0%,100%{translate:0 -25%;animation-timing-function:cubic-bezier(.8,0,1,1);}50%{translate:0 0;animation-timing-function:cubic-bezier(0,0,.2,1);}}","fade-in":"@keyframes fade-in{from{opacity:0;}to{opacity:1;}}","fade-out":"@keyframes fade-out{from{opacity:1;}to{opacity:0;}}","slide-in-up":"@keyframes slide-in-up{from{translate:0 1rem;}to{translate:0 0;}}","slide-in-down":"@keyframes slide-in-down{from{translate:0 -1rem;}to{translate:0 0;}}","slide-in-left":"@keyframes slide-in-left{from{translate:-1rem 0;}to{translate:0 0;}}","slide-in-right":"@keyframes slide-in-right{from{translate:1rem 0;}to{translate:0 0;}}","scale-in":"@keyframes scale-in{from{scale:.95;opacity:0;}to{scale:1;opacity:1;}}","scale-out":"@keyframes scale-out{from{scale:1;opacity:1;}to{scale:.95;opacity:0;}}",shimmer:"@keyframes shimmer{from{background-position:200% 0;}to{background-position:-200% 0;}}"};var Qr=131072,et=Object.freeze({tokens:Object.freeze({...Q}),keyframes:Object.freeze({...ee}),mode:"inline",prefix:""});function M(e=""){if(e.length>Qr)throw new Error("CSSX theme input exceeds the 128 KiB limit.");if(!e.trim())return et;let r={...Q},t={...ee},o="inline",i="",n,l=0;for(;l<e.length&&(l=I(e,l),!(l>=e.length));){if(!e.startsWith("@theme",l))throw new Error("CSSX theme input only accepts @theme blocks.");l+=6,l=I(e,l);let a=rt(e,l);if(a){let m=`${a.mode}:${a.prefix}`;if(n!==void 0&&n!==m)throw new Error("CSSX theme blocks cannot use conflicting output modes or prefixes.");n=m,o=a.mode,i=a.prefix,l=I(e,a.end)}if(e[l]!=="{")throw new Error('Expected "{" after @theme.');let c=ne(e,l),u=tt(c.content,t);it(u,r),l=c.end}return Object.freeze({tokens:Object.freeze(r),keyframes:Object.freeze(t),mode:o,prefix:i})}function rt(e,r){let t=/^(default|inline|reference|static)\b/.exec(e.slice(r));if(t)return{mode:t[1]==="reference"||t[1]==="static"?t[1]:"inline",prefix:"",end:r+t[0].length};let o=/^prefix\(([a-z_][a-z0-9_-]*)\)/i.exec(e.slice(r));return o?{mode:"reference",prefix:o[1],end:r+o[0].length}:null}function tt(e,r){let t="",o=0;for(;o<e.length;){if(e.startsWith("@keyframes",o)){o+=10,o=I(e,o);let i=o;for(;/[a-z0-9_-]/i.test(e[o]);)o++;let n=e.slice(i,o);if(!/^[a-z_][a-z0-9_-]*$/i.test(n))throw new Error("Invalid CSSX @keyframes name.");if(o=I(e,o),e[o]!=="{")throw new Error(`Expected "{" after @keyframes ${n}.`);let l=ne(e,o);ot(l.content,n),r[n]=`@keyframes ${n}{${l.content}}`,o=l.end;continue}t+=e[o],o++}return t}function ot(e,r){let t=0;for(;t<e.length;){if(t=I(e,t),t>=e.length)return;let o=t;for(;e[t]!=="{"&&t<e.length;)t++;let i=e.slice(o,t).trim();if(!i||!i.split(",").every(l=>/^(from|to|\d{1,3}(?:\.\d+)?%)$/.test(l.trim())))throw new Error(`Invalid CSSX @keyframes selector in ${r}.`);if(e[t]!=="{")throw new Error(`Unterminated CSSX @keyframes ${r}.`);let n=ne(e,t);for(let l of Ie(n.content)){let a=l.indexOf(":"),c=l.slice(0,a).trim(),u=l.slice(a+1).trim();if(a===-1||!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(c)||!u||/[{};]/.test(u))throw new Error(`Invalid CSSX @keyframes declaration in ${r}.`)}t=n.end}}function U(e,r){let t=W(e,r);if(t!==void 0)return e.mode==="inline"?t:`var(${oe(e,r)})`}function W(e,r){let t=e.tokens[r];if(!(t===void 0||t==="initial"))return Oe(e.tokens,t,new Set([r]))}function re(e,r){if(e.mode==="inline")return"";let t=e.mode==="static"?Object.keys(e.tokens):nt(e,r);return t.length===0?"":`:root{${t.sort().map(o=>`${oe(e,o)}:${je(e,e.tokens[o])}`).join(";")}}`}function te(e,r){let t=e.keyframes[r];return t===void 0?void 0:je(e,t)}function nt(e,r){let t=e.prefix?`--${e.prefix}-`:"--",o=new Set,i=new RegExp(`var\\((${t.replace("-","\\-")}[a-z0-9_-]+)`,"gi");for(let n of r.matchAll(i)){let l=n[1],a=e.prefix?`--${l.slice(t.length)}`:l;_e(e,a,o)}return[...o]}function _e(e,r,t){if(!(t.has(r)||e.tokens[r]===void 0||e.tokens[r]==="initial")){t.add(r);for(let o of e.tokens[r].matchAll(/var\((--[a-z0-9_-]+)/gi))_e(e,o[1],t)}}function je(e,r){return r.replace(/var\((--[a-z0-9_-]+)/gi,(t,o)=>`var(${oe(e,o)}`)}function oe(e,r){return e.prefix?`--${e.prefix}-${r.slice(2)}`:r}function it(e,r){for(let t of Ie(e)){let o=t.indexOf(":");if(o===-1)throw new Error(`Invalid CSSX @theme declaration "${t}".`);let i=t.slice(0,o).trim(),n=t.slice(o+1).trim();if(i==="--*"||/^--[a-z0-9-]+-\*$/i.test(i)){if(n!=="initial")throw new Error(`CSSX theme namespace reset "${i}" must use initial.`);let l=i==="--*"?"--":i.slice(0,-1);for(let a of Object.keys(r))a.startsWith(l)&&delete r[a];continue}if(!/^--[a-z0-9-]+$/i.test(i)||!n||/[{};]/.test(n))throw new Error(`Invalid CSSX @theme declaration "${t}".`);r[i]=n}}function Oe(e,r,t){return r.replace(/var\((--[a-z0-9-]+)\)/gi,(o,i)=>{if(t.has(i))throw new Error(`Circular CSSX theme reference involving ${i}.`);let n=e[i];if(n===void 0||n==="initial")throw new Error(`Unknown CSSX theme token ${i}.`);return Oe(e,n,new Set([...t,i]))})}function Ie(e){let r=[],t="",o="",i=!1,n=0;for(let l of e){if(i){t+=l,i=!1;continue}if(l==="\\"){t+=l,i=!0;continue}if(o){t+=l,l===o&&(o="");continue}if(l==='"'||l==="'"){o=l,t+=l;continue}if(l==="("&&n++,l===")"&&n--,n<0)throw new Error("Invalid CSSX @theme declaration.");if(l===";"&&n===0){t.trim()&&r.push(t.trim()),t="";continue}t+=l}if(o||i||n!==0)throw new Error("Invalid CSSX @theme declaration.");return t.trim()&&r.push(t.trim()),r}function I(e,r){let t=r;for(;t<e.length;){if(/\s/.test(e[t])){t++;continue}if(e.startsWith("/*",t)){let o=e.indexOf("*/",t+2);if(o===-1)throw new Error("Unterminated CSSX theme comment.");t=o+2;continue}break}return t}function ne(e,r){let t=0,o="",i=!1;for(let n=r;n<e.length;n++){let l=e[n];if(i){i=!1;continue}if(l==="\\"){i=!0;continue}if(o){l===o&&(o="");continue}if(l==='"'||l==="'"){o=l;continue}if(l==="{"&&t++,l==="}"&&t--,t===0)return{content:e.slice(r+1,n),end:n+1}}throw new Error("Unterminated CSSX @theme block.")}function V(e){return e.map(r=>({...r}))}function Me(e){let r=[];for(let t=0;t<e.length;t++){let o=e[t];if(o.selectorSuffix||o.semanticGroup){let i=[o];for(;e[t+1]?.selectorSuffix===o.selectorSuffix&&(o.selectorSuffix!==void 0||e[t+1]?.semanticGroup===o.semanticGroup);){let n=e[t+1];i.push(n),t++}r.push(i);continue}if(o.property==="--cssx-scale-x"&&e[t+1]?.property==="--cssx-scale-y"&&e[t+2]?.property==="scale"){let i=e[t+1],n=e[t+2];r.push([o,n],[i,n]),t+=2;continue}if(o.property==="--cssx-translate-x"||o.property==="--cssx-translate-y"||o.property==="--cssx-scale-x"||o.property==="--cssx-scale-y"||o.property==="--cssx-skew-x"||o.property==="--cssx-skew-y"){let i=e[t+1];if(i?.property==="translate"||i?.property==="scale"||i?.property==="transform"){r.push([o,i]),t++;continue}}r.push([o])}return r}function Ve(e){let r={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"};return e.startsWith("[")?e.slice(1,-1):r[e]??e}function Ne(e){return{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"}[e]??e}function ie(e,r){return e.startsWith("[")&&e.endsWith("]")?`${r?"-":""}${e.slice(1,-1)}`:/^\d+$/.test(e)?`${r?"-":""}${e}deg`:null}function Ge(e,r){if(e.startsWith("[")&&e.endsWith("]"))return`${r?"-":""}${e.slice(1,-1)}`;if(!/^\d+$/.test(e))return null;let t=Number(e)/100;return r?`-${t}`:String(t)}function Le(e,r){let t=lt(e);return t.hasNesting?t.nodes.map(o=>o.type==="nesting"?r:o.value).join(""):null}function lt(e){let r=[],t="",o=!1,i=()=>{t&&r.push({type:"text",value:t}),t=""};for(let n=0;n<e.length;n++){let l=e[n];if(l==="\\"){t+=`${l}${e[n+1]??""}`,n++;continue}if(l==="&"){i(),r.push({type:"nesting"}),o=!0;continue}if(l==="["){i();let a=at(e,n);r.push({type:"attribute",value:e.slice(n,a+1)}),n=a;continue}if(l==='"'||l==="'"){i();let a=Pe(e,n,l);r.push({type:"string",value:e.slice(n,a+1)}),n=a;continue}if(l==="/"&&e[n+1]==="*"){i();let a=e.indexOf("*/",n+2);if(a===-1)throw new Error("Invalid CSSX arbitrary selector comment.");r.push({type:"comment",value:e.slice(n,a+2)}),n=a+1;continue}t+=l}return i(),{nodes:r,hasNesting:o}}function at(e,r){let t=1;for(let o=r+1;o<e.length;o++){let i=e[o];if(i==="\\"){o++;continue}if(i==='"'||i==="'"){o=Pe(e,o,i);continue}if(i==="["&&t++,i==="]"&&t--,t===0)return o}throw new Error("Invalid CSSX arbitrary selector attribute.")}function Pe(e,r,t){for(let o=r+1;o<e.length;o++){if(e[o]==="\\"){o++;continue}if(e[o]===t)return o}throw new Error("Invalid CSSX arbitrary selector string.")}function se(e,r,t,o,i={}){ct(t);let n=typeof e=="string"?[e]:[...e],l=r[0]?.selectorSuffix??"";if(r.some(s=>(s.selectorSuffix??"")!==l))throw new Error("CSSX utility declarations must share one selector scope.");let a=[],c=!1;for(let s of t)if(s==="*")n=n.map(p=>`:is(${p}${l} > *)`),l="";else if(s==="**")n=n.map(p=>`:is(${p}${l} *)`),l="";else if(s==="hover")n=n.map(p=>`${p}:hover`),a.push("@media (hover: hover)");else if(_[s])n=n.map(p=>`${p}:${_[s]}`);else if(ae[s])n=n.map(p=>`${p}::${ae[s]}`),c||=s==="before"||s==="after";else if(Xe(s))n=n.map(p=>`${p}:state(${Xe(s)})`);else if(Fe(s))n=n.map(p=>`.group:state(${Fe(s)}) ${p}`);else if(Be(s))n=n.map(p=>`.peer:state(${Be(s)}) ~ ${p}`);else if(pt(s)){let p=s.slice(6);n=n.map(f=>`.group:${_[p]} ${f}`)}else if(ut(s)){let p=s.slice(5);n=n.map(f=>`.peer:${_[p]} ~ ${f}`)}else if(s.startsWith("has-[")&&s.endsWith("]"))n=n.map(p=>`${p}:has(${s.slice(5,-1)})`);else if(s.startsWith("has-")&&G(s.slice(4))){let p=s.slice(4);n=n.map(f=>`${f}:has(*:${_[p]})`)}else if(s.startsWith("not-")&&G(s.slice(4))){let p=s.slice(4);n=n.map(f=>`${f}:not(*:${_[p]})`)}else if(s.startsWith("in-")&&G(s.slice(3))){let p=s.slice(3);n=n.map(f=>`:where(*:${_[p]}) ${f}`)}else if(s.startsWith("[")&&s.endsWith("]")){let p=s.slice(1,-1);if(p.startsWith("@supports")||p.startsWith("@media"))a.push(dt(p));else{let f=n.map(b=>Le(st(p),`${b}${l}`));if(f.some(b=>b===null))throw new Error(`CSSX arbitrary selector variant "${s}" must contain "&".`);n=f.filter(b=>b!==null),l=""}}else if(s==="dark")i.darkMode==="selector"?n=n.map(p=>`${p}:where([data-theme=dark], [data-theme=dark] *)`):a.push("@media (prefers-color-scheme: dark)");else if(s==="motion-safe")a.push("@media (prefers-reduced-motion: no-preference)");else if(s==="motion-reduce")a.push("@media (prefers-reduced-motion: reduce)");else if(s==="starting")a.push("@starting-style");else if(le(s)){let p=le(s);n=n.map(f=>`${f}${p}`),a.push("@supports (view-transition-name: none)")}else if(s==="print")a.push("@media print");else if(s.startsWith("data-[")&&s.endsWith("]"))n=n.map(p=>`${p}[data-${s.slice(6,-1)}]`);else if(/^data-[a-z][a-z0-9_-]*$/i.test(s))n=n.map(p=>`${p}[${s}]`);else if(s.startsWith("aria-[")&&s.endsWith("]"))n=n.map(p=>`${p}[aria-${s.slice(6,-1)}]`);else if(s.startsWith("aria-"))n=n.map(p=>`${p}[aria-${s.slice(5)}="true"]`);else if(s.startsWith("supports-[")&&s.endsWith("]"))a.push(`@supports (${s.slice(10,-1).replace(":",": ")})`);else if(s.startsWith("not-supports-[")&&s.endsWith("]"))a.push(`@supports not (${s.slice(14,-1).replace(":",": ")})`);else if((s.startsWith("min-[")||s.startsWith("max-["))&&s.endsWith("]")){let p=s.slice(5,-1);if(!p||/[;{}]/.test(p))throw new Error(`Invalid CSSX responsive variant "${s}".`);a.push(s.startsWith("min-")?`@media (width >= ${p})`:`@media (width < ${p})`)}else if(s.startsWith("max-")){let p=W(o,`--breakpoint-${s.slice(4)}`);if(!p)throw new Error(`CSSX does not support variant "${s}".`);a.push(`@media (width < ${p})`)}else{let p=W(o,`--breakpoint-${s}`);if(!p)throw new Error(`CSSX does not support variant "${s}".`);a.push(`@media (width >= ${p})`)}let u=c?[{property:"content",value:'var(--cssx-content, "")'},...r]:r,m=new Map;for(let s of u){let p=s.atRule??"",f=m.get(p)??[];f.push(s),m.set(p,f)}let d=[...m].map(([s,p])=>{let b=`${n.map(g=>`${g}${l}`).join(",")}{${p.map(g=>`${g.property}:${g.value};`).join("")}}`;return s?`${s}{${b}}`:b}).join("");for(let s=a.length-1;s>=0;s--)d=`${a[s]}{${d}}`;return d}function st(e){return e.replace(/\\_/g,"\0").replaceAll("_"," ").replaceAll("\0","_")}function le(e){let r=/^vt-(group|image-pair|old|new)-\[([^\]]+)\]$/i.exec(e),t=r?.[2]??"",o=t==="*"||/^\.[a-z_][a-z0-9_-]*$/i.test(t)||/^[a-z_][a-z0-9_-]*$/i.test(t)&&!/^(?:inherit|initial|none|revert|revert-layer|unset)$/i.test(t);return!r||!o?null:`::view-transition-${r[1]}(${t})`}function ct(e){let r=e.filter(o=>le(o));if(r.length===0)return;let t=e.find(o=>!r.includes(o)&&(o==="*"||o==="**"||ae[o]!==void 0||o.startsWith("group-")||o.startsWith("peer-")||o.startsWith("has-")||o.startsWith("in-")||o.startsWith("[")&&!o.startsWith("[@supports")&&!o.startsWith("[@media")));if(r.length>1||t)throw new Error("CSSX View Transition variants cannot compose with relationship or pseudo-element variants.")}var _={hover:"hover",focus:"focus","focus-visible":"focus-visible","focus-within":"focus-within",active:"active",disabled:"disabled",visited:"visited",checked:"checked",indeterminate:"indeterminate",default:"default",valid:"valid",invalid:"invalid","in-range":"in-range","out-of-range":"out-of-range","placeholder-shown":"placeholder-shown",autofill:"autofill","read-only":"read-only",required:"required",optional:"optional",open:"open",target:"target",empty:"empty",enabled:"enabled",first:"first-child",last:"last-child",only:"only-child",odd:"nth-child(odd)",even:"nth-child(even)","first-of-type":"first-of-type","last-of-type":"last-of-type","only-of-type":"only-of-type"},ae={before:"before",after:"after",selection:"selection",marker:"marker",file:"file-selector-button","first-letter":"first-letter","first-line":"first-line",placeholder:"placeholder"};function G(e){return _[e]!==void 0}function pt(e){return e.startsWith("group-")&&G(e.slice(6))}function ut(e){return e.startsWith("peer-")&&G(e.slice(5))}function Xe(e){return ce(e,"state-")}function Fe(e){return ce(e,"group-state-")}function Be(e){return ce(e,"peer-state-")}function ce(e,r){if(!e.startsWith(`${r}[`)||!e.endsWith("]"))return null;let t=e.slice(r.length+1,-1);if(!/^[a-z_][a-z0-9_-]*$/i.test(t)||/^(?:inherit|initial|revert|revert-layer|unset)$/i.test(t))throw new Error(`Invalid CSSX custom state variant "${e}".`);return t}function dt(e){let r=/^@(supports|media)\s*(.*)$/.exec(e),t=r?.[1],o=r?.[2]?.trim();if(!t||!o)throw new Error(`Invalid CSSX arbitrary at-rule variant "[${e}]".`);return`@${t} ${o}`}function mt(e){return Object.fromEntries(e.flatMap(([r,t])=>t.split(";").map(o=>{let i=o.indexOf("=");return[o.slice(0,i),[{property:r,value:o.slice(i+1)}]]})))}var ft=mt([["display","block=block;inline-block=inline-block;inline=inline;flex=flex;inline-flex=inline-flex;grid=grid;inline-grid=inline-grid;flow-root=flow-root;contents=contents;table=table;inline-table=inline-table;table-caption=table-caption;table-cell=table-cell;table-column=table-column;table-column-group=table-column-group;table-footer-group=table-footer-group;table-header-group=table-header-group;table-row-group=table-row-group;table-row=table-row;list-item=list-item"],["visibility","visible=visible;invisible=hidden;collapse=collapse"],["box-sizing","box-border=border-box;box-content=content-box"],["border-style","border-none=none;border-hidden=hidden;border-dotted=dotted;border-dashed=dashed;border-solid=solid;border-double=double"],["float","float-start=inline-start;float-end=inline-end;float-right=right;float-left=left;float-none=none"],["clear","clear-start=inline-start;clear-end=inline-end;clear-right=right;clear-left=left;clear-both=both;clear-none=none"]]),qe={...ft,"box-decoration-slice":[{property:"-webkit-box-decoration-break",value:"slice",semanticGroup:"box-decoration-break"},{property:"box-decoration-break",value:"slice",semanticGroup:"box-decoration-break"}],"box-decoration-clone":[{property:"-webkit-box-decoration-break",value:"clone",semanticGroup:"box-decoration-break"},{property:"box-decoration-break",value:"clone",semanticGroup:"box-decoration-break"}],"object-top-left":[{property:"object-position",value:"top left"}],"object-top":[{property:"object-position",value:"top"}],"object-top-right":[{property:"object-position",value:"top right"}],"object-left":[{property:"object-position",value:"left"}],"object-center":[{property:"object-position",value:"center"}],"object-right":[{property:"object-position",value:"right"}],"object-bottom-left":[{property:"object-position",value:"bottom left"}],"object-bottom":[{property:"object-position",value:"bottom"}],"object-bottom-right":[{property:"object-position",value:"bottom right"}],"sr-only":[{property:"position",value:"absolute"},{property:"width",value:"1px"},{property:"height",value:"1px"},{property:"padding",value:"0"},{property:"margin",value:"-1px"},{property:"overflow",value:"hidden"},{property:"clip-path",value:"inset(50%)"},{property:"white-space",value:"nowrap"},{property:"border-width",value:"0"}],"not-sr-only":[{property:"position",value:"static"},{property:"width",value:"auto"},{property:"height",value:"auto"},{property:"padding",value:"0"},{property:"margin",value:"0"},{property:"overflow",value:"visible"},{property:"clip-path",value:"none"},{property:"white-space",value:"normal"}],hidden:[{property:"display",value:"none"}],static:[{property:"position",value:"static"}],fixed:[{property:"position",value:"fixed"}],absolute:[{property:"position",value:"absolute"}],relative:[{property:"position",value:"relative"}],sticky:[{property:"position",value:"sticky"}],transform:[{property:"transform",value:"translate(0, 0)"}],"transform-none":[{property:"transform",value:"none"}],"overflow-auto":[{property:"overflow",value:"auto"}],"overflow-hidden":[{property:"overflow",value:"hidden"}],"overflow-clip":[{property:"overflow",value:"clip"}],"overflow-visible":[{property:"overflow",value:"visible"}],"overflow-scroll":[{property:"overflow",value:"scroll"}],"flex-row":[{property:"flex-direction",value:"row"}],"flex-row-reverse":[{property:"flex-direction",value:"row-reverse"}],"flex-col":[{property:"flex-direction",value:"column"}],"flex-col-reverse":[{property:"flex-direction",value:"column-reverse"}],"flex-wrap":[{property:"flex-wrap",value:"wrap"}],"flex-wrap-reverse":[{property:"flex-wrap",value:"wrap-reverse"}],"flex-nowrap":[{property:"flex-wrap",value:"nowrap"}],"flex-auto":[{property:"flex",value:"1 1 auto"}],"flex-initial":[{property:"flex",value:"0 1 auto"}],"flex-none":[{property:"flex",value:"none"}],grow:[{property:"flex-grow",value:"1"}],"grow-0":[{property:"flex-grow",value:"0"}],shrink:[{property:"flex-shrink",value:"1"}],"shrink-0":[{property:"flex-shrink",value:"0"}],"items-start":[{property:"align-items",value:"flex-start"}],"items-center":[{property:"align-items",value:"center"}],"items-end":[{property:"align-items",value:"flex-end"}],"items-stretch":[{property:"align-items",value:"stretch"}],"items-baseline":[{property:"align-items",value:"baseline"}],"justify-start":[{property:"justify-content",value:"flex-start"}],"justify-center":[{property:"justify-content",value:"center"}],"justify-end":[{property:"justify-content",value:"flex-end"}],"justify-between":[{property:"justify-content",value:"space-between"}],"justify-around":[{property:"justify-content",value:"space-around"}],"justify-evenly":[{property:"justify-content",value:"space-evenly"}],"self-auto":[{property:"align-self",value:"auto"}],"self-start":[{property:"align-self",value:"flex-start"}],"self-center":[{property:"align-self",value:"center"}],"self-end":[{property:"align-self",value:"flex-end"}],"self-stretch":[{property:"align-self",value:"stretch"}],"self-baseline":[{property:"align-self",value:"baseline"}],"justify-items-start":[{property:"justify-items",value:"start"}],"justify-items-center":[{property:"justify-items",value:"center"}],"justify-items-end":[{property:"justify-items",value:"end"}],"justify-items-stretch":[{property:"justify-items",value:"stretch"}],"justify-self-auto":[{property:"justify-self",value:"auto"}],"justify-self-start":[{property:"justify-self",value:"start"}],"justify-self-center":[{property:"justify-self",value:"center"}],"justify-self-end":[{property:"justify-self",value:"end"}],"justify-self-stretch":[{property:"justify-self",value:"stretch"}],"place-items-start":[{property:"place-items",value:"start"}],"place-items-center":[{property:"place-items",value:"center"}],"place-items-end":[{property:"place-items",value:"end"}],"place-items-stretch":[{property:"place-items",value:"stretch"}],"place-items-baseline":[{property:"place-items",value:"baseline"}],"place-self-auto":[{property:"place-self",value:"auto"}],"place-self-start":[{property:"place-self",value:"start"}],"place-self-center":[{property:"place-self",value:"center"}],"place-self-end":[{property:"place-self",value:"end"}],"place-self-stretch":[{property:"place-self",value:"stretch"}],"place-content-start":[{property:"place-content",value:"start"}],"place-content-center":[{property:"place-content",value:"center"}],"place-content-end":[{property:"place-content",value:"end"}],"place-content-between":[{property:"place-content",value:"space-between"}],"place-content-around":[{property:"place-content",value:"space-around"}],"place-content-evenly":[{property:"place-content",value:"space-evenly"}],"place-content-stretch":[{property:"place-content",value:"stretch"}],"font-thin":[{property:"font-weight",value:"100"}],"font-extralight":[{property:"font-weight",value:"200"}],"font-light":[{property:"font-weight",value:"300"}],"font-normal":[{property:"font-weight",value:"400"}],"font-medium":[{property:"font-weight",value:"500"}],"font-semibold":[{property:"font-weight",value:"600"}],"font-bold":[{property:"font-weight",value:"700"}],"font-extrabold":[{property:"font-weight",value:"800"}],"font-black":[{property:"font-weight",value:"900"}],"font-sans":[{property:"font-family",value:'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'}],"font-serif":[{property:"font-family",value:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif'}],"font-mono":[{property:"font-family",value:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}],antialiased:[{property:"-webkit-font-smoothing",value:"antialiased",semanticGroup:"font-smoothing"},{property:"-moz-osx-font-smoothing",value:"grayscale",semanticGroup:"font-smoothing"}],"subpixel-antialiased":[{property:"-webkit-font-smoothing",value:"auto",semanticGroup:"font-smoothing"},{property:"-moz-osx-font-smoothing",value:"auto",semanticGroup:"font-smoothing"}],italic:[{property:"font-style",value:"italic"}],"not-italic":[{property:"font-style",value:"normal"}],uppercase:[{property:"text-transform",value:"uppercase"}],lowercase:[{property:"text-transform",value:"lowercase"}],capitalize:[{property:"text-transform",value:"capitalize"}],"normal-case":[{property:"text-transform",value:"none"}],"text-left":[{property:"text-align",value:"left"}],"text-center":[{property:"text-align",value:"center"}],"text-right":[{property:"text-align",value:"right"}],"text-justify":[{property:"text-align",value:"justify"}]};var gt="var(--cssx-shadow, 0 0 #0000), var(--cssx-ring-offset-shadow, 0 0 #0000), var(--cssx-ring-shadow, 0 0 #0000)";function j(e){return[{property:"--cssx-shadow",value:e,semanticGroup:"shadow"},{property:"box-shadow",value:gt,semanticGroup:"shadow"}]}var Ke={underline:[{property:"text-decoration-line",value:"underline"}],overline:[{property:"text-decoration-line",value:"overline"}],"line-through":[{property:"text-decoration-line",value:"line-through"}],"no-underline":[{property:"text-decoration-line",value:"none"}],"pointer-events-none":[{property:"pointer-events",value:"none"}],"pointer-events-auto":[{property:"pointer-events",value:"auto"}],"select-none":[{property:"user-select",value:"none"}],"select-text":[{property:"user-select",value:"text"}],"select-all":[{property:"user-select",value:"all"}],"select-auto":[{property:"user-select",value:"auto"}],"appearance-none":[{property:"appearance",value:"none"}],"appearance-auto":[{property:"appearance",value:"auto"}],"field-sizing-content":[{property:"field-sizing",value:"content"}],"resize-none":[{property:"resize",value:"none"}],"resize-x":[{property:"resize",value:"horizontal"}],"resize-y":[{property:"resize",value:"vertical"}],resize:[{property:"resize",value:"both"}],"scroll-auto":[{property:"scroll-behavior",value:"auto"}],"scroll-smooth":[{property:"scroll-behavior",value:"smooth"}],"scrollbar-auto":[{property:"scrollbar-width",value:"auto"}],"scrollbar-thin":[{property:"scrollbar-width",value:"thin"}],"scrollbar-none":[{property:"scrollbar-width",value:"none"}],"scrollbar-gutter-auto":[{property:"scrollbar-gutter",value:"auto"}],"scrollbar-gutter-stable":[{property:"scrollbar-gutter",value:"stable"}],"scrollbar-gutter-both":[{property:"scrollbar-gutter",value:"stable both-edges"}],"border-collapse":[{property:"border-collapse",value:"collapse"}],"border-separate":[{property:"border-collapse",value:"separate"}],"table-auto":[{property:"table-layout",value:"auto"}],"table-fixed":[{property:"table-layout",value:"fixed"}],"caption-top":[{property:"caption-side",value:"top"}],"caption-bottom":[{property:"caption-side",value:"bottom"}],"snap-none":[{property:"scroll-snap-type",value:"none"}],"snap-x":[{property:"scroll-snap-type",value:"x var(--cssx-scroll-snap-strictness, proximity)"}],"snap-y":[{property:"scroll-snap-type",value:"y var(--cssx-scroll-snap-strictness, proximity)"}],"snap-both":[{property:"scroll-snap-type",value:"both var(--cssx-scroll-snap-strictness, proximity)"}],"snap-mandatory":[{property:"--cssx-scroll-snap-strictness",value:"mandatory"}],"snap-proximity":[{property:"--cssx-scroll-snap-strictness",value:"proximity"}],"snap-normal":[{property:"scroll-snap-stop",value:"normal"}],"snap-always":[{property:"scroll-snap-stop",value:"always"}],"snap-start":[{property:"scroll-snap-align",value:"start"}],"snap-end":[{property:"scroll-snap-align",value:"end"}],"snap-center":[{property:"scroll-snap-align",value:"center"}],"snap-align-none":[{property:"scroll-snap-align",value:"none"}],"forced-color-adjust-auto":[{property:"forced-color-adjust",value:"auto"}],"forced-color-adjust-none":[{property:"forced-color-adjust",value:"none"}],"accent-auto":[{property:"accent-color",value:"auto"}],"caret-auto":[{property:"caret-color",value:"auto"}],"fill-none":[{property:"fill",value:"none"}],"stroke-none":[{property:"stroke",value:"none"}],"scheme-normal":[{property:"color-scheme",value:"normal"}],"scheme-dark":[{property:"color-scheme",value:"dark"}],"scheme-light":[{property:"color-scheme",value:"light"}],"scheme-light-dark":[{property:"color-scheme",value:"light dark"}],"scheme-only-dark":[{property:"color-scheme",value:"only dark"}],"scheme-only-light":[{property:"color-scheme",value:"only light"}],"rounded-none":[{property:"border-radius",value:"0"}],rounded:[{property:"border-radius",value:"0.25rem"}],"rounded-sm":[{property:"border-radius",value:"0.125rem"}],"rounded-md":[{property:"border-radius",value:"0.375rem"}],"rounded-lg":[{property:"border-radius",value:"0.5rem"}],"rounded-xl":[{property:"border-radius",value:"0.75rem"}],"rounded-2xl":[{property:"border-radius",value:"1rem"}],"rounded-full":[{property:"border-radius",value:"9999px"}],border:[{property:"border-width",value:"1px"}],"border-0":[{property:"border-width",value:"0"}],"border-2":[{property:"border-width",value:"2px"}],"border-4":[{property:"border-width",value:"4px"}],"border-8":[{property:"border-width",value:"8px"}],"border-x":[{property:"border-left-width",value:"1px"},{property:"border-right-width",value:"1px"}],"border-y":[{property:"border-top-width",value:"1px"},{property:"border-bottom-width",value:"1px"}],"border-t":[{property:"border-top-width",value:"1px"}],"border-r":[{property:"border-right-width",value:"1px"}],"border-b":[{property:"border-bottom-width",value:"1px"}],"border-l":[{property:"border-left-width",value:"1px"}],shadow:j("0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1)"),"shadow-none":j("0 0 #0000"),"shadow-sm":j("0 1px 2px 0 rgb(0 0 0 / .05)"),"shadow-md":j("0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1)"),"shadow-lg":j("0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)"),"shadow-xl":j("0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1)"),"shadow-2xl":j("0 25px 50px -12px rgb(0 0 0 / .25)"),"transition-none":[{property:"transition-property",value:"none"}],"transition-normal":[{property:"transition-behavior",value:"normal"}],"transition-discrete":[{property:"transition-behavior",value:"allow-discrete"}],transition:[{property:"transition-property",value:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-all":[{property:"transition-property",value:"all"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-colors":[{property:"transition-property",value:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-opacity":[{property:"transition-property",value:"opacity"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-shadow":[{property:"transition-property",value:"box-shadow"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-transform":[{property:"transition-property",value:"transform, translate, scale, rotate"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"ease-linear":[{property:"transition-timing-function",value:"linear"}],"ease-in":[{property:"transition-timing-function",value:"cubic-bezier(.4, 0, 1, 1)"}],"ease-out":[{property:"transition-timing-function",value:"cubic-bezier(0, 0, .2, 1)"}],"ease-in-out":[{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"text-xs":[{property:"font-size",value:"0.75rem"},{property:"line-height",value:"1rem"}],"text-sm":[{property:"font-size",value:"0.875rem"},{property:"line-height",value:"1.25rem"}],"text-base":[{property:"font-size",value:"1rem"},{property:"line-height",value:"1.5rem"}],"text-lg":[{property:"font-size",value:"1.125rem"},{property:"line-height",value:"1.75rem"}],"text-xl":[{property:"font-size",value:"1.25rem"},{property:"line-height",value:"1.75rem"}],"text-2xl":[{property:"font-size",value:"1.5rem"},{property:"line-height",value:"2rem"}],truncate:[{property:"overflow",value:"hidden",semanticGroup:"truncate"},{property:"text-overflow",value:"ellipsis",semanticGroup:"truncate"},{property:"white-space",value:"nowrap",semanticGroup:"truncate"}],"text-ellipsis":[{property:"text-overflow",value:"ellipsis"}],"text-clip":[{property:"text-overflow",value:"clip"}],"hyphens-none":[{property:"-webkit-hyphens",value:"none",semanticGroup:"hyphens"},{property:"hyphens",value:"none",semanticGroup:"hyphens"}],"hyphens-manual":[{property:"-webkit-hyphens",value:"manual",semanticGroup:"hyphens"},{property:"hyphens",value:"manual",semanticGroup:"hyphens"}],"hyphens-auto":[{property:"-webkit-hyphens",value:"auto",semanticGroup:"hyphens"},{property:"hyphens",value:"auto",semanticGroup:"hyphens"}],"whitespace-normal":[{property:"white-space",value:"normal"}],"whitespace-nowrap":[{property:"white-space",value:"nowrap"}],"whitespace-pre":[{property:"white-space",value:"pre"}],"whitespace-pre-line":[{property:"white-space",value:"pre-line"}],"whitespace-pre-wrap":[{property:"white-space",value:"pre-wrap"}],"whitespace-break-spaces":[{property:"white-space",value:"break-spaces"}],"text-wrap":[{property:"text-wrap",value:"wrap"}],"text-nowrap":[{property:"text-wrap",value:"nowrap"}],"text-balance":[{property:"text-wrap",value:"balance"}],"text-pretty":[{property:"text-wrap",value:"pretty"}],"wrap-anywhere":[{property:"overflow-wrap",value:"anywhere"}],"wrap-break-word":[{property:"overflow-wrap",value:"break-word"}],"wrap-normal":[{property:"overflow-wrap",value:"normal"}],"list-inside":[{property:"list-style-position",value:"inside"}],"list-outside":[{property:"list-style-position",value:"outside"}],"list-none":[{property:"list-style-type",value:"none"}],"list-disc":[{property:"list-style-type",value:"disc"}],"list-decimal":[{property:"list-style-type",value:"decimal"}],"list-image-none":[{property:"list-style-image",value:"none"}]};var He={...qe,...Ke};function x(e){return e.startsWith("(")&&e.endsWith(")")?`var(${e.slice(1,-1)})`:e.slice(1,-1).replaceAll("\\_","\0").replaceAll("_"," ").replaceAll("\0","_")}function L(e){return e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):/^(0|2|4|8)$/.test(e)?`${e}px`.replace("0px","0"):null}function S(e,r,t){let o=r?"-":"";if(e==="px")return`${o}1px`;if(e==="full")return`${o}100%`;if(e.startsWith("[")&&e.endsWith("]"))return`${o}${e.slice(1,-1)}`;if(!/^\d+(?:\.\d+)?$/.test(e))return null;let i=U(t,"--spacing");return i?r?`calc(${i} * -${e})`:`calc(${i} * ${e})`:null}function Ye(e){let r=/^(\d+)\/(\d+)$/.exec(e);return r?Number(r[2])===0?null:`calc(${r[1]} / ${r[2]} * 100%)`:/^\d+$/.test(e)?e:null}function A(e,r,t,o){let i={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"};if((o==="max-w"||o==="max-inline")&&i[e])return i[e];if(e==="auto"||e==="full"||e==="screen"){let a={auto:"auto",full:"100%",screen:o.includes("block")?"100vb":o.includes("inline")?"100vi":o.includes("h")?"100vh":"100vw"}[e];return a&&r?`-${a}`:a}let n=/^(\d+)\/(\d+)$/.exec(e);if(n){let l=Number(n[1]),a=Number(n[2]);return a===0?null:`${r?"-":""}${l/a*100}%`}return S(e,r,t)}function E(e,r){return e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):U(r,`--color-${e}`)??null}function T(e){let r=0,t=0,o="",i=!1;for(let n=0;n<e.length;n++){let l=e[n];if(i){i=!1;continue}if(l==="\\"){i=!0;continue}if(o){l===o&&(o="");continue}if(l==='"'||l==="'"){o=l;continue}if(l==="["&&r++,l==="]"&&r--,l==="("&&t++,l===")"&&t--,l==="/"&&r===0&&t===0)return{value:e.slice(0,n),opacity:e.slice(n+1)}}return{value:e}}function D(e){let r=e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e;if(!/^\d+(?:\.\d+)?$/.test(r))return null;let t=Number(r);return t<0||t>100?null:String(t)}function Ze(e){let r=e.replace(/^(?:length|size):/,"");return/^-?(?:\d+(?:\.\d+)?)(?:px|rem|em|ch|ex|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc)$/i.test(r)||r.startsWith("calc(")}function Je(e){return e.startsWith("image:")||/^(?:url|linear-gradient|radial-gradient|conic-gradient|image-set)\(/.test(e)}function Qe(e,r,t){let o=/^(w|h|min-w|max-w|min-h|max-h|inline|min-inline|max-inline|block|min-block|max-block)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=A(o[2],r,t,i);return n?{property:{w:"width",h:"height","min-w":"min-width","max-w":"max-width","min-h":"min-height","max-h":"max-height",inline:"inline-size","min-inline":"min-inline-size","max-inline":"max-inline-size",block:"block-size","min-block":"min-block-size","max-block":"max-block-size"}[i],value:n}:null}function er(e){let r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t).trim(),i=r.slice(t+1).trim();if(!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(o)||!i||/[{};]/.test(i))throw new Error(`Invalid arbitrary CSSX utility "${e}".`);return{property:o,value:x(`[${i}]`)}}function rr(e,r){if(e==="none")return{property:"animation",value:"none"};if(e.startsWith("[")&&e.endsWith("]"))return{property:"animation",value:e.slice(1,-1)};let t=U(r,`--animate-${e}`);return t?{property:"animation",value:t}:null}function tr(e,r,t){let o=/^(translate-x|translate-y)-(.+)$/.exec(e);if(o){let a=o[1]==="translate-x"?"--cssx-translate-x":"--cssx-translate-y",c=S(o[2],r,t);return c?[{property:a,value:c},{property:"translate",value:"var(--cssx-translate-x, 0) var(--cssx-translate-y, 0)"}]:null}let i=/^rotate-(.+)$/.exec(e);if(i){let a=ie(i[1],r);return a?[{property:"rotate",value:a}]:null}let n=/^(scale-x|scale-y|scale)-(.+)$/.exec(e);if(n){let a=n[1],c=Ge(n[2],r);return c?a==="scale-x"?[{property:"--cssx-scale-x",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:a==="scale-y"?[{property:"--cssx-scale-y",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:[{property:"--cssx-scale-x",value:c},{property:"--cssx-scale-y",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:null}let l=/^skew-(x|y)-(.+)$/.exec(e);if(l){let a=l[1],c=ie(l[2],r);return c?[{property:`--cssx-skew-${a}`,value:c},{property:"transform",value:"skewX(var(--cssx-skew-x, 0deg)) skewY(var(--cssx-skew-y, 0deg))"}]:null}return null}function or(e){let r=/^border-(x|y|t|r|b|l)-(0|2|4|8)$/.exec(e);if(!r)return null;let t=r[1],o=`${r[2]}px`.replace("0px","0");return{x:["border-left-width","border-right-width"],y:["border-top-width","border-bottom-width"],t:["border-top-width"],r:["border-right-width"],b:["border-bottom-width"],l:["border-left-width"]}[t].map(n=>({property:n,value:o}))}function nr(e,r,t){let o=/^(px|py|pt|pr|pb|pl|ps|pe|p|mx|my|mt|mr|mb|ml|ms|me|m|gap-x|gap-y|gap|inset-x|inset-y|inset-s|inset-e|inset|top|right|bottom|left)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=o[2],l=i.startsWith("inset")?A(n,r,t,"inset"):n==="auto"&&i.startsWith("m")&&!r?"auto":S(n,r,t);return l?{p:["padding"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"],pt:["padding-top"],pr:["padding-right"],pb:["padding-bottom"],pl:["padding-left"],ps:["padding-inline-start"],pe:["padding-inline-end"],m:["margin"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],mt:["margin-top"],mr:["margin-right"],mb:["margin-bottom"],ml:["margin-left"],ms:["margin-inline-start"],me:["margin-inline-end"],gap:["gap"],"gap-x":["column-gap"],"gap-y":["row-gap"],top:["top"],right:["right"],bottom:["bottom"],left:["left"],inset:["inset"],"inset-x":["left","right"],"inset-y":["top","bottom"],"inset-s":["inset-inline-start"],"inset-e":["inset-inline-end"]}[i].map(u=>({property:u,value:l})):null}function ir(e,r,t){let o=/^space-(x|y)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=o[2],l=" > :not(:last-child)",a=n==="reverse"?`space-${i}-reverse`:`space-${i}`,c=`--cssx-space-${i}-reverse`;if(n==="reverse")return[{property:c,value:"1",selectorSuffix:l,semanticGroup:a}];let u=S(n,r,t);if(!u)return null;let[m,d]=i==="x"?["margin-left","margin-right"]:["margin-top","margin-bottom"];return[{property:c,value:"0",selectorSuffix:l,semanticGroup:a},{property:m,value:`calc(${u} * calc(1 - var(${c})))`,selectorSuffix:l,semanticGroup:a},{property:d,value:`calc(${u} * var(${c}))`,selectorSuffix:l,semanticGroup:a}]}function lr(e,r){let t=" > :not(:last-child)",o=/^divide-(x|y)(?:-(.+))?$/.exec(e);if(o){let u=o[1],m=o[2]??"DEFAULT",d=`--cssx-divide-${u}-reverse`,s=m==="reverse"?`divide-${u}-reverse`:`divide-${u}`;if(m==="reverse")return[{property:d,value:"1",selectorSuffix:t,semanticGroup:s}];let p=m==="DEFAULT"?"1px":L(m);if(!p)return null;let[f,b]=u==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"];return[{property:d,value:"0",selectorSuffix:t,semanticGroup:s},{property:f,value:`calc(${p} * calc(1 - var(${d})))`,selectorSuffix:t,semanticGroup:s},{property:b,value:`calc(${p} * var(${d}))`,selectorSuffix:t,semanticGroup:s}]}let i=/^divide-(.+)$/.exec(e);if(!i)return null;let n=T(i[1]),l=E(n.value,r);if(!l)return null;let a=n.opacity===void 0?null:D(n.opacity);return n.opacity!==void 0&&a===null?null:[{property:"border-color",value:a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`,selectorSuffix:t,semanticGroup:"divide-color"}]}function ar(e,r){let t=/^placeholder-(.+)$/.exec(e);if(!t)return null;let o=T(t[1]),i=E(o.value,r);if(!i)return null;let n=o.opacity===void 0?null:D(o.opacity);return o.opacity!==void 0&&n===null?null:[{property:"color",value:n===null?i:`color-mix(in srgb, ${i} ${n}%, transparent)`,selectorSuffix:"::placeholder",semanticGroup:"placeholder-color"}]}function sr(e,r,t){let i={outline:[{property:"outline-style",value:"solid"},{property:"outline-width",value:"1px"}],"outline-none":[{property:"outline-style",value:"none"}],"outline-hidden":[{property:"outline",value:"2px solid transparent"},{property:"outline-offset",value:"2px"}],"outline-solid":[{property:"outline-style",value:"solid"}],"outline-dashed":[{property:"outline-style",value:"dashed"}],"outline-dotted":[{property:"outline-style",value:"dotted"}],"outline-double":[{property:"outline-style",value:"double"}]}[e];if(i)return V(i);let n=/^outline-offset-(.+)$/.exec(e);if(n){let d=S(n[1],r,t);return d?[{property:"outline-offset",value:d}]:null}let l=/^outline-(0|1|2|4|8|\[[^\]]+\])$/.exec(e);if(l){let d=l[1];return[{property:"outline-width",value:d.startsWith("[")?d.slice(1,-1):`${d}px`.replace("0px","0")}]}let a=/^outline-(.+)$/.exec(e);if(!a)return null;let c=T(a[1]),u=E(c.value,t);if(!u)return null;let m=c.opacity===void 0?null:D(c.opacity);return c.opacity!==void 0&&m===null?null:[{property:"outline-color",value:m===null?u:`color-mix(in srgb, ${u} ${m}%, transparent)`}]}function cr(e,r){if(e!=="container")return null;let t=["sm","md","lg","xl","2xl"],o=[{property:"width",value:"100%",semanticGroup:"container"}];for(let i of t){let n=W(r,`--breakpoint-${i}`);n&&o.push({property:"max-width",value:n,atRule:`@media (width >= ${n})`,semanticGroup:"container"})}return o}function pr(e,r,t){let i={isolate:{property:"isolation",value:"isolate"},"isolation-auto":{property:"isolation",value:"auto"},"aspect-auto":{property:"aspect-ratio",value:"auto"},"aspect-square":{property:"aspect-ratio",value:"1 / 1"},"aspect-video":{property:"aspect-ratio",value:"16 / 9"},"object-contain":{property:"object-fit",value:"contain"},"object-cover":{property:"object-fit",value:"cover"},"object-fill":{property:"object-fit",value:"fill"},"object-none":{property:"object-fit",value:"none"},"object-scale-down":{property:"object-fit",value:"scale-down"},"touch-auto":{property:"touch-action",value:"auto"},"touch-none":{property:"touch-action",value:"none"},"touch-manipulation":{property:"touch-action",value:"manipulation"},"touch-pan-x":{property:"touch-action",value:"pan-x"},"touch-pan-y":{property:"touch-action",value:"pan-y"},"touch-pinch-zoom":{property:"touch-action",value:"pinch-zoom"}}[e];if(i)return i;let n=/^(overflow|overflow-x|overflow-y)-(auto|hidden|clip|visible|scroll)$/.exec(e);if(n)return{property:n[1],value:n[2]};let l=/^(overscroll|overscroll-x|overscroll-y)-(auto|contain|none)$/.exec(e);if(l)return{property:l[1]==="overscroll"?"overscroll-behavior":`overscroll-behavior-${l[1]==="overscroll-x"?"x":"y"}`,value:l[2]};let a=/^aspect-(\[[^\]]+\])$/.exec(e);if(a)return{property:"aspect-ratio",value:a[1].slice(1,-1)};let c=/^size-(.+)$/.exec(e);if(c){let y=A(c[1],r,t,"size");return y?[{property:"width",value:y},{property:"height",value:y}]:null}let u=/^(start|end)-(.+)$/.exec(e);if(u){let y=A(u[2],r,t,u[1]);return y?{property:u[1]==="start"?"inset-inline-start":"inset-inline-end",value:y}:null}let m=/^cursor-(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)$/.exec(e);if(m)return{property:"cursor",value:m[1]};let d=/^will-change-(auto|scroll|contents|transform)$/.exec(e);if(d)return{property:"will-change",value:d[1]};let s=/^grid-flow-(row|col|row-dense|col-dense)$/.exec(e);if(s)return{property:"grid-auto-flow",value:s[1].replace("-"," ")};let p=/^auto-(cols|rows)-(auto|min|max|fr)$/.exec(e);if(p){let y={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};return{property:p[1]==="cols"?"grid-auto-columns":"grid-auto-rows",value:y[p[2]]}}let f=/^scroll-(mx|my|mt|mr|mb|ml|m|px|py|pt|pr|pb|pl|p)-(.+)$/.exec(e);if(f){let y=f[1],w=S(f[2],r,t);return w?{m:["scroll-margin"],mx:["scroll-margin-left","scroll-margin-right"],my:["scroll-margin-top","scroll-margin-bottom"],mt:["scroll-margin-top"],mr:["scroll-margin-right"],mb:["scroll-margin-bottom"],ml:["scroll-margin-left"],p:["scroll-padding"],px:["scroll-padding-left","scroll-padding-right"],py:["scroll-padding-top","scroll-padding-bottom"],pt:["scroll-padding-top"],pr:["scroll-padding-right"],pb:["scroll-padding-bottom"],pl:["scroll-padding-left"]}[y].map(z=>({property:z,value:w})):null}let b=/^stroke-(\d+|\[[^\]]+\])$/.exec(e);if(b){let y=b[1];return{property:"stroke-width",value:y.startsWith("[")?y.slice(1,-1):y}}let g=/^scrollbar-(thumb|track)-(.+)$/.exec(e);if(g){let y=g[1],w=T(g[2]),k=E(w.value,t);if(!k)return null;let z=w.opacity===void 0?null:D(w.opacity);if(w.opacity!==void 0&&z===null)return null;let C=z===null?k:`color-mix(in srgb, ${k} ${z}%, transparent)`,h=`scrollbar-${y}`;return[{property:`--cssx-scrollbar-${y}`,value:C,semanticGroup:h},{property:"scrollbar-color",value:"var(--cssx-scrollbar-thumb, #0000) var(--cssx-scrollbar-track, #0000)",semanticGroup:h}]}return null}function F(e,r){return e==="current"?"currentColor":e==="inherit"?"inherit":E(e,r)}function ur(e,r,t){let o=/^bg-linear-to-(t|tr|r|br|b|bl|l|tl)(?:\/(srgb|oklch|oklab|hsl|longer|shorter|increasing|decreasing))?$/.exec(e);if(o){let b={t:"to top",tr:"to top right",r:"to right",br:"to bottom right",b:"to bottom",bl:"to bottom left",l:"to left",tl:"to top left"},g=o[2]?`in ${o[2]} `:"",y=b[o[1]];return[{property:"background-image",value:`linear-gradient(${g}${y}, var(--cssx-gradient-via-stops, var(--cssx-gradient-stops)))`,semanticGroup:"background-image"}]}let i=/^bg-linear-(\d+|\[[^\]]+\])$/.exec(e);if(i){let b=i[1];return[{property:"background-image",value:`linear-gradient(${b.startsWith("[")?b.slice(1,-1):`${r?"-":""}${b}deg`}, var(--cssx-gradient-via-stops, var(--cssx-gradient-stops)))`,semanticGroup:"background-image"}]}let n=/^(from|via|to)-(.+)$/.exec(e);if(!n)return null;let l=n[1],a=n[2],c=`gradient-${l}`,u=yt(a);if(u)return[{property:`--cssx-gradient-${l}-position`,value:u,semanticGroup:c}];let m=T(a),d=E(m.value,t);if(!d)return null;let s=m.opacity===void 0?null:D(m.opacity);if(m.opacity!==void 0&&s===null)return null;let p=s===null?d:`color-mix(in srgb, ${d} ${s}%, transparent)`,f=[{property:`--cssx-gradient-${l}`,value:p,semanticGroup:c}];return l==="from"?f.push({property:"--cssx-gradient-stops",value:"var(--cssx-gradient-from) var(--cssx-gradient-from-position,), var(--cssx-gradient-to, transparent) var(--cssx-gradient-to-position,)",semanticGroup:c}):l==="via"&&f.push({property:"--cssx-gradient-via-stops",value:"var(--cssx-gradient-from) var(--cssx-gradient-from-position,), var(--cssx-gradient-via) var(--cssx-gradient-via-position,), var(--cssx-gradient-to, transparent) var(--cssx-gradient-to-position,)",semanticGroup:c}),f}function yt(e){let r=e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e;if(!/^\d+(?:\.\d+)?%$/.test(r))return null;let t=Number(r.slice(0,-1));return t>=0&&t<=100?r:null}function dr(e,r){let t=/^(bg|text|border|accent|caret|fill|stroke)-(.+)$/.exec(e);if(!t)return null;let o=t[1],i=T(t[2]),n=i.value;if(o==="text"&&/^(xs|sm|base|lg|xl|\d+xl)$/.test(n))return null;if(o==="text"&&n.startsWith("[")&&n.endsWith("]")){let d=n.slice(1,-1);if(Ze(d))return{property:"font-size",value:d.replace(/^(?:length|size):/,"")}}if(o==="bg"&&n.startsWith("[")&&n.endsWith("]")){let d=n.slice(1,-1);if(Je(d))return{property:"background-image",value:d.replace(/^image:/,"")}}let l=F(n,r);if(!l)return null;let a=i.opacity===void 0?null:D(i.opacity);if(i.opacity!==void 0&&a===null)return null;let c=a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`;return{property:{bg:"background-color",text:"color",border:"border-color",accent:"accent-color",caret:"caret-color",fill:"fill",stroke:"stroke"}[o],value:c}}function mr(e,r){let t=/^underline-offset-(auto|\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(t){let l=t[1];return{property:"text-underline-offset",value:(l==="auto"?l:l.startsWith("(")?x(l):S(l,!1,r))??x(l)}}let o=/^decoration-(.+)$/.exec(e);if(!o)return null;let i=o[1];if(/^(solid|double|dotted|dashed|wavy)$/.test(i))return{property:"text-decoration-style",value:i};if(/^(auto|from-font|\d+)$/.test(i))return{property:"text-decoration-thickness",value:i==="auto"||i==="from-font"?i:`${i}px`};if(i.startsWith("[")||i.startsWith("("))return{property:"text-decoration-thickness",value:x(i)};let n=E(i,r);return n?{property:"text-decoration-color",value:n}:null}var fr="var(--cssx-shadow, 0 0 #0000), var(--cssx-ring-offset-shadow, 0 0 #0000), var(--cssx-ring-shadow, 0 0 #0000)",ht="var(--cssx-filter-blur,) var(--cssx-filter-brightness,) var(--cssx-filter-contrast,) var(--cssx-filter-drop-shadow,) var(--cssx-filter-grayscale,) var(--cssx-filter-hue-rotate,) var(--cssx-filter-invert,) var(--cssx-filter-saturate,) var(--cssx-filter-sepia,)",bt="var(--cssx-backdrop-blur,) var(--cssx-backdrop-brightness,) var(--cssx-backdrop-contrast,) var(--cssx-backdrop-grayscale,) var(--cssx-backdrop-hue-rotate,) var(--cssx-backdrop-invert,) var(--cssx-backdrop-opacity,) var(--cssx-backdrop-saturate,) var(--cssx-backdrop-sepia,)";function gr(e,r){return hr(e,r,"filter","--cssx-filter-","",ht,!1)}function yr(e,r){return e.startsWith("backdrop-")?hr(e.slice(9),r,"backdrop-filter","--cssx-backdrop-","backdrop-",bt,!0):null}function hr(e,r,t,o,i,n,l){let a=`${i}filter-none`,c=["filter-none","blur","brightness","contrast","drop-shadow","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(p=>`${i}${p}`);if(e==="filter-none")return xt(t,a,c);let u={blur:{DEFAULT:"8px",none:"0",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},grayscale:{0:"0",DEFAULT:"1"},invert:{0:"0",DEFAULT:"1"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},sepia:{0:"0",DEFAULT:"1"},opacity:{0:"0",5:".05",10:".1",15:".15",20:".2",25:".25",30:".3",40:".4",50:".5",60:".6",70:".7",75:".75",80:".8",90:".9",95:".95",100:"1"}},m=/^(blur|brightness|contrast|grayscale|invert|saturate|sepia|opacity)(?:-(.+))?$/.exec(e);if(m){let p=m[1];if(p==="opacity"&&!l)return null;let f=m[2]??"DEFAULT",g=(f.startsWith("[")&&f.endsWith("]")?f.slice(1,-1):null)??u[p]?.[f];if(!g)return null;let y=p==="blur"?`blur(${g})`:`${p}(${g})`;return pe(t,o,i,n,p,y)}let d=/^hue-rotate-(.+)$/.exec(e);if(d){let p=d[1],f=p.startsWith("[")&&p.endsWith("]")?p.slice(1,-1):/^\d+$/.test(p)?`${r?"-":""}${p}deg`:null;return f?pe(t,o,i,n,"hue-rotate",`hue-rotate(${f})`):null}let s=/^drop-shadow(?:-(.+))?$/.exec(e);if(s){let p=s[1]??"DEFAULT",f={DEFAULT:"0 1px 2px rgb(0 0 0 / .1)",none:"0 0 #0000",xs:"0 1px 1px rgb(0 0 0 / .05)",sm:"0 1px 2px rgb(0 0 0 / .15)",md:"0 3px 3px rgb(0 0 0 / .12)",lg:"0 4px 4px rgb(0 0 0 / .15)",xl:"0 9px 7px rgb(0 0 0 / .1)","2xl":"0 25px 25px rgb(0 0 0 / .15)"},b=p.startsWith("[")&&p.endsWith("]")?p.slice(1,-1):f[p];return t==="filter"&&b?pe(t,o,i,n,"drop-shadow",`drop-shadow(${b})`):null}return null}function xt(e,r,t){let o=[{property:e,value:"none",semanticGroup:r,semanticConflicts:t}];return e==="backdrop-filter"&&o.unshift({property:"-webkit-backdrop-filter",value:"none",semanticGroup:r,semanticConflicts:t}),o}function pe(e,r,t,o,i,n){let l=`${t}${i}`,a=[l,`${t}filter-none`],c=[{property:`${r}${i}`,value:n,semanticGroup:l,semanticConflicts:a}];return e==="backdrop-filter"&&c.push({property:"-webkit-backdrop-filter",value:o,semanticGroup:l,semanticConflicts:a}),c.push({property:e,value:o,semanticGroup:l,semanticConflicts:a}),c}function br(e,r){let t=/^ring-offset-(.+)$/.exec(e);if(t){let c=t[1],u=L(c);if(u)return[{property:"--cssx-ring-offset-width",value:u,semanticGroup:"ring-offset-width"},{property:"--cssx-ring-offset-shadow",value:"0 0 0 var(--cssx-ring-offset-width) var(--cssx-ring-offset-color, #fff)",semanticGroup:"ring-offset-width"},{property:"box-shadow",value:fr,semanticGroup:"ring-offset-width"}];let m=F(c,r);return m?[{property:"--cssx-ring-offset-color",value:m,semanticGroup:"ring-offset-color"}]:null}let o=e==="ring"?"1px":L(/^ring-(.+)$/.exec(e)?.[1]??"");if(o)return[{property:"--cssx-ring-width",value:o,semanticGroup:"ring-width"},{property:"--cssx-ring-shadow",value:"0 0 0 calc(var(--cssx-ring-width) + var(--cssx-ring-offset-width, 0px)) var(--cssx-ring-color, currentColor)",semanticGroup:"ring-width"},{property:"box-shadow",value:fr,semanticGroup:"ring-width"}];let i=/^ring-(.+)$/.exec(e);if(!i)return null;let n=T(i[1]),l=F(n.value,r);if(!l)return null;let a=n.opacity===void 0?null:D(n.opacity);return n.opacity!==void 0&&a===null?null:[{property:"--cssx-ring-color",value:a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`,semanticGroup:"ring-color"}]}var vt={"content-visibility-visible":["content-visibility","visible"],"content-visibility-auto":["content-visibility","auto"],"content-visibility-hidden":["content-visibility","hidden"],"contain-none":["contain","none"],"contain-content":["contain","content"],"contain-strict":["contain","strict"],"contain-size":["contain","size"],"contain-inline-size":["contain","inline-size"],"contain-layout":["contain","layout"],"contain-style":["contain","style"],"contain-paint":["contain","paint"],"stroke-cap-butt":["stroke-linecap","butt"],"stroke-cap-round":["stroke-linecap","round"],"stroke-cap-square":["stroke-linecap","square"],"stroke-join-miter":["stroke-linejoin","miter"],"stroke-join-round":["stroke-linejoin","round"],"stroke-join-bevel":["stroke-linejoin","bevel"],"fill-rule-nonzero":["fill-rule","nonzero"],"fill-rule-evenodd":["fill-rule","evenodd"],"clip-rule-nonzero":["clip-rule","nonzero"],"clip-rule-evenodd":["clip-rule","evenodd"],"vector-effect-none":["vector-effect","none"],"vector-effect-non-scaling-stroke":["vector-effect","non-scaling-stroke"],"paint-order-normal":["paint-order","normal"],"paint-order-fill":["paint-order","fill"],"paint-order-stroke":["paint-order","stroke"],"paint-order-markers":["paint-order","markers"],"shape-rendering-auto":["shape-rendering","auto"],"shape-rendering-optimize-speed":["shape-rendering","optimizeSpeed"],"shape-rendering-crisp-edges":["shape-rendering","crispEdges"],"shape-rendering-geometric-precision":["shape-rendering","geometricPrecision"],"writing-horizontal-tb":["writing-mode","horizontal-tb"],"writing-vertical-rl":["writing-mode","vertical-rl"],"writing-vertical-lr":["writing-mode","vertical-lr"],"text-orientation-mixed":["text-orientation","mixed"],"text-orientation-upright":["text-orientation","upright"],"text-orientation-sideways":["text-orientation","sideways"],"text-combine-upright-none":["text-combine-upright","none"],"text-combine-upright-all":["text-combine-upright","all"],"unicode-bidi-normal":["unicode-bidi","normal"],"unicode-bidi-embed":["unicode-bidi","embed"],"unicode-bidi-isolate":["unicode-bidi","isolate"],"unicode-bidi-bidi-override":["unicode-bidi","bidi-override"],"unicode-bidi-isolate-override":["unicode-bidi","isolate-override"],"unicode-bidi-plaintext":["unicode-bidi","plaintext"],"image-render-auto":["image-rendering","auto"],"image-render-crisp-edges":["image-rendering","crisp-edges"],"image-render-pixelated":["image-rendering","pixelated"],"font-optical-auto":["font-optical-sizing","auto"],"font-optical-none":["font-optical-sizing","none"],"font-kerning-auto":["font-kerning","auto"],"font-kerning-normal":["font-kerning","normal"],"font-kerning-none":["font-kerning","none"],"font-synthesis-none":["font-synthesis","none"],"font-synthesis-weight":["font-synthesis","weight"],"font-synthesis-style":["font-synthesis","style"],"font-synthesis-small-caps":["font-synthesis","small-caps"],"font-synthesis-position":["font-synthesis","position"]};function xr(e,r){let t=vt[e];if(t)return{property:t[0],value:t[1]};let o=/^contain-\[(.+)\]$/.exec(e);if(o)return{property:"contain",value:x(`[${o[1]}]`)};let i=/^contain-intrinsic-(size|inline-size|block-size)-(.+)$/.exec(e);if(i){let l=i[1],a=i[2],c=`contain-intrinsic-${l}`,u=kt(a,c,r);return u?{property:c,value:u}:null}let n=/^stroke-(miterlimit|dasharray|dashoffset)-(.+)$/.exec(e);if(n){let l=`stroke-${n[1]}`,a=n[2],c=wt(a);return c?{property:l,value:c}:null}return null}function kt(e,r,t){return e==="none"?"none":/^\d+(?:\.\d+)?$/.test(e)?S(e,!1,t):$t(e,`--${r}-${e}`,t)}function wt(e){return/^\d+(?:\.\d+)?$/.test(e)?e:e.startsWith("[")||e.startsWith("(")?x(e):null}function $t(e,r,t){return e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")?x(e):U(t,r)??null}var St={linear:"linear",in:"cubic-bezier(.4, 0, 1, 1)",out:"cubic-bezier(0, 0, .2, 1)","in-out":"cubic-bezier(.4, 0, .2, 1)"},B="@supports (animation-timeline: scroll())",vr="@supports (scroll-timeline-name: none)",ue="@supports (view-timeline-name: none)",kr="@supports (timeline-scope: none)",Ct="@supports (animation-range: normal)",wr="@supports (view-transition-name: none)",$r="@supports (view-transition-class: none)",Rt=["transition-","duration-","delay-","ease-","animation-","stagger-","scroll-timeline-","view-timeline-","timeline-scope-","view-transition-"];function Tr(e){return Rt.some(r=>e.startsWith(r))}function Dr(e,r,t){let i={"transition-transform-opacity":"transform, translate, scale, rotate, opacity","transition-filter":"filter, -webkit-backdrop-filter, backdrop-filter","transition-size":"width, height, inline-size, block-size"}[e];if(i)return Sr(i);let n=/^transition-(\[[\s\S]+\])$/.exec(e);if(n)return Sr(x(n[1]));if(e==="delay-stagger")return r?null:{property:"transition-delay",value:zr()};let l=/^(duration|delay)-(.+)$/.exec(e);if(l){let h=l[1];if(r&&h==="duration")return null;let $=de(l[2],`--${h}-`,t);return $?{property:`transition-${h}`,value:r?Rr($):$}:null}let a=/^ease-(.+)$/.exec(e);if(a){let h=Cr(a[1],t);return!r&&h?{property:"transition-timing-function",value:h}:null}let c=/^animation-name-(.+)$/.exec(e);if(c){let h=c[1];return r?null:h==="none"?{property:"animation-name",value:"none"}:h.startsWith("[")&&h.endsWith("]")?{property:"animation-name",value:x(h)}:t.keyframes[h]?{property:"animation-name",value:h}:null}if(e==="animation-delay-stagger")return r?null:{property:"animation-delay",value:zr()};let u=/^animation-(duration|delay)-(.+)$/.exec(e);if(u){let h=u[1],$=u[2];if(h==="duration"&&$==="auto"&&!r)return{property:"animation-duration",value:"auto"};if(r&&h==="duration")return null;let O=de($,`--animation-${h}-`,t);return O?{property:`animation-${h}`,value:r?Rr(O):O}:null}let m=/^animation-ease-(.+)$/.exec(e);if(m){let h=Cr(m[1],t,!0);return!r&&h?{property:"animation-timing-function",value:h}:null}let d=/^animation-iterations-(.+)$/.exec(e);if(d){let h=d[1],$=h==="infinite"||/^\d+(?:\.\d+)?$/.test(h)?h:q(h);return!r&&$?{property:"animation-iteration-count",value:$}:null}let s=/^animation-direction-(normal|reverse|alternate|alternate-reverse)$/.exec(e);if(s)return r?null:{property:"animation-direction",value:s[1]};let p=/^animation-fill-(none|forwards|backwards|both)$/.exec(e);if(p)return r?null:{property:"animation-fill-mode",value:p[1]};let f=/^animation-(running|paused)$/.exec(e);if(f)return r?null:{property:"animation-play-state",value:f[1]};let b=/^animation-composition-(replace|add|accumulate)$/.exec(e);if(b)return r?null:{property:"animation-composition",value:b[1]};let g=/^stagger-(?!index-|count-)(.+)$/.exec(e);if(g){let h=g[1];if(h==="reverse")return r?null:{property:"--cssx-stagger-reverse",value:"1"};let $=de(h,"--stagger-",t);return!r&&$?{property:"--cssx-stagger",value:$}:null}let y=/^stagger-(index|count)-(\d+|\[\d+\])$/.exec(e);if(y){let h=y[2].replaceAll(/\[|\]/g,"");return r?null:{property:`--cssx-stagger-${y[1]}`,value:h}}let w=zt(e);if(w)return r?null:w;let k=Ut(e);if(k)return r?null:k;let z=Tt(e);if(z)return r?null:z;let C=Dt(e);return C&&!r?C:null}function Sr(e){return[{property:"transition-property",value:e},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}]}function de(e,r,t){return/^\d+(?:\.\d+)?$/.test(e)?`${e}ms`:q(e)??U(t,`${r}${e}`)??null}function Cr(e,r,t=!1){let o=q(e);return St[e]??o??U(r,`--ease-${e}`)??(t?U(r,`--animation-ease-${e}`):void 0)??null}function q(e){return e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")?x(e):null}function Rr(e){return/^\d/.test(e)?`-${e}`:`calc(${e} * -1)`}function zr(){return"calc((var(--cssx-stagger-index, 0) * (1 - var(--cssx-stagger-reverse, 0)) + (var(--cssx-stagger-count, 1) - 1 - var(--cssx-stagger-index, 0)) * var(--cssx-stagger-reverse, 0)) * var(--cssx-stagger, 0ms))"}function zt(e){let r={"animation-timeline-auto":"auto","animation-timeline-none":"none"};if(r[e])return{property:"animation-timeline",value:r[e],atRule:B};let t=/^animation-timeline-scroll(?:-(root|self))?-(block|inline|x|y)$/.exec(e);if(t){let n=t[1];return{property:"animation-timeline",value:n?`scroll(${n} ${t[2]})`:`scroll(${t[2]})`,atRule:B}}let o=/^animation-timeline-view-(block|inline|x|y)$/.exec(e);if(o)return{property:"animation-timeline",value:`view(${o[1]})`,atRule:B};let i=/^animation-timeline-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);return i?{property:"animation-timeline",value:i[1],atRule:B}:null}function Ut(e){let r=/^(scroll|view)-timeline-name-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);if(r)return{property:`${r[1]}-timeline-name`,value:r[2],atRule:r[1]==="scroll"?vr:ue};let t=/^(scroll|view)-timeline-axis-(block|inline|x|y)$/.exec(e);if(t)return{property:`${t[1]}-timeline-axis`,value:t[2],atRule:t[1]==="scroll"?vr:ue};let o=/^view-timeline-inset-(\[[\s\S]+\])$/.exec(e);if(o)return{property:"view-timeline-inset",value:x(o[1]),atRule:ue};if(e==="timeline-scope-all")return{property:"timeline-scope",value:"all",atRule:kr};let i=/^timeline-scope-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);return i?{property:"timeline-scope",value:i[1],atRule:kr}:null}function Tt(e){let r=/^animation-range(?:-(start|end))?-(.+)$/.exec(e);if(!r)return null;let t=r[1]?`animation-range-${r[1]}`:"animation-range",o=r[2],i=/^(normal|entry|exit|cover|contain)$/.test(o)?o:q(o);return i?{property:t,value:i,atRule:Ct}:null}function Dt(e){if(e==="view-transition-name-none")return{property:"view-transition-name",value:"none",atRule:wr};if(e==="view-transition-name-match")return{property:"view-transition-name",value:"match-element",atRule:"@supports (view-transition-name: match-element)"};let r=/^view-transition-name-\[([^\]]+)\]$/.exec(e);if(r&&Ur(r[1],["auto","match-element","none"]))return{property:"view-transition-name",value:r[1],atRule:wr};if(e==="view-transition-class-none")return{property:"view-transition-class",value:"none",atRule:$r};let t=/^view-transition-class-\[([^\]]+)\]$/.exec(e);if(t){let o=x(`[${t[1]}]`);if(o.split(/\s+/).every(i=>Ur(i,["none"])))return{property:"view-transition-class",value:o,atRule:$r}}return null}function Ur(e,r){return/^[a-z_][a-z0-9_-]*$/i.test(e)&&!r.includes(e.toLowerCase())&&!/^(?:inherit|initial|revert|revert-layer|unset)$/i.test(e)}var Et="var(--cssx-numeric-ordinal,) var(--cssx-numeric-slashed-zero,) var(--cssx-numeric-lining-nums,) var(--cssx-numeric-oldstyle-nums,) var(--cssx-numeric-proportional-nums,) var(--cssx-numeric-tabular-nums,) var(--cssx-numeric-diagonal-fractions,) var(--cssx-numeric-stacked-fractions,)";function Er(e){let r={ordinal:"ordinal","slashed-zero":"slashed-zero","lining-nums":"lining-nums","oldstyle-nums":"oldstyle-nums","proportional-nums":"proportional-nums","tabular-nums":"tabular-nums","diagonal-fractions":"diagonal-fractions","stacked-fractions":"stacked-fractions"},t=["numeric-normal",...Object.keys(r).map(l=>`numeric-${l}`)];if(e==="normal-nums")return[{property:"font-variant-numeric",value:"normal",semanticGroup:"numeric-normal",semanticConflicts:t}];let o=r[e];if(!o)return null;let i=`numeric-${e}`,n=[i,"numeric-normal"];return[{property:`--cssx-numeric-${e}`,value:o,semanticGroup:i,semanticConflicts:n},{property:"font-variant-numeric",value:Et,semanticGroup:i,semanticConflicts:n}]}function Wr(e){let t={"bg-none":{property:"background-image",value:"none"},"bg-auto":{property:"background-size",value:"auto"},"bg-cover":{property:"background-size",value:"cover"},"bg-contain":{property:"background-size",value:"contain"},"bg-top-left":{property:"background-position",value:"top left"},"bg-top":{property:"background-position",value:"top"},"bg-top-right":{property:"background-position",value:"top right"},"bg-left":{property:"background-position",value:"left"},"bg-center":{property:"background-position",value:"center"},"bg-right":{property:"background-position",value:"right"},"bg-bottom-left":{property:"background-position",value:"bottom left"},"bg-bottom":{property:"background-position",value:"bottom"},"bg-bottom-right":{property:"background-position",value:"bottom right"},"bg-repeat":{property:"background-repeat",value:"repeat"},"bg-no-repeat":{property:"background-repeat",value:"no-repeat"},"bg-repeat-x":{property:"background-repeat",value:"repeat-x"},"bg-repeat-y":{property:"background-repeat",value:"repeat-y"},"bg-repeat-round":{property:"background-repeat",value:"round"},"bg-repeat-space":{property:"background-repeat",value:"space"},"bg-fixed":{property:"background-attachment",value:"fixed"},"bg-local":{property:"background-attachment",value:"local"},"bg-scroll":{property:"background-attachment",value:"scroll"},"bg-clip-border":{property:"background-clip",value:"border-box"},"bg-clip-padding":{property:"background-clip",value:"padding-box"},"bg-clip-content":{property:"background-clip",value:"content-box"},"bg-clip-text":[{property:"-webkit-background-clip",value:"text",semanticGroup:"background-clip"},{property:"background-clip",value:"text",semanticGroup:"background-clip"},{property:"color",value:"transparent",semanticGroup:"background-clip"}],"bg-origin-border":{property:"background-origin",value:"border-box"},"bg-origin-padding":{property:"background-origin",value:"padding-box"},"bg-origin-content":{property:"background-origin",value:"content-box"}}[e];if(t)return Array.isArray(t)?V(t):t;let o=/^bg-position-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(o)return{property:"background-position",value:x(o[1])};let i=/^bg-size-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);return i?{property:"background-size",value:x(i[1])}:null}function Ar(e){let t={"mask-none":["mask-image","none"],"mask-cover":["mask-size","cover"],"mask-contain":["mask-size","contain"],"mask-repeat":["mask-repeat","repeat"],"mask-no-repeat":["mask-repeat","no-repeat"],"mask-repeat-x":["mask-repeat","repeat-x"],"mask-repeat-y":["mask-repeat","repeat-y"],"mask-repeat-round":["mask-repeat","round"],"mask-repeat-space":["mask-repeat","space"],"mask-clip-border":["mask-clip","border-box"],"mask-clip-padding":["mask-clip","padding-box"],"mask-clip-content":["mask-clip","content-box"],"mask-no-clip":["mask-clip","no-clip"],"mask-origin-border":["mask-origin","border-box"],"mask-origin-padding":["mask-origin","padding-box"],"mask-origin-content":["mask-origin","content-box"]}[e];if(t)return{property:t[0],value:t[1]};let o=/^mask-(position|size)-(.+)$/.exec(e);if(o)return{property:`mask-${o[1]}`,value:x(o[2])};let i=/^mask-(\[.+\]|\(.+\))$/.exec(e);return i?{property:"mask-image",value:x(i[1])}:null}function _r(e,r,t){let o=Dr(e,r,t);if(o)return o;if(Tr(e))return null;let i=xr(e,t);if(i)return i;let n=nr(e,r,t);if(n)return n;let l=/^border-spacing(?:-(x|y))?-(.+)$/.exec(e);if(l){let v=l[1],R=S(l[2],r,t);return R?v?[{property:`--cssx-border-spacing-${v}`,value:R,semanticGroup:`border-spacing-${v}`},{property:"border-spacing",value:"var(--cssx-border-spacing-x, 0) var(--cssx-border-spacing-y, 0)",semanticGroup:`border-spacing-${v}`}]:{property:"border-spacing",value:R}:null}let a=or(e);if(a)return a;let c=br(e,t);if(c)return c;let u=Er(e);if(u)return u;let m=gr(e,r)??yr(e,r);if(m)return m;let d=Wr(e);if(d)return d;let s=Ar(e);if(s)return s;let p=ur(e,r,t);if(p)return p;let f=dr(e,t);if(f)return f;let b=mr(e,t);if(b)return b;let g=Qe(e,r,t);if(g)return g;let y=/^columns-(auto|\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(y){let v=y[1];return{property:"columns",value:v.startsWith("[")||v.startsWith("(")?x(v):v}}if(e==="content-none")return{property:"content",value:"none"};let w=/^content-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(w)return{property:"content",value:x(w[1])};let k=/^(?:break-(before|after)-(auto|avoid|all|avoid-page|page|left|right|column)|break-(inside)-(auto|avoid|avoid-page|avoid-column))$/.exec(e);if(k){let v=k[1]??k[3],R=k[2]??k[4];return{property:`break-${v}`,value:R}}let z=/^object-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(z)return{property:"object-position",value:x(z[1])};let C=/^tab-(\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(C){let v=C[1];return{property:"tab-size",value:v.startsWith("[")||v.startsWith("(")?x(v):v}}let h=/^list-image-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(h)return{property:"list-style-image",value:x(h[1])};let $=/^line-clamp-(none|\d+)$/.exec(e);if($)return $[1]==="none"?[{property:"overflow",value:"visible",semanticGroup:"line-clamp"},{property:"display",value:"block",semanticGroup:"line-clamp"},{property:"-webkit-box-orient",value:"horizontal",semanticGroup:"line-clamp"},{property:"-webkit-line-clamp",value:"unset",semanticGroup:"line-clamp"}]:[{property:"overflow",value:"hidden",semanticGroup:"line-clamp"},{property:"display",value:"-webkit-box",semanticGroup:"line-clamp"},{property:"-webkit-box-orient",value:"vertical",semanticGroup:"line-clamp"},{property:"-webkit-line-clamp",value:$[1],semanticGroup:"line-clamp"}];let O=/^grid-cols-(\d+)$/.exec(e);if(O)return{property:"grid-template-columns",value:`repeat(${O[1]}, minmax(0, 1fr))`};if(e==="grid-cols-subgrid")return{property:"grid-template-columns",value:"subgrid"};let ge=/^grid-rows-(\d+)$/.exec(e);if(ge)return{property:"grid-template-rows",value:`repeat(${ge[1]}, minmax(0, 1fr))`};if(e==="grid-rows-subgrid")return{property:"grid-template-rows",value:"subgrid"};let N=/^(col|row)-span-(\d+|full)$/.exec(e);if(N)return{property:N[1]==="col"?"grid-column":"grid-row",value:N[2]==="full"?"1 / -1":`span ${N[2]} / span ${N[2]}`};let P=/^(col|row)-(start|end)-(\d+|auto)$/.exec(e);if(P)return{property:`grid-${P[1]==="col"?"column":"row"}-${P[2]}`,value:P[3]};let K=/^order-(first|last|none|\d+)$/.exec(e);if(K){let R={first:"-9999",last:"9999",none:"0"}[K[1]]??K[1];return{property:"order",value:r&&R!=="0"?R.startsWith("-")?R.slice(1):`-${R}`:R}}let ye=/^basis-(.+)$/.exec(e);if(ye){let v=A(ye[1],r,t,"basis");return v?{property:"flex-basis",value:v}:null}let he=/^flex-(\d+(?:\/\d+)?|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(he){let v=he[1],R=v.startsWith("[")||v.startsWith("(")?x(v):Ye(v);return R?{property:"flex",value:R}:null}let be=/^opacity-(\d{1,3})$/.exec(e);if(be)return{property:"opacity",value:String(Number(be[1])/100)};let xe=/^z-(\d+|auto)$/.exec(e);if(xe)return{property:"z-index",value:xe[1]};let ve=/^leading-(none|tight|snug|normal|relaxed|loose|\[[^\]]+\])$/.exec(e);if(ve)return{property:"line-height",value:Ve(ve[1])};let ke=/^font-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(ke)return{property:"font-family",value:x(ke[1])};let we=/^tracking-(tighter|tight|normal|wide|wider|widest)$/.exec(e);if(we)return{property:"letter-spacing",value:Ne(we[1])};let $e=/^animate-(.+)$/.exec(e);if($e)return rr($e[1],t);let Se=tr(e,r,t);return Se||null}var jr={font:["font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height","font-kerning","font-feature-settings","font-variation-settings"],background:["background-attachment","background-color","background-image","background-position","background-repeat","background-size","background-origin","background-clip"],border:["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","border-top-width","border-right-width","border-bottom-width","border-left-width"],animation:["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-composition","animation-timeline","animation-range","animation-range-start","animation-range-end"],"animation-range":["animation-range-start","animation-range-end"],grid:["grid-template-columns","grid-template-rows","grid-template-areas","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-column","grid-row"],mask:["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"],transition:["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],container:["container-name","container-type"]};function Wt(e,r){return Vr(e,r).atoms}function Vr(e,r){return Nr(e,r).recipe}function Nr(e,r){let t=Z(e),o=We(t);if(!o)throw new Error(`CSSX cannot compile utility "${e}".`);return At(e,t,o,r)}function At(e,r,t,o){let i=Mt(r.utility,r.negative,o),n=Vt(i,o);if(r.important)for(let a of i)a.value=`${a.value} !important`;let l=Me(i);return{recipe:{candidate:e,atoms:l,resources:{keyframes:n,properties:Gt(r.utility)},writes:l.map(a=>{let c=a[0]?.semanticGroup??t.group;return{group:c,conflicts:a[0]?.semanticConflicts??[c]}})},parsedCandidate:r,semantics:t}}async function me(e,r="",t={}){return _t(e,o=>o,r,{},void 0,t,!0)}async function _t(e,r,t,o,i,n,l){if(e.length>5e4)throw new Error("CSSX supports at most 50,000 utility candidates per compilation.");let a=M(t),c=Object.create(null),u=[],m=new Set,d=new Set;for(let g of[...new Set(e)]){let y=Nr(g,a),{recipe:w}=y,k=l?[r(g)]:jt(g,r(g));if(c[g]=k.join(" "),(i?k.filter(C=>i.has(C)||(o[C]?.length??0)>0):k).length!==0){u.push(...Ot(g,k,a,w.atoms,y.parsedCandidate,y.semantics.group,o,i,n));for(let C of w.resources.keyframes)m.add(C);for(let C of w.resources.properties)d.add(C)}}u.sort((g,y)=>g.order!==y.order?g.order<y.order?-1:1:g.candidate<y.candidate?-1:1);let s=[...new Map(u.map(g=>[g.css,g])).values()],p=`${[...d].sort().map(Lt).join("")}${[...m].sort().map(g=>te(a,g)).filter(g=>g!==void 0).join("")}`,f=s.map(g=>g.css).join(""),b=`${re(a,`${p}${f}`)}${p}`;return{classes:c,prefixCss:b,entries:s.map(({candidate:g,css:y})=>({candidate:g,css:y})),css:`${b}${f}`}}function jt(e,r){let t=r.split(/\s+/).filter(Boolean);if(t.length===0||t.some(o=>!/^(?:[A-Za-z_][A-Za-z0-9_-]*|[0-9][A-Za-z0-9_-]*)$/.test(o)))throw new Error(`CSSX received an unsafe generated class name for utility "${e}".`);return t}function fe(e,r){Wt(e,r)}function Ot(e,r,t,o,i,n,l,a,c){if(r.length===1){let u=o.length===1?o[0]:o.flat(),m=r[0],d=Or(m,l,a);return[{candidate:e,className:m,css:se(d,u,i.variants,t,c),order:Mr(i,n,u)}]}if(r.length!==o.length)throw new Error(`CSSX expected ${o.length} generated classes for utility "${e}".`);return o.map((u,m)=>{let d=r[m],s=Or(d,l,a);return s.length===0?null:{candidate:e,className:d,css:se(s,u,i.variants,t,c),order:`${Mr(i,n,u)}\0${m}`}}).filter(u=>u!==null)}function Or(e,r,t){let o=r[e];if(!o?.length)return!t||t.has(e)?[`.${Ir(e)}`]:[];let i=new Set(o);return(!t||t.has(e))&&i.add(e),[...i].sort().map(n=>`.${Ir(n)}`)}function Ir(e){let r="";for(let t=0;t<e.length;t++){let o=e.charCodeAt(t),i=e[t];t===0&&o>=48&&o<=57?r+=`\\${o.toString(16)} `:o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+=i:r+=`\\${i}`}return r}var It={p:100,px:110,py:110,pt:120,pr:120,pb:120,pl:120,ps:120,pe:120,m:200,mx:210,my:210,mt:220,mr:220,mb:220,ml:220,ms:220,me:220,inset:300,"inset-x":310,"inset-y":310,top:320,right:320,bottom:320,left:320,start:320,end:320,size:400,width:410,height:410,"min-width":410,"max-width":410,"min-height":410,"max-height":410,gap:500,"row-gap":510,"column-gap":510,border:600,"border-width":600,"border-x":610,"border-y":610,"border-top":620,"border-right":620,"border-bottom":620,"border-left":620};function Mr(e,r,t){let o=e.variants.map(d=>{let s={sm:100,md:101,lg:102,xl:103,"2xl":104,dark:200,print:300}[d];return`${String(s??10).padStart(3,"0")}:${d}`}).join(":"),i=String(It[r]??900).padStart(3,"0"),n=!1,l=!1,a=!1;for(let{property:d}of t)n||=t.length>1&&d==="transition-property",l||=jr[d]!==void 0,a||=d==="animation-timeline"||d.startsWith("animation-range")||d.startsWith("scroll-timeline")||d.startsWith("view-timeline")||d==="timeline-scope";let c=e.variants.includes("starting"),m=e.variants.some(d=>d.startsWith("vt-"))?500:c?400:a?300:l||n?100:200;return`${String(m).padStart(3,"0")}\0${o}\0${i}\0${r}`}function Mt(e,r,t){let o=He[e];if(o)return V(o);if(e.startsWith("[")&&e.endsWith("]"))return[er(e)];let i=ir(e,r,t);if(i)return i;let n=lr(e,t);if(n)return n;let l=ar(e,t);if(l)return l;let a=sr(e,r,t);if(a)return a;let c=cr(e,t);if(c)return c;let u=pr(e,r,t);if(u)return Array.isArray(u)?u:[u];let m=_r(e,r,t);if(!m)throw new Error(`CSSX cannot compile utility "${r?"-":""}${e}".`);return Array.isArray(m)?m:[m]}function Vt(e,r){let t=new Set;for(let o of e)if(o.property==="animation-name")for(let i of o.value.split(",").map(n=>n.trim()))r.keyframes[i]&&t.add(i);else if(o.property==="animation"){let i=Nt(o.value,r);for(let n of Object.keys(r.keyframes)){let l=n.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&");new RegExp(`(?:^|[\\s,])${l}(?=$|[\\s,])`).test(i)&&t.add(n)}}return[...t].sort()}function Nt(e,r){return e.replaceAll(/var\((--[a-z0-9_-]+)\)/gi,(t,o)=>{let i=r.prefix?`--${r.prefix}-`:"",n=i&&o.startsWith(i)?`--${o.slice(i.length)}`:o;return W(r,n)??t})}function Gt(e){let r=/^scrollbar-(thumb|track)-/.exec(e)?.[1];return r?[`--cssx-scrollbar-${r}`]:[]}function Lt(e){return`@property ${e}{syntax:"<color>";inherits:true;initial-value:#0000;}`}var Gr="data-cssx-runtime";async function Lr(e={}){let r=e.document??globalThis.document;if(!r)throw new Error("@cssxio/html requires a browser document.");let t=e.theme??"",o=Pt(r,t),i=await me([...o],t,{darkMode:e.darkMode}),n=Xt(r)??Ft(r);return n.textContent=i.css,n}function Pt(e,r){let t=M(r),o=new Set;for(let i of e.querySelectorAll("[class]")){let n=i.getAttribute("class");if(!n)continue;let l;try{l=Y(n)}catch{continue}for(let a of l)try{fe(a,t),o.add(a)}catch{}}return o}function Xt(e){return e.head.querySelector(`style[${Gr}]`)}function Ft(e){let r=e.createElement("style");return r.setAttribute(Gr,""),e.head.append(r),r}function Pr(){Lr().catch(e=>{console.error("@cssxio/html could not compile the page classes.",e)})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Pr,{once:!0}):Pr();})();
1
+ "use strict";var CSSX=(()=>{var Xr=new Set(["active","disabled","empty","enabled","even","first","focus","focus-visible","focus-within","hover","last","odd","open","required","target","visited"]),H=new Map([["sm",10],["md",20],["lg",30],["xl",40],["2xl",50],["dark",60],["motion-safe",65],["motion-reduce",65],["print",70]]),Fr=16384,X=32;function Y(e){if(e.length>Fr)throw new Error("CSSX utility list exceeds the 16 KiB limit.");let r=[],t=-1,o=0,i=0,n=0,l=!1;for(let a=0;a<e.length;a++){let c=e.charCodeAt(a);if(t===-1&&!Ce(c)&&(t=a),l){l=!1;continue}if(c===92){l=!0;continue}if(n){c===n&&(n=0);continue}if(c===34||c===39){n=c;continue}if(c===91&&o++,c===93&&o--,c===40&&i++,c===41&&i--,o<0||i<0||o>X||i>X)throw new Error(`Invalid utility list "${e}".`);if(Ce(c)&&o===0&&i===0){t!==-1&&r.push(e.slice(t,a)),t=-1;continue}}if(l||n||o!==0||i!==0)throw new Error(`Invalid utility list "${e}".`);return t!==-1&&r.push(e.slice(t)),r}function Ce(e){return Br.has(e)}var Br=new Set([9,10,11,12,13,32,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279]);function Z(e){if(!e||e.length>500)throw new Error(`Invalid utility "${e}".`);let r=qr(e,":"),o=r.pop(),i=!1,n=!1;if(o.startsWith("!")&&(i=!0,o=o.slice(1)),o.endsWith("!")){if(i)throw new Error(`Invalid utility "${e}".`);i=!0,o=o.slice(0,-1)}if(o.startsWith("-")&&(n=!0,o=o.slice(1)),!o||o.startsWith("!")||o.endsWith("!")||ze(o)||Ue(o))throw new Error(`Invalid utility "${e}".`);let l=Kr(r,e);return{raw:e,variants:l,utility:o,important:i,negative:n}}function Re(e){let r=e.variants.join(":");return e.important?r?`${r}!`:"!":r}function qr(e,r){let t=[],o="",i=0,n=0,l="",a=!1;for(let c of e){if(a){o+=c,a=!1;continue}if(c==="\\"){o+=c,a=!0;continue}if(l){o+=c,c===l&&(l="");continue}if(c==='"'||c==="'"){l=c,o+=c;continue}if(c==="["&&i++,c==="]"&&i--,c==="("&&n++,c===")"&&n--,i<0||n<0||i>X||n>X)throw new Error(`Invalid utility "${e}".`);if(c===r&&i===0&&n===0){if(!o)throw new Error(`Invalid utility "${e}".`);t.push(o),o="";continue}o+=c}if(a||l||i!==0||n!==0)throw new Error(`Invalid utility "${e}".`);if(!o)throw new Error(`Invalid utility "${e}".`);return t.push(o),t}function Kr(e,r){for(let o of e)if(!o||ze(o)||Ue(o))throw new Error(`Invalid utility "${r}".`);return e.every(o=>Xr.has(o)||H.has(o))?[...e].sort((o,i)=>{let n=H.get(o)??100,l=H.get(i)??100;return n-l||o.localeCompare(i)}):e}function ze(e){let r=0,t=0,o="",i=!1;for(let n of e){if(i){i=!1;continue}if(n==="\\"){i=!0;continue}if(o){n===o&&(o="");continue}if(n==='"'||n==="'"){o=n;continue}if(n==="["&&r++,n==="]"&&r--,n==="("&&t++,n===")"&&t--,r===0&&t===0&&(n===";"||n==="{"||n==="}"))return!0}return!1}function Ue(e){let r="",t=!1;for(let o of e){if(t){t=!1;continue}if(o==="\\"){t=!0;continue}if(r){o===r&&(r="");continue}if(o==='"'||o==="'"){r=o;continue}if(o===";"||o==="{"||o==="}")return!0}return!1}var Te={p:["p","px","py","pt","pr","pb","pl","ps","pe"],px:["px","pl","pr","ps","pe"],py:["py","pt","pb"],m:["m","mx","my","mt","mr","mb","ml","ms","me"],mx:["mx","ml","mr","ms","me"],my:["my","mt","mb"],inset:["inset","inset-x","inset-y","top","right","bottom","left","start","end"],"inset-x":["inset-x","left","right","start","end"],"inset-y":["inset-y","top","bottom"],size:["size","width","height"],gap:["gap","row-gap","column-gap"],border:["border","border-x","border-y","border-top","border-right","border-bottom","border-left","border-inline-start","border-inline-end"],"border-width":["border-width","border-x","border-y","border-top","border-right","border-bottom","border-left","border-inline-start","border-inline-end"],"border-x":["border-x","border-left","border-right","border-inline-start","border-inline-end"],"border-y":["border-y","border-top","border-bottom"]};var De={block:{group:"display"},"inline-block":{group:"display"},inline:{group:"display"},flex:{group:"display"},"inline-flex":{group:"display"},grid:{group:"display"},"inline-grid":{group:"display"},table:{group:"display"},"inline-table":{group:"display"},"flow-root":{group:"display"},contents:{group:"display"},"list-item":{group:"display"},"sr-only":{group:"sr-only"},"not-sr-only":{group:"sr-only"},hidden:{group:"display"},static:{group:"position"},fixed:{group:"position"},absolute:{group:"position"},relative:{group:"position"},sticky:{group:"position"},visible:{group:"visibility"},invisible:{group:"visibility"},collapse:{group:"visibility"},"box-border":{group:"box-sizing"},"box-content":{group:"box-sizing"},isolate:{group:"isolation"},"isolation-auto":{group:"isolation"},border:{group:"border-width"},"border-none":{group:"border-style"},"border-hidden":{group:"border-style"},"border-dotted":{group:"border-style"},"border-dashed":{group:"border-style"},"border-solid":{group:"border-style"},"border-double":{group:"border-style"},"divide-x":{group:"divide-x"},"divide-y":{group:"divide-y"},outline:{group:"outline-width"},"outline-none":{group:"outline-style"},"outline-hidden":{group:"outline-hidden"},"outline-solid":{group:"outline-style"},"outline-dashed":{group:"outline-style"},"outline-dotted":{group:"outline-style"},"outline-double":{group:"outline-style"},rounded:{group:"border-radius"},shadow:{group:"box-shadow"},transition:{group:"transition-property"},transform:{group:"transform"},"transform-none":{group:"transform"},"transition-none":{group:"transition-property"},"transition-normal":{group:"transition-behavior"},"transition-discrete":{group:"transition-behavior"},blur:{group:"blur"},grayscale:{group:"grayscale"},invert:{group:"invert"},sepia:{group:"sepia"},"drop-shadow":{group:"drop-shadow"},"overflow-auto":{group:"overflow"},"overflow-hidden":{group:"overflow"},"overflow-clip":{group:"overflow"},"overflow-visible":{group:"overflow"},"overflow-scroll":{group:"overflow"},container:{group:"container"},"flex-row":{group:"flex-direction"},"flex-row-reverse":{group:"flex-direction"},"flex-col":{group:"flex-direction"},"flex-col-reverse":{group:"flex-direction"},"flex-wrap":{group:"flex-wrap"},"flex-wrap-reverse":{group:"flex-wrap"},"flex-nowrap":{group:"flex-wrap"},"font-thin":{group:"font-weight"},"font-extralight":{group:"font-weight"},"font-light":{group:"font-weight"},"font-normal":{group:"font-weight"},"font-medium":{group:"font-weight"},"font-semibold":{group:"font-weight"},"font-bold":{group:"font-weight"},"font-extrabold":{group:"font-weight"},"font-black":{group:"font-weight"},antialiased:{group:"font-smoothing"},"subpixel-antialiased":{group:"font-smoothing"},"normal-nums":{group:"numeric-normal"},ordinal:{group:"numeric-ordinal"},"slashed-zero":{group:"numeric-slashed-zero"},"lining-nums":{group:"numeric-lining-nums"},"oldstyle-nums":{group:"numeric-oldstyle-nums"},"proportional-nums":{group:"numeric-proportional-nums"},"tabular-nums":{group:"numeric-tabular-nums"},"diagonal-fractions":{group:"numeric-diagonal-fractions"},"stacked-fractions":{group:"numeric-stacked-fractions"},italic:{group:"font-style"},"not-italic":{group:"font-style"},truncate:{group:"truncate"},uppercase:{group:"text-transform"},lowercase:{group:"text-transform"},capitalize:{group:"text-transform"},"normal-case":{group:"text-transform"},underline:{group:"text-decoration-line"},overline:{group:"text-decoration-line"},"line-through":{group:"text-decoration-line"},"no-underline":{group:"text-decoration-line"},"pointer-events-none":{group:"pointer-events"},"pointer-events-auto":{group:"pointer-events"},"select-none":{group:"user-select"},"select-text":{group:"user-select"},"select-all":{group:"user-select"},"select-auto":{group:"user-select"},"appearance-none":{group:"appearance"},"appearance-auto":{group:"appearance"},"field-sizing-content":{group:"field-sizing"},"resize-none":{group:"resize"},"resize-x":{group:"resize"},"resize-y":{group:"resize"},resize:{group:"resize"},"scroll-auto":{group:"scroll-behavior"},"scroll-smooth":{group:"scroll-behavior"},"scrollbar-auto":{group:"scrollbar-width"},"scrollbar-thin":{group:"scrollbar-width"},"scrollbar-none":{group:"scrollbar-width"},"scrollbar-gutter-auto":{group:"scrollbar-gutter"},"scrollbar-gutter-stable":{group:"scrollbar-gutter"},"scrollbar-gutter-both":{group:"scrollbar-gutter"},"border-collapse":{group:"border-collapse"},"border-separate":{group:"border-collapse"},"table-auto":{group:"table-layout"},"table-fixed":{group:"table-layout"},"caption-top":{group:"caption-side"},"caption-bottom":{group:"caption-side"},"snap-none":{group:"scroll-snap-type"},"snap-x":{group:"scroll-snap-type"},"snap-y":{group:"scroll-snap-type"},"snap-both":{group:"scroll-snap-type"},"snap-mandatory":{group:"scroll-snap-strictness"},"snap-proximity":{group:"scroll-snap-strictness"},"snap-normal":{group:"scroll-snap-stop"},"snap-always":{group:"scroll-snap-stop"},"snap-start":{group:"scroll-snap-align"},"snap-end":{group:"scroll-snap-align"},"snap-center":{group:"scroll-snap-align"},"snap-align-none":{group:"scroll-snap-align"},"forced-color-adjust-auto":{group:"forced-color-adjust"},"forced-color-adjust-none":{group:"forced-color-adjust"},"accent-auto":{group:"accent-color"},"caret-auto":{group:"caret-color"},"fill-none":{group:"fill"},"stroke-none":{group:"stroke"}};var Ee=[["content-visibility-","content-visibility"],["contain-intrinsic-inline-size-","contain-intrinsic-inline-size"],["contain-intrinsic-block-size-","contain-intrinsic-block-size"],["contain-intrinsic-size-","contain-intrinsic-size"],["contain-","contain"],["columns-","columns"],["break-before-","break-before"],["break-after-","break-after"],["break-inside-","break-inside"],["float-","float"],["clear-","clear"],["box-decoration-","box-decoration-break"],["line-clamp-","line-clamp"],["list-image-","list-style-image"],["list-","list-style-type"],["tab-","tab-size"],["whitespace-","white-space"],["hyphens-","hyphens"],["wrap-","overflow-wrap"],["table-","display"],["overflow-x-","overflow-x"],["overflow-y-","overflow-y"],["overscroll-x-","overscroll-x"],["overscroll-y-","overscroll-y"],["overscroll-","overscroll"],["object-","object"],["isolation-","isolation"],["z-","z-index"],["order-","order"],["col-span-","grid-column"],["col-start-","grid-column-start"],["col-end-","grid-column-end"],["row-span-","grid-row"],["row-start-","grid-row-start"],["row-end-","grid-row-end"],["grid-cols-","grid-template-columns"],["grid-rows-","grid-template-rows"],["grid-flow-","grid-auto-flow"],["auto-cols-","grid-auto-columns"],["auto-rows-","grid-auto-rows"],["place-content-","place-content"],["place-items-","place-items"],["place-self-","place-self"],["justify-items-","justify-items"],["justify-self-","justify-self"],["justify-","justify-content"],["items-","align-items"],["self-","align-self"],["content-","align-content"],["basis-","flex-basis"],["flex-","flex"],["grow","flex-grow"],["shrink","flex-shrink"],["aspect-","aspect-ratio"],["size-","size"],["min-inline-","min-inline-size"],["max-inline-","max-inline-size"],["inline-","inline-size"],["min-block-","min-block-size"],["max-block-","max-block-size"],["block-","block-size"],["min-w-","min-width"],["max-w-","max-width"],["min-h-","min-height"],["max-h-","max-height"],["w-","width"],["h-","height"],["inset-x-","inset-x"],["inset-y-","inset-y"],["inset-s-","start"],["inset-e-","end"],["inset-","inset"],["start-","inset-inline-start"],["end-","inset-inline-end"],["top-","top"],["right-","right"],["bottom-","bottom"],["left-","left"],["space-x-","space-x"],["space-y-","space-y"],["placeholder-","placeholder-color"],["underline-offset-","text-underline-offset"],["decoration-","text-decoration-thickness"],["divide-x-","divide-x"],["divide-y-","divide-y"],["divide-","divide-color"],["outline-offset-","outline-offset"],["outline-","outline-width"],["gap-x-","column-gap"],["gap-y-","row-gap"],["gap-","gap"],["scroll-mx-","scroll-margin-x"],["scroll-my-","scroll-margin-y"],["scroll-mt-","scroll-margin-top"],["scroll-mr-","scroll-margin-right"],["scroll-mb-","scroll-margin-bottom"],["scroll-ml-","scroll-margin-left"],["scroll-m-","scroll-margin"],["scroll-px-","scroll-padding-x"],["scroll-py-","scroll-padding-y"],["scroll-pt-","scroll-padding-top"],["scroll-pr-","scroll-padding-right"],["scroll-pb-","scroll-padding-bottom"],["scroll-pl-","scroll-padding-left"],["scroll-p-","scroll-padding"],["mx-","mx"],["my-","my"],["ms-","ms"],["me-","me"],["mt-","mt"],["mr-","mr"],["mb-","mb"],["ml-","ml"],["m-","m"],["px-","px"],["py-","py"],["ps-","ps"],["pe-","pe"],["pt-","pt"],["pr-","pr"],["pb-","pb"],["pl-","pl"],["p-","p"],["font-synthesis-","font-synthesis"],["font-optical-","font-optical-sizing"],["font-kerning-","font-kerning"],["font-","font-family"],["text-combine-upright-","text-combine-upright"],["text-orientation-","text-orientation"],["text-","text"],["leading-","line-height"],["tracking-","letter-spacing"],["indent-","text-indent"],["align-","vertical-align"],["whitespace-","white-space"],["break-","word-break"],["hyphens-","hyphens"],["bg-linear-to-","background-image"],["bg-linear-","background-image"],["bg-","background"],["accent-","accent-color"],["caret-","caret-color"],["stroke-miterlimit-","stroke-miterlimit"],["stroke-dasharray-","stroke-dasharray"],["stroke-dashoffset-","stroke-dashoffset"],["stroke-cap-","stroke-linecap"],["stroke-join-","stroke-linejoin"],["fill-rule-","fill-rule"],["clip-rule-","clip-rule"],["vector-effect-","vector-effect"],["paint-order-","paint-order"],["shape-rendering-","shape-rendering"],["fill-","fill"],["stroke-","stroke"],["scrollbar-thumb-","scrollbar-thumb"],["scrollbar-track-","scrollbar-track"],["scheme-","color-scheme"],["mask-","mask-image"],["from-","gradient-from"],["via-","gradient-via"],["to-","gradient-to"],["rounded-","border-radius"],["border-spacing-","border-spacing"],["border-x-","border-x"],["border-y-","border-y"],["border-s-","border-inline-start"],["border-e-","border-inline-end"],["border-t-","border-top"],["border-r-","border-right"],["border-b-","border-bottom"],["border-l-","border-left"],["border-","border"],["outline-","outline"],["ring-offset-","ring-offset"],["ring-","ring"],["shadow-","box-shadow"],["opacity-","opacity"],["mix-blend-","mix-blend-mode"],["bg-blend-","background-blend-mode"],["filter-","filter"],["blur-","blur"],["brightness-","brightness"],["contrast-","contrast"],["drop-shadow-","drop-shadow"],["grayscale-","grayscale"],["hue-rotate-","hue-rotate"],["invert-","invert"],["saturate-","saturate"],["sepia-","sepia"],["backdrop-","backdrop-filter"],["animation-name-","animation-name"],["animation-composition-","animation-composition"],["animation-timeline-","animation-timeline"],["animation-range-start-","animation-range-start"],["animation-range-end-","animation-range-end"],["animation-range-","animation-range"],["animation-duration-","animation-duration"],["animation-delay-","animation-delay"],["animation-ease-","animation-timing-function"],["animation-iterations-","animation-iteration-count"],["animation-direction-","animation-direction"],["animation-fill-","animation-fill-mode"],["animation-","animation-play-state"],["writing-","writing-mode"],["unicode-bidi-","unicode-bidi"],["image-render-","image-rendering"],["transition-","transition-property"],["duration-","transition-duration"],["delay-","transition-delay"],["ease-","transition-timing-function"],["animate-","animation"],["stagger-index-","stagger-index"],["stagger-count-","stagger-count"],["stagger-reverse","stagger-reverse"],["stagger-","stagger"],["scroll-timeline-name-","scroll-timeline-name"],["scroll-timeline-axis-","scroll-timeline-axis"],["view-timeline-name-","view-timeline-name"],["view-timeline-axis-","view-timeline-axis"],["view-timeline-inset-","view-timeline-inset"],["timeline-scope-","timeline-scope"],["view-transition-name-","view-transition-name"],["view-transition-class-","view-transition-class"],["origin-","transform-origin"],["scale-x-","scale-x"],["scale-y-","scale-y"],["scale-","scale"],["rotate-","rotate"],["translate-x-","translate-x"],["translate-y-","translate-y"],["skew-x-","skew-x"],["skew-y-","skew-y"],["cursor-","cursor"],["touch-","touch-action"],["will-change-","will-change"]];function We(e){let r=e.utility,t=Hr(r);return t?{scope:Re(e),group:t,conflicts:Te[t]??[t]}:null}function Hr(e){if(e.startsWith("[")&&e.endsWith("]"))return Yr(e);let r=De[e];if(r)return r.group;for(let[t,o]of Ee)if(e.startsWith(t))return Zr(t,o,e);return null}function Yr(e){let r=e.slice(1,-1).split(":",1)[0]?.trim().toLowerCase();return!r||!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(r)?null:`arbitrary..${r}`}function Zr(e,r,t){if(e==="border-")return J(t.slice(e.length))?"border-color":r;if(e==="outline-")return J(t.slice(e.length))?"outline-color":r;if(e==="decoration-"){let i=t.slice(e.length);return/^(solid|double|dotted|dashed|wavy)$/.test(i)?"text-decoration-style":J(i)?"text-decoration-color":r}if(e!=="text-")return r;let o=t.slice(e.length);return/^(xs|sm|base|lg|xl|\d+xl)$/.test(o)||o.startsWith("[")&&o.endsWith("]")&&Jr(o.slice(1,-1))?"font-size":/^(left|center|right|justify|start|end)$/.test(o)?"text-align":/^(ellipsis|clip|wrap|nowrap|balance|pretty)$/.test(o)?"text-overflow":"text-color"}function J(e){let r=e.split("/",1)[0];return r.startsWith("[")||/^(?:transparent|current|black|white|[a-z-]+-\d{1,3})$/i.test(r)}function Jr(e){let r=e.replace(/^(?:length|size):/,"");return/^-?(?:\d+(?:\.\d+)?)(?:px|rem|em|ch|ex|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc)$/i.test(r)||r.startsWith("calc(")}var Ae={"--color-red-50":"oklch(97.13% 0.013 17.38)","--color-red-100":"oklch(93.63% 0.032 17.717)","--color-red-200":"oklch(88.49% 0.062 18.334)","--color-red-300":"oklch(80.82% 0.114 19.571)","--color-red-400":"oklch(70.37% 0.191 22.216)","--color-red-500":"oklch(63.71% 0.237 25.331)","--color-red-600":"oklch(57.68% 0.245 27.325)","--color-red-700":"oklch(50.53% 0.213 27.518)","--color-red-800":"oklch(44.39% 0.177 26.899)","--color-red-900":"oklch(39.62% 0.141 25.723)","--color-red-950":"oklch(25.79% 0.092 26.042)","--color-orange-50":"oklch(97.97% 0.016 73.684)","--color-orange-100":"oklch(95.38% 0.038 75.164)","--color-orange-200":"oklch(90.11% 0.076 70.697)","--color-orange-300":"oklch(83.67% 0.128 66.29)","--color-orange-400":"oklch(75.02% 0.183 55.934)","--color-orange-500":"oklch(70.49% 0.213 47.604)","--color-orange-600":"oklch(64.63% 0.222 41.116)","--color-orange-700":"oklch(55.28% 0.195 38.402)","--color-orange-800":"oklch(47.01% 0.157 37.304)","--color-orange-900":"oklch(40.77% 0.123 38.172)","--color-orange-950":"oklch(26.61% 0.079 36.259)","--color-amber-50":"oklch(98.72% 0.022 95.277)","--color-amber-100":"oklch(96.23% 0.059 95.617)","--color-amber-200":"oklch(92.39% 0.12 95.746)","--color-amber-300":"oklch(87.92% 0.169 91.605)","--color-amber-400":"oklch(82.77% 0.189 84.429)","--color-amber-500":"oklch(76.91% 0.188 70.08)","--color-amber-600":"oklch(66.58% 0.179 58.318)","--color-amber-700":"oklch(55.53% 0.163 48.998)","--color-amber-800":"oklch(47.29% 0.137 46.201)","--color-amber-900":"oklch(41.42% 0.112 45.904)","--color-amber-950":"oklch(27.89% 0.077 45.635)","--color-yellow-50":"oklch(98.67% 0.026 102.212)","--color-yellow-100":"oklch(97.27% 0.071 103.193)","--color-yellow-200":"oklch(94.51% 0.129 101.54)","--color-yellow-300":"oklch(90.48% 0.182 98.111)","--color-yellow-400":"oklch(85.23% 0.199 91.936)","--color-yellow-500":"oklch(79.49% 0.184 86.047)","--color-yellow-600":"oklch(68.12% 0.162 75.834)","--color-yellow-700":"oklch(55.37% 0.135 66.442)","--color-yellow-800":"oklch(47.61% 0.114 61.907)","--color-yellow-900":"oklch(42.08% 0.095 57.708)","--color-yellow-950":"oklch(28.61% 0.066 53.813)","--color-lime-50":"oklch(98.62% 0.031 120.757)","--color-lime-100":"oklch(96.73% 0.067 122.328)","--color-lime-200":"oklch(93.79% 0.127 124.321)","--color-lime-300":"oklch(89.72% 0.196 126.665)","--color-lime-400":"oklch(84.07% 0.238 128.85)","--color-lime-500":"oklch(76.81% 0.233 130.85)","--color-lime-600":"oklch(64.78% 0.2 131.684)","--color-lime-700":"oklch(53.23% 0.157 131.589)","--color-lime-800":"oklch(45.29% 0.124 130.933)","--color-lime-900":"oklch(40.52% 0.101 131.063)","--color-lime-950":"oklch(27.39% 0.072 132.109)","--color-green-50":"oklch(98.23% 0.018 155.826)","--color-green-100":"oklch(96.21% 0.044 156.743)","--color-green-200":"oklch(92.48% 0.084 155.995)","--color-green-300":"oklch(87.13% 0.15 154.449)","--color-green-400":"oklch(79.19% 0.209 151.711)","--color-green-500":"oklch(72.32% 0.219 149.579)","--color-green-600":"oklch(62.67% 0.194 149.214)","--color-green-700":"oklch(52.71% 0.154 150.069)","--color-green-800":"oklch(44.78% 0.119 151.328)","--color-green-900":"oklch(39.33% 0.095 152.535)","--color-green-950":"oklch(26.58% 0.065 152.934)","--color-emerald-50":"oklch(97.87% 0.021 166.113)","--color-emerald-100":"oklch(94.97% 0.052 163.051)","--color-emerald-200":"oklch(90.51% 0.093 164.15)","--color-emerald-300":"oklch(84.48% 0.143 164.978)","--color-emerald-400":"oklch(76.53% 0.177 163.223)","--color-emerald-500":"oklch(69.59% 0.17 162.48)","--color-emerald-600":"oklch(59.62% 0.145 163.225)","--color-emerald-700":"oklch(50.77% 0.118 165.612)","--color-emerald-800":"oklch(43.21% 0.095 166.913)","--color-emerald-900":"oklch(37.78% 0.077 168.94)","--color-emerald-950":"oklch(26.21% 0.051 172.552)","--color-teal-50":"oklch(98.37% 0.014 180.72)","--color-teal-100":"oklch(95.27% 0.051 180.801)","--color-teal-200":"oklch(91.01% 0.096 180.426)","--color-teal-300":"oklch(85.48% 0.138 181.071)","--color-teal-400":"oklch(77.73% 0.152 181.912)","--color-teal-500":"oklch(70.39% 0.14 182.503)","--color-teal-600":"oklch(60.02% 0.118 184.704)","--color-teal-700":"oklch(51.07% 0.096 186.391)","--color-teal-800":"oklch(43.71% 0.078 188.216)","--color-teal-900":"oklch(38.58% 0.063 188.416)","--color-teal-950":"oklch(27.71% 0.046 192.524)","--color-cyan-50":"oklch(98.42% 0.019 200.873)","--color-cyan-100":"oklch(95.61% 0.045 203.388)","--color-cyan-200":"oklch(91.67% 0.08 205.041)","--color-cyan-300":"oklch(86.52% 0.127 207.078)","--color-cyan-400":"oklch(78.89% 0.154 211.53)","--color-cyan-500":"oklch(71.53% 0.143 215.221)","--color-cyan-600":"oklch(60.88% 0.126 221.723)","--color-cyan-700":"oklch(52.01% 0.105 223.128)","--color-cyan-800":"oklch(44.97% 0.085 224.283)","--color-cyan-900":"oklch(39.82% 0.07 227.392)","--color-cyan-950":"oklch(30.17% 0.056 229.695)","--color-sky-50":"oklch(97.72% 0.013 236.62)","--color-sky-100":"oklch(95.12% 0.026 236.824)","--color-sky-200":"oklch(90.09% 0.058 230.902)","--color-sky-300":"oklch(82.83% 0.111 230.318)","--color-sky-400":"oklch(74.58% 0.16 232.661)","--color-sky-500":"oklch(68.51% 0.169 237.323)","--color-sky-600":"oklch(58.77% 0.158 241.966)","--color-sky-700":"oklch(50.02% 0.134 242.749)","--color-sky-800":"oklch(44.29% 0.11 240.79)","--color-sky-900":"oklch(39.13% 0.09 240.876)","--color-sky-950":"oklch(29.29% 0.066 243.157)","--color-blue-50":"oklch(96.98% 0.014 254.604)","--color-blue-100":"oklch(93.19% 0.032 255.585)","--color-blue-200":"oklch(88.23% 0.059 254.128)","--color-blue-300":"oklch(80.88% 0.105 251.813)","--color-blue-400":"oklch(70.71% 0.165 254.624)","--color-blue-500":"oklch(62.27% 0.214 259.815)","--color-blue-600":"oklch(54.62% 0.245 262.881)","--color-blue-700":"oklch(48.79% 0.243 264.376)","--color-blue-800":"oklch(42.43% 0.199 265.638)","--color-blue-900":"oklch(37.88% 0.146 265.522)","--color-blue-950":"oklch(28.23% 0.091 267.935)","--color-indigo-50":"oklch(96.17% 0.018 272.314)","--color-indigo-100":"oklch(92.97% 0.034 272.788)","--color-indigo-200":"oklch(87.01% 0.065 274.039)","--color-indigo-300":"oklch(78.48% 0.115 274.713)","--color-indigo-400":"oklch(67.33% 0.182 276.935)","--color-indigo-500":"oklch(58.49% 0.233 277.117)","--color-indigo-600":"oklch(51.12% 0.262 276.966)","--color-indigo-700":"oklch(45.67% 0.24 277.023)","--color-indigo-800":"oklch(39.81% 0.195 277.366)","--color-indigo-900":"oklch(35.88% 0.144 278.697)","--color-indigo-950":"oklch(25.71% 0.09 281.288)","--color-violet-50":"oklch(96.92% 0.016 293.756)","--color-violet-100":"oklch(94.33% 0.029 294.588)","--color-violet-200":"oklch(89.38% 0.057 293.283)","--color-violet-300":"oklch(81.11% 0.111 293.571)","--color-violet-400":"oklch(70.17% 0.183 293.541)","--color-violet-500":"oklch(60.62% 0.25 292.717)","--color-violet-600":"oklch(54.09% 0.281 293.009)","--color-violet-700":"oklch(49.13% 0.27 292.581)","--color-violet-800":"oklch(43.18% 0.232 292.759)","--color-violet-900":"oklch(38.01% 0.189 293.745)","--color-violet-950":"oklch(28.28% 0.141 291.089)","--color-purple-50":"oklch(97.68% 0.014 308.299)","--color-purple-100":"oklch(94.59% 0.033 307.174)","--color-purple-200":"oklch(90.22% 0.063 306.703)","--color-purple-300":"oklch(82.67% 0.119 306.383)","--color-purple-400":"oklch(71.41% 0.203 305.504)","--color-purple-500":"oklch(62.68% 0.265 303.9)","--color-purple-600":"oklch(55.83% 0.288 302.321)","--color-purple-700":"oklch(49.59% 0.265 301.924)","--color-purple-800":"oklch(43.82% 0.218 303.724)","--color-purple-900":"oklch(38.07% 0.176 304.987)","--color-purple-950":"oklch(29.12% 0.149 302.717)","--color-fuchsia-50":"oklch(97.72% 0.017 320.058)","--color-fuchsia-100":"oklch(95.23% 0.037 318.852)","--color-fuchsia-200":"oklch(90.29% 0.076 319.62)","--color-fuchsia-300":"oklch(83.32% 0.145 321.434)","--color-fuchsia-400":"oklch(73.97% 0.238 322.16)","--color-fuchsia-500":"oklch(66.71% 0.295 322.15)","--color-fuchsia-600":"oklch(59.08% 0.293 322.896)","--color-fuchsia-700":"oklch(51.83% 0.253 323.949)","--color-fuchsia-800":"oklch(45.19% 0.211 324.591)","--color-fuchsia-900":"oklch(40.12% 0.17 325.612)","--color-fuchsia-950":"oklch(29.29% 0.136 325.661)","--color-pink-50":"oklch(97.08% 0.014 343.198)","--color-pink-100":"oklch(94.78% 0.028 342.258)","--color-pink-200":"oklch(89.91% 0.061 343.231)","--color-pink-300":"oklch(82.27% 0.12 346.018)","--color-pink-400":"oklch(71.82% 0.202 349.761)","--color-pink-500":"oklch(65.59% 0.241 354.308)","--color-pink-600":"oklch(59.23% 0.249 0.584)","--color-pink-700":"oklch(52.48% 0.223 3.958)","--color-pink-800":"oklch(45.91% 0.187 3.815)","--color-pink-900":"oklch(40.77% 0.153 2.432)","--color-pink-950":"oklch(28.41% 0.109 3.907)","--color-rose-50":"oklch(96.91% 0.015 12.422)","--color-rose-100":"oklch(94.13% 0.03 12.58)","--color-rose-200":"oklch(89.18% 0.058 10.001)","--color-rose-300":"oklch(81.01% 0.117 11.638)","--color-rose-400":"oklch(71.17% 0.194 13.428)","--color-rose-500":"oklch(64.52% 0.246 16.439)","--color-rose-600":"oklch(58.59% 0.253 17.585)","--color-rose-700":"oklch(51.43% 0.222 16.935)","--color-rose-800":"oklch(45.48% 0.188 13.697)","--color-rose-900":"oklch(41.01% 0.159 10.272)","--color-rose-950":"oklch(27.08% 0.105 12.094)","--color-slate-50":"oklch(98.42% 0.003 247.858)","--color-slate-100":"oklch(96.83% 0.007 247.896)","--color-slate-200":"oklch(92.88% 0.013 255.508)","--color-slate-300":"oklch(86.91% 0.022 252.894)","--color-slate-400":"oklch(70.37% 0.04 256.788)","--color-slate-500":"oklch(55.42% 0.046 257.417)","--color-slate-600":"oklch(44.59% 0.043 257.281)","--color-slate-700":"oklch(37.23% 0.044 257.287)","--color-slate-800":"oklch(27.88% 0.041 260.031)","--color-slate-900":"oklch(20.81% 0.042 265.755)","--color-slate-950":"oklch(12.88% 0.042 264.695)","--color-gray-50":"oklch(98.53% 0.002 247.839)","--color-gray-100":"oklch(96.72% 0.003 264.542)","--color-gray-200":"oklch(92.79% 0.006 264.531)","--color-gray-300":"oklch(87.23% 0.01 258.338)","--color-gray-400":"oklch(70.68% 0.022 261.325)","--color-gray-500":"oklch(55.11% 0.027 264.364)","--color-gray-600":"oklch(44.57% 0.03 256.802)","--color-gray-700":"oklch(37.32% 0.034 259.733)","--color-gray-800":"oklch(27.79% 0.033 256.848)","--color-gray-900":"oklch(21.03% 0.034 264.665)","--color-gray-950":"oklch(12.99% 0.028 261.692)","--color-zinc-50":"oklch(98.47% 0 none)","--color-zinc-100":"oklch(96.69% 0.001 286.375)","--color-zinc-200":"oklch(92.03% 0.004 286.32)","--color-zinc-300":"oklch(87.08% 0.006 286.286)","--color-zinc-400":"oklch(70.51% 0.015 286.067)","--color-zinc-500":"oklch(55.17% 0.016 285.938)","--color-zinc-600":"oklch(44.22% 0.017 285.786)","--color-zinc-700":"oklch(36.99% 0.013 285.805)","--color-zinc-800":"oklch(27.43% 0.006 286.033)","--color-zinc-900":"oklch(20.98% 0.006 285.885)","--color-zinc-950":"oklch(14.13% 0.005 285.823)","--color-neutral-50":"oklch(98.52% 0 none)","--color-neutral-100":"oklch(97.01% 0 none)","--color-neutral-200":"oklch(92.17% 0 none)","--color-neutral-300":"oklch(87.02% 0 none)","--color-neutral-400":"oklch(70.79% 0 none)","--color-neutral-500":"oklch(55.63% 0 none)","--color-neutral-600":"oklch(43.88% 0 none)","--color-neutral-700":"oklch(37.11% 0 none)","--color-neutral-800":"oklch(26.87% 0 none)","--color-neutral-900":"oklch(20.52% 0 none)","--color-neutral-950":"oklch(14.47% 0 none)","--color-stone-50":"oklch(98.53% 0.001 106.423)","--color-stone-100":"oklch(97.03% 0.001 106.424)","--color-stone-200":"oklch(92.29% 0.003 48.717)","--color-stone-300":"oklch(86.92% 0.005 56.366)","--color-stone-400":"oklch(70.87% 0.01 56.259)","--color-stone-500":"oklch(55.31% 0.013 58.071)","--color-stone-600":"oklch(44.38% 0.011 73.639)","--color-stone-700":"oklch(37.43% 0.01 67.558)","--color-stone-800":"oklch(26.79% 0.007 34.298)","--color-stone-900":"oklch(21.62% 0.006 56.043)","--color-stone-950":"oklch(14.69% 0.004 49.25)","--color-mauve-50":"oklch(98.49% 0 none)","--color-mauve-100":"oklch(95.98% 0.003 325.6)","--color-mauve-200":"oklch(92.23% 0.005 325.62)","--color-mauve-300":"oklch(86.49% 0.012 325.68)","--color-mauve-400":"oklch(71.12% 0.019 323.02)","--color-mauve-500":"oklch(54.17% 0.034 322.5)","--color-mauve-600":"oklch(43.51% 0.029 321.78)","--color-mauve-700":"oklch(36.38% 0.029 323.89)","--color-mauve-800":"oklch(26.33% 0.024 320.12)","--color-mauve-900":"oklch(21.19% 0.019 322.12)","--color-mauve-950":"oklch(14.53% 0.008 326)","--color-olive-50":"oklch(98.83% 0.003 106.5)","--color-olive-100":"oklch(96.63% 0.005 106.5)","--color-olive-200":"oklch(92.99% 0.007 106.5)","--color-olive-300":"oklch(88.02% 0.011 106.6)","--color-olive-400":"oklch(73.67% 0.021 106.9)","--color-olive-500":"oklch(58.01% 0.031 107.3)","--color-olive-600":"oklch(46.58% 0.025 107.3)","--color-olive-700":"oklch(39.43% 0.023 107.4)","--color-olive-800":"oklch(28.59% 0.016 107.4)","--color-olive-900":"oklch(22.82% 0.013 107.4)","--color-olive-950":"oklch(15.29% 0.006 107.1)","--color-mist-50":"oklch(98.73% 0.002 197.1)","--color-mist-100":"oklch(96.32% 0.002 197.1)","--color-mist-200":"oklch(92.49% 0.005 214.3)","--color-mist-300":"oklch(87.23% 0.007 219.6)","--color-mist-400":"oklch(72.28% 0.014 214.4)","--color-mist-500":"oklch(56.01% 0.021 213.5)","--color-mist-600":"oklch(44.97% 0.017 213.2)","--color-mist-700":"oklch(37.82% 0.015 216)","--color-mist-800":"oklch(27.49% 0.011 216.9)","--color-mist-900":"oklch(21.83% 0.008 223.9)","--color-mist-950":"oklch(14.79% 0.004 228.8)","--color-taupe-50":"oklch(98.63% 0.002 67.8)","--color-taupe-100":"oklch(96.02% 0.002 17.2)","--color-taupe-200":"oklch(92.17% 0.005 34.3)","--color-taupe-300":"oklch(86.81% 0.007 39.5)","--color-taupe-400":"oklch(71.38% 0.014 41.2)","--color-taupe-500":"oklch(54.73% 0.021 43.1)","--color-taupe-600":"oklch(43.79% 0.017 39.3)","--color-taupe-700":"oklch(36.72% 0.016 35.7)","--color-taupe-800":"oklch(26.77% 0.011 36.5)","--color-taupe-900":"oklch(21.41% 0.009 43.1)","--color-taupe-950":"oklch(14.67% 0.004 49.3)","--color-blue-gray-50":"oklch(95.01% 0.004 236.498)","--color-blue-gray-100":"oklch(87.64% 0.011 225.999)","--color-blue-gray-200":"oklch(79.30% 0.018 229.071)","--color-blue-gray-300":"oklch(70.61% 0.027 229.306)","--color-blue-gray-400":"oklch(63.89% 0.033 229.545)","--color-blue-gray-500":"oklch(57.22% 0.040 229.025)","--color-blue-gray-600":"oklch(52.24% 0.036 227.881)","--color-blue-gray-700":"oklch(45.40% 0.030 228.623)","--color-blue-gray-800":"oklch(38.75% 0.025 229.789)","--color-blue-gray-900":"oklch(30.84% 0.019 229.784)","--color-blue-gray-950":"oklch(23.03% 0.014 229.775)","--color-brown-50":"oklch(94.24% 0.005 48.684)","--color-brown-100":"oklch(85.29% 0.013 41.187)","--color-brown-200":"oklch(75.19% 0.023 39.348)","--color-brown-300":"oklch(64.68% 0.033 40.796)","--color-brown-400":"oklch(56.57% 0.043 40.432)","--color-brown-500":"oklch(48.43% 0.053 40.694)","--color-brown-600":"oklch(44.98% 0.049 39.211)","--color-brown-700":"oklch(40.14% 0.044 37.959)","--color-brown-800":"oklch(35.39% 0.039 33.474)","--color-brown-900":"oklch(29.97% 0.036 30.204)","--color-brown-950":"oklch(24.65% 0.032 26.239)","--color-deep-orange-50":"oklch(94.81% 0.020 25.173)","--color-deep-orange-100":"oklch(88.60% 0.062 38.131)","--color-deep-orange-200":"oklch(81.68% 0.106 37.938)","--color-deep-orange-300":"oklch(75.48% 0.151 38.258)","--color-deep-orange-400":"oklch(71.21% 0.185 37.768)","--color-deep-orange-500":"oklch(67.93% 0.213 36.532)","--color-deep-orange-600":"oklch(65.45% 0.208 36.327)","--color-deep-orange-700":"oklch(62.43% 0.200 36.191)","--color-deep-orange-800":"oklch(59.29% 0.193 35.896)","--color-deep-orange-900":"oklch(53.65% 0.180 35.371)","--color-deep-orange-950":"oklch(47.94% 0.167 34.765)","--color-light-green-50":"oklch(96.97% 0.021 127.381)","--color-light-green-100":"oklch(92.37% 0.052 127.543)","--color-light-green-200":"oklch(87.45% 0.085 128.378)","--color-light-green-300":"oklch(82.50% 0.118 129.001)","--color-light-green-400":"oklch(78.88% 0.143 129.766)","--color-light-green-500":"oklch(75.34% 0.163 130.502)","--color-light-green-600":"oklch(70.52% 0.155 131.384)","--color-light-green-700":"oklch(64.22% 0.147 133.015)","--color-light-green-800":"oklch(57.92% 0.137 134.665)","--color-light-green-900":"oklch(46.64% 0.121 138.274)","--color-light-green-950":"oklch(35.47% 0.107 142.904)","--color-light-blue-50":"oklch(95.82% 0.024 226.470)","--color-light-blue-100":"oklch(89.50% 0.060 227.768)","--color-light-blue-200":"oklch(83.07% 0.097 229.091)","--color-light-blue-300":"oklch(77.28% 0.127 231.115)","--color-light-blue-400":"oklch(73.34% 0.145 234.615)","--color-light-blue-500":"oklch(69.92% 0.157 238.994)","--color-light-blue-600":"oklch(65.84% 0.152 240.754)","--color-light-blue-700":"oklch(60.32% 0.147 243.459)","--color-light-blue-800":"oklch(55.07% 0.139 245.433)","--color-light-blue-900":"oklch(45.22% 0.131 251.008)","--color-light-blue-950":"oklch(35.31% 0.124 257.277)","--color-deep-purple-50":"oklch(93.71% 0.021 304.024)","--color-deep-purple-100":"oklch(84.28% 0.053 301.289)","--color-deep-purple-200":"oklch(73.71% 0.091 300.462)","--color-deep-purple-300":"oklch(63.00% 0.132 299.358)","--color-deep-purple-400":"oklch(54.94% 0.162 297.661)","--color-deep-purple-500":"oklch(47.44% 0.186 294.782)","--color-deep-purple-600":"oklch(45.29% 0.185 292.630)","--color-deep-purple-700":"oklch(42.16% 0.183 289.492)","--color-deep-purple-800":"oklch(39.43% 0.181 286.039)","--color-deep-purple-900":"oklch(34.76% 0.179 280.108)","--color-deep-purple-950":"oklch(30.00% 0.178 274.080)"};var Q={...Ae,"--spacing":"0.25rem","--breakpoint-xs":"30rem","--breakpoint-sm":"40rem","--breakpoint-md":"48rem","--breakpoint-lg":"64rem","--breakpoint-xl":"80rem","--breakpoint-2xl":"96rem","--color-black":"#000","--color-white":"#fff","--color-transparent":"transparent","--duration-instant":"0ms","--duration-fast":"100ms","--duration-normal":"200ms","--duration-slow":"300ms","--duration-slower":"500ms","--delay-none":"0ms","--delay-short":"75ms","--delay-normal":"150ms","--delay-long":"300ms","--ease-standard":"cubic-bezier(.4, 0, .2, 1)","--ease-expressive":"cubic-bezier(.2, .8, .2, 1)","--ease-spring-snappy":"linear(0, 0.0962 6.25%, 0.3058 12.5%, 0.54 18.75%, 0.7469 25%, 0.9032 31.25%, 1.0051 37.5%, 1.06 43.75%, 1.0801 50%, 1.078 56.25%, 1.0642 62.5%, 1.0466 68.75%, 1.03 75%, 1.0167 81.25%, 1.0076 87.5%, 1.0023 93.75%, 1)","--ease-spring-gentle":"linear(0, 0.0594 5%, 0.1857 10%, 0.3294 15%, 0.4659 20%, 0.5849 25%, 0.6833 30%, 0.762 35%, 0.8234 40%, 0.8704 45%, 0.9059 50%, 0.9324 55%, 0.952 60%, 0.9664 65%, 0.9768 70%, 0.9844 75%, 0.9899 80%, 0.9938 85%, 0.9966 90%, 0.9986 95%, 1)","--ease-spring-bouncy":"linear(0, 0.0922 4%, 0.3092 8%, 0.5705 12%, 0.8157 16%, 1.0078 20%, 1.1318 24%, 1.1895 28%, 1.1937 32%, 1.162 36%, 1.1122 40%, 1.0591 44%, 1.0131 48%, 0.9797 52%, 0.9604 56%, 0.9536 60%, 0.9563 64%, 0.9648 68%, 0.9755 72%, 0.9859 76%, 0.9943 80%, 0.9999 84%, 1.0027 88%, 1.0031 92%, 1.002 96%, 1)","--ease-spring-soft":"linear(0, 0.0436 4%, 0.1414 8%, 0.2597 12%, 0.3793 16%, 0.4901 20%, 0.5878 24%, 0.6709 28%, 0.74 32%, 0.7964 36%, 0.8418 40%, 0.878 44%, 0.9065 48%, 0.9288 52%, 0.9461 56%, 0.9595 60%, 0.9698 64%, 0.9778 68%, 0.9838 72%, 0.9884 76%, 0.9919 80%, 0.9945 84%, 0.9965 88%, 0.998 92%, 0.9992 96%, 1)","--stagger-tight":"40ms","--stagger-normal":"75ms","--stagger-relaxed":"120ms","--animate-spin":"spin 1s linear infinite","--animate-ping":"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite","--animate-pulse":"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite","--animate-bounce":"bounce 1s infinite","--animate-fade-in":"fade-in 200ms cubic-bezier(0, 0, .2, 1) both","--animate-fade-out":"fade-out 150ms cubic-bezier(.4, 0, 1, 1) both","--animate-slide-in-up":"slide-in-up 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-down":"slide-in-down 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-left":"slide-in-left 200ms cubic-bezier(0, 0, .2, 1) both","--animate-slide-in-right":"slide-in-right 200ms cubic-bezier(0, 0, .2, 1) both","--animate-scale-in":"scale-in 200ms cubic-bezier(0, 0, .2, 1) both","--animate-scale-out":"scale-out 150ms cubic-bezier(.4, 0, 1, 1) both","--animate-shimmer":"shimmer 2s linear infinite"},ee={spin:"@keyframes spin{to{rotate:360deg;}}",ping:"@keyframes ping{75%,100%{scale:2;opacity:0;}}",pulse:"@keyframes pulse{50%{opacity:.5;}}",bounce:"@keyframes bounce{0%,100%{translate:0 -25%;animation-timing-function:cubic-bezier(.8,0,1,1);}50%{translate:0 0;animation-timing-function:cubic-bezier(0,0,.2,1);}}","fade-in":"@keyframes fade-in{from{opacity:0;}to{opacity:1;}}","fade-out":"@keyframes fade-out{from{opacity:1;}to{opacity:0;}}","slide-in-up":"@keyframes slide-in-up{from{translate:0 1rem;}to{translate:0 0;}}","slide-in-down":"@keyframes slide-in-down{from{translate:0 -1rem;}to{translate:0 0;}}","slide-in-left":"@keyframes slide-in-left{from{translate:-1rem 0;}to{translate:0 0;}}","slide-in-right":"@keyframes slide-in-right{from{translate:1rem 0;}to{translate:0 0;}}","scale-in":"@keyframes scale-in{from{scale:.95;opacity:0;}to{scale:1;opacity:1;}}","scale-out":"@keyframes scale-out{from{scale:1;opacity:1;}to{scale:.95;opacity:0;}}",shimmer:"@keyframes shimmer{from{background-position:200% 0;}to{background-position:-200% 0;}}"};var Qr=131072,et=Object.freeze({tokens:Object.freeze({...Q}),keyframes:Object.freeze({...ee}),mode:"inline",prefix:""});function V(e=""){if(e.length>Qr)throw new Error("CSSX theme input exceeds the 128 KiB limit.");if(!e.trim())return et;let r={...Q},t={...ee},o="inline",i="",n,l=0;for(;l<e.length&&(l=M(e,l),!(l>=e.length));){if(!e.startsWith("@theme",l))throw new Error("CSSX theme input only accepts @theme blocks.");l+=6,l=M(e,l);let a=rt(e,l);if(a){let m=`${a.mode}:${a.prefix}`;if(n!==void 0&&n!==m)throw new Error("CSSX theme blocks cannot use conflicting output modes or prefixes.");n=m,o=a.mode,i=a.prefix,l=M(e,a.end)}if(e[l]!=="{")throw new Error('Expected "{" after @theme.');let c=ne(e,l),u=tt(c.content,t);it(u,r),l=c.end}return Object.freeze({tokens:Object.freeze(r),keyframes:Object.freeze(t),mode:o,prefix:i})}function rt(e,r){let t=/^(default|inline|reference|static)\b/.exec(e.slice(r));if(t)return{mode:t[1]==="reference"||t[1]==="static"?t[1]:"inline",prefix:"",end:r+t[0].length};let o=/^prefix\(([a-z_][a-z0-9_-]*)\)/i.exec(e.slice(r));return o?{mode:"reference",prefix:o[1],end:r+o[0].length}:null}function tt(e,r){let t="",o=0;for(;o<e.length;){if(e.startsWith("@keyframes",o)){o+=10,o=M(e,o);let i=o;for(;/[a-z0-9_-]/i.test(e[o]);)o++;let n=e.slice(i,o);if(!/^[a-z_][a-z0-9_-]*$/i.test(n))throw new Error("Invalid CSSX @keyframes name.");if(o=M(e,o),e[o]!=="{")throw new Error(`Expected "{" after @keyframes ${n}.`);let l=ne(e,o);ot(l.content,n),r[n]=`@keyframes ${n}{${l.content}}`,o=l.end;continue}t+=e[o],o++}return t}function ot(e,r){let t=0;for(;t<e.length;){if(t=M(e,t),t>=e.length)return;let o=t;for(;e[t]!=="{"&&t<e.length;)t++;let i=e.slice(o,t).trim();if(!i||!i.split(",").every(l=>/^(from|to|\d{1,3}(?:\.\d+)?%)$/.test(l.trim())))throw new Error(`Invalid CSSX @keyframes selector in ${r}.`);if(e[t]!=="{")throw new Error(`Unterminated CSSX @keyframes ${r}.`);let n=ne(e,t);for(let l of Me(n.content)){let a=l.indexOf(":"),c=l.slice(0,a).trim(),u=l.slice(a+1).trim();if(a===-1||!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(c)||!u||/[{};]/.test(u))throw new Error(`Invalid CSSX @keyframes declaration in ${r}.`)}t=n.end}}function U(e,r){let t=W(e,r);if(t!==void 0)return e.mode==="inline"?t:`var(${oe(e,r)})`}function W(e,r){let t=e.tokens[r];if(!(t===void 0||t==="initial"))return Oe(e.tokens,t,new Set([r]))}function re(e,r){if(e.mode==="inline")return"";let t=e.mode==="static"?Object.keys(e.tokens):nt(e,r);return t.length===0?"":`:root{${t.sort().map(o=>`${oe(e,o)}:${je(e,e.tokens[o])}`).join(";")}}`}function te(e,r){let t=e.keyframes[r];return t===void 0?void 0:je(e,t)}function nt(e,r){let t=e.prefix?`--${e.prefix}-`:"--",o=new Set,i=new RegExp(`var\\((${t.replace("-","\\-")}[a-z0-9_-]+)`,"gi");for(let n of r.matchAll(i)){let l=n[1],a=e.prefix?`--${l.slice(t.length)}`:l;_e(e,a,o)}return[...o]}function _e(e,r,t){if(!(t.has(r)||e.tokens[r]===void 0||e.tokens[r]==="initial")){t.add(r);for(let o of e.tokens[r].matchAll(/var\((--[a-z0-9_-]+)/gi))_e(e,o[1],t)}}function je(e,r){return r.replace(/var\((--[a-z0-9_-]+)/gi,(t,o)=>`var(${oe(e,o)}`)}function oe(e,r){return e.prefix?`--${e.prefix}-${r.slice(2)}`:r}function it(e,r){for(let t of Me(e)){let o=t.indexOf(":");if(o===-1)throw new Error(`Invalid CSSX @theme declaration "${t}".`);let i=t.slice(0,o).trim(),n=t.slice(o+1).trim();if(i==="--*"||/^--[a-z0-9-]+-\*$/i.test(i)){if(n!=="initial")throw new Error(`CSSX theme namespace reset "${i}" must use initial.`);let l=i==="--*"?"--":i.slice(0,-1);for(let a of Object.keys(r))a.startsWith(l)&&delete r[a];continue}if(!/^--[a-z0-9-]+$/i.test(i)||!n||/[{};]/.test(n))throw new Error(`Invalid CSSX @theme declaration "${t}".`);r[i]=n}}function Oe(e,r,t){return r.replace(/var\((--[a-z0-9-]+)\)/gi,(o,i)=>{if(t.has(i))throw new Error(`Circular CSSX theme reference involving ${i}.`);let n=e[i];if(n===void 0||n==="initial")throw new Error(`Unknown CSSX theme token ${i}.`);return Oe(e,n,new Set([...t,i]))})}function Me(e){let r=[],t="",o="",i=!1,n=0;for(let l of e){if(i){t+=l,i=!1;continue}if(l==="\\"){t+=l,i=!0;continue}if(o){t+=l,l===o&&(o="");continue}if(l==='"'||l==="'"){o=l,t+=l;continue}if(l==="("&&n++,l===")"&&n--,n<0)throw new Error("Invalid CSSX @theme declaration.");if(l===";"&&n===0){t.trim()&&r.push(t.trim()),t="";continue}t+=l}if(o||i||n!==0)throw new Error("Invalid CSSX @theme declaration.");return t.trim()&&r.push(t.trim()),r}function M(e,r){let t=r;for(;t<e.length;){if(/\s/.test(e[t])){t++;continue}if(e.startsWith("/*",t)){let o=e.indexOf("*/",t+2);if(o===-1)throw new Error("Unterminated CSSX theme comment.");t=o+2;continue}break}return t}function ne(e,r){let t=0,o="",i=!1;for(let n=r;n<e.length;n++){let l=e[n];if(i){i=!1;continue}if(l==="\\"){i=!0;continue}if(o){l===o&&(o="");continue}if(l==='"'||l==="'"){o=l;continue}if(l==="{"&&t++,l==="}"&&t--,t===0)return{content:e.slice(r+1,n),end:n+1}}throw new Error("Unterminated CSSX @theme block.")}function I(e){return e.map(r=>({...r}))}function Ve(e){let r=[];for(let t=0;t<e.length;t++){let o=e[t];if(o.selectorSuffix||o.semanticGroup){let i=[o];for(;e[t+1]?.selectorSuffix===o.selectorSuffix&&(o.selectorSuffix!==void 0||e[t+1]?.semanticGroup===o.semanticGroup);){let n=e[t+1];i.push(n),t++}r.push(i);continue}if(o.property==="--cssx-scale-x"&&e[t+1]?.property==="--cssx-scale-y"&&e[t+2]?.property==="scale"){let i=e[t+1],n=e[t+2];r.push([o,n],[i,n]),t+=2;continue}if(o.property==="--cssx-translate-x"||o.property==="--cssx-translate-y"||o.property==="--cssx-scale-x"||o.property==="--cssx-scale-y"||o.property==="--cssx-skew-x"||o.property==="--cssx-skew-y"){let i=e[t+1];if(i?.property==="translate"||i?.property==="scale"||i?.property==="transform"){r.push([o,i]),t++;continue}}r.push([o])}return r}function Ie(e){let r={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"};return e.startsWith("[")?e.slice(1,-1):r[e]??e}function Ne(e){return{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"}[e]??e}function ie(e,r){return e.startsWith("[")&&e.endsWith("]")?`${r?"-":""}${e.slice(1,-1)}`:/^\d+$/.test(e)?`${r?"-":""}${e}deg`:null}function Ge(e,r){if(e.startsWith("[")&&e.endsWith("]"))return`${r?"-":""}${e.slice(1,-1)}`;if(!/^\d+$/.test(e))return null;let t=Number(e)/100;return r?`-${t}`:String(t)}function Le(e,r){let t=lt(e);return t.hasNesting?t.nodes.map(o=>o.type==="nesting"?r:o.value).join(""):null}function lt(e){let r=[],t="",o=!1,i=()=>{t&&r.push({type:"text",value:t}),t=""};for(let n=0;n<e.length;n++){let l=e[n];if(l==="\\"){t+=`${l}${e[n+1]??""}`,n++;continue}if(l==="&"){i(),r.push({type:"nesting"}),o=!0;continue}if(l==="["){i();let a=at(e,n);r.push({type:"attribute",value:e.slice(n,a+1)}),n=a;continue}if(l==='"'||l==="'"){i();let a=Pe(e,n,l);r.push({type:"string",value:e.slice(n,a+1)}),n=a;continue}if(l==="/"&&e[n+1]==="*"){i();let a=e.indexOf("*/",n+2);if(a===-1)throw new Error("Invalid CSSX arbitrary selector comment.");r.push({type:"comment",value:e.slice(n,a+2)}),n=a+1;continue}t+=l}return i(),{nodes:r,hasNesting:o}}function at(e,r){let t=1;for(let o=r+1;o<e.length;o++){let i=e[o];if(i==="\\"){o++;continue}if(i==='"'||i==="'"){o=Pe(e,o,i);continue}if(i==="["&&t++,i==="]"&&t--,t===0)return o}throw new Error("Invalid CSSX arbitrary selector attribute.")}function Pe(e,r,t){for(let o=r+1;o<e.length;o++){if(e[o]==="\\"){o++;continue}if(e[o]===t)return o}throw new Error("Invalid CSSX arbitrary selector string.")}function se(e,r,t,o,i={}){ct(t);let n=typeof e=="string"?[e]:[...e],l=r[0]?.selectorSuffix??"";if(r.some(s=>(s.selectorSuffix??"")!==l))throw new Error("CSSX utility declarations must share one selector scope.");let a=[],c=!1;for(let s of t)if(s==="*")n=n.map(p=>`:is(${p}${l} > *)`),l="";else if(s==="**")n=n.map(p=>`:is(${p}${l} *)`),l="";else if(s==="hover")n=n.map(p=>`${p}:hover`),a.push("@media (hover: hover)");else if(_[s])n=n.map(p=>`${p}:${_[s]}`);else if(ae[s])n=n.map(p=>`${p}::${ae[s]}`),c||=s==="before"||s==="after";else if(Xe(s))n=n.map(p=>`${p}:state(${Xe(s)})`);else if(Fe(s))n=n.map(p=>`.group:state(${Fe(s)}) ${p}`);else if(Be(s))n=n.map(p=>`.peer:state(${Be(s)}) ~ ${p}`);else if(pt(s)){let p=s.slice(6);n=n.map(f=>`.group:${_[p]} ${f}`)}else if(ut(s)){let p=s.slice(5);n=n.map(f=>`.peer:${_[p]} ~ ${f}`)}else if(s.startsWith("has-[")&&s.endsWith("]"))n=n.map(p=>`${p}:has(${s.slice(5,-1)})`);else if(s.startsWith("has-")&&L(s.slice(4))){let p=s.slice(4);n=n.map(f=>`${f}:has(*:${_[p]})`)}else if(s.startsWith("not-")&&L(s.slice(4))){let p=s.slice(4);n=n.map(f=>`${f}:not(*:${_[p]})`)}else if(s.startsWith("in-")&&L(s.slice(3))){let p=s.slice(3);n=n.map(f=>`:where(*:${_[p]}) ${f}`)}else if(s.startsWith("[")&&s.endsWith("]")){let p=s.slice(1,-1);if(p.startsWith("@supports")||p.startsWith("@media"))a.push(dt(p));else{let f=n.map(b=>Le(st(p),`${b}${l}`));if(f.some(b=>b===null))throw new Error(`CSSX arbitrary selector variant "${s}" must contain "&".`);n=f.filter(b=>b!==null),l=""}}else if(s==="dark")if(i.darkMode&&i.darkMode!=="media"){let p=i.darkMode==="class"?".dark":"[data-theme=dark]";n=n.map(f=>`${f}:where(${p}, ${p} *)`)}else a.push("@media (prefers-color-scheme: dark)");else if(s==="motion-safe")a.push("@media (prefers-reduced-motion: no-preference)");else if(s==="motion-reduce")a.push("@media (prefers-reduced-motion: reduce)");else if(s==="starting")a.push("@starting-style");else if(le(s)){let p=le(s);n=n.map(f=>`${f}${p}`),a.push("@supports (view-transition-name: none)")}else if(s==="print")a.push("@media print");else if(s.startsWith("data-[")&&s.endsWith("]"))n=n.map(p=>`${p}[data-${s.slice(6,-1)}]`);else if(/^data-[a-z][a-z0-9_-]*$/i.test(s))n=n.map(p=>`${p}[${s}]`);else if(s.startsWith("aria-[")&&s.endsWith("]"))n=n.map(p=>`${p}[aria-${s.slice(6,-1)}]`);else if(s.startsWith("aria-"))n=n.map(p=>`${p}[aria-${s.slice(5)}="true"]`);else if(s.startsWith("supports-[")&&s.endsWith("]"))a.push(`@supports (${s.slice(10,-1).replace(":",": ")})`);else if(s.startsWith("not-supports-[")&&s.endsWith("]"))a.push(`@supports not (${s.slice(14,-1).replace(":",": ")})`);else if((s.startsWith("min-[")||s.startsWith("max-["))&&s.endsWith("]")){let p=s.slice(5,-1);if(!p||/[;{}]/.test(p))throw new Error(`Invalid CSSX responsive variant "${s}".`);a.push(s.startsWith("min-")?`@media (width >= ${p})`:`@media (width < ${p})`)}else if(s.startsWith("max-")){let p=W(o,`--breakpoint-${s.slice(4)}`);if(!p)throw new Error(`CSSX does not support variant "${s}".`);a.push(`@media (width < ${p})`)}else{let p=W(o,`--breakpoint-${s}`);if(!p)throw new Error(`CSSX does not support variant "${s}".`);a.push(`@media (width >= ${p})`)}let u=c?[{property:"content",value:'var(--cssx-content, "")'},...r]:r,m=new Map;for(let s of u){let p=s.atRule??"",f=m.get(p)??[];f.push(s),m.set(p,f)}let d=[...m].map(([s,p])=>{let b=`${n.map(g=>`${g}${l}`).join(",")}{${p.map(g=>`${g.property}:${g.value};`).join("")}}`;return s?`${s}{${b}}`:b}).join("");for(let s=a.length-1;s>=0;s--)d=`${a[s]}{${d}}`;return d}function st(e){return e.replace(/\\_/g,"\0").replaceAll("_"," ").replaceAll("\0","_")}function le(e){let r=/^vt-(group|image-pair|old|new)-\[([^\]]+)\]$/i.exec(e),t=r?.[2]??"",o=t==="*"||/^\.[a-z_][a-z0-9_-]*$/i.test(t)||/^[a-z_][a-z0-9_-]*$/i.test(t)&&!/^(?:inherit|initial|none|revert|revert-layer|unset)$/i.test(t);return!r||!o?null:`::view-transition-${r[1]}(${t})`}function ct(e){let r=e.filter(o=>le(o));if(r.length===0)return;let t=e.find(o=>!r.includes(o)&&(o==="*"||o==="**"||ae[o]!==void 0||o.startsWith("group-")||o.startsWith("peer-")||o.startsWith("has-")||o.startsWith("in-")||o.startsWith("[")&&!o.startsWith("[@supports")&&!o.startsWith("[@media")));if(r.length>1||t)throw new Error("CSSX View Transition variants cannot compose with relationship or pseudo-element variants.")}var _={hover:"hover",focus:"focus","focus-visible":"focus-visible","focus-within":"focus-within",active:"active",disabled:"disabled",visited:"visited",checked:"checked",indeterminate:"indeterminate",default:"default",valid:"valid",invalid:"invalid","in-range":"in-range","out-of-range":"out-of-range","placeholder-shown":"placeholder-shown",autofill:"autofill","read-only":"read-only",required:"required",optional:"optional",open:"open",target:"target",empty:"empty",enabled:"enabled",first:"first-child",last:"last-child",only:"only-child",odd:"nth-child(odd)",even:"nth-child(even)","first-of-type":"first-of-type","last-of-type":"last-of-type","only-of-type":"only-of-type"},ae={before:"before",after:"after",selection:"selection",marker:"marker",file:"file-selector-button","first-letter":"first-letter","first-line":"first-line",placeholder:"placeholder"};function L(e){return _[e]!==void 0}function pt(e){return e.startsWith("group-")&&L(e.slice(6))}function ut(e){return e.startsWith("peer-")&&L(e.slice(5))}function Xe(e){return ce(e,"state-")}function Fe(e){return ce(e,"group-state-")}function Be(e){return ce(e,"peer-state-")}function ce(e,r){if(!e.startsWith(`${r}[`)||!e.endsWith("]"))return null;let t=e.slice(r.length+1,-1);if(!/^[a-z_][a-z0-9_-]*$/i.test(t)||/^(?:inherit|initial|revert|revert-layer|unset)$/i.test(t))throw new Error(`Invalid CSSX custom state variant "${e}".`);return t}function dt(e){let r=/^@(supports|media)\s*(.*)$/.exec(e),t=r?.[1],o=r?.[2]?.trim();if(!t||!o)throw new Error(`Invalid CSSX arbitrary at-rule variant "[${e}]".`);return`@${t} ${o}`}function mt(e){return Object.fromEntries(e.flatMap(([r,t])=>t.split(";").map(o=>{let i=o.indexOf("=");return[o.slice(0,i),[{property:r,value:o.slice(i+1)}]]})))}var ft=mt([["display","block=block;inline-block=inline-block;inline=inline;flex=flex;inline-flex=inline-flex;grid=grid;inline-grid=inline-grid;flow-root=flow-root;contents=contents;table=table;inline-table=inline-table;table-caption=table-caption;table-cell=table-cell;table-column=table-column;table-column-group=table-column-group;table-footer-group=table-footer-group;table-header-group=table-header-group;table-row-group=table-row-group;table-row=table-row;list-item=list-item"],["visibility","visible=visible;invisible=hidden;collapse=collapse"],["box-sizing","box-border=border-box;box-content=content-box"],["border-style","border-none=none;border-hidden=hidden;border-dotted=dotted;border-dashed=dashed;border-solid=solid;border-double=double"],["float","float-start=inline-start;float-end=inline-end;float-right=right;float-left=left;float-none=none"],["clear","clear-start=inline-start;clear-end=inline-end;clear-right=right;clear-left=left;clear-both=both;clear-none=none"]]),qe={...ft,"box-decoration-slice":[{property:"-webkit-box-decoration-break",value:"slice",semanticGroup:"box-decoration-break"},{property:"box-decoration-break",value:"slice",semanticGroup:"box-decoration-break"}],"box-decoration-clone":[{property:"-webkit-box-decoration-break",value:"clone",semanticGroup:"box-decoration-break"},{property:"box-decoration-break",value:"clone",semanticGroup:"box-decoration-break"}],"object-top-left":[{property:"object-position",value:"top left"}],"object-top":[{property:"object-position",value:"top"}],"object-top-right":[{property:"object-position",value:"top right"}],"object-left":[{property:"object-position",value:"left"}],"object-center":[{property:"object-position",value:"center"}],"object-right":[{property:"object-position",value:"right"}],"object-bottom-left":[{property:"object-position",value:"bottom left"}],"object-bottom":[{property:"object-position",value:"bottom"}],"object-bottom-right":[{property:"object-position",value:"bottom right"}],"sr-only":[{property:"position",value:"absolute"},{property:"width",value:"1px"},{property:"height",value:"1px"},{property:"padding",value:"0"},{property:"margin",value:"-1px"},{property:"overflow",value:"hidden"},{property:"clip-path",value:"inset(50%)"},{property:"white-space",value:"nowrap"},{property:"border-width",value:"0"}],"not-sr-only":[{property:"position",value:"static"},{property:"width",value:"auto"},{property:"height",value:"auto"},{property:"padding",value:"0"},{property:"margin",value:"0"},{property:"overflow",value:"visible"},{property:"clip-path",value:"none"},{property:"white-space",value:"normal"}],hidden:[{property:"display",value:"none"}],static:[{property:"position",value:"static"}],fixed:[{property:"position",value:"fixed"}],absolute:[{property:"position",value:"absolute"}],relative:[{property:"position",value:"relative"}],sticky:[{property:"position",value:"sticky"}],transform:[{property:"transform",value:"translate(0, 0)"}],"transform-none":[{property:"transform",value:"none"}],"overflow-auto":[{property:"overflow",value:"auto"}],"overflow-hidden":[{property:"overflow",value:"hidden"}],"overflow-clip":[{property:"overflow",value:"clip"}],"overflow-visible":[{property:"overflow",value:"visible"}],"overflow-scroll":[{property:"overflow",value:"scroll"}],"flex-row":[{property:"flex-direction",value:"row"}],"flex-row-reverse":[{property:"flex-direction",value:"row-reverse"}],"flex-col":[{property:"flex-direction",value:"column"}],"flex-col-reverse":[{property:"flex-direction",value:"column-reverse"}],"flex-wrap":[{property:"flex-wrap",value:"wrap"}],"flex-wrap-reverse":[{property:"flex-wrap",value:"wrap-reverse"}],"flex-nowrap":[{property:"flex-wrap",value:"nowrap"}],"flex-auto":[{property:"flex",value:"1 1 auto"}],"flex-initial":[{property:"flex",value:"0 1 auto"}],"flex-none":[{property:"flex",value:"none"}],grow:[{property:"flex-grow",value:"1"}],"grow-0":[{property:"flex-grow",value:"0"}],shrink:[{property:"flex-shrink",value:"1"}],"shrink-0":[{property:"flex-shrink",value:"0"}],"items-start":[{property:"align-items",value:"flex-start"}],"items-center":[{property:"align-items",value:"center"}],"items-end":[{property:"align-items",value:"flex-end"}],"items-stretch":[{property:"align-items",value:"stretch"}],"items-baseline":[{property:"align-items",value:"baseline"}],"justify-start":[{property:"justify-content",value:"flex-start"}],"justify-center":[{property:"justify-content",value:"center"}],"justify-end":[{property:"justify-content",value:"flex-end"}],"justify-between":[{property:"justify-content",value:"space-between"}],"justify-around":[{property:"justify-content",value:"space-around"}],"justify-evenly":[{property:"justify-content",value:"space-evenly"}],"self-auto":[{property:"align-self",value:"auto"}],"self-start":[{property:"align-self",value:"flex-start"}],"self-center":[{property:"align-self",value:"center"}],"self-end":[{property:"align-self",value:"flex-end"}],"self-stretch":[{property:"align-self",value:"stretch"}],"self-baseline":[{property:"align-self",value:"baseline"}],"justify-items-start":[{property:"justify-items",value:"start"}],"justify-items-center":[{property:"justify-items",value:"center"}],"justify-items-end":[{property:"justify-items",value:"end"}],"justify-items-stretch":[{property:"justify-items",value:"stretch"}],"justify-self-auto":[{property:"justify-self",value:"auto"}],"justify-self-start":[{property:"justify-self",value:"start"}],"justify-self-center":[{property:"justify-self",value:"center"}],"justify-self-end":[{property:"justify-self",value:"end"}],"justify-self-stretch":[{property:"justify-self",value:"stretch"}],"place-items-start":[{property:"place-items",value:"start"}],"place-items-center":[{property:"place-items",value:"center"}],"place-items-end":[{property:"place-items",value:"end"}],"place-items-stretch":[{property:"place-items",value:"stretch"}],"place-items-baseline":[{property:"place-items",value:"baseline"}],"place-self-auto":[{property:"place-self",value:"auto"}],"place-self-start":[{property:"place-self",value:"start"}],"place-self-center":[{property:"place-self",value:"center"}],"place-self-end":[{property:"place-self",value:"end"}],"place-self-stretch":[{property:"place-self",value:"stretch"}],"place-content-start":[{property:"place-content",value:"start"}],"place-content-center":[{property:"place-content",value:"center"}],"place-content-end":[{property:"place-content",value:"end"}],"place-content-between":[{property:"place-content",value:"space-between"}],"place-content-around":[{property:"place-content",value:"space-around"}],"place-content-evenly":[{property:"place-content",value:"space-evenly"}],"place-content-stretch":[{property:"place-content",value:"stretch"}],"font-thin":[{property:"font-weight",value:"100"}],"font-extralight":[{property:"font-weight",value:"200"}],"font-light":[{property:"font-weight",value:"300"}],"font-normal":[{property:"font-weight",value:"400"}],"font-medium":[{property:"font-weight",value:"500"}],"font-semibold":[{property:"font-weight",value:"600"}],"font-bold":[{property:"font-weight",value:"700"}],"font-extrabold":[{property:"font-weight",value:"800"}],"font-black":[{property:"font-weight",value:"900"}],"font-sans":[{property:"font-family",value:'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"'}],"font-serif":[{property:"font-family",value:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif'}],"font-mono":[{property:"font-family",value:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}],antialiased:[{property:"-webkit-font-smoothing",value:"antialiased",semanticGroup:"font-smoothing"},{property:"-moz-osx-font-smoothing",value:"grayscale",semanticGroup:"font-smoothing"}],"subpixel-antialiased":[{property:"-webkit-font-smoothing",value:"auto",semanticGroup:"font-smoothing"},{property:"-moz-osx-font-smoothing",value:"auto",semanticGroup:"font-smoothing"}],italic:[{property:"font-style",value:"italic"}],"not-italic":[{property:"font-style",value:"normal"}],uppercase:[{property:"text-transform",value:"uppercase"}],lowercase:[{property:"text-transform",value:"lowercase"}],capitalize:[{property:"text-transform",value:"capitalize"}],"normal-case":[{property:"text-transform",value:"none"}],"text-left":[{property:"text-align",value:"left"}],"text-center":[{property:"text-align",value:"center"}],"text-right":[{property:"text-align",value:"right"}],"text-justify":[{property:"text-align",value:"justify"}]};var gt="var(--cssx-shadow, 0 0 #0000), var(--cssx-ring-offset-shadow, 0 0 #0000), var(--cssx-ring-shadow, 0 0 #0000)";function j(e){return[{property:"--cssx-shadow",value:e,semanticGroup:"shadow"},{property:"box-shadow",value:gt,semanticGroup:"shadow"}]}var Ke={underline:[{property:"text-decoration-line",value:"underline"}],overline:[{property:"text-decoration-line",value:"overline"}],"line-through":[{property:"text-decoration-line",value:"line-through"}],"no-underline":[{property:"text-decoration-line",value:"none"}],"pointer-events-none":[{property:"pointer-events",value:"none"}],"pointer-events-auto":[{property:"pointer-events",value:"auto"}],"select-none":[{property:"user-select",value:"none"}],"select-text":[{property:"user-select",value:"text"}],"select-all":[{property:"user-select",value:"all"}],"select-auto":[{property:"user-select",value:"auto"}],"appearance-none":[{property:"appearance",value:"none"}],"appearance-auto":[{property:"appearance",value:"auto"}],"field-sizing-content":[{property:"field-sizing",value:"content"}],"resize-none":[{property:"resize",value:"none"}],"resize-x":[{property:"resize",value:"horizontal"}],"resize-y":[{property:"resize",value:"vertical"}],resize:[{property:"resize",value:"both"}],"scroll-auto":[{property:"scroll-behavior",value:"auto"}],"scroll-smooth":[{property:"scroll-behavior",value:"smooth"}],"scrollbar-auto":[{property:"scrollbar-width",value:"auto"}],"scrollbar-thin":[{property:"scrollbar-width",value:"thin"}],"scrollbar-none":[{property:"scrollbar-width",value:"none"}],"scrollbar-gutter-auto":[{property:"scrollbar-gutter",value:"auto"}],"scrollbar-gutter-stable":[{property:"scrollbar-gutter",value:"stable"}],"scrollbar-gutter-both":[{property:"scrollbar-gutter",value:"stable both-edges"}],"border-collapse":[{property:"border-collapse",value:"collapse"}],"border-separate":[{property:"border-collapse",value:"separate"}],"table-auto":[{property:"table-layout",value:"auto"}],"table-fixed":[{property:"table-layout",value:"fixed"}],"caption-top":[{property:"caption-side",value:"top"}],"caption-bottom":[{property:"caption-side",value:"bottom"}],"snap-none":[{property:"scroll-snap-type",value:"none"}],"snap-x":[{property:"scroll-snap-type",value:"x var(--cssx-scroll-snap-strictness, proximity)"}],"snap-y":[{property:"scroll-snap-type",value:"y var(--cssx-scroll-snap-strictness, proximity)"}],"snap-both":[{property:"scroll-snap-type",value:"both var(--cssx-scroll-snap-strictness, proximity)"}],"snap-mandatory":[{property:"--cssx-scroll-snap-strictness",value:"mandatory"}],"snap-proximity":[{property:"--cssx-scroll-snap-strictness",value:"proximity"}],"snap-normal":[{property:"scroll-snap-stop",value:"normal"}],"snap-always":[{property:"scroll-snap-stop",value:"always"}],"snap-start":[{property:"scroll-snap-align",value:"start"}],"snap-end":[{property:"scroll-snap-align",value:"end"}],"snap-center":[{property:"scroll-snap-align",value:"center"}],"snap-align-none":[{property:"scroll-snap-align",value:"none"}],"forced-color-adjust-auto":[{property:"forced-color-adjust",value:"auto"}],"forced-color-adjust-none":[{property:"forced-color-adjust",value:"none"}],"accent-auto":[{property:"accent-color",value:"auto"}],"caret-auto":[{property:"caret-color",value:"auto"}],"fill-none":[{property:"fill",value:"none"}],"stroke-none":[{property:"stroke",value:"none"}],"scheme-normal":[{property:"color-scheme",value:"normal"}],"scheme-dark":[{property:"color-scheme",value:"dark"}],"scheme-light":[{property:"color-scheme",value:"light"}],"scheme-light-dark":[{property:"color-scheme",value:"light dark"}],"scheme-only-dark":[{property:"color-scheme",value:"only dark"}],"scheme-only-light":[{property:"color-scheme",value:"only light"}],"rounded-none":[{property:"border-radius",value:"0"}],rounded:[{property:"border-radius",value:"0.25rem"}],"rounded-sm":[{property:"border-radius",value:"0.125rem"}],"rounded-md":[{property:"border-radius",value:"0.375rem"}],"rounded-lg":[{property:"border-radius",value:"0.5rem"}],"rounded-xl":[{property:"border-radius",value:"0.75rem"}],"rounded-2xl":[{property:"border-radius",value:"1rem"}],"rounded-full":[{property:"border-radius",value:"9999px"}],border:[{property:"border-width",value:"1px"}],"border-0":[{property:"border-width",value:"0"}],"border-2":[{property:"border-width",value:"2px"}],"border-4":[{property:"border-width",value:"4px"}],"border-8":[{property:"border-width",value:"8px"}],"border-x":[{property:"border-left-width",value:"1px"},{property:"border-right-width",value:"1px"}],"border-y":[{property:"border-top-width",value:"1px"},{property:"border-bottom-width",value:"1px"}],"border-t":[{property:"border-top-width",value:"1px"}],"border-r":[{property:"border-right-width",value:"1px"}],"border-b":[{property:"border-bottom-width",value:"1px"}],"border-l":[{property:"border-left-width",value:"1px"}],shadow:j("0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1)"),"shadow-none":j("0 0 #0000"),"shadow-sm":j("0 1px 2px 0 rgb(0 0 0 / .05)"),"shadow-md":j("0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1)"),"shadow-lg":j("0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)"),"shadow-xl":j("0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1)"),"shadow-2xl":j("0 25px 50px -12px rgb(0 0 0 / .25)"),"transition-none":[{property:"transition-property",value:"none"}],"transition-normal":[{property:"transition-behavior",value:"normal"}],"transition-discrete":[{property:"transition-behavior",value:"allow-discrete"}],transition:[{property:"transition-property",value:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-all":[{property:"transition-property",value:"all"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-colors":[{property:"transition-property",value:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-opacity":[{property:"transition-property",value:"opacity"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-shadow":[{property:"transition-property",value:"box-shadow"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"transition-transform":[{property:"transition-property",value:"transform, translate, scale, rotate"},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"ease-linear":[{property:"transition-timing-function",value:"linear"}],"ease-in":[{property:"transition-timing-function",value:"cubic-bezier(.4, 0, 1, 1)"}],"ease-out":[{property:"transition-timing-function",value:"cubic-bezier(0, 0, .2, 1)"}],"ease-in-out":[{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}],"text-xs":[{property:"font-size",value:"0.75rem"},{property:"line-height",value:"1rem"}],"text-sm":[{property:"font-size",value:"0.875rem"},{property:"line-height",value:"1.25rem"}],"text-base":[{property:"font-size",value:"1rem"},{property:"line-height",value:"1.5rem"}],"text-lg":[{property:"font-size",value:"1.125rem"},{property:"line-height",value:"1.75rem"}],"text-xl":[{property:"font-size",value:"1.25rem"},{property:"line-height",value:"1.75rem"}],"text-2xl":[{property:"font-size",value:"1.5rem"},{property:"line-height",value:"2rem"}],truncate:[{property:"overflow",value:"hidden",semanticGroup:"truncate"},{property:"text-overflow",value:"ellipsis",semanticGroup:"truncate"},{property:"white-space",value:"nowrap",semanticGroup:"truncate"}],"text-ellipsis":[{property:"text-overflow",value:"ellipsis"}],"text-clip":[{property:"text-overflow",value:"clip"}],"hyphens-none":[{property:"-webkit-hyphens",value:"none",semanticGroup:"hyphens"},{property:"hyphens",value:"none",semanticGroup:"hyphens"}],"hyphens-manual":[{property:"-webkit-hyphens",value:"manual",semanticGroup:"hyphens"},{property:"hyphens",value:"manual",semanticGroup:"hyphens"}],"hyphens-auto":[{property:"-webkit-hyphens",value:"auto",semanticGroup:"hyphens"},{property:"hyphens",value:"auto",semanticGroup:"hyphens"}],"whitespace-normal":[{property:"white-space",value:"normal"}],"whitespace-nowrap":[{property:"white-space",value:"nowrap"}],"whitespace-pre":[{property:"white-space",value:"pre"}],"whitespace-pre-line":[{property:"white-space",value:"pre-line"}],"whitespace-pre-wrap":[{property:"white-space",value:"pre-wrap"}],"whitespace-break-spaces":[{property:"white-space",value:"break-spaces"}],"text-wrap":[{property:"text-wrap",value:"wrap"}],"text-nowrap":[{property:"text-wrap",value:"nowrap"}],"text-balance":[{property:"text-wrap",value:"balance"}],"text-pretty":[{property:"text-wrap",value:"pretty"}],"wrap-anywhere":[{property:"overflow-wrap",value:"anywhere"}],"wrap-break-word":[{property:"overflow-wrap",value:"break-word"}],"wrap-normal":[{property:"overflow-wrap",value:"normal"}],"list-inside":[{property:"list-style-position",value:"inside"}],"list-outside":[{property:"list-style-position",value:"outside"}],"list-none":[{property:"list-style-type",value:"none"}],"list-disc":[{property:"list-style-type",value:"disc"}],"list-decimal":[{property:"list-style-type",value:"decimal"}],"list-image-none":[{property:"list-style-image",value:"none"}]};var He={...qe,...Ke};function x(e){return e.startsWith("(")&&e.endsWith(")")?`var(${e.slice(1,-1)})`:e.slice(1,-1).replaceAll("\\_","\0").replaceAll("_"," ").replaceAll("\0","_")}function N(e){return e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):/^(0|2|4|8)$/.test(e)?`${e}px`.replace("0px","0"):null}function R(e,r,t){let o=r?"-":"";if(e==="px")return`${o}1px`;if(e==="full")return`${o}100%`;if(e.startsWith("[")&&e.endsWith("]"))return`${o}${e.slice(1,-1)}`;if(!/^\d+(?:\.\d+)?$/.test(e))return null;let i=U(t,"--spacing");return i?r?`calc(${i} * -${e})`:`calc(${i} * ${e})`:null}function Ye(e){let r=/^(\d+)\/(\d+)$/.exec(e);return r?Number(r[2])===0?null:`calc(${r[1]} / ${r[2]} * 100%)`:/^\d+$/.test(e)?e:null}function A(e,r,t,o){let i={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"};if((o==="max-w"||o==="max-inline")&&i[e])return i[e];if(e==="auto"||e==="full"||e==="screen"){let a={auto:"auto",full:"100%",screen:o.includes("block")?"100vb":o.includes("inline")?"100vi":o.includes("h")?"100vh":"100vw"}[e];return a&&r?`-${a}`:a}let n=/^(\d+)\/(\d+)$/.exec(e);if(n){let l=Number(n[1]),a=Number(n[2]);return a===0?null:`${r?"-":""}${l/a*100}%`}return R(e,r,t)}function E(e,r){return e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):U(r,`--color-${e}`)??null}function T(e){let r=0,t=0,o="",i=!1;for(let n=0;n<e.length;n++){let l=e[n];if(i){i=!1;continue}if(l==="\\"){i=!0;continue}if(o){l===o&&(o="");continue}if(l==='"'||l==="'"){o=l;continue}if(l==="["&&r++,l==="]"&&r--,l==="("&&t++,l===")"&&t--,l==="/"&&r===0&&t===0)return{value:e.slice(0,n),opacity:e.slice(n+1)}}return{value:e}}function D(e){let r=e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e;if(!/^\d+(?:\.\d+)?$/.test(r))return null;let t=Number(r);return t<0||t>100?null:String(t)}function Ze(e){let r=e.replace(/^(?:length|size):/,"");return/^-?(?:\d+(?:\.\d+)?)(?:px|rem|em|ch|ex|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc)$/i.test(r)||r.startsWith("calc(")}function Je(e){return e.startsWith("image:")||/^(?:url|linear-gradient|radial-gradient|conic-gradient|image-set)\(/.test(e)}function Qe(e,r,t){let o=/^(w|h|min-w|max-w|min-h|max-h|inline|min-inline|max-inline|block|min-block|max-block)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=A(o[2],r,t,i);return n?{property:{w:"width",h:"height","min-w":"min-width","max-w":"max-width","min-h":"min-height","max-h":"max-height",inline:"inline-size","min-inline":"min-inline-size","max-inline":"max-inline-size",block:"block-size","min-block":"min-block-size","max-block":"max-block-size"}[i],value:n}:null}function er(e){let r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t).trim(),i=r.slice(t+1).trim();if(!/^(--[a-z0-9_-]+|[a-z-]+)$/i.test(o)||!i||/[{};]/.test(i))throw new Error(`Invalid arbitrary CSSX utility "${e}".`);return{property:o,value:x(`[${i}]`)}}function rr(e,r){if(e==="none")return{property:"animation",value:"none"};if(e.startsWith("[")&&e.endsWith("]"))return{property:"animation",value:e.slice(1,-1)};let t=U(r,`--animate-${e}`);return t?{property:"animation",value:t}:null}function tr(e,r,t){let o=/^(translate-x|translate-y)-(.+)$/.exec(e);if(o){let a=o[1]==="translate-x"?"--cssx-translate-x":"--cssx-translate-y",c=R(o[2],r,t);return c?[{property:a,value:c},{property:"translate",value:"var(--cssx-translate-x, 0) var(--cssx-translate-y, 0)"}]:null}let i=/^rotate-(.+)$/.exec(e);if(i){let a=ie(i[1],r);return a?[{property:"rotate",value:a}]:null}let n=/^(scale-x|scale-y|scale)-(.+)$/.exec(e);if(n){let a=n[1],c=Ge(n[2],r);return c?a==="scale-x"?[{property:"--cssx-scale-x",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:a==="scale-y"?[{property:"--cssx-scale-y",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:[{property:"--cssx-scale-x",value:c},{property:"--cssx-scale-y",value:c},{property:"scale",value:"var(--cssx-scale-x, 1) var(--cssx-scale-y, 1)"}]:null}let l=/^skew-(x|y)-(.+)$/.exec(e);if(l){let a=l[1],c=ie(l[2],r);return c?[{property:`--cssx-skew-${a}`,value:c},{property:"transform",value:"skewX(var(--cssx-skew-x, 0deg)) skewY(var(--cssx-skew-y, 0deg))"}]:null}return null}function or(e){let r=/^border-(x|y|t|r|b|l)-(0|2|4|8)$/.exec(e);if(!r)return null;let t=r[1],o=`${r[2]}px`.replace("0px","0");return{x:["border-left-width","border-right-width"],y:["border-top-width","border-bottom-width"],t:["border-top-width"],r:["border-right-width"],b:["border-bottom-width"],l:["border-left-width"]}[t].map(n=>({property:n,value:o}))}function nr(e,r,t){let o=/^(px|py|pt|pr|pb|pl|ps|pe|p|mx|my|mt|mr|mb|ml|ms|me|m|gap-x|gap-y|gap|inset-x|inset-y|inset-s|inset-e|inset|top|right|bottom|left)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=o[2],l=i.startsWith("inset")?A(n,r,t,"inset"):n==="auto"&&i.startsWith("m")&&!r?"auto":R(n,r,t);return l?{p:["padding"],px:["padding-left","padding-right"],py:["padding-top","padding-bottom"],pt:["padding-top"],pr:["padding-right"],pb:["padding-bottom"],pl:["padding-left"],ps:["padding-inline-start"],pe:["padding-inline-end"],m:["margin"],mx:["margin-left","margin-right"],my:["margin-top","margin-bottom"],mt:["margin-top"],mr:["margin-right"],mb:["margin-bottom"],ml:["margin-left"],ms:["margin-inline-start"],me:["margin-inline-end"],gap:["gap"],"gap-x":["column-gap"],"gap-y":["row-gap"],top:["top"],right:["right"],bottom:["bottom"],left:["left"],inset:["inset"],"inset-x":["left","right"],"inset-y":["top","bottom"],"inset-s":["inset-inline-start"],"inset-e":["inset-inline-end"]}[i].map(u=>({property:u,value:l})):null}function ir(e,r,t){let o=/^space-(x|y)-(.+)$/.exec(e);if(!o)return null;let i=o[1],n=o[2],l=" > :not(:last-child)",a=n==="reverse"?`space-${i}-reverse`:`space-${i}`,c=`--cssx-space-${i}-reverse`;if(n==="reverse")return[{property:c,value:"1",selectorSuffix:l,semanticGroup:a}];let u=R(n,r,t);if(!u)return null;let[m,d]=i==="x"?["margin-left","margin-right"]:["margin-top","margin-bottom"];return[{property:c,value:"0",selectorSuffix:l,semanticGroup:a},{property:m,value:`calc(${u} * calc(1 - var(${c})))`,selectorSuffix:l,semanticGroup:a},{property:d,value:`calc(${u} * var(${c}))`,selectorSuffix:l,semanticGroup:a}]}function lr(e,r){let t=" > :not(:last-child)",o=/^divide-(x|y)(?:-(.+))?$/.exec(e);if(o){let u=o[1],m=o[2]??"DEFAULT",d=`--cssx-divide-${u}-reverse`,s=m==="reverse"?`divide-${u}-reverse`:`divide-${u}`;if(m==="reverse")return[{property:d,value:"1",selectorSuffix:t,semanticGroup:s}];let p=m==="DEFAULT"?"1px":N(m);if(!p)return null;let[f,b]=u==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"];return[{property:d,value:"0",selectorSuffix:t,semanticGroup:s},{property:f,value:`calc(${p} * calc(1 - var(${d})))`,selectorSuffix:t,semanticGroup:s},{property:b,value:`calc(${p} * var(${d}))`,selectorSuffix:t,semanticGroup:s}]}let i=/^divide-(.+)$/.exec(e);if(!i)return null;let n=T(i[1]),l=E(n.value,r);if(!l)return null;let a=n.opacity===void 0?null:D(n.opacity);return n.opacity!==void 0&&a===null?null:[{property:"border-color",value:a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`,selectorSuffix:t,semanticGroup:"divide-color"}]}function ar(e,r){let t=/^placeholder-(.+)$/.exec(e);if(!t)return null;let o=T(t[1]),i=E(o.value,r);if(!i)return null;let n=o.opacity===void 0?null:D(o.opacity);return o.opacity!==void 0&&n===null?null:[{property:"color",value:n===null?i:`color-mix(in srgb, ${i} ${n}%, transparent)`,selectorSuffix:"::placeholder",semanticGroup:"placeholder-color"}]}function sr(e,r,t){let i={outline:[{property:"outline-style",value:"solid"},{property:"outline-width",value:"1px"}],"outline-none":[{property:"outline-style",value:"none"}],"outline-hidden":[{property:"outline",value:"2px solid transparent"},{property:"outline-offset",value:"2px"}],"outline-solid":[{property:"outline-style",value:"solid"}],"outline-dashed":[{property:"outline-style",value:"dashed"}],"outline-dotted":[{property:"outline-style",value:"dotted"}],"outline-double":[{property:"outline-style",value:"double"}]}[e];if(i)return I(i);let n=/^outline-offset-(.+)$/.exec(e);if(n){let d=n[1],s=d==="1"?"1px":N(d);return s?[{property:"outline-offset",value:r&&s!=="0"?s.startsWith("var(")||s.startsWith("calc(")?`calc(${s} * -1)`:`-${s}`:s}]:null}let l=/^outline-(0|1|2|4|8|\[[^\]]+\])$/.exec(e);if(l){let d=l[1];return[{property:"outline-width",value:d.startsWith("[")?d.slice(1,-1):`${d}px`.replace("0px","0")}]}let a=/^outline-(.+)$/.exec(e);if(!a)return null;let c=T(a[1]),u=E(c.value,t);if(!u)return null;let m=c.opacity===void 0?null:D(c.opacity);return c.opacity!==void 0&&m===null?null:[{property:"outline-color",value:m===null?u:`color-mix(in srgb, ${u} ${m}%, transparent)`}]}function cr(e,r){if(e!=="container")return null;let t=["sm","md","lg","xl","2xl"],o=[{property:"width",value:"100%",semanticGroup:"container"}];for(let i of t){let n=W(r,`--breakpoint-${i}`);n&&o.push({property:"max-width",value:n,atRule:`@media (width >= ${n})`,semanticGroup:"container"})}return o}function pr(e,r,t){let i={isolate:{property:"isolation",value:"isolate"},"isolation-auto":{property:"isolation",value:"auto"},"aspect-auto":{property:"aspect-ratio",value:"auto"},"aspect-square":{property:"aspect-ratio",value:"1 / 1"},"aspect-video":{property:"aspect-ratio",value:"16 / 9"},"object-contain":{property:"object-fit",value:"contain"},"object-cover":{property:"object-fit",value:"cover"},"object-fill":{property:"object-fit",value:"fill"},"object-none":{property:"object-fit",value:"none"},"object-scale-down":{property:"object-fit",value:"scale-down"},"touch-auto":{property:"touch-action",value:"auto"},"touch-none":{property:"touch-action",value:"none"},"touch-manipulation":{property:"touch-action",value:"manipulation"},"touch-pan-x":{property:"touch-action",value:"pan-x"},"touch-pan-y":{property:"touch-action",value:"pan-y"},"touch-pinch-zoom":{property:"touch-action",value:"pinch-zoom"}}[e];if(i)return i;let n=/^(overflow|overflow-x|overflow-y)-(auto|hidden|clip|visible|scroll)$/.exec(e);if(n)return{property:n[1],value:n[2]};let l=/^(overscroll|overscroll-x|overscroll-y)-(auto|contain|none)$/.exec(e);if(l)return{property:l[1]==="overscroll"?"overscroll-behavior":`overscroll-behavior-${l[1]==="overscroll-x"?"x":"y"}`,value:l[2]};let a=/^aspect-(\[[^\]]+\])$/.exec(e);if(a)return{property:"aspect-ratio",value:a[1].slice(1,-1)};let c=/^size-(.+)$/.exec(e);if(c){let y=A(c[1],r,t,"size");return y?[{property:"width",value:y},{property:"height",value:y}]:null}let u=/^(start|end)-(.+)$/.exec(e);if(u){let y=A(u[2],r,t,u[1]);return y?{property:u[1]==="start"?"inset-inline-start":"inset-inline-end",value:y}:null}let m=/^cursor-(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)$/.exec(e);if(m)return{property:"cursor",value:m[1]};let d=/^will-change-(auto|scroll|contents|transform)$/.exec(e);if(d)return{property:"will-change",value:d[1]};let s=/^grid-flow-(row|col|row-dense|col-dense)$/.exec(e);if(s)return{property:"grid-auto-flow",value:s[1].replace("-"," ")};let p=/^auto-(cols|rows)-(auto|min|max|fr)$/.exec(e);if(p){let y={auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"};return{property:p[1]==="cols"?"grid-auto-columns":"grid-auto-rows",value:y[p[2]]}}let f=/^scroll-(mx|my|mt|mr|mb|ml|m|px|py|pt|pr|pb|pl|p)-(.+)$/.exec(e);if(f){let y=f[1],w=R(f[2],r,t);return w?{m:["scroll-margin"],mx:["scroll-margin-left","scroll-margin-right"],my:["scroll-margin-top","scroll-margin-bottom"],mt:["scroll-margin-top"],mr:["scroll-margin-right"],mb:["scroll-margin-bottom"],ml:["scroll-margin-left"],p:["scroll-padding"],px:["scroll-padding-left","scroll-padding-right"],py:["scroll-padding-top","scroll-padding-bottom"],pt:["scroll-padding-top"],pr:["scroll-padding-right"],pb:["scroll-padding-bottom"],pl:["scroll-padding-left"]}[y].map(z=>({property:z,value:w})):null}let b=/^stroke-(\d+|\[[^\]]+\])$/.exec(e);if(b){let y=b[1];return{property:"stroke-width",value:y.startsWith("[")?y.slice(1,-1):y}}let g=/^scrollbar-(thumb|track)-(.+)$/.exec(e);if(g){let y=g[1],w=T(g[2]),k=E(w.value,t);if(!k)return null;let z=w.opacity===void 0?null:D(w.opacity);if(w.opacity!==void 0&&z===null)return null;let S=z===null?k:`color-mix(in srgb, ${k} ${z}%, transparent)`,h=`scrollbar-${y}`;return[{property:`--cssx-scrollbar-${y}`,value:S,semanticGroup:h},{property:"scrollbar-color",value:"var(--cssx-scrollbar-thumb, #0000) var(--cssx-scrollbar-track, #0000)",semanticGroup:h}]}return null}function F(e,r){return e==="current"?"currentColor":e==="inherit"?"inherit":E(e,r)}function ur(e,r,t){let o=/^bg-linear-to-(t|tr|r|br|b|bl|l|tl)(?:\/(srgb|oklch|oklab|hsl|longer|shorter|increasing|decreasing))?$/.exec(e);if(o){let b={t:"to top",tr:"to top right",r:"to right",br:"to bottom right",b:"to bottom",bl:"to bottom left",l:"to left",tl:"to top left"},g=o[2]?`in ${o[2]} `:"",y=b[o[1]];return[{property:"background-image",value:`linear-gradient(${g}${y}, var(--cssx-gradient-via-stops, var(--cssx-gradient-stops)))`,semanticGroup:"background-image"}]}let i=/^bg-linear-(\d+|\[[^\]]+\])$/.exec(e);if(i){let b=i[1];return[{property:"background-image",value:`linear-gradient(${b.startsWith("[")?b.slice(1,-1):`${r?"-":""}${b}deg`}, var(--cssx-gradient-via-stops, var(--cssx-gradient-stops)))`,semanticGroup:"background-image"}]}let n=/^(from|via|to)-(.+)$/.exec(e);if(!n)return null;let l=n[1],a=n[2],c=`gradient-${l}`,u=yt(a);if(u)return[{property:`--cssx-gradient-${l}-position`,value:u,semanticGroup:c}];let m=T(a),d=E(m.value,t);if(!d)return null;let s=m.opacity===void 0?null:D(m.opacity);if(m.opacity!==void 0&&s===null)return null;let p=s===null?d:`color-mix(in srgb, ${d} ${s}%, transparent)`,f=[{property:`--cssx-gradient-${l}`,value:p,semanticGroup:c}];return l==="from"?f.push({property:"--cssx-gradient-stops",value:"var(--cssx-gradient-from) var(--cssx-gradient-from-position,), var(--cssx-gradient-to, transparent) var(--cssx-gradient-to-position,)",semanticGroup:c}):l==="via"&&f.push({property:"--cssx-gradient-via-stops",value:"var(--cssx-gradient-from) var(--cssx-gradient-from-position,), var(--cssx-gradient-via) var(--cssx-gradient-via-position,), var(--cssx-gradient-to, transparent) var(--cssx-gradient-to-position,)",semanticGroup:c}),f}function yt(e){let r=e.startsWith("[")&&e.endsWith("]")?e.slice(1,-1):e;if(!/^\d+(?:\.\d+)?%$/.test(r))return null;let t=Number(r.slice(0,-1));return t>=0&&t<=100?r:null}function dr(e,r){let t=/^(bg|text|border|accent|caret|fill|stroke)-(.+)$/.exec(e);if(!t)return null;let o=t[1],i=T(t[2]),n=i.value;if(o==="text"&&/^(xs|sm|base|lg|xl|\d+xl)$/.test(n))return null;if(o==="text"&&n.startsWith("[")&&n.endsWith("]")){let d=n.slice(1,-1);if(Ze(d))return{property:"font-size",value:d.replace(/^(?:length|size):/,"")}}if(o==="bg"&&n.startsWith("[")&&n.endsWith("]")){let d=n.slice(1,-1);if(Je(d))return{property:"background-image",value:d.replace(/^image:/,"")}}let l=F(n,r);if(!l)return null;let a=i.opacity===void 0?null:D(i.opacity);if(i.opacity!==void 0&&a===null)return null;let c=a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`;return{property:{bg:"background-color",text:"color",border:"border-color",accent:"accent-color",caret:"caret-color",fill:"fill",stroke:"stroke"}[o],value:c}}function mr(e,r){let t=/^underline-offset-(auto|\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(t){let l=t[1];return{property:"text-underline-offset",value:(l==="auto"?l:l.startsWith("(")?x(l):R(l,!1,r))??x(l)}}let o=/^decoration-(.+)$/.exec(e);if(!o)return null;let i=o[1];if(/^(solid|double|dotted|dashed|wavy)$/.test(i))return{property:"text-decoration-style",value:i};if(/^(auto|from-font|\d+)$/.test(i))return{property:"text-decoration-thickness",value:i==="auto"||i==="from-font"?i:`${i}px`};if(i.startsWith("[")||i.startsWith("("))return{property:"text-decoration-thickness",value:x(i)};let n=E(i,r);return n?{property:"text-decoration-color",value:n}:null}var fr="var(--cssx-shadow, 0 0 #0000), var(--cssx-ring-offset-shadow, 0 0 #0000), var(--cssx-ring-shadow, 0 0 #0000)",ht="var(--cssx-filter-blur,) var(--cssx-filter-brightness,) var(--cssx-filter-contrast,) var(--cssx-filter-drop-shadow,) var(--cssx-filter-grayscale,) var(--cssx-filter-hue-rotate,) var(--cssx-filter-invert,) var(--cssx-filter-saturate,) var(--cssx-filter-sepia,)",bt="var(--cssx-backdrop-blur,) var(--cssx-backdrop-brightness,) var(--cssx-backdrop-contrast,) var(--cssx-backdrop-grayscale,) var(--cssx-backdrop-hue-rotate,) var(--cssx-backdrop-invert,) var(--cssx-backdrop-opacity,) var(--cssx-backdrop-saturate,) var(--cssx-backdrop-sepia,)";function gr(e,r){return hr(e,r,"filter","--cssx-filter-","",ht,!1)}function yr(e,r){return e.startsWith("backdrop-")?hr(e.slice(9),r,"backdrop-filter","--cssx-backdrop-","backdrop-",bt,!0):null}function hr(e,r,t,o,i,n,l){let a=`${i}filter-none`,c=["filter-none","blur","brightness","contrast","drop-shadow","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(p=>`${i}${p}`);if(e==="filter-none")return xt(t,a,c);let u={blur:{DEFAULT:"8px",none:"0",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},grayscale:{0:"0",DEFAULT:"1"},invert:{0:"0",DEFAULT:"1"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},sepia:{0:"0",DEFAULT:"1"},opacity:{0:"0",5:".05",10:".1",15:".15",20:".2",25:".25",30:".3",40:".4",50:".5",60:".6",70:".7",75:".75",80:".8",90:".9",95:".95",100:"1"}},m=/^(blur|brightness|contrast|grayscale|invert|saturate|sepia|opacity)(?:-(.+))?$/.exec(e);if(m){let p=m[1];if(p==="opacity"&&!l)return null;let f=m[2]??"DEFAULT",g=(f.startsWith("[")&&f.endsWith("]")?f.slice(1,-1):null)??u[p]?.[f];if(!g)return null;let y=p==="blur"?`blur(${g})`:`${p}(${g})`;return pe(t,o,i,n,p,y)}let d=/^hue-rotate-(.+)$/.exec(e);if(d){let p=d[1],f=p.startsWith("[")&&p.endsWith("]")?p.slice(1,-1):/^\d+$/.test(p)?`${r?"-":""}${p}deg`:null;return f?pe(t,o,i,n,"hue-rotate",`hue-rotate(${f})`):null}let s=/^drop-shadow(?:-(.+))?$/.exec(e);if(s){let p=s[1]??"DEFAULT",f={DEFAULT:"0 1px 2px rgb(0 0 0 / .1)",none:"0 0 #0000",xs:"0 1px 1px rgb(0 0 0 / .05)",sm:"0 1px 2px rgb(0 0 0 / .15)",md:"0 3px 3px rgb(0 0 0 / .12)",lg:"0 4px 4px rgb(0 0 0 / .15)",xl:"0 9px 7px rgb(0 0 0 / .1)","2xl":"0 25px 25px rgb(0 0 0 / .15)"},b=p.startsWith("[")&&p.endsWith("]")?p.slice(1,-1):f[p];return t==="filter"&&b?pe(t,o,i,n,"drop-shadow",`drop-shadow(${b})`):null}return null}function xt(e,r,t){let o=[{property:e,value:"none",semanticGroup:r,semanticConflicts:t}];return e==="backdrop-filter"&&o.unshift({property:"-webkit-backdrop-filter",value:"none",semanticGroup:r,semanticConflicts:t}),o}function pe(e,r,t,o,i,n){let l=`${t}${i}`,a=[l,`${t}filter-none`],c=[{property:`${r}${i}`,value:n,semanticGroup:l,semanticConflicts:a}];return e==="backdrop-filter"&&c.push({property:"-webkit-backdrop-filter",value:o,semanticGroup:l,semanticConflicts:a}),c.push({property:e,value:o,semanticGroup:l,semanticConflicts:a}),c}function br(e,r){let t=/^ring-offset-(.+)$/.exec(e);if(t){let c=t[1],u=N(c);if(u)return[{property:"--cssx-ring-offset-width",value:u,semanticGroup:"ring-offset-width"},{property:"--cssx-ring-offset-shadow",value:"0 0 0 var(--cssx-ring-offset-width) var(--cssx-ring-offset-color, #fff)",semanticGroup:"ring-offset-width"},{property:"box-shadow",value:fr,semanticGroup:"ring-offset-width"}];let m=F(c,r);return m?[{property:"--cssx-ring-offset-color",value:m,semanticGroup:"ring-offset-color"}]:null}let o=e==="ring"?"1px":N(/^ring-(.+)$/.exec(e)?.[1]??"");if(o)return[{property:"--cssx-ring-width",value:o,semanticGroup:"ring-width"},{property:"--cssx-ring-shadow",value:"0 0 0 calc(var(--cssx-ring-width) + var(--cssx-ring-offset-width, 0px)) var(--cssx-ring-color, currentColor)",semanticGroup:"ring-width"},{property:"box-shadow",value:fr,semanticGroup:"ring-width"}];let i=/^ring-(.+)$/.exec(e);if(!i)return null;let n=T(i[1]),l=F(n.value,r);if(!l)return null;let a=n.opacity===void 0?null:D(n.opacity);return n.opacity!==void 0&&a===null?null:[{property:"--cssx-ring-color",value:a===null?l:`color-mix(in srgb, ${l} ${a}%, transparent)`,semanticGroup:"ring-color"}]}var vt={"content-visibility-visible":["content-visibility","visible"],"content-visibility-auto":["content-visibility","auto"],"content-visibility-hidden":["content-visibility","hidden"],"contain-none":["contain","none"],"contain-content":["contain","content"],"contain-strict":["contain","strict"],"contain-size":["contain","size"],"contain-inline-size":["contain","inline-size"],"contain-layout":["contain","layout"],"contain-style":["contain","style"],"contain-paint":["contain","paint"],"stroke-cap-butt":["stroke-linecap","butt"],"stroke-cap-round":["stroke-linecap","round"],"stroke-cap-square":["stroke-linecap","square"],"stroke-join-miter":["stroke-linejoin","miter"],"stroke-join-round":["stroke-linejoin","round"],"stroke-join-bevel":["stroke-linejoin","bevel"],"fill-rule-nonzero":["fill-rule","nonzero"],"fill-rule-evenodd":["fill-rule","evenodd"],"clip-rule-nonzero":["clip-rule","nonzero"],"clip-rule-evenodd":["clip-rule","evenodd"],"vector-effect-none":["vector-effect","none"],"vector-effect-non-scaling-stroke":["vector-effect","non-scaling-stroke"],"paint-order-normal":["paint-order","normal"],"paint-order-fill":["paint-order","fill"],"paint-order-stroke":["paint-order","stroke"],"paint-order-markers":["paint-order","markers"],"shape-rendering-auto":["shape-rendering","auto"],"shape-rendering-optimize-speed":["shape-rendering","optimizeSpeed"],"shape-rendering-crisp-edges":["shape-rendering","crispEdges"],"shape-rendering-geometric-precision":["shape-rendering","geometricPrecision"],"writing-horizontal-tb":["writing-mode","horizontal-tb"],"writing-vertical-rl":["writing-mode","vertical-rl"],"writing-vertical-lr":["writing-mode","vertical-lr"],"text-orientation-mixed":["text-orientation","mixed"],"text-orientation-upright":["text-orientation","upright"],"text-orientation-sideways":["text-orientation","sideways"],"text-combine-upright-none":["text-combine-upright","none"],"text-combine-upright-all":["text-combine-upright","all"],"unicode-bidi-normal":["unicode-bidi","normal"],"unicode-bidi-embed":["unicode-bidi","embed"],"unicode-bidi-isolate":["unicode-bidi","isolate"],"unicode-bidi-bidi-override":["unicode-bidi","bidi-override"],"unicode-bidi-isolate-override":["unicode-bidi","isolate-override"],"unicode-bidi-plaintext":["unicode-bidi","plaintext"],"image-render-auto":["image-rendering","auto"],"image-render-crisp-edges":["image-rendering","crisp-edges"],"image-render-pixelated":["image-rendering","pixelated"],"font-optical-auto":["font-optical-sizing","auto"],"font-optical-none":["font-optical-sizing","none"],"font-kerning-auto":["font-kerning","auto"],"font-kerning-normal":["font-kerning","normal"],"font-kerning-none":["font-kerning","none"],"font-synthesis-none":["font-synthesis","none"],"font-synthesis-weight":["font-synthesis","weight"],"font-synthesis-style":["font-synthesis","style"],"font-synthesis-small-caps":["font-synthesis","small-caps"],"font-synthesis-position":["font-synthesis","position"]};function xr(e,r){let t=vt[e];if(t)return{property:t[0],value:t[1]};let o=/^contain-\[(.+)\]$/.exec(e);if(o)return{property:"contain",value:x(`[${o[1]}]`)};let i=/^contain-intrinsic-(size|inline-size|block-size)-(.+)$/.exec(e);if(i){let l=i[1],a=i[2],c=`contain-intrinsic-${l}`,u=kt(a,c,r);return u?{property:c,value:u}:null}let n=/^stroke-(miterlimit|dasharray|dashoffset)-(.+)$/.exec(e);if(n){let l=`stroke-${n[1]}`,a=n[2],c=wt(a);return c?{property:l,value:c}:null}return null}function kt(e,r,t){return e==="none"?"none":/^\d+(?:\.\d+)?$/.test(e)?R(e,!1,t):$t(e,`--${r}-${e}`,t)}function wt(e){return/^\d+(?:\.\d+)?$/.test(e)?e:e.startsWith("[")||e.startsWith("(")?x(e):null}function $t(e,r,t){return e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")?x(e):U(t,r)??null}var St={linear:"linear",in:"cubic-bezier(.4, 0, 1, 1)",out:"cubic-bezier(0, 0, .2, 1)","in-out":"cubic-bezier(.4, 0, .2, 1)"},B="@supports (animation-timeline: scroll())",vr="@supports (scroll-timeline-name: none)",ue="@supports (view-timeline-name: none)",kr="@supports (timeline-scope: none)",Ct="@supports (animation-range: normal)",wr="@supports (view-transition-name: none)",$r="@supports (view-transition-class: none)",Rt=["transition-","duration-","delay-","ease-","animation-","stagger-","scroll-timeline-","view-timeline-","timeline-scope-","view-transition-"];function Tr(e){return Rt.some(r=>e.startsWith(r))}function Dr(e,r,t){let i={"transition-transform-opacity":"transform, translate, scale, rotate, opacity","transition-filter":"filter, -webkit-backdrop-filter, backdrop-filter","transition-size":"width, height, inline-size, block-size"}[e];if(i)return Sr(i);let n=/^transition-(\[[\s\S]+\])$/.exec(e);if(n)return Sr(x(n[1]));if(e==="delay-stagger")return r?null:{property:"transition-delay",value:zr()};let l=/^(duration|delay)-(.+)$/.exec(e);if(l){let h=l[1];if(r&&h==="duration")return null;let $=de(l[2],`--${h}-`,t);return $?{property:`transition-${h}`,value:r?Rr($):$}:null}let a=/^ease-(.+)$/.exec(e);if(a){let h=Cr(a[1],t);return!r&&h?{property:"transition-timing-function",value:h}:null}let c=/^animation-name-(.+)$/.exec(e);if(c){let h=c[1];return r?null:h==="none"?{property:"animation-name",value:"none"}:h.startsWith("[")&&h.endsWith("]")?{property:"animation-name",value:x(h)}:t.keyframes[h]?{property:"animation-name",value:h}:null}if(e==="animation-delay-stagger")return r?null:{property:"animation-delay",value:zr()};let u=/^animation-(duration|delay)-(.+)$/.exec(e);if(u){let h=u[1],$=u[2];if(h==="duration"&&$==="auto"&&!r)return{property:"animation-duration",value:"auto"};if(r&&h==="duration")return null;let O=de($,`--animation-${h}-`,t);return O?{property:`animation-${h}`,value:r?Rr(O):O}:null}let m=/^animation-ease-(.+)$/.exec(e);if(m){let h=Cr(m[1],t,!0);return!r&&h?{property:"animation-timing-function",value:h}:null}let d=/^animation-iterations-(.+)$/.exec(e);if(d){let h=d[1],$=h==="infinite"||/^\d+(?:\.\d+)?$/.test(h)?h:q(h);return!r&&$?{property:"animation-iteration-count",value:$}:null}let s=/^animation-direction-(normal|reverse|alternate|alternate-reverse)$/.exec(e);if(s)return r?null:{property:"animation-direction",value:s[1]};let p=/^animation-fill-(none|forwards|backwards|both)$/.exec(e);if(p)return r?null:{property:"animation-fill-mode",value:p[1]};let f=/^animation-(running|paused)$/.exec(e);if(f)return r?null:{property:"animation-play-state",value:f[1]};let b=/^animation-composition-(replace|add|accumulate)$/.exec(e);if(b)return r?null:{property:"animation-composition",value:b[1]};let g=/^stagger-(?!index-|count-)(.+)$/.exec(e);if(g){let h=g[1];if(h==="reverse")return r?null:{property:"--cssx-stagger-reverse",value:"1"};let $=de(h,"--stagger-",t);return!r&&$?{property:"--cssx-stagger",value:$}:null}let y=/^stagger-(index|count)-(\d+|\[\d+\])$/.exec(e);if(y){let h=y[2].replaceAll(/\[|\]/g,"");return r?null:{property:`--cssx-stagger-${y[1]}`,value:h}}let w=zt(e);if(w)return r?null:w;let k=Ut(e);if(k)return r?null:k;let z=Tt(e);if(z)return r?null:z;let S=Dt(e);return S&&!r?S:null}function Sr(e){return[{property:"transition-property",value:e},{property:"transition-duration",value:"150ms"},{property:"transition-timing-function",value:"cubic-bezier(.4, 0, .2, 1)"}]}function de(e,r,t){return/^\d+(?:\.\d+)?$/.test(e)?`${e}ms`:q(e)??U(t,`${r}${e}`)??null}function Cr(e,r,t=!1){let o=q(e);return St[e]??o??U(r,`--ease-${e}`)??(t?U(r,`--animation-ease-${e}`):void 0)??null}function q(e){return e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")?x(e):null}function Rr(e){return/^\d/.test(e)?`-${e}`:`calc(${e} * -1)`}function zr(){return"calc((var(--cssx-stagger-index, 0) * (1 - var(--cssx-stagger-reverse, 0)) + (var(--cssx-stagger-count, 1) - 1 - var(--cssx-stagger-index, 0)) * var(--cssx-stagger-reverse, 0)) * var(--cssx-stagger, 0ms))"}function zt(e){let r={"animation-timeline-auto":"auto","animation-timeline-none":"none"};if(r[e])return{property:"animation-timeline",value:r[e],atRule:B};let t=/^animation-timeline-scroll(?:-(root|self))?-(block|inline|x|y)$/.exec(e);if(t){let n=t[1];return{property:"animation-timeline",value:n?`scroll(${n} ${t[2]})`:`scroll(${t[2]})`,atRule:B}}let o=/^animation-timeline-view-(block|inline|x|y)$/.exec(e);if(o)return{property:"animation-timeline",value:`view(${o[1]})`,atRule:B};let i=/^animation-timeline-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);return i?{property:"animation-timeline",value:i[1],atRule:B}:null}function Ut(e){let r=/^(scroll|view)-timeline-name-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);if(r)return{property:`${r[1]}-timeline-name`,value:r[2],atRule:r[1]==="scroll"?vr:ue};let t=/^(scroll|view)-timeline-axis-(block|inline|x|y)$/.exec(e);if(t)return{property:`${t[1]}-timeline-axis`,value:t[2],atRule:t[1]==="scroll"?vr:ue};let o=/^view-timeline-inset-(\[[\s\S]+\])$/.exec(e);if(o)return{property:"view-timeline-inset",value:x(o[1]),atRule:ue};if(e==="timeline-scope-all")return{property:"timeline-scope",value:"all",atRule:kr};let i=/^timeline-scope-\[(--[a-z_][a-z0-9_-]*)\]$/i.exec(e);return i?{property:"timeline-scope",value:i[1],atRule:kr}:null}function Tt(e){let r=/^animation-range(?:-(start|end))?-(.+)$/.exec(e);if(!r)return null;let t=r[1]?`animation-range-${r[1]}`:"animation-range",o=r[2],i=/^(normal|entry|exit|cover|contain)$/.test(o)?o:q(o);return i?{property:t,value:i,atRule:Ct}:null}function Dt(e){if(e==="view-transition-name-none")return{property:"view-transition-name",value:"none",atRule:wr};if(e==="view-transition-name-match")return{property:"view-transition-name",value:"match-element",atRule:"@supports (view-transition-name: match-element)"};let r=/^view-transition-name-\[([^\]]+)\]$/.exec(e);if(r&&Ur(r[1],["auto","match-element","none"]))return{property:"view-transition-name",value:r[1],atRule:wr};if(e==="view-transition-class-none")return{property:"view-transition-class",value:"none",atRule:$r};let t=/^view-transition-class-\[([^\]]+)\]$/.exec(e);if(t){let o=x(`[${t[1]}]`);if(o.split(/\s+/).every(i=>Ur(i,["none"])))return{property:"view-transition-class",value:o,atRule:$r}}return null}function Ur(e,r){return/^[a-z_][a-z0-9_-]*$/i.test(e)&&!r.includes(e.toLowerCase())&&!/^(?:inherit|initial|revert|revert-layer|unset)$/i.test(e)}var Et="var(--cssx-numeric-ordinal,) var(--cssx-numeric-slashed-zero,) var(--cssx-numeric-lining-nums,) var(--cssx-numeric-oldstyle-nums,) var(--cssx-numeric-proportional-nums,) var(--cssx-numeric-tabular-nums,) var(--cssx-numeric-diagonal-fractions,) var(--cssx-numeric-stacked-fractions,)";function Er(e){let r={ordinal:"ordinal","slashed-zero":"slashed-zero","lining-nums":"lining-nums","oldstyle-nums":"oldstyle-nums","proportional-nums":"proportional-nums","tabular-nums":"tabular-nums","diagonal-fractions":"diagonal-fractions","stacked-fractions":"stacked-fractions"},t=["numeric-normal",...Object.keys(r).map(l=>`numeric-${l}`)];if(e==="normal-nums")return[{property:"font-variant-numeric",value:"normal",semanticGroup:"numeric-normal",semanticConflicts:t}];let o=r[e];if(!o)return null;let i=`numeric-${e}`,n=[i,"numeric-normal"];return[{property:`--cssx-numeric-${e}`,value:o,semanticGroup:i,semanticConflicts:n},{property:"font-variant-numeric",value:Et,semanticGroup:i,semanticConflicts:n}]}function Wr(e){let t={"bg-none":{property:"background-image",value:"none"},"bg-auto":{property:"background-size",value:"auto"},"bg-cover":{property:"background-size",value:"cover"},"bg-contain":{property:"background-size",value:"contain"},"bg-top-left":{property:"background-position",value:"top left"},"bg-top":{property:"background-position",value:"top"},"bg-top-right":{property:"background-position",value:"top right"},"bg-left":{property:"background-position",value:"left"},"bg-center":{property:"background-position",value:"center"},"bg-right":{property:"background-position",value:"right"},"bg-bottom-left":{property:"background-position",value:"bottom left"},"bg-bottom":{property:"background-position",value:"bottom"},"bg-bottom-right":{property:"background-position",value:"bottom right"},"bg-repeat":{property:"background-repeat",value:"repeat"},"bg-no-repeat":{property:"background-repeat",value:"no-repeat"},"bg-repeat-x":{property:"background-repeat",value:"repeat-x"},"bg-repeat-y":{property:"background-repeat",value:"repeat-y"},"bg-repeat-round":{property:"background-repeat",value:"round"},"bg-repeat-space":{property:"background-repeat",value:"space"},"bg-fixed":{property:"background-attachment",value:"fixed"},"bg-local":{property:"background-attachment",value:"local"},"bg-scroll":{property:"background-attachment",value:"scroll"},"bg-clip-border":{property:"background-clip",value:"border-box"},"bg-clip-padding":{property:"background-clip",value:"padding-box"},"bg-clip-content":{property:"background-clip",value:"content-box"},"bg-clip-text":[{property:"-webkit-background-clip",value:"text",semanticGroup:"background-clip"},{property:"background-clip",value:"text",semanticGroup:"background-clip"},{property:"color",value:"transparent",semanticGroup:"background-clip"}],"bg-origin-border":{property:"background-origin",value:"border-box"},"bg-origin-padding":{property:"background-origin",value:"padding-box"},"bg-origin-content":{property:"background-origin",value:"content-box"}}[e];if(t)return Array.isArray(t)?I(t):t;let o=/^bg-position-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(o)return{property:"background-position",value:x(o[1])};let i=/^bg-size-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);return i?{property:"background-size",value:x(i[1])}:null}function Ar(e){let t={"mask-none":["mask-image","none"],"mask-cover":["mask-size","cover"],"mask-contain":["mask-size","contain"],"mask-repeat":["mask-repeat","repeat"],"mask-no-repeat":["mask-repeat","no-repeat"],"mask-repeat-x":["mask-repeat","repeat-x"],"mask-repeat-y":["mask-repeat","repeat-y"],"mask-repeat-round":["mask-repeat","round"],"mask-repeat-space":["mask-repeat","space"],"mask-clip-border":["mask-clip","border-box"],"mask-clip-padding":["mask-clip","padding-box"],"mask-clip-content":["mask-clip","content-box"],"mask-no-clip":["mask-clip","no-clip"],"mask-origin-border":["mask-origin","border-box"],"mask-origin-padding":["mask-origin","padding-box"],"mask-origin-content":["mask-origin","content-box"]}[e];if(t)return{property:t[0],value:t[1]};let o=/^mask-(position|size)-(.+)$/.exec(e);if(o)return{property:`mask-${o[1]}`,value:x(o[2])};let i=/^mask-(\[.+\]|\(.+\))$/.exec(e);return i?{property:"mask-image",value:x(i[1])}:null}function _r(e,r,t){let o=Dr(e,r,t);if(o)return o;if(Tr(e))return null;let i=xr(e,t);if(i)return i;let n=nr(e,r,t);if(n)return n;let l=/^border-spacing(?:-(x|y))?-(.+)$/.exec(e);if(l){let v=l[1],C=R(l[2],r,t);return C?v?[{property:`--cssx-border-spacing-${v}`,value:C,semanticGroup:`border-spacing-${v}`},{property:"border-spacing",value:"var(--cssx-border-spacing-x, 0) var(--cssx-border-spacing-y, 0)",semanticGroup:`border-spacing-${v}`}]:{property:"border-spacing",value:C}:null}let a=or(e);if(a)return a;let c=br(e,t);if(c)return c;let u=Er(e);if(u)return u;let m=gr(e,r)??yr(e,r);if(m)return m;let d=Wr(e);if(d)return d;let s=Ar(e);if(s)return s;let p=ur(e,r,t);if(p)return p;let f=dr(e,t);if(f)return f;let b=mr(e,t);if(b)return b;let g=Qe(e,r,t);if(g)return g;let y=/^columns-(auto|\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(y){let v=y[1];return{property:"columns",value:v.startsWith("[")||v.startsWith("(")?x(v):v}}if(e==="content-none")return{property:"content",value:"none"};let w=/^content-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(w)return{property:"content",value:x(w[1])};let k=/^(?:break-(before|after)-(auto|avoid|all|avoid-page|page|left|right|column)|break-(inside)-(auto|avoid|avoid-page|avoid-column))$/.exec(e);if(k){let v=k[1]??k[3],C=k[2]??k[4];return{property:`break-${v}`,value:C}}let z=/^object-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(z)return{property:"object-position",value:x(z[1])};let S=/^tab-(\d+|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(S){let v=S[1];return{property:"tab-size",value:v.startsWith("[")||v.startsWith("(")?x(v):v}}let h=/^list-image-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(h)return{property:"list-style-image",value:x(h[1])};let $=/^line-clamp-(none|\d+)$/.exec(e);if($)return $[1]==="none"?[{property:"overflow",value:"visible",semanticGroup:"line-clamp"},{property:"display",value:"block",semanticGroup:"line-clamp"},{property:"-webkit-box-orient",value:"horizontal",semanticGroup:"line-clamp"},{property:"-webkit-line-clamp",value:"unset",semanticGroup:"line-clamp"}]:[{property:"overflow",value:"hidden",semanticGroup:"line-clamp"},{property:"display",value:"-webkit-box",semanticGroup:"line-clamp"},{property:"-webkit-box-orient",value:"vertical",semanticGroup:"line-clamp"},{property:"-webkit-line-clamp",value:$[1],semanticGroup:"line-clamp"}];let O=/^grid-cols-(\d+)$/.exec(e);if(O)return{property:"grid-template-columns",value:`repeat(${O[1]}, minmax(0, 1fr))`};if(e==="grid-cols-subgrid")return{property:"grid-template-columns",value:"subgrid"};let ge=/^grid-rows-(\d+)$/.exec(e);if(ge)return{property:"grid-template-rows",value:`repeat(${ge[1]}, minmax(0, 1fr))`};if(e==="grid-rows-subgrid")return{property:"grid-template-rows",value:"subgrid"};let G=/^(col|row)-span-(\d+|full)$/.exec(e);if(G)return{property:G[1]==="col"?"grid-column":"grid-row",value:G[2]==="full"?"1 / -1":`span ${G[2]} / span ${G[2]}`};let P=/^(col|row)-(start|end)-(\d+|auto)$/.exec(e);if(P)return{property:`grid-${P[1]==="col"?"column":"row"}-${P[2]}`,value:P[3]};let K=/^order-(first|last|none|\d+)$/.exec(e);if(K){let C={first:"-9999",last:"9999",none:"0"}[K[1]]??K[1];return{property:"order",value:r&&C!=="0"?C.startsWith("-")?C.slice(1):`-${C}`:C}}let ye=/^basis-(.+)$/.exec(e);if(ye){let v=A(ye[1],r,t,"basis");return v?{property:"flex-basis",value:v}:null}let he=/^flex-(\d+(?:\/\d+)?|\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(he){let v=he[1],C=v.startsWith("[")||v.startsWith("(")?x(v):Ye(v);return C?{property:"flex",value:C}:null}let be=/^opacity-(\d{1,3})$/.exec(e);if(be)return{property:"opacity",value:String(Number(be[1])/100)};let xe=/^z-(\d+|auto)$/.exec(e);if(xe)return{property:"z-index",value:xe[1]};let ve=/^leading-(none|tight|snug|normal|relaxed|loose|\[[^\]]+\])$/.exec(e);if(ve)return{property:"line-height",value:Ie(ve[1])};let ke=/^font-(\[[^\]]+\]|\(--[a-z0-9_-]+\))$/i.exec(e);if(ke)return{property:"font-family",value:x(ke[1])};let we=/^tracking-(tighter|tight|normal|wide|wider|widest)$/.exec(e);if(we)return{property:"letter-spacing",value:Ne(we[1])};let $e=/^animate-(.+)$/.exec(e);if($e)return rr($e[1],t);let Se=tr(e,r,t);return Se||null}var jr={font:["font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height","font-kerning","font-feature-settings","font-variation-settings"],background:["background-attachment","background-color","background-image","background-position","background-repeat","background-size","background-origin","background-clip"],border:["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","border-top-width","border-right-width","border-bottom-width","border-left-width"],animation:["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-composition","animation-timeline","animation-range","animation-range-start","animation-range-end"],"animation-range":["animation-range-start","animation-range-end"],grid:["grid-template-columns","grid-template-rows","grid-template-areas","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-column","grid-row"],mask:["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"],transition:["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],container:["container-name","container-type"]};function Wt(e,r){return Ir(e,r).atoms}function Ir(e,r){return Nr(e,r).recipe}function Nr(e,r){let t=Z(e),o=We(t);if(!o)throw new Error(`CSSX cannot compile utility "${e}".`);return At(e,t,o,r)}function At(e,r,t,o){let i=Vt(r.utility,r.negative,o),n=It(i,o);if(r.important)for(let a of i)a.value=`${a.value} !important`;let l=Ve(i);return{recipe:{candidate:e,atoms:l,resources:{keyframes:n,properties:Gt(r.utility)},writes:l.map(a=>{let c=a[0]?.semanticGroup??t.group;return{group:c,conflicts:a[0]?.semanticConflicts??[c]}})},parsedCandidate:r,semantics:t}}async function me(e,r="",t={}){return _t(e,o=>o,r,{},void 0,t,!0)}async function _t(e,r,t,o,i,n,l){if(e.length>5e4)throw new Error("CSSX supports at most 50,000 utility candidates per compilation.");let a=V(t),c=Object.create(null),u=[],m=new Set,d=new Set;for(let g of[...new Set(e)]){let y=Nr(g,a),{recipe:w}=y,k=l?[r(g)]:jt(g,r(g));if(c[g]=k.join(" "),(i?k.filter(S=>i.has(S)||(o[S]?.length??0)>0):k).length!==0){u.push(...Ot(g,k,a,w.atoms,y.parsedCandidate,y.semantics.group,o,i,n));for(let S of w.resources.keyframes)m.add(S);for(let S of w.resources.properties)d.add(S)}}u.sort((g,y)=>g.order!==y.order?g.order<y.order?-1:1:g.candidate<y.candidate?-1:1);let s=[...new Map(u.map(g=>[g.css,g])).values()],p=`${[...d].sort().map(Lt).join("")}${[...m].sort().map(g=>te(a,g)).filter(g=>g!==void 0).join("")}`,f=s.map(g=>g.css).join(""),b=`${re(a,`${p}${f}`)}${p}`;return{classes:c,prefixCss:b,entries:s.map(({candidate:g,css:y})=>({candidate:g,css:y})),css:`${b}${f}`}}function jt(e,r){let t=r.split(/\s+/).filter(Boolean);if(t.length===0||t.some(o=>!/^(?:[A-Za-z_][A-Za-z0-9_-]*|[0-9][A-Za-z0-9_-]*)$/.test(o)))throw new Error(`CSSX received an unsafe generated class name for utility "${e}".`);return t}function fe(e,r){Wt(e,r)}function Ot(e,r,t,o,i,n,l,a,c){if(r.length===1){let u=o.length===1?o[0]:o.flat(),m=r[0],d=Or(m,l,a);return[{candidate:e,className:m,css:se(d,u,i.variants,t,c),order:Vr(i,n,u)}]}if(r.length!==o.length)throw new Error(`CSSX expected ${o.length} generated classes for utility "${e}".`);return o.map((u,m)=>{let d=r[m],s=Or(d,l,a);return s.length===0?null:{candidate:e,className:d,css:se(s,u,i.variants,t,c),order:`${Vr(i,n,u)}\0${m}`}}).filter(u=>u!==null)}function Or(e,r,t){let o=r[e];if(!o?.length)return!t||t.has(e)?[`.${Mr(e)}`]:[];let i=new Set(o);return(!t||t.has(e))&&i.add(e),[...i].sort().map(n=>`.${Mr(n)}`)}function Mr(e){let r="";for(let t=0;t<e.length;t++){let o=e.charCodeAt(t),i=e[t];t===0&&o>=48&&o<=57?r+=`\\${o.toString(16)} `:o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+=i:r+=`\\${i}`}return r}var Mt={p:100,px:110,py:110,pt:120,pr:120,pb:120,pl:120,ps:120,pe:120,m:200,mx:210,my:210,mt:220,mr:220,mb:220,ml:220,ms:220,me:220,inset:300,"inset-x":310,"inset-y":310,top:320,right:320,bottom:320,left:320,start:320,end:320,size:400,width:410,height:410,"min-width":410,"max-width":410,"min-height":410,"max-height":410,gap:500,"row-gap":510,"column-gap":510,border:600,"border-width":600,"border-x":610,"border-y":610,"border-top":620,"border-right":620,"border-bottom":620,"border-left":620};function Vr(e,r,t){let o=e.variants.map(d=>{let s={sm:100,md:101,lg:102,xl:103,"2xl":104,dark:200,print:300}[d];return`${String(s??10).padStart(3,"0")}:${d}`}).join(":"),i=String(Mt[r]??900).padStart(3,"0"),n=!1,l=!1,a=!1;for(let{property:d}of t)n||=t.length>1&&d==="transition-property",l||=jr[d]!==void 0,a||=d==="animation-timeline"||d.startsWith("animation-range")||d.startsWith("scroll-timeline")||d.startsWith("view-timeline")||d==="timeline-scope";let c=e.variants.includes("starting"),m=e.variants.some(d=>d.startsWith("vt-"))?500:c?400:a?300:l||n?100:200;return`${String(m).padStart(3,"0")}\0${o}\0${i}\0${r}`}function Vt(e,r,t){let o=He[e];if(o)return I(o);if(e.startsWith("[")&&e.endsWith("]"))return[er(e)];let i=ir(e,r,t);if(i)return i;let n=lr(e,t);if(n)return n;let l=ar(e,t);if(l)return l;let a=sr(e,r,t);if(a)return a;let c=cr(e,t);if(c)return c;let u=pr(e,r,t);if(u)return Array.isArray(u)?u:[u];let m=_r(e,r,t);if(!m)throw new Error(`CSSX cannot compile utility "${r?"-":""}${e}".`);return Array.isArray(m)?m:[m]}function It(e,r){let t=new Set;for(let o of e)if(o.property==="animation-name")for(let i of o.value.split(",").map(n=>n.trim()))r.keyframes[i]&&t.add(i);else if(o.property==="animation"){let i=Nt(o.value,r);for(let n of Object.keys(r.keyframes)){let l=n.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&");new RegExp(`(?:^|[\\s,])${l}(?=$|[\\s,])`).test(i)&&t.add(n)}}return[...t].sort()}function Nt(e,r){return e.replaceAll(/var\((--[a-z0-9_-]+)\)/gi,(t,o)=>{let i=r.prefix?`--${r.prefix}-`:"",n=i&&o.startsWith(i)?`--${o.slice(i.length)}`:o;return W(r,n)??t})}function Gt(e){let r=/^scrollbar-(thumb|track)-/.exec(e)?.[1];return r?[`--cssx-scrollbar-${r}`]:[]}function Lt(e){return`@property ${e}{syntax:"<color>";inherits:true;initial-value:#0000;}`}var Gr="data-cssx-runtime";async function Lr(e={}){let r=e.document??globalThis.document;if(!r)throw new Error("@cssxio/html requires a browser document.");let t=e.theme??"",o=Pt(r,t),i=await me([...o],t,{darkMode:e.darkMode}),n=Xt(r)??Ft(r);return n.textContent=i.css,n}function Pt(e,r){let t=V(r),o=new Set;for(let i of e.querySelectorAll("[class]")){let n=i.getAttribute("class");if(!n)continue;let l;try{l=Y(n)}catch{continue}for(let a of l)try{fe(a,t),o.add(a)}catch{}}return o}function Xt(e){return e.head.querySelector(`style[${Gr}]`)}function Ft(e){let r=e.createElement("style");return r.setAttribute(Gr,""),e.head.append(r),r}function Pr(){Lr().catch(e=>{console.error("@cssxio/html could not compile the page classes.",e)})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Pr,{once:!0}):Pr();})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssxio/html",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Zero-build runtime utility styling for static HTML.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@cssxio/compiler": "^0.4.2"
27
+ "@cssxio/compiler": "^0.5.0"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "tsup"