@mochi-css/vanilla-react 3.1.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1646
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -52,5 +52,4 @@ type MochiStyledComponent<T extends HTMLElementType | ComponentType<Cls>, V exte
|
|
|
52
52
|
*/
|
|
53
53
|
declare function styled<T extends HTMLElementType | ComponentType<Cls>, V extends AllVariants[]>(target: T, ...props: { [K in keyof V]: MochiCSSProps<V[K]> | MochiCSS<V[K]> | string }): MochiStyledComponent<T, V>;
|
|
54
54
|
//#endregion
|
|
55
|
-
export { MochiStyledComponent, styled };
|
|
56
|
-
//# sourceMappingURL=index.d.mts.map
|
|
55
|
+
export { MochiStyledComponent, styled };
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["MochiSelector","CssObjectSubBlock","MochiCSS","variantProps: Record<string, unknown>","restProps: Record<string, unknown>"],"sources":["../../vanilla/dist/index.mjs","../src/styled.ts"],"sourcesContent":["import clsx from \"clsx\";\n\n//#region src/token.ts\n/**\n* Represents a CSS custom property (design token) with type information.\n* Provides convenient access to both the variable name and its `var()` reference.\n* @template T - The expected value type of the token (for type checking)\n* @example\n* const primaryColor = new Token<string>('primary-color')\n* primaryColor.variable // '--primary-color'\n* primaryColor.value // 'var(--primary-color)'\n*/\nvar Token = class {\n\t/**\n\t* Creates a new CSS token.\n\t* @param name - The token name (without the `--` prefix)\n\t*/\n\tconstructor(name) {\n\t\tthis.name = name;\n\t}\n\t/**\n\t* Gets the CSS custom property name (with `--` prefix).\n\t* Use this when defining the variable.\n\t*/\n\tget variable() {\n\t\treturn `--${this.name}`;\n\t}\n\t/**\n\t* Gets the CSS `var()` reference to this token.\n\t* Use this when consuming the variable value.\n\t*/\n\tget value() {\n\t\treturn `var(${this.variable})`;\n\t}\n\t/**\n\t* Returns the variable name for string coercion.\n\t*/\n\ttoString() {\n\t\treturn this.variable;\n\t}\n};\n/**\n* Creates a new CSS design token.\n* @template T - The expected value type of the token\n* @param name - The token name (without the `--` prefix)\n* @returns A new Token instance\n* @example\n* const spacing = createToken<number>('spacing-md')\n* // Use in styles: { gap: spacing.value }\n*/\nfunction createToken(name) {\n\treturn new Token(name);\n}\n\n//#endregion\n//#region src/propertyUnits.generated.ts\nconst propertyUnits = {\n\tanimation: \"ms\",\n\tanimationDelay: \"ms\",\n\tanimationDuration: \"ms\",\n\tanimationRange: \"px\",\n\tanimationRangeCenter: \"px\",\n\tanimationRangeEnd: \"px\",\n\tanimationRangeStart: \"px\",\n\tbackground: \"px\",\n\tbackgroundPosition: \"px\",\n\tbackgroundPositionBlock: \"px\",\n\tbackgroundPositionInline: \"px\",\n\tbackgroundPositionX: \"px\",\n\tbackgroundPositionY: \"px\",\n\tbackgroundSize: \"px\",\n\tbackgroundTbd: \"px\",\n\tbaselineShift: \"px\",\n\tblockSize: \"px\",\n\tblockStep: \"px\",\n\tblockStepSize: \"px\",\n\tborder: \"px\",\n\tborderBlock: \"px\",\n\tborderBlockClip: \"px\",\n\tborderBlockEnd: \"px\",\n\tborderBlockEndClip: \"px\",\n\tborderBlockEndRadius: \"px\",\n\tborderBlockEndWidth: \"px\",\n\tborderBlockStart: \"px\",\n\tborderBlockStartClip: \"px\",\n\tborderBlockStartRadius: \"px\",\n\tborderBlockStartWidth: \"px\",\n\tborderBlockWidth: \"px\",\n\tborderBottom: \"px\",\n\tborderBottomClip: \"px\",\n\tborderBottomLeftRadius: \"px\",\n\tborderBottomRadius: \"px\",\n\tborderBottomRightRadius: \"px\",\n\tborderBottomWidth: \"px\",\n\tborderClip: \"px\",\n\tborderEndEndRadius: \"px\",\n\tborderEndStartRadius: \"px\",\n\tborderImage: \"%\",\n\tborderImageOutset: \"px\",\n\tborderImageSlice: \"%\",\n\tborderImageWidth: \"px\",\n\tborderInline: \"px\",\n\tborderInlineClip: \"px\",\n\tborderInlineEnd: \"px\",\n\tborderInlineEndClip: \"px\",\n\tborderInlineEndRadius: \"px\",\n\tborderInlineEndWidth: \"px\",\n\tborderInlineStart: \"px\",\n\tborderInlineStartClip: \"px\",\n\tborderInlineStartRadius: \"px\",\n\tborderInlineStartWidth: \"px\",\n\tborderInlineWidth: \"px\",\n\tborderLeft: \"px\",\n\tborderLeftClip: \"px\",\n\tborderLeftRadius: \"px\",\n\tborderLeftWidth: \"px\",\n\tborderLimit: \"px\",\n\tborderRadius: \"px\",\n\tborderRight: \"px\",\n\tborderRightClip: \"px\",\n\tborderRightRadius: \"px\",\n\tborderRightWidth: \"px\",\n\tborderSpacing: \"px\",\n\tborderStartEndRadius: \"px\",\n\tborderStartStartRadius: \"px\",\n\tborderTop: \"px\",\n\tborderTopClip: \"px\",\n\tborderTopLeftRadius: \"px\",\n\tborderTopRadius: \"px\",\n\tborderTopRightRadius: \"px\",\n\tborderTopWidth: \"px\",\n\tborderWidth: \"px\",\n\tbottom: \"px\",\n\tboxShadow: \"px\",\n\tboxShadowBlur: \"px\",\n\tboxShadowOffset: \"px\",\n\tboxShadowSpread: \"px\",\n\tcolumnGap: \"px\",\n\tcolumnHeight: \"px\",\n\tcolumnRule: \"px\",\n\tcolumnRuleEdgeInset: \"px\",\n\tcolumnRuleEdgeInsetEnd: \"px\",\n\tcolumnRuleEdgeInsetStart: \"px\",\n\tcolumnRuleInset: \"px\",\n\tcolumnRuleInsetEnd: \"px\",\n\tcolumnRuleInsetStart: \"px\",\n\tcolumnRuleInteriorInset: \"px\",\n\tcolumnRuleInteriorInsetEnd: \"px\",\n\tcolumnRuleInteriorInsetStart: \"px\",\n\tcolumnRuleWidth: \"px\",\n\tcolumns: \"px\",\n\tcolumnWidth: \"px\",\n\tcontainIntrinsicBlockSize: \"px\",\n\tcontainIntrinsicHeight: \"px\",\n\tcontainIntrinsicInlineSize: \"px\",\n\tcontainIntrinsicSize: \"px\",\n\tcontainIntrinsicWidth: \"px\",\n\tcorner: \"px\",\n\tcornerBlockEnd: \"px\",\n\tcornerBlockStart: \"px\",\n\tcornerBottom: \"px\",\n\tcornerBottomLeft: \"px\",\n\tcornerBottomRight: \"px\",\n\tcornerEndEnd: \"px\",\n\tcornerEndStart: \"px\",\n\tcornerInlineEnd: \"px\",\n\tcornerInlineStart: \"px\",\n\tcornerLeft: \"px\",\n\tcornerRight: \"px\",\n\tcornerStartEnd: \"px\",\n\tcornerStartStart: \"px\",\n\tcornerTop: \"px\",\n\tcornerTopLeft: \"px\",\n\tcornerTopRight: \"px\",\n\tcx: \"px\",\n\tcy: \"px\",\n\tfillOpacity: \"%\",\n\tfillPosition: \"px\",\n\tfillSize: \"px\",\n\tflex: \"px\",\n\tflexBasis: \"px\",\n\tfloatOffset: \"px\",\n\tfloodOpacity: \"%\",\n\tflowTolerance: \"px\",\n\tfont: \"deg\",\n\tfontSize: \"px\",\n\tfontStretch: \"%\",\n\tfontStyle: \"deg\",\n\tfontWidth: \"%\",\n\tgap: \"px\",\n\tgrid: \"px\",\n\tgridAutoColumns: \"px\",\n\tgridAutoRows: \"px\",\n\tgridColumnGap: \"px\",\n\tgridGap: \"px\",\n\tgridRowGap: \"px\",\n\tgridTemplate: \"px\",\n\tgridTemplateColumns: \"px\",\n\tgridTemplateRows: \"px\",\n\theight: \"px\",\n\thyphenateLimitZone: \"px\",\n\timageOrientation: \"deg\",\n\timageResolution: \"dppx\",\n\tinitialLetterWrap: \"px\",\n\tinlineSize: \"px\",\n\tinset: \"px\",\n\tinsetBlock: \"px\",\n\tinsetBlockEnd: \"px\",\n\tinsetBlockStart: \"px\",\n\tinsetInline: \"px\",\n\tinsetInlineEnd: \"px\",\n\tinsetInlineStart: \"px\",\n\tinterestDelay: \"ms\",\n\tinterestDelayEnd: \"ms\",\n\tinterestDelayStart: \"ms\",\n\tleft: \"px\",\n\tletterSpacing: \"px\",\n\tlineHeight: \"px\",\n\tlineHeightStep: \"px\",\n\tlinePadding: \"px\",\n\tmargin: \"px\",\n\tmarginBlock: \"px\",\n\tmarginBlockEnd: \"px\",\n\tmarginBlockStart: \"px\",\n\tmarginBottom: \"px\",\n\tmarginInline: \"px\",\n\tmarginInlineEnd: \"px\",\n\tmarginInlineStart: \"px\",\n\tmarginLeft: \"px\",\n\tmarginRight: \"px\",\n\tmarginTop: \"px\",\n\tmask: \"px\",\n\tmaskBorder: \"%\",\n\tmaskBorderOutset: \"px\",\n\tmaskBorderSlice: \"%\",\n\tmaskBorderWidth: \"px\",\n\tmaskPosition: \"px\",\n\tmaskSize: \"px\",\n\tmaxBlockSize: \"px\",\n\tmaxHeight: \"px\",\n\tmaxInlineSize: \"px\",\n\tmaxWidth: \"px\",\n\tminBlockSize: \"px\",\n\tminHeight: \"px\",\n\tminInlineSize: \"px\",\n\tminWidth: \"px\",\n\tobjectPosition: \"px\",\n\toffset: \"px\",\n\toffsetAnchor: \"px\",\n\toffsetDistance: \"px\",\n\toffsetPosition: \"px\",\n\toffsetRotate: \"deg\",\n\topacity: \"%\",\n\toutline: \"px\",\n\toutlineOffset: \"px\",\n\toutlineWidth: \"px\",\n\toverflowClipMargin: \"px\",\n\toverflowClipMarginBlock: \"px\",\n\toverflowClipMarginBlockEnd: \"px\",\n\toverflowClipMarginBlockStart: \"px\",\n\toverflowClipMarginBottom: \"px\",\n\toverflowClipMarginInline: \"px\",\n\toverflowClipMarginInlineEnd: \"px\",\n\toverflowClipMarginInlineStart: \"px\",\n\toverflowClipMarginLeft: \"px\",\n\toverflowClipMarginRight: \"px\",\n\toverflowClipMarginTop: \"px\",\n\tpadding: \"px\",\n\tpaddingBlock: \"px\",\n\tpaddingBlockEnd: \"px\",\n\tpaddingBlockStart: \"px\",\n\tpaddingBottom: \"px\",\n\tpaddingInline: \"px\",\n\tpaddingInlineEnd: \"px\",\n\tpaddingInlineStart: \"px\",\n\tpaddingLeft: \"px\",\n\tpaddingRight: \"px\",\n\tpaddingTop: \"px\",\n\tpause: \"ms\",\n\tpauseAfter: \"ms\",\n\tpauseBefore: \"ms\",\n\tperspective: \"px\",\n\tperspectiveOrigin: \"px\",\n\tr: \"px\",\n\trest: \"ms\",\n\trestAfter: \"ms\",\n\trestBefore: \"ms\",\n\tright: \"px\",\n\trotate: \"deg\",\n\trowGap: \"px\",\n\trowRule: \"px\",\n\trowRuleEdgeInset: \"px\",\n\trowRuleEdgeInsetEnd: \"px\",\n\trowRuleEdgeInsetStart: \"px\",\n\trowRuleInset: \"px\",\n\trowRuleInsetEnd: \"px\",\n\trowRuleInsetStart: \"px\",\n\trowRuleInteriorInset: \"px\",\n\trowRuleInteriorInsetEnd: \"px\",\n\trowRuleInteriorInsetStart: \"px\",\n\trowRuleWidth: \"px\",\n\trule: \"px\",\n\truleEdgeInset: \"px\",\n\truleInset: \"px\",\n\truleInsetEnd: \"px\",\n\truleInsetStart: \"px\",\n\truleInteriorInset: \"px\",\n\truleWidth: \"px\",\n\trx: \"px\",\n\try: \"px\",\n\tscale: \"%\",\n\tscrollMargin: \"px\",\n\tscrollMarginBlock: \"px\",\n\tscrollMarginBlockEnd: \"px\",\n\tscrollMarginBlockStart: \"px\",\n\tscrollMarginBottom: \"px\",\n\tscrollMarginInline: \"px\",\n\tscrollMarginInlineEnd: \"px\",\n\tscrollMarginInlineStart: \"px\",\n\tscrollMarginLeft: \"px\",\n\tscrollMarginRight: \"px\",\n\tscrollMarginTop: \"px\",\n\tscrollPadding: \"px\",\n\tscrollPaddingBlock: \"px\",\n\tscrollPaddingBlockEnd: \"px\",\n\tscrollPaddingBlockStart: \"px\",\n\tscrollPaddingBottom: \"px\",\n\tscrollPaddingInline: \"px\",\n\tscrollPaddingInlineEnd: \"px\",\n\tscrollPaddingInlineStart: \"px\",\n\tscrollPaddingLeft: \"px\",\n\tscrollPaddingRight: \"px\",\n\tscrollPaddingTop: \"px\",\n\tshapeImageThreshold: \"%\",\n\tshapeMargin: \"px\",\n\tshapePadding: \"px\",\n\tstopOpacity: \"%\",\n\tstrokeDasharray: \"px\",\n\tstrokeDashcorner: \"px\",\n\tstrokeDashCorner: \"px\",\n\tstrokeDashoffset: \"px\",\n\tstrokeOpacity: \"%\",\n\tstrokePosition: \"px\",\n\tstrokeSize: \"px\",\n\tstrokeWidth: \"px\",\n\ttabSize: \"px\",\n\ttextDecoration: \"px\",\n\ttextDecorationInset: \"px\",\n\ttextDecorationThickness: \"px\",\n\ttextIndent: \"px\",\n\ttextShadow: \"px\",\n\ttextSizeAdjust: \"%\",\n\ttextUnderlineOffset: \"px\",\n\ttimelineTrigger: \"px\",\n\ttimelineTriggerActivationRange: \"px\",\n\ttimelineTriggerActivationRangeEnd: \"px\",\n\ttimelineTriggerActivationRangeStart: \"px\",\n\ttimelineTriggerActiveRange: \"px\",\n\ttimelineTriggerActiveRangeEnd: \"px\",\n\ttimelineTriggerActiveRangeStart: \"px\",\n\ttop: \"px\",\n\ttransformOrigin: \"px\",\n\ttransition: \"ms\",\n\ttransitionDelay: \"ms\",\n\ttransitionDuration: \"ms\",\n\ttranslate: \"px\",\n\tverticalAlign: \"px\",\n\tviewTimeline: \"px\",\n\tviewTimelineInset: \"px\",\n\tvoiceDuration: \"ms\",\n\tvoicePitch: \"Hz\",\n\tvoiceRange: \"Hz\",\n\tvoiceRate: \"%\",\n\twidth: \"px\",\n\twordSpacing: \"px\",\n\tx: \"px\",\n\ty: \"px\",\n\tzoom: \"%\"\n};\n\n//#endregion\n//#region src/knownProperties.generated.ts\nconst knownPropertyNames = new Set([\n\t\"accentColor\",\n\t\"alignContent\",\n\t\"alignItems\",\n\t\"alignSelf\",\n\t\"alignmentBaseline\",\n\t\"all\",\n\t\"anchorName\",\n\t\"anchorScope\",\n\t\"animation\",\n\t\"animationComposition\",\n\t\"animationDelay\",\n\t\"animationDirection\",\n\t\"animationDuration\",\n\t\"animationFillMode\",\n\t\"animationIterationCount\",\n\t\"animationName\",\n\t\"animationPlayState\",\n\t\"animationRange\",\n\t\"animationRangeCenter\",\n\t\"animationRangeEnd\",\n\t\"animationRangeStart\",\n\t\"animationTimeline\",\n\t\"animationTimingFunction\",\n\t\"animationTrigger\",\n\t\"appearance\",\n\t\"aspectRatio\",\n\t\"backdropFilter\",\n\t\"backfaceVisibility\",\n\t\"background\",\n\t\"backgroundAttachment\",\n\t\"backgroundBlendMode\",\n\t\"backgroundClip\",\n\t\"backgroundColor\",\n\t\"backgroundImage\",\n\t\"backgroundOrigin\",\n\t\"backgroundPosition\",\n\t\"backgroundPositionBlock\",\n\t\"backgroundPositionInline\",\n\t\"backgroundPositionX\",\n\t\"backgroundPositionY\",\n\t\"backgroundRepeat\",\n\t\"backgroundRepeatBlock\",\n\t\"backgroundRepeatInline\",\n\t\"backgroundRepeatX\",\n\t\"backgroundRepeatY\",\n\t\"backgroundSize\",\n\t\"backgroundTbd\",\n\t\"baselineShift\",\n\t\"baselineSource\",\n\t\"blockEllipsis\",\n\t\"blockSize\",\n\t\"blockStep\",\n\t\"blockStepAlign\",\n\t\"blockStepInsert\",\n\t\"blockStepRound\",\n\t\"blockStepSize\",\n\t\"bookmarkLabel\",\n\t\"bookmarkLevel\",\n\t\"bookmarkState\",\n\t\"border\",\n\t\"borderBlock\",\n\t\"borderBlockClip\",\n\t\"borderBlockColor\",\n\t\"borderBlockEnd\",\n\t\"borderBlockEndClip\",\n\t\"borderBlockEndColor\",\n\t\"borderBlockEndRadius\",\n\t\"borderBlockEndStyle\",\n\t\"borderBlockEndWidth\",\n\t\"borderBlockStart\",\n\t\"borderBlockStartClip\",\n\t\"borderBlockStartColor\",\n\t\"borderBlockStartRadius\",\n\t\"borderBlockStartStyle\",\n\t\"borderBlockStartWidth\",\n\t\"borderBlockStyle\",\n\t\"borderBlockWidth\",\n\t\"borderBottom\",\n\t\"borderBottomClip\",\n\t\"borderBottomColor\",\n\t\"borderBottomLeftRadius\",\n\t\"borderBottomRadius\",\n\t\"borderBottomRightRadius\",\n\t\"borderBottomStyle\",\n\t\"borderBottomWidth\",\n\t\"borderBoundary\",\n\t\"borderClip\",\n\t\"borderCollapse\",\n\t\"borderColor\",\n\t\"borderEndEndRadius\",\n\t\"borderEndStartRadius\",\n\t\"borderImage\",\n\t\"borderImageOutset\",\n\t\"borderImageRepeat\",\n\t\"borderImageSlice\",\n\t\"borderImageSource\",\n\t\"borderImageWidth\",\n\t\"borderInline\",\n\t\"borderInlineClip\",\n\t\"borderInlineColor\",\n\t\"borderInlineEnd\",\n\t\"borderInlineEndClip\",\n\t\"borderInlineEndColor\",\n\t\"borderInlineEndRadius\",\n\t\"borderInlineEndStyle\",\n\t\"borderInlineEndWidth\",\n\t\"borderInlineStart\",\n\t\"borderInlineStartClip\",\n\t\"borderInlineStartColor\",\n\t\"borderInlineStartRadius\",\n\t\"borderInlineStartStyle\",\n\t\"borderInlineStartWidth\",\n\t\"borderInlineStyle\",\n\t\"borderInlineWidth\",\n\t\"borderLeft\",\n\t\"borderLeftClip\",\n\t\"borderLeftColor\",\n\t\"borderLeftRadius\",\n\t\"borderLeftStyle\",\n\t\"borderLeftWidth\",\n\t\"borderLimit\",\n\t\"borderRadius\",\n\t\"borderRight\",\n\t\"borderRightClip\",\n\t\"borderRightColor\",\n\t\"borderRightRadius\",\n\t\"borderRightStyle\",\n\t\"borderRightWidth\",\n\t\"borderShape\",\n\t\"borderSpacing\",\n\t\"borderStartEndRadius\",\n\t\"borderStartStartRadius\",\n\t\"borderStyle\",\n\t\"borderTop\",\n\t\"borderTopClip\",\n\t\"borderTopColor\",\n\t\"borderTopLeftRadius\",\n\t\"borderTopRadius\",\n\t\"borderTopRightRadius\",\n\t\"borderTopStyle\",\n\t\"borderTopWidth\",\n\t\"borderWidth\",\n\t\"bottom\",\n\t\"boxDecorationBreak\",\n\t\"boxShadow\",\n\t\"boxShadowBlur\",\n\t\"boxShadowColor\",\n\t\"boxShadowOffset\",\n\t\"boxShadowPosition\",\n\t\"boxShadowSpread\",\n\t\"boxSizing\",\n\t\"boxSnap\",\n\t\"breakAfter\",\n\t\"breakBefore\",\n\t\"breakInside\",\n\t\"captionSide\",\n\t\"caret\",\n\t\"caretAnimation\",\n\t\"caretColor\",\n\t\"caretShape\",\n\t\"clear\",\n\t\"clip\",\n\t\"clipPath\",\n\t\"clipRule\",\n\t\"color\",\n\t\"colorAdjust\",\n\t\"colorInterpolation\",\n\t\"colorInterpolationFilters\",\n\t\"colorScheme\",\n\t\"columnCount\",\n\t\"columnFill\",\n\t\"columnGap\",\n\t\"columnHeight\",\n\t\"columnRule\",\n\t\"columnRuleBreak\",\n\t\"columnRuleColor\",\n\t\"columnRuleEdgeInset\",\n\t\"columnRuleEdgeInsetEnd\",\n\t\"columnRuleEdgeInsetStart\",\n\t\"columnRuleInset\",\n\t\"columnRuleInsetEnd\",\n\t\"columnRuleInsetStart\",\n\t\"columnRuleInteriorInset\",\n\t\"columnRuleInteriorInsetEnd\",\n\t\"columnRuleInteriorInsetStart\",\n\t\"columnRuleStyle\",\n\t\"columnRuleVisibilityItems\",\n\t\"columnRuleWidth\",\n\t\"columnSpan\",\n\t\"columnWidth\",\n\t\"columnWrap\",\n\t\"columns\",\n\t\"contain\",\n\t\"containIntrinsicBlockSize\",\n\t\"containIntrinsicHeight\",\n\t\"containIntrinsicInlineSize\",\n\t\"containIntrinsicSize\",\n\t\"containIntrinsicWidth\",\n\t\"container\",\n\t\"containerName\",\n\t\"containerType\",\n\t\"content\",\n\t\"contentVisibility\",\n\t\"continue\",\n\t\"copyInto\",\n\t\"corner\",\n\t\"cornerBlockEnd\",\n\t\"cornerBlockEndShape\",\n\t\"cornerBlockStart\",\n\t\"cornerBlockStartShape\",\n\t\"cornerBottom\",\n\t\"cornerBottomLeft\",\n\t\"cornerBottomLeftShape\",\n\t\"cornerBottomRight\",\n\t\"cornerBottomRightShape\",\n\t\"cornerBottomShape\",\n\t\"cornerEndEnd\",\n\t\"cornerEndEndShape\",\n\t\"cornerEndStart\",\n\t\"cornerEndStartShape\",\n\t\"cornerInlineEnd\",\n\t\"cornerInlineEndShape\",\n\t\"cornerInlineStart\",\n\t\"cornerInlineStartShape\",\n\t\"cornerLeft\",\n\t\"cornerLeftShape\",\n\t\"cornerRight\",\n\t\"cornerRightShape\",\n\t\"cornerShape\",\n\t\"cornerStartEnd\",\n\t\"cornerStartEndShape\",\n\t\"cornerStartStart\",\n\t\"cornerStartStartShape\",\n\t\"cornerTop\",\n\t\"cornerTopLeft\",\n\t\"cornerTopLeftShape\",\n\t\"cornerTopRight\",\n\t\"cornerTopRightShape\",\n\t\"cornerTopShape\",\n\t\"counterIncrement\",\n\t\"counterReset\",\n\t\"counterSet\",\n\t\"cue\",\n\t\"cueAfter\",\n\t\"cueBefore\",\n\t\"cursor\",\n\t\"cx\",\n\t\"cy\",\n\t\"d\",\n\t\"direction\",\n\t\"display\",\n\t\"dominantBaseline\",\n\t\"dynamicRangeLimit\",\n\t\"emptyCells\",\n\t\"eventTrigger\",\n\t\"eventTriggerName\",\n\t\"eventTriggerSource\",\n\t\"fieldSizing\",\n\t\"fill\",\n\t\"fillBreak\",\n\t\"fillColor\",\n\t\"fillImage\",\n\t\"fillOpacity\",\n\t\"fillOrigin\",\n\t\"fillPosition\",\n\t\"fillRepeat\",\n\t\"fillRule\",\n\t\"fillSize\",\n\t\"filter\",\n\t\"flex\",\n\t\"flexBasis\",\n\t\"flexDirection\",\n\t\"flexFlow\",\n\t\"flexGrow\",\n\t\"flexShrink\",\n\t\"flexWrap\",\n\t\"float\",\n\t\"floatDefer\",\n\t\"floatOffset\",\n\t\"floatReference\",\n\t\"floodColor\",\n\t\"floodOpacity\",\n\t\"flowFrom\",\n\t\"flowInto\",\n\t\"flowTolerance\",\n\t\"font\",\n\t\"fontFamily\",\n\t\"fontFeatureSettings\",\n\t\"fontKerning\",\n\t\"fontLanguageOverride\",\n\t\"fontOpticalSizing\",\n\t\"fontPalette\",\n\t\"fontSize\",\n\t\"fontSizeAdjust\",\n\t\"fontStretch\",\n\t\"fontStyle\",\n\t\"fontSynthesis\",\n\t\"fontSynthesisPosition\",\n\t\"fontSynthesisSmallCaps\",\n\t\"fontSynthesisStyle\",\n\t\"fontSynthesisWeight\",\n\t\"fontVariant\",\n\t\"fontVariantAlternates\",\n\t\"fontVariantCaps\",\n\t\"fontVariantEastAsian\",\n\t\"fontVariantEmoji\",\n\t\"fontVariantLigatures\",\n\t\"fontVariantNumeric\",\n\t\"fontVariantPosition\",\n\t\"fontVariationSettings\",\n\t\"fontWeight\",\n\t\"fontWidth\",\n\t\"footnoteDisplay\",\n\t\"footnotePolicy\",\n\t\"forcedColorAdjust\",\n\t\"frameSizing\",\n\t\"gap\",\n\t\"glyphOrientationVertical\",\n\t\"grid\",\n\t\"gridArea\",\n\t\"gridAutoColumns\",\n\t\"gridAutoFlow\",\n\t\"gridAutoRows\",\n\t\"gridColumn\",\n\t\"gridColumnEnd\",\n\t\"gridColumnGap\",\n\t\"gridColumnStart\",\n\t\"gridGap\",\n\t\"gridRow\",\n\t\"gridRowEnd\",\n\t\"gridRowGap\",\n\t\"gridRowStart\",\n\t\"gridTemplate\",\n\t\"gridTemplateAreas\",\n\t\"gridTemplateColumns\",\n\t\"gridTemplateRows\",\n\t\"hangingPunctuation\",\n\t\"height\",\n\t\"hyphenateCharacter\",\n\t\"hyphenateLimitChars\",\n\t\"hyphenateLimitLast\",\n\t\"hyphenateLimitLines\",\n\t\"hyphenateLimitZone\",\n\t\"hyphens\",\n\t\"imageAnimation\",\n\t\"imageOrientation\",\n\t\"imageRendering\",\n\t\"imageResolution\",\n\t\"initialLetter\",\n\t\"initialLetterAlign\",\n\t\"initialLetterWrap\",\n\t\"inlineSize\",\n\t\"inlineSizing\",\n\t\"inputSecurity\",\n\t\"inset\",\n\t\"insetBlock\",\n\t\"insetBlockEnd\",\n\t\"insetBlockStart\",\n\t\"insetInline\",\n\t\"insetInlineEnd\",\n\t\"insetInlineStart\",\n\t\"interactivity\",\n\t\"interestDelay\",\n\t\"interestDelayEnd\",\n\t\"interestDelayStart\",\n\t\"interpolateSize\",\n\t\"isolation\",\n\t\"justifyContent\",\n\t\"justifyItems\",\n\t\"justifySelf\",\n\t\"left\",\n\t\"letterSpacing\",\n\t\"lightingColor\",\n\t\"lineBreak\",\n\t\"lineClamp\",\n\t\"lineFitEdge\",\n\t\"lineGrid\",\n\t\"lineHeight\",\n\t\"lineHeightStep\",\n\t\"linePadding\",\n\t\"lineSnap\",\n\t\"linkParameters\",\n\t\"listStyle\",\n\t\"listStyleImage\",\n\t\"listStylePosition\",\n\t\"listStyleType\",\n\t\"margin\",\n\t\"marginBlock\",\n\t\"marginBlockEnd\",\n\t\"marginBlockStart\",\n\t\"marginBottom\",\n\t\"marginBreak\",\n\t\"marginInline\",\n\t\"marginInlineEnd\",\n\t\"marginInlineStart\",\n\t\"marginLeft\",\n\t\"marginRight\",\n\t\"marginTop\",\n\t\"marginTrim\",\n\t\"marker\",\n\t\"markerEnd\",\n\t\"markerMid\",\n\t\"markerSide\",\n\t\"markerStart\",\n\t\"mask\",\n\t\"maskBorder\",\n\t\"maskBorderMode\",\n\t\"maskBorderOutset\",\n\t\"maskBorderRepeat\",\n\t\"maskBorderSlice\",\n\t\"maskBorderSource\",\n\t\"maskBorderWidth\",\n\t\"maskClip\",\n\t\"maskComposite\",\n\t\"maskImage\",\n\t\"maskMode\",\n\t\"maskOrigin\",\n\t\"maskPosition\",\n\t\"maskRepeat\",\n\t\"maskSize\",\n\t\"maskType\",\n\t\"mathDepth\",\n\t\"mathShift\",\n\t\"mathStyle\",\n\t\"maxBlockSize\",\n\t\"maxHeight\",\n\t\"maxInlineSize\",\n\t\"maxLines\",\n\t\"maxWidth\",\n\t\"minBlockSize\",\n\t\"minHeight\",\n\t\"minInlineSize\",\n\t\"minIntrinsicSizing\",\n\t\"minWidth\",\n\t\"mixBlendMode\",\n\t\"navDown\",\n\t\"navLeft\",\n\t\"navRight\",\n\t\"navUp\",\n\t\"objectFit\",\n\t\"objectPosition\",\n\t\"objectViewBox\",\n\t\"offset\",\n\t\"offsetAnchor\",\n\t\"offsetDistance\",\n\t\"offsetPath\",\n\t\"offsetPosition\",\n\t\"offsetRotate\",\n\t\"opacity\",\n\t\"order\",\n\t\"orphans\",\n\t\"outline\",\n\t\"outlineColor\",\n\t\"outlineOffset\",\n\t\"outlineStyle\",\n\t\"outlineWidth\",\n\t\"overflow\",\n\t\"overflowAnchor\",\n\t\"overflowBlock\",\n\t\"overflowClipMargin\",\n\t\"overflowClipMarginBlock\",\n\t\"overflowClipMarginBlockEnd\",\n\t\"overflowClipMarginBlockStart\",\n\t\"overflowClipMarginBottom\",\n\t\"overflowClipMarginInline\",\n\t\"overflowClipMarginInlineEnd\",\n\t\"overflowClipMarginInlineStart\",\n\t\"overflowClipMarginLeft\",\n\t\"overflowClipMarginRight\",\n\t\"overflowClipMarginTop\",\n\t\"overflowInline\",\n\t\"overflowWrap\",\n\t\"overflowX\",\n\t\"overflowY\",\n\t\"overlay\",\n\t\"overscrollBehavior\",\n\t\"overscrollBehaviorBlock\",\n\t\"overscrollBehaviorInline\",\n\t\"overscrollBehaviorX\",\n\t\"overscrollBehaviorY\",\n\t\"padding\",\n\t\"paddingBlock\",\n\t\"paddingBlockEnd\",\n\t\"paddingBlockStart\",\n\t\"paddingBottom\",\n\t\"paddingInline\",\n\t\"paddingInlineEnd\",\n\t\"paddingInlineStart\",\n\t\"paddingLeft\",\n\t\"paddingRight\",\n\t\"paddingTop\",\n\t\"page\",\n\t\"pageBreakAfter\",\n\t\"pageBreakBefore\",\n\t\"pageBreakInside\",\n\t\"paintOrder\",\n\t\"pause\",\n\t\"pauseAfter\",\n\t\"pauseBefore\",\n\t\"perspective\",\n\t\"perspectiveOrigin\",\n\t\"placeContent\",\n\t\"placeItems\",\n\t\"placeSelf\",\n\t\"pointerEvents\",\n\t\"pointerTimeline\",\n\t\"pointerTimelineAxis\",\n\t\"pointerTimelineName\",\n\t\"position\",\n\t\"positionAnchor\",\n\t\"positionArea\",\n\t\"positionTry\",\n\t\"positionTryFallbacks\",\n\t\"positionTryOrder\",\n\t\"positionVisibility\",\n\t\"printColorAdjust\",\n\t\"quotes\",\n\t\"r\",\n\t\"readingFlow\",\n\t\"readingOrder\",\n\t\"regionFragment\",\n\t\"resize\",\n\t\"rest\",\n\t\"restAfter\",\n\t\"restBefore\",\n\t\"right\",\n\t\"rotate\",\n\t\"rowGap\",\n\t\"rowRule\",\n\t\"rowRuleBreak\",\n\t\"rowRuleColor\",\n\t\"rowRuleEdgeInset\",\n\t\"rowRuleEdgeInsetEnd\",\n\t\"rowRuleEdgeInsetStart\",\n\t\"rowRuleInset\",\n\t\"rowRuleInsetEnd\",\n\t\"rowRuleInsetStart\",\n\t\"rowRuleInteriorInset\",\n\t\"rowRuleInteriorInsetEnd\",\n\t\"rowRuleInteriorInsetStart\",\n\t\"rowRuleStyle\",\n\t\"rowRuleVisibilityItems\",\n\t\"rowRuleWidth\",\n\t\"rubyAlign\",\n\t\"rubyMerge\",\n\t\"rubyOverhang\",\n\t\"rubyPosition\",\n\t\"rule\",\n\t\"ruleBreak\",\n\t\"ruleColor\",\n\t\"ruleEdgeInset\",\n\t\"ruleInset\",\n\t\"ruleInsetEnd\",\n\t\"ruleInsetStart\",\n\t\"ruleInteriorInset\",\n\t\"ruleOverlap\",\n\t\"ruleStyle\",\n\t\"ruleVisibilityItems\",\n\t\"ruleWidth\",\n\t\"rx\",\n\t\"ry\",\n\t\"scale\",\n\t\"scrollBehavior\",\n\t\"scrollInitialTarget\",\n\t\"scrollMargin\",\n\t\"scrollMarginBlock\",\n\t\"scrollMarginBlockEnd\",\n\t\"scrollMarginBlockStart\",\n\t\"scrollMarginBottom\",\n\t\"scrollMarginInline\",\n\t\"scrollMarginInlineEnd\",\n\t\"scrollMarginInlineStart\",\n\t\"scrollMarginLeft\",\n\t\"scrollMarginRight\",\n\t\"scrollMarginTop\",\n\t\"scrollMarkerGroup\",\n\t\"scrollPadding\",\n\t\"scrollPaddingBlock\",\n\t\"scrollPaddingBlockEnd\",\n\t\"scrollPaddingBlockStart\",\n\t\"scrollPaddingBottom\",\n\t\"scrollPaddingInline\",\n\t\"scrollPaddingInlineEnd\",\n\t\"scrollPaddingInlineStart\",\n\t\"scrollPaddingLeft\",\n\t\"scrollPaddingRight\",\n\t\"scrollPaddingTop\",\n\t\"scrollSnapAlign\",\n\t\"scrollSnapStop\",\n\t\"scrollSnapType\",\n\t\"scrollTargetGroup\",\n\t\"scrollTimeline\",\n\t\"scrollTimelineAxis\",\n\t\"scrollTimelineName\",\n\t\"scrollbarColor\",\n\t\"scrollbarGutter\",\n\t\"scrollbarWidth\",\n\t\"shapeImageThreshold\",\n\t\"shapeInside\",\n\t\"shapeMargin\",\n\t\"shapeOutside\",\n\t\"shapePadding\",\n\t\"shapeRendering\",\n\t\"shapeSubtract\",\n\t\"sliderOrientation\",\n\t\"spatialNavigationAction\",\n\t\"spatialNavigationContain\",\n\t\"spatialNavigationFunction\",\n\t\"speak\",\n\t\"speakAs\",\n\t\"stopColor\",\n\t\"stopOpacity\",\n\t\"stringSet\",\n\t\"stroke\",\n\t\"strokeAlign\",\n\t\"strokeAlignment\",\n\t\"strokeBreak\",\n\t\"strokeColor\",\n\t\"strokeDashCorner\",\n\t\"strokeDashJustify\",\n\t\"strokeDashadjust\",\n\t\"strokeDasharray\",\n\t\"strokeDashcorner\",\n\t\"strokeDashoffset\",\n\t\"strokeImage\",\n\t\"strokeLinecap\",\n\t\"strokeLinejoin\",\n\t\"strokeMiterlimit\",\n\t\"strokeOpacity\",\n\t\"strokeOrigin\",\n\t\"strokePosition\",\n\t\"strokeRepeat\",\n\t\"strokeSize\",\n\t\"strokeWidth\",\n\t\"tabSize\",\n\t\"tableLayout\",\n\t\"textAlign\",\n\t\"textAlignAll\",\n\t\"textAlignLast\",\n\t\"textAnchor\",\n\t\"textAutospace\",\n\t\"textBox\",\n\t\"textBoxEdge\",\n\t\"textBoxTrim\",\n\t\"textCombineUpright\",\n\t\"textDecoration\",\n\t\"textDecorationColor\",\n\t\"textDecorationInset\",\n\t\"textDecorationLine\",\n\t\"textDecorationSkip\",\n\t\"textDecorationSkipBox\",\n\t\"textDecorationSkipInk\",\n\t\"textDecorationSkipSelf\",\n\t\"textDecorationSkipSpaces\",\n\t\"textDecorationStyle\",\n\t\"textDecorationThickness\",\n\t\"textEmphasis\",\n\t\"textEmphasisColor\",\n\t\"textEmphasisPosition\",\n\t\"textEmphasisSkip\",\n\t\"textEmphasisStyle\",\n\t\"textGroupAlign\",\n\t\"textIndent\",\n\t\"textJustify\",\n\t\"textOrientation\",\n\t\"textOverflow\",\n\t\"textRendering\",\n\t\"textShadow\",\n\t\"textSizeAdjust\",\n\t\"textSpacing\",\n\t\"textSpacingTrim\",\n\t\"textTransform\",\n\t\"textUnderlineOffset\",\n\t\"textUnderlinePosition\",\n\t\"textWrap\",\n\t\"textWrapMode\",\n\t\"textWrapStyle\",\n\t\"timelineScope\",\n\t\"timelineTrigger\",\n\t\"timelineTriggerActivationRange\",\n\t\"timelineTriggerActivationRangeEnd\",\n\t\"timelineTriggerActivationRangeStart\",\n\t\"timelineTriggerActiveRange\",\n\t\"timelineTriggerActiveRangeEnd\",\n\t\"timelineTriggerActiveRangeStart\",\n\t\"timelineTriggerName\",\n\t\"timelineTriggerSource\",\n\t\"top\",\n\t\"touchAction\",\n\t\"transform\",\n\t\"transformBox\",\n\t\"transformOrigin\",\n\t\"transformStyle\",\n\t\"transition\",\n\t\"transitionBehavior\",\n\t\"transitionDelay\",\n\t\"transitionDuration\",\n\t\"transitionProperty\",\n\t\"transitionTimingFunction\",\n\t\"translate\",\n\t\"triggerScope\",\n\t\"unicodeBidi\",\n\t\"userSelect\",\n\t\"vectorEffect\",\n\t\"verticalAlign\",\n\t\"viewTimeline\",\n\t\"viewTimelineAxis\",\n\t\"viewTimelineInset\",\n\t\"viewTimelineName\",\n\t\"viewTransitionClass\",\n\t\"viewTransitionGroup\",\n\t\"viewTransitionName\",\n\t\"viewTransitionScope\",\n\t\"visibility\",\n\t\"voiceBalance\",\n\t\"voiceDuration\",\n\t\"voiceFamily\",\n\t\"voicePitch\",\n\t\"voiceRange\",\n\t\"voiceRate\",\n\t\"voiceStress\",\n\t\"voiceVolume\",\n\t\"whiteSpace\",\n\t\"whiteSpaceCollapse\",\n\t\"whiteSpaceTrim\",\n\t\"widows\",\n\t\"width\",\n\t\"willChange\",\n\t\"wordBreak\",\n\t\"wordSpaceTransform\",\n\t\"wordSpacing\",\n\t\"wordWrap\",\n\t\"wrapAfter\",\n\t\"wrapBefore\",\n\t\"wrapFlow\",\n\t\"wrapInside\",\n\t\"wrapThrough\",\n\t\"writingMode\",\n\t\"x\",\n\t\"y\",\n\t\"zIndex\",\n\t\"zoom\"\n]);\n\n//#endregion\n//#region src/props.ts\n/**\n* Converts a kebab-case string to camelCase.\n*/\nfunction kebabToCamel(str) {\n\treturn str.replace(/-([a-z])/g, (_, c) => c.toUpperCase());\n}\n/**\n* Converts a camelCase string to kebab-case.\n*/\nfunction camelToKebab(str) {\n\treturn str.replace(/[A-Z]/g, (m) => \"-\" + m.toLowerCase());\n}\nfunction getUnitForProperty(propertyName) {\n\treturn propertyName in propertyUnits ? propertyUnits[propertyName] : void 0;\n}\n/**\n* Converts a CSS-like value to its string representation.\n* For properties with known units, numbers are automatically suffixed.\n*/\nfunction formatValue(value, propertyName, maxDepth = 10) {\n\tif (maxDepth <= 0) return \"\";\n\tif (typeof value === \"string\") return value;\n\tif (typeof value === \"number\") {\n\t\tconst unit = getUnitForProperty(propertyName);\n\t\tif (unit === \"%\") return `${value * 100}${unit}`;\n\t\tif (value === 0) return \"0\";\n\t\treturn unit ? `${value}${unit}` : value.toString();\n\t}\n\treturn formatValue(value.value, propertyName, maxDepth - 1);\n}\n/**\n* Checks if a property name is a CSS custom property (variable).\n*/\nfunction isCssVariableName(key) {\n\treturn key.startsWith(\"--\");\n}\n/**\n* Converts a CSS-like value to a string for use as a CSS variable value.\n* @param value - The value to convert (string, number, or wrapped value)\n* @param maxDepth - Maximum recursion depth for evaluating the value\n* @returns The string representation\n*/\nfunction asVar(value, maxDepth = 10) {\n\tif (maxDepth <= 0) return \"\";\n\tswitch (typeof value) {\n\t\tcase \"string\": return value;\n\t\tcase \"number\": return value.toString();\n\t\tdefault: return asVar(value.value, maxDepth - 1);\n\t}\n}\n/**\n* Checks if a property name is a known CSS property.\n*/\nfunction isKnownPropertyName(key) {\n\treturn knownPropertyNames.has(key);\n}\n/**\n* Converts a value to a CSS property string.\n* Automatically appends units to numeric values for properties that require them.\n* @param value - The value to convert\n* @param key - The CSS property name\n* @returns The formatted CSS value string\n*/\nfunction asKnownProp(value, key) {\n\treturn formatValue(value, key);\n}\n/**\n* Checks if a key represents a nested CSS selector.\n*/\nfunction isNestedSelector(key) {\n\treturn key.includes(\"&\");\n}\n/** Known at-rule prefixes that mochi-css recognizes */\nconst AT_RULE_PREFIXES = [\n\t\"@media \",\n\t\"@container \",\n\t\"@supports \",\n\t\"@layer \"\n];\n/**\n* Checks if a key represents a CSS at-rule (media, container, supports, layer).\n*/\nfunction isAtRuleKey(key) {\n\treturn AT_RULE_PREFIXES.some((p) => key.startsWith(p));\n}\n/**\n* Converts a SimpleStyleProps object to a CSS properties record.\n* Transforms camelCase property names to kebab-case and applies value converters.\n* @param props - The style properties object\n* @returns A record of CSS property names (kebab-case) to string values\n* @example\n* cssFromProps({ backgroundColor: 'blue', padding: 16 })\n* // { 'background-color': 'blue', 'padding': '16px' }\n*/\nfunction cssFromProps(props) {\n\treturn Object.fromEntries(Object.entries(props).map(([key, value]) => {\n\t\tif (value === void 0) return void 0;\n\t\tif (isCssVariableName(key)) return [key, asVar(value)];\n\t\tif (isKnownPropertyName(key)) return [camelToKebab(key), asKnownProp(value, key)];\n\t}).filter((v) => v !== void 0));\n}\n\n//#endregion\n//#region src/selector.ts\n/**\n* Immutable CSS selector builder that handles nested selectors and CSS at-rules.\n* Uses the `&` character as a placeholder for parent selector substitution.\n*\n* @example\n* const selector = new MochiSelector(['.button'])\n* selector.extend('&:hover').cssSelector // '.button:hover'\n* selector.wrap('@media (min-width: 768px)').atRules // ['@media (min-width: 768px)']\n*/\nvar MochiSelector = class MochiSelector {\n\t/**\n\t* Creates a new MochiSelector instance.\n\t* @param cssSelectors - Array of CSS selectors (may contain `&` placeholders)\n\t* @param atRules - Array of full CSS at-rule strings e.g. `\"@media (min-width: 768px)\"`\n\t*/\n\tconstructor(cssSelectors = [], atRules = []) {\n\t\tthis.cssSelectors = cssSelectors;\n\t\tthis.atRules = atRules;\n\t}\n\t/**\n\t* Gets the combined CSS selector string.\n\t* Multiple selectors are joined with commas.\n\t* @returns The CSS selector, or \"*\" if no selectors are defined\n\t*/\n\tget cssSelector() {\n\t\tif (this.cssSelectors.length === 0) return \"*\";\n\t\treturn this.cssSelectors.join(\", \");\n\t}\n\t/**\n\t* Substitutes all `&` placeholders with the given root selector.\n\t* @param root - The selector to replace `&` with\n\t* @returns A new MochiSelector with substituted selectors\n\t*/\n\tsubstitute(root) {\n\t\treturn new MochiSelector(this.cssSelectors.map((selector) => selector.replace(/&/g, root)), this.atRules);\n\t}\n\t/**\n\t* Extends this selector by nesting a child selector.\n\t* The `&` in the child selector is replaced with each parent selector.\n\t* @param child - The child selector pattern (must contain `&`)\n\t* @returns A new MochiSelector with the extended selectors\n\t* @example\n\t* new MochiSelector(['.btn']).extend('&:hover') // '.btn:hover'\n\t* new MochiSelector(['.btn']).extend('& .icon') // '.btn .icon'\n\t*/\n\textend(child) {\n\t\tif (!isNestedSelector(child)) return this;\n\t\tconst children = MochiSelector.split(child);\n\t\treturn new MochiSelector(this.cssSelectors.flatMap((parentSelector) => children.map((childSelector) => {\n\t\t\treturn childSelector.replace(/&/g, parentSelector);\n\t\t})), this.atRules);\n\t}\n\t/**\n\t* Wraps this selector with a CSS at-rule.\n\t* @param atRule - The full at-rule string (e.g. `\"@media (min-width: 768px)\"`)\n\t* @returns A new MochiSelector with the added at-rule, or unchanged if not a known at-rule\n\t* @example\n\t* selector.wrap('@media (min-width: 768px)') // Adds media query\n\t* selector.wrap('@container sidebar (min-width: 300px)') // Adds container query\n\t*/\n\twrap(atRule) {\n\t\tif (!isAtRuleKey(atRule)) return this;\n\t\treturn new MochiSelector(this.cssSelectors, [...this.atRules, atRule]);\n\t}\n\t/**\n\t* Splits a comma-separated selector string into individual selectors.\n\t* @param selector - The selector string to split\n\t* @returns Array of individual selector strings\n\t*/\n\tstatic split(selector) {\n\t\treturn [selector];\n\t}\n};\n\n//#endregion\n//#region ../core/dist/index.mjs\nconst hashBase = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_\";\nconst base = 64;\nfunction numberToBase62(num, maxLength) {\n\tlet out = \"\";\n\twhile (num > 0 && out.length < (maxLength ?? Infinity)) {\n\t\tout = hashBase[num % base] + out;\n\t\tnum = Math.floor(num / base);\n\t}\n\treturn out.length > 0 ? out : \"0\";\n}\nfunction shortHash(input, length = 8) {\n\tlet h = 5381;\n\tfor (let i = 0; i < input.length; i++) h = h * 33 ^ input.charCodeAt(i);\n\th >>>= 0;\n\treturn numberToBase62(h, length);\n}\n\n//#endregion\n//#region src/compare.ts\n/**\n* String comparison utilities for deterministic sorting.\n* Used internally to ensure consistent CSS output order.\n* @module compare\n*/\n/**\n* Compares two strings lexicographically.\n*/\nfunction compareString(a, b) {\n\treturn a < b ? -1 : a === b ? 0 : 1;\n}\n/**\n* Compares two tuples by their first element (string key).\n* Useful for sorting Object.entries() results.\n*/\nfunction compareStringKey(a, b) {\n\treturn compareString(a[0], b[0]);\n}\n/**\n* Creates a comparator function for objects with a specific string property.\n* @param name - The property name to compare by\n* @returns A comparator function that compares objects by the specified property\n* @example\n* const items = [{ key: 'b' }, { key: 'a' }]\n* items.sort(stringPropComparator('key')) // [{ key: 'a' }, { key: 'b' }]\n*/\nfunction stringPropComparator(name) {\n\treturn (a, b) => compareString(a[name], b[name]);\n}\n\n//#endregion\n//#region src/cssObject.ts\n/**\n* Represents a single CSS rule block with properties and a selector.\n* Handles conversion to CSS string format and hash generation.\n*/\nvar CssObjectSubBlock = class CssObjectSubBlock {\n\t/**\n\t* Creates a new CSS sub-block.\n\t* @param cssProps - Map of CSS property names (kebab-case) to values\n\t* @param selector - The selector this block applies to\n\t*/\n\tconstructor(cssProps, selector) {\n\t\tthis.cssProps = cssProps;\n\t\tthis.selector = selector;\n\t}\n\t/**\n\t* Computes a deterministic hash of this block's CSS content.\n\t* Used for generating unique class names.\n\t*/\n\tget hash() {\n\t\treturn shortHash(this.asCssString(\"&\"));\n\t}\n\t/**\n\t* Converts this block to a CSS string.\n\t* Handles at-rule wrapping (media, container, supports, layer) if present.\n\t* Multiple at-rules are nested in order.\n\t* @param root - The root selector to substitute for `&`\n\t* @returns Formatted CSS string\n\t*/\n\tasCssString(root) {\n\t\tconst selector = this.selector.substitute(root);\n\t\tconst atRules = selector.atRules;\n\t\tconst innerIndent = \" \".repeat(atRules.length);\n\t\tconst props = Object.entries(this.cssProps).toSorted(compareStringKey).map(([k, v]) => `${innerIndent} ${k}: ${v};\\n`).join(\"\");\n\t\tlet result = `${innerIndent}${selector.cssSelector} {\\n${props}${innerIndent}}`;\n\t\tfor (let i = atRules.length - 1; i >= 0; i--) {\n\t\t\tconst outerIndent = \" \".repeat(i);\n\t\t\tresult = `${outerIndent}${atRules[i]} {\\n${result}\\n${outerIndent}}`;\n\t\t}\n\t\treturn result;\n\t}\n\t/**\n\t* Parses StyleProps into an array of CSS sub-blocks.\n\t* Recursively processes nested selectors and media queries.\n\t* Output order is deterministic for consistent hash generation.\n\t*\n\t* @param props - The style properties to parse\n\t* @param selector - The parent selector context (defaults to `&`)\n\t* @returns Non-empty array of sub-blocks (main block first, then nested)\n\t*/\n\tstatic fromProps(props, selector) {\n\t\tselector ??= new MochiSelector([\"&\"]);\n\t\tconst cssProps = {};\n\t\tconst propsToProcess = [];\n\t\tfor (const [key, value] of Object.entries(props)) {\n\t\t\tif (value === void 0) continue;\n\t\t\tif (isCssVariableName(key)) {\n\t\t\t\tcssProps[key] = asVar(value);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isKnownPropertyName(key)) {\n\t\t\t\tcssProps[camelToKebab(key)] = asKnownProp(value, key);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isNestedSelector(key)) {\n\t\t\t\tpropsToProcess.push({\n\t\t\t\t\tkey,\n\t\t\t\t\tprops: value,\n\t\t\t\t\tselector: selector.extend(key)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isAtRuleKey(key)) {\n\t\t\t\tpropsToProcess.push({\n\t\t\t\t\tkey,\n\t\t\t\t\tprops: value,\n\t\t\t\t\tselector: selector.wrap(key)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (process.env[\"NODE_ENV\"] !== \"production\") console.warn(`[mochi-css] Unknown style property \"${key}\" will be ignored`);\n\t\t}\n\t\treturn [new CssObjectSubBlock(cssProps, selector), ...propsToProcess.toSorted(stringPropComparator(\"key\")).flatMap(({ props: props$1, selector: selector$1 }) => CssObjectSubBlock.fromProps(props$1, selector$1))];\n\t}\n};\n/**\n* Represents an abstract CSS block definition.\n* Contains one or more sub-blocks for nested selectors and media queries.\n*/\nvar CssObjectBlock = class {\n\t/** The generated unique class name for this block */\n\tclassName;\n\t/** All sub-blocks (main styles and nested/media rules) */\n\tsubBlocks = [];\n\t/**\n\t* Creates a new CSS block from style properties.\n\t* Generates a unique class name based on the content hash, or uses the provided class name.\n\t* @param styles - The style properties to compile\n\t* @param className - Optional stable class name; if omitted, a content-hash-based name is generated\n\t*/\n\tconstructor(styles, className) {\n\t\tconst blocks = CssObjectSubBlock.fromProps(styles);\n\t\tthis.className = className ?? \"c\" + shortHash(blocks.map((b) => b.hash).join(\"+\"));\n\t\tthis.subBlocks = blocks;\n\t}\n\t/**\n\t* Gets the CSS class selector for this block.\n\t*/\n\tget selector() {\n\t\treturn `.${this.className}`;\n\t}\n\t/**\n\t* Converts style block to a CSS string.\n\t* @param root - The root selector to scope styles to\n\t* @returns Complete CSS string for this block\n\t*/\n\tasCssString(root) {\n\t\treturn this.subBlocks.map((b) => b.asCssString(new MochiSelector([root]).extend(`&.${this.className}`).cssSelector)).join(\"\\n\\n\");\n\t}\n};\n/**\n* Complete CSS object representation with main and variant styles.\n*\n* @template V - The variant definitions type\n*\n* @example\n* const obj = new CSSObject({\n* color: 'blue',\n* variants: {\n* size: {\n* small: { fontSize: 12 },\n* large: { fontSize: 18 }\n* }\n* },\n* defaultVariants: { size: 'small' }\n* })\n* obj.asCssString() // Returns complete CSS with all variants\n*/\nvar CSSObject = class {\n\t/** The main style block (non-variant styles) */\n\tmainBlock;\n\t/** Compiled blocks for each variant option */\n\tvariantBlocks;\n\t/** Default variant selections */\n\tvariantDefaults;\n\t/** Compound variant conditions and their parsed sub-blocks */\n\tcompoundVariants;\n\t/**\n\t* Creates a new CSSObject from style props.\n\t* Compiles main styles and all variant options into CSS blocks.\n\t* @param props - Base style props plus variant definitions\n\t* @param props.variants - Named variant groups, each mapping variant values to style props\n\t* @param props.defaultVariants - Default value for each variant when none is provided at runtime\n\t* @param props.compoundVariants - Style props applied when a specific combination of variants is active\n\t* @param className - Optional stable class name for the main block\n\t*/\n\tconstructor({ variants, defaultVariants, compoundVariants,...props }, className) {\n\t\tthis.mainBlock = new CssObjectBlock(props, className);\n\t\tthis.variantBlocks = {};\n\t\tthis.variantDefaults = defaultVariants ?? {};\n\t\tthis.compoundVariants = [];\n\t\tif (variants) for (const variantGroupName in variants) {\n\t\t\tthis.variantBlocks[variantGroupName] = {};\n\t\t\tconst variantGroup = variants[variantGroupName];\n\t\t\tfor (const variantItemName in variantGroup) this.variantBlocks[variantGroupName][variantItemName] = new CssObjectBlock(variantGroup[variantItemName] ?? {});\n\t\t}\n\t\tif (compoundVariants) for (const compound of compoundVariants) {\n\t\t\tconst { css: styles,...conditions } = compound;\n\t\t\tthis.compoundVariants.push({\n\t\t\t\tconditions,\n\t\t\t\tsubBlocks: CssObjectSubBlock.fromProps(styles)\n\t\t\t});\n\t\t}\n\t}\n\t/**\n\t* Serializes the entire CSS object to a CSS string.\n\t* Outputs the main block first, then all variant blocks in sorted order.\n\t* @returns Complete CSS string ready for injection into a stylesheet\n\t*/\n\tasCssString() {\n\t\treturn [\n\t\t\tthis.mainBlock.asCssString(\"\"),\n\t\t\t...Object.entries(this.variantBlocks).toSorted(compareStringKey).flatMap(([_, b]) => Object.entries(b).toSorted(compareStringKey)).map(([_, b]) => b.asCssString(this.mainBlock.selector)),\n\t\t\t...this.compoundVariants.flatMap(({ conditions, subBlocks }) => {\n\t\t\t\tconst selectorParts = [];\n\t\t\t\tfor (const [variantName, optionName] of Object.entries(conditions).toSorted(compareStringKey)) {\n\t\t\t\t\tconst selector = this.variantBlocks[variantName]?.[optionName]?.selector;\n\t\t\t\t\tif (selector === void 0) return [];\n\t\t\t\t\tselectorParts.push(selector);\n\t\t\t\t}\n\t\t\t\tconst combinedSelector = `${this.mainBlock.selector}${selectorParts.join(\"\")}`;\n\t\t\t\treturn subBlocks.map((b) => b.asCssString(combinedSelector));\n\t\t\t})\n\t\t].join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/css.ts\nconst MOCHI_CSS_TYPEOF = Symbol.for(\"mochi-css.MochiCSS\");\nfunction isMochiCSS(value) {\n\treturn typeof value === \"object\" && value !== null && value[\"$$typeof\"] === MOCHI_CSS_TYPEOF;\n}\n/**\n* Runtime representation of a CSS style definition with variant support.\n* Holds generated class names and provides methods to compute the final\n* className string based on selected variants.\n*\n* @template V - The variant definitions type mapping variant names to their options\n*\n* @example\n* const styles = MochiCSS.from(new CSSObject({\n* color: 'blue',\n* variants: { size: { small: { fontSize: 12 }, large: { fontSize: 18 } } }\n* }))\n* styles.variant({ size: 'large' }) // Returns combined class names\n*/\nvar MochiCSS = class MochiCSS {\n\t$$typeof = MOCHI_CSS_TYPEOF;\n\t/**\n\t* Creates a new MochiCSS instance.\n\t* @param classNames - Base class names to always include\n\t* @param variantClassNames - Mapping of variant names to option class names\n\t* @param defaultVariants - Default variant selections when not specified\n\t*/\n\tconstructor(classNames, variantClassNames, defaultVariants) {\n\t\tthis.classNames = classNames;\n\t\tthis.variantClassNames = variantClassNames;\n\t\tthis.defaultVariants = defaultVariants;\n\t}\n\t/**\n\t* Computes the final className string based on variant selections.\n\t* Compound variants are handled purely via CSS combined selectors,\n\t* so no runtime matching is needed here.\n\t* @param props - Variant selections\n\t* @returns Combined className string for use in components\n\t*/\n\tvariant(props) {\n\t\tconst keys = new Set([...Object.keys(props), ...Object.keys(this.defaultVariants)].filter((k) => k in this.variantClassNames));\n\t\treturn clsx(this.classNames, ...keys.values().map((k) => {\n\t\t\tconst variantGroup = this.variantClassNames[k];\n\t\t\tif (!variantGroup) return false;\n\t\t\tconst variantKey = ((k in props ? props[k] : void 0) ?? this.defaultVariants[k])?.toString();\n\t\t\tif (variantKey == null) return false;\n\t\t\tconst selectedClassname = variantGroup[variantKey];\n\t\t\tif (selectedClassname !== void 0) return selectedClassname;\n\t\t\tconst defaultKey = this.defaultVariants[k];\n\t\t\tif (defaultKey == null) return false;\n\t\t\treturn variantGroup[defaultKey.toString()];\n\t\t}));\n\t}\n\t/**\n\t* Returns the CSS selector for this style (e.g. `.abc123`).\n\t* Useful for targeting this component from another style.\n\t*/\n\tget selector() {\n\t\treturn this.classNames.map((n) => `.${n}`).join();\n\t}\n\ttoString() {\n\t\treturn this.selector;\n\t}\n\t/**\n\t* Creates a MochiCSS instance from a CSSObject.\n\t* Extracts class names from the compiled CSS blocks.\n\t* @template V - The variant definitions type\n\t* @param object - The compiled CSSObject to extract from\n\t* @returns A new MochiCSS instance with the extracted class names\n\t*/\n\tstatic from(object) {\n\t\treturn new MochiCSS([object.mainBlock.className], Object.fromEntries(Object.entries(object.variantBlocks).map(([key, variantOptions]) => {\n\t\t\treturn [key, Object.fromEntries(Object.entries(variantOptions).map(([optionKey, block]) => {\n\t\t\t\treturn [optionKey, block.className];\n\t\t\t}))];\n\t\t})), object.variantDefaults);\n\t}\n};\n/**\n* Creates a CSS style definition.\n* The primary API for defining styles in Mochi-CSS.\n*\n* @template V - Tuple of variant definition types\n* @param props - One or more style objects or existing MochiCSS instances to merge\n* @returns A MochiCSS instance with all styles and variants combined\n*\n* @example\n* // Simple usage\n* const button = css({ padding: 8, borderRadius: 4 })\n*\n* @example\n* // With variants\n* const button = css({\n* padding: 8,\n* variants: {\n* size: {\n* small: { padding: 4 },\n* large: { padding: 16 }\n* }\n* },\n* defaultVariants: { size: 'small' }\n* })\n* button.variant({ size: 'large' }) // Get class names for large size\n*\n* @example\n* // Merging multiple styles\n* const combined = css(baseStyles, additionalStyles)\n*/\nconst emptyMochiCSS = new MochiCSS([], {}, {});\n/**\n* Merges multiple MochiCSS instances into a single one, combining their\n* class names, variant class names, and default variants.\n* @param instances - The MochiCSS instances to merge\n* @returns A new MochiCSS instance with all styles combined\n*/\nfunction mergeMochiCss(instances) {\n\tif (instances.length === 0) return emptyMochiCSS;\n\treturn new MochiCSS(instances.flatMap((c) => c.classNames), instances.reduce((a, b) => Object.assign(a, b.variantClassNames), {}), instances.reduce((a, b) => Object.assign(a, b.defaultVariants), {}));\n}\nfunction css(...props) {\n\tconst cssToMerge = [];\n\tfor (const p of props) {\n\t\tif (p == null) continue;\n\t\tif (typeof p === \"string\") {\n\t\t\tcssToMerge.push(new MochiCSS([p], {}, {}));\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof p !== \"object\") continue;\n\t\tif (p instanceof MochiCSS) cssToMerge.push(p);\n\t\telse cssToMerge.push(MochiCSS.from(new CSSObject(p)));\n\t}\n\treturn mergeMochiCss(cssToMerge);\n}\n\n//#endregion\n//#region src/keyframesObject.ts\nvar KeyframesObject = class KeyframesObject {\n\tname;\n\tbody;\n\tconstructor(stops) {\n\t\tthis.body = KeyframesObject.generateBody(stops);\n\t\tthis.name = \"kf\" + shortHash(this.body);\n\t}\n\tasCssString() {\n\t\treturn `@keyframes ${this.name} {\\n${this.body}\\n}`;\n\t}\n\tstatic generateBody(stops) {\n\t\treturn Object.entries(stops).toSorted(compareStringKey).map(([stopKey, props]) => {\n\t\t\tconst cssProps = cssFromProps(props);\n\t\t\treturn ` ${stopKey} {\\n${Object.entries(cssProps).toSorted(compareStringKey).map(([k, v]) => ` ${k}: ${v};`).join(\"\\n\")}\\n }`;\n\t\t}).join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/keyframes.ts\nvar MochiKeyframes = class MochiKeyframes {\n\tconstructor(name) {\n\t\tthis.name = name;\n\t}\n\ttoString() {\n\t\treturn this.name;\n\t}\n\tget value() {\n\t\treturn this.name;\n\t}\n\tstatic from(object) {\n\t\treturn new MochiKeyframes(object.name);\n\t}\n};\nfunction keyframes(stops) {\n\treturn MochiKeyframes.from(new KeyframesObject(stops));\n}\n\n//#endregion\n//#region src/globalCssObject.ts\n/**\n* CSS object model for global (non-scoped) styles.\n* Accepts a map of CSS selectors to style objects and serializes them\n* as plain CSS rules without class name scoping.\n*\n* @example\n* const obj = new GlobalCssObject({\n* body: { margin: 0 },\n* 'h1': { fontSize: 32 },\n* })\n* obj.asCssString() // \"body {\\n margin: 0;\\n}\\n\\nh1 {\\n font-size: 32px;\\n}\"\n*/\nvar GlobalCssObject = class {\n\trules;\n\tconstructor(styles) {\n\t\tthis.rules = Object.entries(styles).toSorted(compareStringKey).map(([selector, props]) => ({\n\t\t\tselector,\n\t\t\tsubBlocks: [...CssObjectSubBlock.fromProps(props)]\n\t\t}));\n\t}\n\tasCssString() {\n\t\treturn this.rules.flatMap(({ selector, subBlocks }) => subBlocks.map((b) => b.asCssString(selector))).join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/globalCss.ts\n/**\n* Creates a global CSS definition.\n* Styles are not scoped to any class — they apply to all matching elements.\n*\n* @param styles - Map of CSS selectors to style objects\n*\n* @example\n* globalCss({\n* 'body': { margin: 0, padding: 0 },\n* '*, *::before, *::after': { boxSizing: 'border-box' },\n* })\n*/\nfunction globalCss(styles) {}\n\n//#endregion\n//#region src/query.ts\n/**\n* Wraps a condition in parentheses if not already wrapped.\n*/\nfunction wrapParens(condition) {\n\tconst trimmed = condition.trim();\n\tif (trimmed.startsWith(\"(\") && trimmed.endsWith(\")\")) return trimmed;\n\treturn `(${trimmed})`;\n}\nfunction mediaFn(condition) {\n\treturn `@media ${wrapParens(condition)}`;\n}\nmediaFn.and = function(...conditions) {\n\treturn `@media ${conditions.map(wrapParens).join(\" and \")}`;\n};\nmediaFn.or = function(...conditions) {\n\treturn `@media ${conditions.map(wrapParens).join(\", \")}`;\n};\nObject.defineProperties(mediaFn, {\n\tdark: {\n\t\tget: () => \"@media (prefers-color-scheme: dark)\",\n\t\tenumerable: true\n\t},\n\tlight: {\n\t\tget: () => \"@media (prefers-color-scheme: light)\",\n\t\tenumerable: true\n\t},\n\tmotion: {\n\t\tget: () => \"@media (prefers-reduced-motion: no-preference)\",\n\t\tenumerable: true\n\t},\n\tprint: {\n\t\tget: () => \"@media print\",\n\t\tenumerable: true\n\t}\n});\n/** Helper for constructing `@media` at-rule keys. */\nconst media = mediaFn;\nfunction containerFn(condition) {\n\treturn `@container ${wrapParens(condition)}`;\n}\ncontainerFn.named = function(name, condition) {\n\treturn `@container ${name} ${wrapParens(condition)}`;\n};\n/** Helper for constructing `@container` at-rule keys. */\nconst container = containerFn;\nfunction supportsFn(condition) {\n\treturn `@supports ${wrapParens(condition)}`;\n}\nsupportsFn.not = function(condition) {\n\treturn `@supports not ${wrapParens(condition)}`;\n};\nsupportsFn.and = function(...conditions) {\n\treturn `@supports ${conditions.map(wrapParens).join(\" and \")}`;\n};\nsupportsFn.or = function(...conditions) {\n\treturn `@supports ${conditions.map(wrapParens).join(\" or \")}`;\n};\n/** Helper for constructing `@supports` at-rule keys. */\nconst supports = supportsFn;\n\n//#endregion\nexport { CSSObject, CssObjectBlock, CssObjectSubBlock, GlobalCssObject, KeyframesObject, MochiCSS, MochiKeyframes, MochiSelector, Token, camelToKebab, container, createToken, css, cssFromProps, globalCss, isAtRuleKey, isMochiCSS, kebabToCamel, keyframes, media, mergeMochiCss, numberToBase62, shortHash, supports };\n//# sourceMappingURL=index.mjs.map","/**\n * React styled component utilities.\n * Creates styled components with CSS-in-JS support and variant props.\n * @module styled\n */\n\nimport { ComponentProps, ComponentType, createElement, FC, HTMLElementType } from \"react\"\nimport { css, MochiCSS, AllVariants, MergeCSSVariants, MochiCSSProps, RefineVariants } from \"@mochi-css/vanilla\"\nimport clsx from \"clsx\"\n\n/** Props added by MochiCSS to styled components */\ntype MochiProps<V extends AllVariants[]> = {\n className?: string\n} & Partial<RefineVariants<MergeCSSVariants<V>>>\n\n/** Minimal interface for components that accept className */\ntype Cls = { className?: string }\n\n/** A styled component FC augmented with a CSS selector for component targeting */\nexport type MochiStyledComponent<T extends HTMLElementType | ComponentType<Cls>, V extends AllVariants[]> = FC<\n Omit<ComponentProps<T>, keyof MochiProps<V>> & MochiProps<V>\n> & {\n toString(): string\n selector: string\n}\n\n/**\n * Creates a styled React component with CSS-in-JS support and variant props.\n * Similar to styled-components or Stitches, but with zero runtime overhead.\n *\n * @template T - The base element type or component type\n * @template V - The variant definitions tuple type\n * @param target - The HTML element tag name or React component to style\n * @param props - One or more style objects with optional variants\n * @returns A React functional component with merged props and variant support\n *\n * @remarks\n * Variant props are automatically stripped and never forwarded to the underlying\n * element or component. This prevents unknown prop warnings on DOM elements.\n * If the inner component has a prop with the same\n * name as a variant, it will not receive that prop.\n *\n * @example\n * const Button = styled('button', {\n * padding: 8,\n * borderRadius: 4,\n * variants: {\n * size: {\n * small: { padding: 4 },\n * large: { padding: 16 }\n * },\n * variant: {\n * primary: { backgroundColor: 'blue' },\n * secondary: { backgroundColor: 'gray' }\n * }\n * }\n * })\n *\n * // Usage: <Button size=\"large\" variant=\"primary\">Click me</Button>\n */\nexport function styled<T extends HTMLElementType | ComponentType<Cls>, V extends AllVariants[]>(\n target: T,\n ...props: { [K in keyof V]: MochiCSSProps<V[K]> | MochiCSS<V[K]> | string }\n): MochiStyledComponent<T, V> {\n const styles = css<V>(...(props as Parameters<typeof css<V>>))\n const selector = styles.selector\n const variantKeys = new Set(Object.keys(styles.variantClassNames))\n return Object.assign(\n ({ className, ...p }: Omit<ComponentProps<T>, keyof MochiProps<V>> & MochiProps<V>) => {\n const variantProps: Record<string, unknown> = {}\n const restProps: Record<string, unknown> = {}\n for (const [k, v] of Object.entries(p)) {\n if (variantKeys.has(k)) variantProps[k] = v\n else restProps[k] = v\n }\n return createElement(target, {\n className: clsx(styles.variant(variantProps as Parameters<typeof styles.variant>[0]), className),\n ...restProps,\n })\n },\n { toString: () => selector, selector },\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,MAAM,gBAAgB;CACrB,WAAW;CACX,gBAAgB;CAChB,mBAAmB;CACnB,gBAAgB;CAChB,sBAAsB;CACtB,mBAAmB;CACnB,qBAAqB;CACrB,YAAY;CACZ,oBAAoB;CACpB,yBAAyB;CACzB,0BAA0B;CAC1B,qBAAqB;CACrB,qBAAqB;CACrB,gBAAgB;CAChB,eAAe;CACf,eAAe;CACf,WAAW;CACX,WAAW;CACX,eAAe;CACf,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,kBAAkB;CAClB,sBAAsB;CACtB,wBAAwB;CACxB,uBAAuB;CACvB,kBAAkB;CAClB,cAAc;CACd,kBAAkB;CAClB,wBAAwB;CACxB,oBAAoB;CACpB,yBAAyB;CACzB,mBAAmB;CACnB,YAAY;CACZ,oBAAoB;CACpB,sBAAsB;CACtB,aAAa;CACb,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,cAAc;CACd,kBAAkB;CAClB,iBAAiB;CACjB,qBAAqB;CACrB,uBAAuB;CACvB,sBAAsB;CACtB,mBAAmB;CACnB,uBAAuB;CACvB,yBAAyB;CACzB,wBAAwB;CACxB,mBAAmB;CACnB,YAAY;CACZ,gBAAgB;CAChB,kBAAkB;CAClB,iB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O;CACP,cAAc;CACd,mBAAmB;CACnB,sBAAsB;CACtB,wBAAwB;CACxB,oBAAoB;CACpB,oBAAoB;CACpB,uBAAuB;CACvB,yBAAyB;CACzB,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,eAAe;CACf,oBAAoB;CACpB,uBAAuB;CACvB,yBAAyB;CACzB,qBAAqB;CACrB,qBAAqB;CACrB,wBAAwB;CACxB,0BAA0B;CAC1B,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,qBAAqB;CACrB,aAAa;CACb,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,YAAY;CACZ,aAAa;CACb,SAAS;CACT,gBAAgB;CAChB,qBAAqB;CACrB,yBAAyB;CACzB,YAAY;CACZ,YAAY;CACZ,gBAAgB;CAChB,qBAAqB;CACrB,iBAAiB;CACjB,gCAAgC;CAChC,mCAAmC;CACnC,qCAAqC;CACrC,4BAA4B;CAC5B,+BAA+B;CAC/B,iCAAiC;CACjC,KAAK;CACL,iBAAiB;CACjB,YAAY;CACZ,iBAAiB;CACjB,oBAAoB;CACpB,WAAW;CACX,eAAe;CACf,cAAc;CACd,mBAAmB;CACnB,eAAe;CACf,YAAY;CACZ,YAAY;CACZ,WAAW;CACX,OAAO;CACP,aAAa;CACb,GAAG;CACH,GAAG;CACH,MAAM;CACN;AAID,MAAM,qBAAqB,IAAI,IAAI;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,CAAC;;;;AAaF,SAAS,aAAa,KAAK;AAC1B,QAAO,IAAI,QAAQ,WAAW,MAAM,MAAM,EAAE,aAAa,CAAC;;AAE3D,SAAS,mBAAmB,cAAc;AACzC,QAAO,gBAAgB,gBAAgB,cAAc,gBAAgB,KAAK;;;;;;AAM3E,SAAS,YAAY,OAAO,cAAc,WAAW,IAAI;AACxD,KAAI,YAAY,EAAG,QAAO;AAC1B,KAAI,OAAO,UAAU,SAAU,QAAO;AACtC,KAAI,OAAO,UAAU,UAAU;EAC9B,MAAM,OAAO,mBAAmB,aAAa;AAC7C,MAAI,SAAS,IAAK,QAAO,GAAG,QAAQ,MAAM;AAC1C,MAAI,UAAU,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7D,WAAW,KAAK,SAAS,GAAG,YAAY;AACvC,QAAO,aAAa,WAAW,IAAI,WAAW,CAAC,KAAK,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3uD5D,SAAgB,OACZ,QACA,GAAG,OACuB;CAC1B,MAAM,SAAS,IAAO,GAAI,MAAoC;CAC9D,MAAM,WAAW,OAAO;CACxB,MAAM,cAAc,IAAI,IAAI,OAAO,KAAK,OAAO,kBAAkB,CAAC;AAClE,QAAO,OAAO,QACT,EAAE,UAAW,GAAG,QAAsE;EACnF,MAAMC,eAAwC,EAAE;EAChD,MAAMC,YAAqC,EAAE;AAC7C,OAAK,MAAM,CAAC,GAAG,MAAM,OAAO,QAAQ,EAAE,CAClC,KAAI,YAAY,IAAI,EAAE,CAAE,cAAa,KAAK;MACrC,WAAU,KAAK;AAExB,kCAAqB,QAAQ;GACzB,6BAAgB,OAAO,QAAQ,aAAqD,EAAE,UAAU;GAChG,GAAG;GACN,CAAC;IAEN;EAAE,gBAAgB;EAAU;EAAU,CACzC"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["MochiSelector","CssObjectSubBlock","MochiCSS","variantProps: Record<string, unknown>","restProps: Record<string, unknown>"],"sources":["../../vanilla/dist/src-CJmAtVxm.mjs","../src/styled.ts"],"sourcesContent":["import clsx from \"clsx\";\n\n//#region src/token.ts\n/**\n* Represents a CSS custom property (design token) with type information.\n* Provides convenient access to both the variable name and its `var()` reference.\n* @template T - The expected value type of the token (for type checking)\n* @example\n* const primaryColor = new Token<string>('primary-color')\n* primaryColor.variable // '--primary-color'\n* primaryColor.value // 'var(--primary-color)'\n*/\nvar Token = class {\n\t/**\n\t* Creates a new CSS token.\n\t* @param name - The token name (without the `--` prefix)\n\t*/\n\tconstructor(name) {\n\t\tthis.name = name;\n\t}\n\t/**\n\t* Gets the CSS custom property name (with `--` prefix).\n\t* Use this when defining the variable.\n\t*/\n\tget variable() {\n\t\treturn `--${this.name}`;\n\t}\n\t/**\n\t* Gets the CSS `var()` reference to this token.\n\t* Use this when consuming the variable value.\n\t*/\n\tget value() {\n\t\treturn `var(${this.variable})`;\n\t}\n\t/**\n\t* Returns the variable name for string coercion.\n\t*/\n\ttoString() {\n\t\treturn this.variable;\n\t}\n};\n/**\n* Creates a new CSS design token.\n* @template T - The expected value type of the token\n* @param name - The token name (without the `--` prefix)\n* @returns A new Token instance\n* @example\n* const spacing = createToken<number>('spacing-md')\n* // Use in styles: { gap: spacing.value }\n*/\nfunction createToken(name) {\n\treturn new Token(name);\n}\n\n//#endregion\n//#region src/propertyUnits.generated.ts\nconst propertyUnits = {\n\tanimation: \"ms\",\n\tanimationDelay: \"ms\",\n\tanimationDuration: \"ms\",\n\tanimationRange: \"px\",\n\tanimationRangeCenter: \"px\",\n\tanimationRangeEnd: \"px\",\n\tanimationRangeStart: \"px\",\n\tbackground: \"px\",\n\tbackgroundPosition: \"px\",\n\tbackgroundPositionBlock: \"px\",\n\tbackgroundPositionInline: \"px\",\n\tbackgroundPositionX: \"px\",\n\tbackgroundPositionY: \"px\",\n\tbackgroundSize: \"px\",\n\tbackgroundTbd: \"px\",\n\tbaselineShift: \"px\",\n\tblockSize: \"px\",\n\tblockStep: \"px\",\n\tblockStepSize: \"px\",\n\tborder: \"px\",\n\tborderBlock: \"px\",\n\tborderBlockClip: \"px\",\n\tborderBlockEnd: \"px\",\n\tborderBlockEndClip: \"px\",\n\tborderBlockEndRadius: \"px\",\n\tborderBlockEndWidth: \"px\",\n\tborderBlockStart: \"px\",\n\tborderBlockStartClip: \"px\",\n\tborderBlockStartRadius: \"px\",\n\tborderBlockStartWidth: \"px\",\n\tborderBlockWidth: \"px\",\n\tborderBottom: \"px\",\n\tborderBottomClip: \"px\",\n\tborderBottomLeftRadius: \"px\",\n\tborderBottomRadius: \"px\",\n\tborderBottomRightRadius: \"px\",\n\tborderBottomWidth: \"px\",\n\tborderClip: \"px\",\n\tborderEndEndRadius: \"px\",\n\tborderEndStartRadius: \"px\",\n\tborderImage: \"%\",\n\tborderImageOutset: \"px\",\n\tborderImageSlice: \"%\",\n\tborderImageWidth: \"px\",\n\tborderInline: \"px\",\n\tborderInlineClip: \"px\",\n\tborderInlineEnd: \"px\",\n\tborderInlineEndClip: \"px\",\n\tborderInlineEndRadius: \"px\",\n\tborderInlineEndWidth: \"px\",\n\tborderInlineStart: \"px\",\n\tborderInlineStartClip: \"px\",\n\tborderInlineStartRadius: \"px\",\n\tborderInlineStartWidth: \"px\",\n\tborderInlineWidth: \"px\",\n\tborderLeft: \"px\",\n\tborderLeftClip: \"px\",\n\tborderLeftRadius: \"px\",\n\tborderLeftWidth: \"px\",\n\tborderLimit: \"px\",\n\tborderRadius: \"px\",\n\tborderRight: \"px\",\n\tborderRightClip: \"px\",\n\tborderRightRadius: \"px\",\n\tborderRightWidth: \"px\",\n\tborderSpacing: \"px\",\n\tborderStartEndRadius: \"px\",\n\tborderStartStartRadius: \"px\",\n\tborderTop: \"px\",\n\tborderTopClip: \"px\",\n\tborderTopLeftRadius: \"px\",\n\tborderTopRadius: \"px\",\n\tborderTopRightRadius: \"px\",\n\tborderTopWidth: \"px\",\n\tborderWidth: \"px\",\n\tbottom: \"px\",\n\tboxShadow: \"px\",\n\tboxShadowBlur: \"px\",\n\tboxShadowOffset: \"px\",\n\tboxShadowSpread: \"px\",\n\tcolumnGap: \"px\",\n\tcolumnHeight: \"px\",\n\tcolumnRule: \"px\",\n\tcolumnRuleEdgeInset: \"px\",\n\tcolumnRuleEdgeInsetEnd: \"px\",\n\tcolumnRuleEdgeInsetStart: \"px\",\n\tcolumnRuleInset: \"px\",\n\tcolumnRuleInsetEnd: \"px\",\n\tcolumnRuleInsetStart: \"px\",\n\tcolumnRuleInteriorInset: \"px\",\n\tcolumnRuleInteriorInsetEnd: \"px\",\n\tcolumnRuleInteriorInsetStart: \"px\",\n\tcolumnRuleWidth: \"px\",\n\tcolumns: \"px\",\n\tcolumnWidth: \"px\",\n\tcontainIntrinsicBlockSize: \"px\",\n\tcontainIntrinsicHeight: \"px\",\n\tcontainIntrinsicInlineSize: \"px\",\n\tcontainIntrinsicSize: \"px\",\n\tcontainIntrinsicWidth: \"px\",\n\tcorner: \"px\",\n\tcornerBlockEnd: \"px\",\n\tcornerBlockStart: \"px\",\n\tcornerBottom: \"px\",\n\tcornerBottomLeft: \"px\",\n\tcornerBottomRight: \"px\",\n\tcornerEndEnd: \"px\",\n\tcornerEndStart: \"px\",\n\tcornerInlineEnd: \"px\",\n\tcornerInlineStart: \"px\",\n\tcornerLeft: \"px\",\n\tcornerRight: \"px\",\n\tcornerStartEnd: \"px\",\n\tcornerStartStart: \"px\",\n\tcornerTop: \"px\",\n\tcornerTopLeft: \"px\",\n\tcornerTopRight: \"px\",\n\tcx: \"px\",\n\tcy: \"px\",\n\tfillOpacity: \"%\",\n\tfillPosition: \"px\",\n\tfillSize: \"px\",\n\tflex: \"px\",\n\tflexBasis: \"px\",\n\tfloatOffset: \"px\",\n\tfloodOpacity: \"%\",\n\tflowTolerance: \"px\",\n\tfont: \"deg\",\n\tfontSize: \"px\",\n\tfontStretch: \"%\",\n\tfontStyle: \"deg\",\n\tfontWidth: \"%\",\n\tgap: \"px\",\n\tgrid: \"px\",\n\tgridAutoColumns: \"px\",\n\tgridAutoRows: \"px\",\n\tgridColumnGap: \"px\",\n\tgridGap: \"px\",\n\tgridRowGap: \"px\",\n\tgridTemplate: \"px\",\n\tgridTemplateColumns: \"px\",\n\tgridTemplateRows: \"px\",\n\theight: \"px\",\n\thyphenateLimitZone: \"px\",\n\timageOrientation: \"deg\",\n\timageResolution: \"dppx\",\n\tinitialLetterWrap: \"px\",\n\tinlineSize: \"px\",\n\tinset: \"px\",\n\tinsetBlock: \"px\",\n\tinsetBlockEnd: \"px\",\n\tinsetBlockStart: \"px\",\n\tinsetInline: \"px\",\n\tinsetInlineEnd: \"px\",\n\tinsetInlineStart: \"px\",\n\tinterestDelay: \"ms\",\n\tinterestDelayEnd: \"ms\",\n\tinterestDelayStart: \"ms\",\n\tleft: \"px\",\n\tletterSpacing: \"px\",\n\tlineHeight: \"px\",\n\tlineHeightStep: \"px\",\n\tlinePadding: \"px\",\n\tmargin: \"px\",\n\tmarginBlock: \"px\",\n\tmarginBlockEnd: \"px\",\n\tmarginBlockStart: \"px\",\n\tmarginBottom: \"px\",\n\tmarginInline: \"px\",\n\tmarginInlineEnd: \"px\",\n\tmarginInlineStart: \"px\",\n\tmarginLeft: \"px\",\n\tmarginRight: \"px\",\n\tmarginTop: \"px\",\n\tmask: \"px\",\n\tmaskBorder: \"%\",\n\tmaskBorderOutset: \"px\",\n\tmaskBorderSlice: \"%\",\n\tmaskBorderWidth: \"px\",\n\tmaskPosition: \"px\",\n\tmaskSize: \"px\",\n\tmaxBlockSize: \"px\",\n\tmaxHeight: \"px\",\n\tmaxInlineSize: \"px\",\n\tmaxWidth: \"px\",\n\tminBlockSize: \"px\",\n\tminHeight: \"px\",\n\tminInlineSize: \"px\",\n\tminWidth: \"px\",\n\tobjectPosition: \"px\",\n\toffset: \"px\",\n\toffsetAnchor: \"px\",\n\toffsetDistance: \"px\",\n\toffsetPosition: \"px\",\n\toffsetRotate: \"deg\",\n\topacity: \"%\",\n\toutline: \"px\",\n\toutlineOffset: \"px\",\n\toutlineWidth: \"px\",\n\toverflowClipMargin: \"px\",\n\toverflowClipMarginBlock: \"px\",\n\toverflowClipMarginBlockEnd: \"px\",\n\toverflowClipMarginBlockStart: \"px\",\n\toverflowClipMarginBottom: \"px\",\n\toverflowClipMarginInline: \"px\",\n\toverflowClipMarginInlineEnd: \"px\",\n\toverflowClipMarginInlineStart: \"px\",\n\toverflowClipMarginLeft: \"px\",\n\toverflowClipMarginRight: \"px\",\n\toverflowClipMarginTop: \"px\",\n\tpadding: \"px\",\n\tpaddingBlock: \"px\",\n\tpaddingBlockEnd: \"px\",\n\tpaddingBlockStart: \"px\",\n\tpaddingBottom: \"px\",\n\tpaddingInline: \"px\",\n\tpaddingInlineEnd: \"px\",\n\tpaddingInlineStart: \"px\",\n\tpaddingLeft: \"px\",\n\tpaddingRight: \"px\",\n\tpaddingTop: \"px\",\n\tpause: \"ms\",\n\tpauseAfter: \"ms\",\n\tpauseBefore: \"ms\",\n\tperspective: \"px\",\n\tperspectiveOrigin: \"px\",\n\tr: \"px\",\n\trest: \"ms\",\n\trestAfter: \"ms\",\n\trestBefore: \"ms\",\n\tright: \"px\",\n\trotate: \"deg\",\n\trowGap: \"px\",\n\trowRule: \"px\",\n\trowRuleEdgeInset: \"px\",\n\trowRuleEdgeInsetEnd: \"px\",\n\trowRuleEdgeInsetStart: \"px\",\n\trowRuleInset: \"px\",\n\trowRuleInsetEnd: \"px\",\n\trowRuleInsetStart: \"px\",\n\trowRuleInteriorInset: \"px\",\n\trowRuleInteriorInsetEnd: \"px\",\n\trowRuleInteriorInsetStart: \"px\",\n\trowRuleWidth: \"px\",\n\trule: \"px\",\n\truleEdgeInset: \"px\",\n\truleInset: \"px\",\n\truleInsetEnd: \"px\",\n\truleInsetStart: \"px\",\n\truleInteriorInset: \"px\",\n\truleWidth: \"px\",\n\trx: \"px\",\n\try: \"px\",\n\tscale: \"%\",\n\tscrollMargin: \"px\",\n\tscrollMarginBlock: \"px\",\n\tscrollMarginBlockEnd: \"px\",\n\tscrollMarginBlockStart: \"px\",\n\tscrollMarginBottom: \"px\",\n\tscrollMarginInline: \"px\",\n\tscrollMarginInlineEnd: \"px\",\n\tscrollMarginInlineStart: \"px\",\n\tscrollMarginLeft: \"px\",\n\tscrollMarginRight: \"px\",\n\tscrollMarginTop: \"px\",\n\tscrollPadding: \"px\",\n\tscrollPaddingBlock: \"px\",\n\tscrollPaddingBlockEnd: \"px\",\n\tscrollPaddingBlockStart: \"px\",\n\tscrollPaddingBottom: \"px\",\n\tscrollPaddingInline: \"px\",\n\tscrollPaddingInlineEnd: \"px\",\n\tscrollPaddingInlineStart: \"px\",\n\tscrollPaddingLeft: \"px\",\n\tscrollPaddingRight: \"px\",\n\tscrollPaddingTop: \"px\",\n\tshapeImageThreshold: \"%\",\n\tshapeMargin: \"px\",\n\tshapePadding: \"px\",\n\tstopOpacity: \"%\",\n\tstrokeDasharray: \"px\",\n\tstrokeDashcorner: \"px\",\n\tstrokeDashCorner: \"px\",\n\tstrokeDashoffset: \"px\",\n\tstrokeOpacity: \"%\",\n\tstrokePosition: \"px\",\n\tstrokeSize: \"px\",\n\tstrokeWidth: \"px\",\n\ttabSize: \"px\",\n\ttextDecoration: \"px\",\n\ttextDecorationInset: \"px\",\n\ttextDecorationThickness: \"px\",\n\ttextIndent: \"px\",\n\ttextShadow: \"px\",\n\ttextSizeAdjust: \"%\",\n\ttextUnderlineOffset: \"px\",\n\ttimelineTrigger: \"px\",\n\ttimelineTriggerActivationRange: \"px\",\n\ttimelineTriggerActivationRangeEnd: \"px\",\n\ttimelineTriggerActivationRangeStart: \"px\",\n\ttimelineTriggerActiveRange: \"px\",\n\ttimelineTriggerActiveRangeEnd: \"px\",\n\ttimelineTriggerActiveRangeStart: \"px\",\n\ttop: \"px\",\n\ttransformOrigin: \"px\",\n\ttransition: \"ms\",\n\ttransitionDelay: \"ms\",\n\ttransitionDuration: \"ms\",\n\ttranslate: \"px\",\n\tverticalAlign: \"px\",\n\tviewTimeline: \"px\",\n\tviewTimelineInset: \"px\",\n\tvoiceDuration: \"ms\",\n\tvoicePitch: \"Hz\",\n\tvoiceRange: \"Hz\",\n\tvoiceRate: \"%\",\n\twidth: \"px\",\n\twordSpacing: \"px\",\n\tx: \"px\",\n\ty: \"px\",\n\tzoom: \"%\"\n};\n\n//#endregion\n//#region src/knownProperties.generated.ts\nconst knownPropertyNames = new Set([\n\t\"accentColor\",\n\t\"alignContent\",\n\t\"alignItems\",\n\t\"alignSelf\",\n\t\"alignmentBaseline\",\n\t\"all\",\n\t\"anchorName\",\n\t\"anchorScope\",\n\t\"animation\",\n\t\"animationComposition\",\n\t\"animationDelay\",\n\t\"animationDirection\",\n\t\"animationDuration\",\n\t\"animationFillMode\",\n\t\"animationIterationCount\",\n\t\"animationName\",\n\t\"animationPlayState\",\n\t\"animationRange\",\n\t\"animationRangeCenter\",\n\t\"animationRangeEnd\",\n\t\"animationRangeStart\",\n\t\"animationTimeline\",\n\t\"animationTimingFunction\",\n\t\"animationTrigger\",\n\t\"appearance\",\n\t\"aspectRatio\",\n\t\"backdropFilter\",\n\t\"backfaceVisibility\",\n\t\"background\",\n\t\"backgroundAttachment\",\n\t\"backgroundBlendMode\",\n\t\"backgroundClip\",\n\t\"backgroundColor\",\n\t\"backgroundImage\",\n\t\"backgroundOrigin\",\n\t\"backgroundPosition\",\n\t\"backgroundPositionBlock\",\n\t\"backgroundPositionInline\",\n\t\"backgroundPositionX\",\n\t\"backgroundPositionY\",\n\t\"backgroundRepeat\",\n\t\"backgroundRepeatBlock\",\n\t\"backgroundRepeatInline\",\n\t\"backgroundRepeatX\",\n\t\"backgroundRepeatY\",\n\t\"backgroundSize\",\n\t\"backgroundTbd\",\n\t\"baselineShift\",\n\t\"baselineSource\",\n\t\"blockEllipsis\",\n\t\"blockSize\",\n\t\"blockStep\",\n\t\"blockStepAlign\",\n\t\"blockStepInsert\",\n\t\"blockStepRound\",\n\t\"blockStepSize\",\n\t\"bookmarkLabel\",\n\t\"bookmarkLevel\",\n\t\"bookmarkState\",\n\t\"border\",\n\t\"borderBlock\",\n\t\"borderBlockClip\",\n\t\"borderBlockColor\",\n\t\"borderBlockEnd\",\n\t\"borderBlockEndClip\",\n\t\"borderBlockEndColor\",\n\t\"borderBlockEndRadius\",\n\t\"borderBlockEndStyle\",\n\t\"borderBlockEndWidth\",\n\t\"borderBlockStart\",\n\t\"borderBlockStartClip\",\n\t\"borderBlockStartColor\",\n\t\"borderBlockStartRadius\",\n\t\"borderBlockStartStyle\",\n\t\"borderBlockStartWidth\",\n\t\"borderBlockStyle\",\n\t\"borderBlockWidth\",\n\t\"borderBottom\",\n\t\"borderBottomClip\",\n\t\"borderBottomColor\",\n\t\"borderBottomLeftRadius\",\n\t\"borderBottomRadius\",\n\t\"borderBottomRightRadius\",\n\t\"borderBottomStyle\",\n\t\"borderBottomWidth\",\n\t\"borderBoundary\",\n\t\"borderClip\",\n\t\"borderCollapse\",\n\t\"borderColor\",\n\t\"borderEndEndRadius\",\n\t\"borderEndStartRadius\",\n\t\"borderImage\",\n\t\"borderImageOutset\",\n\t\"borderImageRepeat\",\n\t\"borderImageSlice\",\n\t\"borderImageSource\",\n\t\"borderImageWidth\",\n\t\"borderInline\",\n\t\"borderInlineClip\",\n\t\"borderInlineColor\",\n\t\"borderInlineEnd\",\n\t\"borderInlineEndClip\",\n\t\"borderInlineEndColor\",\n\t\"borderInlineEndRadius\",\n\t\"borderInlineEndStyle\",\n\t\"borderInlineEndWidth\",\n\t\"borderInlineStart\",\n\t\"borderInlineStartClip\",\n\t\"borderInlineStartColor\",\n\t\"borderInlineStartRadius\",\n\t\"borderInlineStartStyle\",\n\t\"borderInlineStartWidth\",\n\t\"borderInlineStyle\",\n\t\"borderInlineWidth\",\n\t\"borderLeft\",\n\t\"borderLeftClip\",\n\t\"borderLeftColor\",\n\t\"borderLeftRadius\",\n\t\"borderLeftStyle\",\n\t\"borderLeftWidth\",\n\t\"borderLimit\",\n\t\"borderRadius\",\n\t\"borderRight\",\n\t\"borderRightClip\",\n\t\"borderRightColor\",\n\t\"borderRightRadius\",\n\t\"borderRightStyle\",\n\t\"borderRightWidth\",\n\t\"borderShape\",\n\t\"borderSpacing\",\n\t\"borderStartEndRadius\",\n\t\"borderStartStartRadius\",\n\t\"borderStyle\",\n\t\"borderTop\",\n\t\"borderTopClip\",\n\t\"borderTopColor\",\n\t\"borderTopLeftRadius\",\n\t\"borderTopRadius\",\n\t\"borderTopRightRadius\",\n\t\"borderTopStyle\",\n\t\"borderTopWidth\",\n\t\"borderWidth\",\n\t\"bottom\",\n\t\"boxDecorationBreak\",\n\t\"boxShadow\",\n\t\"boxShadowBlur\",\n\t\"boxShadowColor\",\n\t\"boxShadowOffset\",\n\t\"boxShadowPosition\",\n\t\"boxShadowSpread\",\n\t\"boxSizing\",\n\t\"boxSnap\",\n\t\"breakAfter\",\n\t\"breakBefore\",\n\t\"breakInside\",\n\t\"captionSide\",\n\t\"caret\",\n\t\"caretAnimation\",\n\t\"caretColor\",\n\t\"caretShape\",\n\t\"clear\",\n\t\"clip\",\n\t\"clipPath\",\n\t\"clipRule\",\n\t\"color\",\n\t\"colorAdjust\",\n\t\"colorInterpolation\",\n\t\"colorInterpolationFilters\",\n\t\"colorScheme\",\n\t\"columnCount\",\n\t\"columnFill\",\n\t\"columnGap\",\n\t\"columnHeight\",\n\t\"columnRule\",\n\t\"columnRuleBreak\",\n\t\"columnRuleColor\",\n\t\"columnRuleEdgeInset\",\n\t\"columnRuleEdgeInsetEnd\",\n\t\"columnRuleEdgeInsetStart\",\n\t\"columnRuleInset\",\n\t\"columnRuleInsetEnd\",\n\t\"columnRuleInsetStart\",\n\t\"columnRuleInteriorInset\",\n\t\"columnRuleInteriorInsetEnd\",\n\t\"columnRuleInteriorInsetStart\",\n\t\"columnRuleStyle\",\n\t\"columnRuleVisibilityItems\",\n\t\"columnRuleWidth\",\n\t\"columnSpan\",\n\t\"columnWidth\",\n\t\"columnWrap\",\n\t\"columns\",\n\t\"contain\",\n\t\"containIntrinsicBlockSize\",\n\t\"containIntrinsicHeight\",\n\t\"containIntrinsicInlineSize\",\n\t\"containIntrinsicSize\",\n\t\"containIntrinsicWidth\",\n\t\"container\",\n\t\"containerName\",\n\t\"containerType\",\n\t\"content\",\n\t\"contentVisibility\",\n\t\"continue\",\n\t\"copyInto\",\n\t\"corner\",\n\t\"cornerBlockEnd\",\n\t\"cornerBlockEndShape\",\n\t\"cornerBlockStart\",\n\t\"cornerBlockStartShape\",\n\t\"cornerBottom\",\n\t\"cornerBottomLeft\",\n\t\"cornerBottomLeftShape\",\n\t\"cornerBottomRight\",\n\t\"cornerBottomRightShape\",\n\t\"cornerBottomShape\",\n\t\"cornerEndEnd\",\n\t\"cornerEndEndShape\",\n\t\"cornerEndStart\",\n\t\"cornerEndStartShape\",\n\t\"cornerInlineEnd\",\n\t\"cornerInlineEndShape\",\n\t\"cornerInlineStart\",\n\t\"cornerInlineStartShape\",\n\t\"cornerLeft\",\n\t\"cornerLeftShape\",\n\t\"cornerRight\",\n\t\"cornerRightShape\",\n\t\"cornerShape\",\n\t\"cornerStartEnd\",\n\t\"cornerStartEndShape\",\n\t\"cornerStartStart\",\n\t\"cornerStartStartShape\",\n\t\"cornerTop\",\n\t\"cornerTopLeft\",\n\t\"cornerTopLeftShape\",\n\t\"cornerTopRight\",\n\t\"cornerTopRightShape\",\n\t\"cornerTopShape\",\n\t\"counterIncrement\",\n\t\"counterReset\",\n\t\"counterSet\",\n\t\"cue\",\n\t\"cueAfter\",\n\t\"cueBefore\",\n\t\"cursor\",\n\t\"cx\",\n\t\"cy\",\n\t\"d\",\n\t\"direction\",\n\t\"display\",\n\t\"dominantBaseline\",\n\t\"dynamicRangeLimit\",\n\t\"emptyCells\",\n\t\"eventTrigger\",\n\t\"eventTriggerName\",\n\t\"eventTriggerSource\",\n\t\"fieldSizing\",\n\t\"fill\",\n\t\"fillBreak\",\n\t\"fillColor\",\n\t\"fillImage\",\n\t\"fillOpacity\",\n\t\"fillOrigin\",\n\t\"fillPosition\",\n\t\"fillRepeat\",\n\t\"fillRule\",\n\t\"fillSize\",\n\t\"filter\",\n\t\"flex\",\n\t\"flexBasis\",\n\t\"flexDirection\",\n\t\"flexFlow\",\n\t\"flexGrow\",\n\t\"flexShrink\",\n\t\"flexWrap\",\n\t\"float\",\n\t\"floatDefer\",\n\t\"floatOffset\",\n\t\"floatReference\",\n\t\"floodColor\",\n\t\"floodOpacity\",\n\t\"flowFrom\",\n\t\"flowInto\",\n\t\"flowTolerance\",\n\t\"font\",\n\t\"fontFamily\",\n\t\"fontFeatureSettings\",\n\t\"fontKerning\",\n\t\"fontLanguageOverride\",\n\t\"fontOpticalSizing\",\n\t\"fontPalette\",\n\t\"fontSize\",\n\t\"fontSizeAdjust\",\n\t\"fontStretch\",\n\t\"fontStyle\",\n\t\"fontSynthesis\",\n\t\"fontSynthesisPosition\",\n\t\"fontSynthesisSmallCaps\",\n\t\"fontSynthesisStyle\",\n\t\"fontSynthesisWeight\",\n\t\"fontVariant\",\n\t\"fontVariantAlternates\",\n\t\"fontVariantCaps\",\n\t\"fontVariantEastAsian\",\n\t\"fontVariantEmoji\",\n\t\"fontVariantLigatures\",\n\t\"fontVariantNumeric\",\n\t\"fontVariantPosition\",\n\t\"fontVariationSettings\",\n\t\"fontWeight\",\n\t\"fontWidth\",\n\t\"footnoteDisplay\",\n\t\"footnotePolicy\",\n\t\"forcedColorAdjust\",\n\t\"frameSizing\",\n\t\"gap\",\n\t\"glyphOrientationVertical\",\n\t\"grid\",\n\t\"gridArea\",\n\t\"gridAutoColumns\",\n\t\"gridAutoFlow\",\n\t\"gridAutoRows\",\n\t\"gridColumn\",\n\t\"gridColumnEnd\",\n\t\"gridColumnGap\",\n\t\"gridColumnStart\",\n\t\"gridGap\",\n\t\"gridRow\",\n\t\"gridRowEnd\",\n\t\"gridRowGap\",\n\t\"gridRowStart\",\n\t\"gridTemplate\",\n\t\"gridTemplateAreas\",\n\t\"gridTemplateColumns\",\n\t\"gridTemplateRows\",\n\t\"hangingPunctuation\",\n\t\"height\",\n\t\"hyphenateCharacter\",\n\t\"hyphenateLimitChars\",\n\t\"hyphenateLimitLast\",\n\t\"hyphenateLimitLines\",\n\t\"hyphenateLimitZone\",\n\t\"hyphens\",\n\t\"imageAnimation\",\n\t\"imageOrientation\",\n\t\"imageRendering\",\n\t\"imageResolution\",\n\t\"initialLetter\",\n\t\"initialLetterAlign\",\n\t\"initialLetterWrap\",\n\t\"inlineSize\",\n\t\"inlineSizing\",\n\t\"inputSecurity\",\n\t\"inset\",\n\t\"insetBlock\",\n\t\"insetBlockEnd\",\n\t\"insetBlockStart\",\n\t\"insetInline\",\n\t\"insetInlineEnd\",\n\t\"insetInlineStart\",\n\t\"interactivity\",\n\t\"interestDelay\",\n\t\"interestDelayEnd\",\n\t\"interestDelayStart\",\n\t\"interpolateSize\",\n\t\"isolation\",\n\t\"justifyContent\",\n\t\"justifyItems\",\n\t\"justifySelf\",\n\t\"left\",\n\t\"letterSpacing\",\n\t\"lightingColor\",\n\t\"lineBreak\",\n\t\"lineClamp\",\n\t\"lineFitEdge\",\n\t\"lineGrid\",\n\t\"lineHeight\",\n\t\"lineHeightStep\",\n\t\"linePadding\",\n\t\"lineSnap\",\n\t\"linkParameters\",\n\t\"listStyle\",\n\t\"listStyleImage\",\n\t\"listStylePosition\",\n\t\"listStyleType\",\n\t\"margin\",\n\t\"marginBlock\",\n\t\"marginBlockEnd\",\n\t\"marginBlockStart\",\n\t\"marginBottom\",\n\t\"marginBreak\",\n\t\"marginInline\",\n\t\"marginInlineEnd\",\n\t\"marginInlineStart\",\n\t\"marginLeft\",\n\t\"marginRight\",\n\t\"marginTop\",\n\t\"marginTrim\",\n\t\"marker\",\n\t\"markerEnd\",\n\t\"markerMid\",\n\t\"markerSide\",\n\t\"markerStart\",\n\t\"mask\",\n\t\"maskBorder\",\n\t\"maskBorderMode\",\n\t\"maskBorderOutset\",\n\t\"maskBorderRepeat\",\n\t\"maskBorderSlice\",\n\t\"maskBorderSource\",\n\t\"maskBorderWidth\",\n\t\"maskClip\",\n\t\"maskComposite\",\n\t\"maskImage\",\n\t\"maskMode\",\n\t\"maskOrigin\",\n\t\"maskPosition\",\n\t\"maskRepeat\",\n\t\"maskSize\",\n\t\"maskType\",\n\t\"mathDepth\",\n\t\"mathShift\",\n\t\"mathStyle\",\n\t\"maxBlockSize\",\n\t\"maxHeight\",\n\t\"maxInlineSize\",\n\t\"maxLines\",\n\t\"maxWidth\",\n\t\"minBlockSize\",\n\t\"minHeight\",\n\t\"minInlineSize\",\n\t\"minIntrinsicSizing\",\n\t\"minWidth\",\n\t\"mixBlendMode\",\n\t\"navDown\",\n\t\"navLeft\",\n\t\"navRight\",\n\t\"navUp\",\n\t\"objectFit\",\n\t\"objectPosition\",\n\t\"objectViewBox\",\n\t\"offset\",\n\t\"offsetAnchor\",\n\t\"offsetDistance\",\n\t\"offsetPath\",\n\t\"offsetPosition\",\n\t\"offsetRotate\",\n\t\"opacity\",\n\t\"order\",\n\t\"orphans\",\n\t\"outline\",\n\t\"outlineColor\",\n\t\"outlineOffset\",\n\t\"outlineStyle\",\n\t\"outlineWidth\",\n\t\"overflow\",\n\t\"overflowAnchor\",\n\t\"overflowBlock\",\n\t\"overflowClipMargin\",\n\t\"overflowClipMarginBlock\",\n\t\"overflowClipMarginBlockEnd\",\n\t\"overflowClipMarginBlockStart\",\n\t\"overflowClipMarginBottom\",\n\t\"overflowClipMarginInline\",\n\t\"overflowClipMarginInlineEnd\",\n\t\"overflowClipMarginInlineStart\",\n\t\"overflowClipMarginLeft\",\n\t\"overflowClipMarginRight\",\n\t\"overflowClipMarginTop\",\n\t\"overflowInline\",\n\t\"overflowWrap\",\n\t\"overflowX\",\n\t\"overflowY\",\n\t\"overlay\",\n\t\"overscrollBehavior\",\n\t\"overscrollBehaviorBlock\",\n\t\"overscrollBehaviorInline\",\n\t\"overscrollBehaviorX\",\n\t\"overscrollBehaviorY\",\n\t\"padding\",\n\t\"paddingBlock\",\n\t\"paddingBlockEnd\",\n\t\"paddingBlockStart\",\n\t\"paddingBottom\",\n\t\"paddingInline\",\n\t\"paddingInlineEnd\",\n\t\"paddingInlineStart\",\n\t\"paddingLeft\",\n\t\"paddingRight\",\n\t\"paddingTop\",\n\t\"page\",\n\t\"pageBreakAfter\",\n\t\"pageBreakBefore\",\n\t\"pageBreakInside\",\n\t\"paintOrder\",\n\t\"pause\",\n\t\"pauseAfter\",\n\t\"pauseBefore\",\n\t\"perspective\",\n\t\"perspectiveOrigin\",\n\t\"placeContent\",\n\t\"placeItems\",\n\t\"placeSelf\",\n\t\"pointerEvents\",\n\t\"pointerTimeline\",\n\t\"pointerTimelineAxis\",\n\t\"pointerTimelineName\",\n\t\"position\",\n\t\"positionAnchor\",\n\t\"positionArea\",\n\t\"positionTry\",\n\t\"positionTryFallbacks\",\n\t\"positionTryOrder\",\n\t\"positionVisibility\",\n\t\"printColorAdjust\",\n\t\"quotes\",\n\t\"r\",\n\t\"readingFlow\",\n\t\"readingOrder\",\n\t\"regionFragment\",\n\t\"resize\",\n\t\"rest\",\n\t\"restAfter\",\n\t\"restBefore\",\n\t\"right\",\n\t\"rotate\",\n\t\"rowGap\",\n\t\"rowRule\",\n\t\"rowRuleBreak\",\n\t\"rowRuleColor\",\n\t\"rowRuleEdgeInset\",\n\t\"rowRuleEdgeInsetEnd\",\n\t\"rowRuleEdgeInsetStart\",\n\t\"rowRuleInset\",\n\t\"rowRuleInsetEnd\",\n\t\"rowRuleInsetStart\",\n\t\"rowRuleInteriorInset\",\n\t\"rowRuleInteriorInsetEnd\",\n\t\"rowRuleInteriorInsetStart\",\n\t\"rowRuleStyle\",\n\t\"rowRuleVisibilityItems\",\n\t\"rowRuleWidth\",\n\t\"rubyAlign\",\n\t\"rubyMerge\",\n\t\"rubyOverhang\",\n\t\"rubyPosition\",\n\t\"rule\",\n\t\"ruleBreak\",\n\t\"ruleColor\",\n\t\"ruleEdgeInset\",\n\t\"ruleInset\",\n\t\"ruleInsetEnd\",\n\t\"ruleInsetStart\",\n\t\"ruleInteriorInset\",\n\t\"ruleOverlap\",\n\t\"ruleStyle\",\n\t\"ruleVisibilityItems\",\n\t\"ruleWidth\",\n\t\"rx\",\n\t\"ry\",\n\t\"scale\",\n\t\"scrollBehavior\",\n\t\"scrollInitialTarget\",\n\t\"scrollMargin\",\n\t\"scrollMarginBlock\",\n\t\"scrollMarginBlockEnd\",\n\t\"scrollMarginBlockStart\",\n\t\"scrollMarginBottom\",\n\t\"scrollMarginInline\",\n\t\"scrollMarginInlineEnd\",\n\t\"scrollMarginInlineStart\",\n\t\"scrollMarginLeft\",\n\t\"scrollMarginRight\",\n\t\"scrollMarginTop\",\n\t\"scrollMarkerGroup\",\n\t\"scrollPadding\",\n\t\"scrollPaddingBlock\",\n\t\"scrollPaddingBlockEnd\",\n\t\"scrollPaddingBlockStart\",\n\t\"scrollPaddingBottom\",\n\t\"scrollPaddingInline\",\n\t\"scrollPaddingInlineEnd\",\n\t\"scrollPaddingInlineStart\",\n\t\"scrollPaddingLeft\",\n\t\"scrollPaddingRight\",\n\t\"scrollPaddingTop\",\n\t\"scrollSnapAlign\",\n\t\"scrollSnapStop\",\n\t\"scrollSnapType\",\n\t\"scrollTargetGroup\",\n\t\"scrollTimeline\",\n\t\"scrollTimelineAxis\",\n\t\"scrollTimelineName\",\n\t\"scrollbarColor\",\n\t\"scrollbarGutter\",\n\t\"scrollbarWidth\",\n\t\"shapeImageThreshold\",\n\t\"shapeInside\",\n\t\"shapeMargin\",\n\t\"shapeOutside\",\n\t\"shapePadding\",\n\t\"shapeRendering\",\n\t\"shapeSubtract\",\n\t\"sliderOrientation\",\n\t\"spatialNavigationAction\",\n\t\"spatialNavigationContain\",\n\t\"spatialNavigationFunction\",\n\t\"speak\",\n\t\"speakAs\",\n\t\"stopColor\",\n\t\"stopOpacity\",\n\t\"stringSet\",\n\t\"stroke\",\n\t\"strokeAlign\",\n\t\"strokeAlignment\",\n\t\"strokeBreak\",\n\t\"strokeColor\",\n\t\"strokeDashCorner\",\n\t\"strokeDashJustify\",\n\t\"strokeDashadjust\",\n\t\"strokeDasharray\",\n\t\"strokeDashcorner\",\n\t\"strokeDashoffset\",\n\t\"strokeImage\",\n\t\"strokeLinecap\",\n\t\"strokeLinejoin\",\n\t\"strokeMiterlimit\",\n\t\"strokeOpacity\",\n\t\"strokeOrigin\",\n\t\"strokePosition\",\n\t\"strokeRepeat\",\n\t\"strokeSize\",\n\t\"strokeWidth\",\n\t\"tabSize\",\n\t\"tableLayout\",\n\t\"textAlign\",\n\t\"textAlignAll\",\n\t\"textAlignLast\",\n\t\"textAnchor\",\n\t\"textAutospace\",\n\t\"textBox\",\n\t\"textBoxEdge\",\n\t\"textBoxTrim\",\n\t\"textCombineUpright\",\n\t\"textDecoration\",\n\t\"textDecorationColor\",\n\t\"textDecorationInset\",\n\t\"textDecorationLine\",\n\t\"textDecorationSkip\",\n\t\"textDecorationSkipBox\",\n\t\"textDecorationSkipInk\",\n\t\"textDecorationSkipSelf\",\n\t\"textDecorationSkipSpaces\",\n\t\"textDecorationStyle\",\n\t\"textDecorationThickness\",\n\t\"textEmphasis\",\n\t\"textEmphasisColor\",\n\t\"textEmphasisPosition\",\n\t\"textEmphasisSkip\",\n\t\"textEmphasisStyle\",\n\t\"textGroupAlign\",\n\t\"textIndent\",\n\t\"textJustify\",\n\t\"textOrientation\",\n\t\"textOverflow\",\n\t\"textRendering\",\n\t\"textShadow\",\n\t\"textSizeAdjust\",\n\t\"textSpacing\",\n\t\"textSpacingTrim\",\n\t\"textTransform\",\n\t\"textUnderlineOffset\",\n\t\"textUnderlinePosition\",\n\t\"textWrap\",\n\t\"textWrapMode\",\n\t\"textWrapStyle\",\n\t\"timelineScope\",\n\t\"timelineTrigger\",\n\t\"timelineTriggerActivationRange\",\n\t\"timelineTriggerActivationRangeEnd\",\n\t\"timelineTriggerActivationRangeStart\",\n\t\"timelineTriggerActiveRange\",\n\t\"timelineTriggerActiveRangeEnd\",\n\t\"timelineTriggerActiveRangeStart\",\n\t\"timelineTriggerName\",\n\t\"timelineTriggerSource\",\n\t\"top\",\n\t\"touchAction\",\n\t\"transform\",\n\t\"transformBox\",\n\t\"transformOrigin\",\n\t\"transformStyle\",\n\t\"transition\",\n\t\"transitionBehavior\",\n\t\"transitionDelay\",\n\t\"transitionDuration\",\n\t\"transitionProperty\",\n\t\"transitionTimingFunction\",\n\t\"translate\",\n\t\"triggerScope\",\n\t\"unicodeBidi\",\n\t\"userSelect\",\n\t\"vectorEffect\",\n\t\"verticalAlign\",\n\t\"viewTimeline\",\n\t\"viewTimelineAxis\",\n\t\"viewTimelineInset\",\n\t\"viewTimelineName\",\n\t\"viewTransitionClass\",\n\t\"viewTransitionGroup\",\n\t\"viewTransitionName\",\n\t\"viewTransitionScope\",\n\t\"visibility\",\n\t\"voiceBalance\",\n\t\"voiceDuration\",\n\t\"voiceFamily\",\n\t\"voicePitch\",\n\t\"voiceRange\",\n\t\"voiceRate\",\n\t\"voiceStress\",\n\t\"voiceVolume\",\n\t\"whiteSpace\",\n\t\"whiteSpaceCollapse\",\n\t\"whiteSpaceTrim\",\n\t\"widows\",\n\t\"width\",\n\t\"willChange\",\n\t\"wordBreak\",\n\t\"wordSpaceTransform\",\n\t\"wordSpacing\",\n\t\"wordWrap\",\n\t\"wrapAfter\",\n\t\"wrapBefore\",\n\t\"wrapFlow\",\n\t\"wrapInside\",\n\t\"wrapThrough\",\n\t\"writingMode\",\n\t\"x\",\n\t\"y\",\n\t\"zIndex\",\n\t\"zoom\"\n]);\n\n//#endregion\n//#region src/props.ts\n/**\n* Converts a kebab-case string to camelCase.\n*/\nfunction kebabToCamel(str) {\n\treturn str.replace(/-([a-z])/g, (_, c) => c.toUpperCase());\n}\n/**\n* Converts a camelCase string to kebab-case.\n*/\nfunction camelToKebab(str) {\n\treturn str.replace(/[A-Z]/g, (m) => \"-\" + m.toLowerCase());\n}\nfunction getUnitForProperty(propertyName) {\n\treturn propertyName in propertyUnits ? propertyUnits[propertyName] : void 0;\n}\n/**\n* Converts a CSS-like value to its string representation.\n* For properties with known units, numbers are automatically suffixed.\n*/\nfunction formatValue(value, propertyName, maxDepth = 10) {\n\tif (maxDepth <= 0) return \"\";\n\tif (typeof value === \"string\") return value;\n\tif (typeof value === \"number\") {\n\t\tconst unit = getUnitForProperty(propertyName);\n\t\tif (unit === \"%\") return `${value * 100}${unit}`;\n\t\tif (value === 0) return \"0\";\n\t\treturn unit ? `${value}${unit}` : value.toString();\n\t}\n\treturn formatValue(value.value, propertyName, maxDepth - 1);\n}\n/**\n* Checks if a property name is a CSS custom property (variable).\n*/\nfunction isCssVariableName(key) {\n\treturn key.startsWith(\"--\");\n}\n/**\n* Converts a CSS-like value to a string for use as a CSS variable value.\n* @param value - The value to convert (string, number, or wrapped value)\n* @param maxDepth - Maximum recursion depth for evaluating the value\n* @returns The string representation\n*/\nfunction asVar(value, maxDepth = 10) {\n\tif (maxDepth <= 0) return \"\";\n\tswitch (typeof value) {\n\t\tcase \"string\": return value;\n\t\tcase \"number\": return value.toString();\n\t\tdefault: return asVar(value.value, maxDepth - 1);\n\t}\n}\n/**\n* Checks if a property name is a known CSS property.\n*/\nfunction isKnownPropertyName(key) {\n\treturn knownPropertyNames.has(key);\n}\n/**\n* Converts a value to a CSS property string.\n* Automatically appends units to numeric values for properties that require them.\n* @param value - The value to convert\n* @param key - The CSS property name\n* @returns The formatted CSS value string\n*/\nfunction asKnownProp(value, key) {\n\treturn formatValue(value, key);\n}\n/**\n* Checks if a key represents a nested CSS selector.\n*/\nfunction isNestedSelector(key) {\n\treturn key.includes(\"&\");\n}\n/** Known at-rule prefixes that mochi-css recognizes */\nconst AT_RULE_PREFIXES = [\n\t\"@media \",\n\t\"@container \",\n\t\"@supports \",\n\t\"@layer \"\n];\n/**\n* Checks if a key represents a CSS at-rule (media, container, supports, layer).\n*/\nfunction isAtRuleKey(key) {\n\treturn AT_RULE_PREFIXES.some((p) => key.startsWith(p));\n}\n/**\n* Converts a SimpleStyleProps object to a CSS properties record.\n* Transforms camelCase property names to kebab-case and applies value converters.\n* @param props - The style properties object\n* @returns A record of CSS property names (kebab-case) to string values\n* @example\n* cssFromProps({ backgroundColor: 'blue', padding: 16 })\n* // { 'background-color': 'blue', 'padding': '16px' }\n*/\nfunction cssFromProps(props) {\n\treturn Object.fromEntries(Object.entries(props).map(([key, value]) => {\n\t\tif (value === void 0) return void 0;\n\t\tif (isCssVariableName(key)) return [key, asVar(value)];\n\t\tif (isKnownPropertyName(key)) return [camelToKebab(key), asKnownProp(value, key)];\n\t}).filter((v) => v !== void 0));\n}\n\n//#endregion\n//#region src/selector.ts\n/**\n* Immutable CSS selector builder that handles nested selectors and CSS at-rules.\n* Uses the `&` character as a placeholder for parent selector substitution.\n*\n* @example\n* const selector = new MochiSelector(['.button'])\n* selector.extend('&:hover').cssSelector // '.button:hover'\n* selector.wrap('@media (min-width: 768px)').atRules // ['@media (min-width: 768px)']\n*/\nvar MochiSelector = class MochiSelector {\n\t/**\n\t* Creates a new MochiSelector instance.\n\t* @param cssSelectors - Array of CSS selectors (may contain `&` placeholders)\n\t* @param atRules - Array of full CSS at-rule strings e.g. `\"@media (min-width: 768px)\"`\n\t*/\n\tconstructor(cssSelectors = [], atRules = []) {\n\t\tthis.cssSelectors = cssSelectors;\n\t\tthis.atRules = atRules;\n\t}\n\t/**\n\t* Gets the combined CSS selector string.\n\t* Multiple selectors are joined with commas.\n\t* @returns The CSS selector, or \"*\" if no selectors are defined\n\t*/\n\tget cssSelector() {\n\t\tif (this.cssSelectors.length === 0) return \"*\";\n\t\treturn this.cssSelectors.join(\", \");\n\t}\n\t/**\n\t* Substitutes all `&` placeholders with the given root selector.\n\t* @param root - The selector to replace `&` with\n\t* @returns A new MochiSelector with substituted selectors\n\t*/\n\tsubstitute(root) {\n\t\treturn new MochiSelector(this.cssSelectors.map((selector) => selector.replace(/&/g, root)), this.atRules);\n\t}\n\t/**\n\t* Extends this selector by nesting a child selector.\n\t* The `&` in the child selector is replaced with each parent selector.\n\t* @param child - The child selector pattern (must contain `&`)\n\t* @returns A new MochiSelector with the extended selectors\n\t* @example\n\t* new MochiSelector(['.btn']).extend('&:hover') // '.btn:hover'\n\t* new MochiSelector(['.btn']).extend('& .icon') // '.btn .icon'\n\t*/\n\textend(child) {\n\t\tif (!isNestedSelector(child)) return this;\n\t\tconst children = MochiSelector.split(child);\n\t\treturn new MochiSelector(this.cssSelectors.flatMap((parentSelector) => children.map((childSelector) => {\n\t\t\treturn childSelector.replace(/&/g, parentSelector);\n\t\t})), this.atRules);\n\t}\n\t/**\n\t* Wraps this selector with a CSS at-rule.\n\t* @param atRule - The full at-rule string (e.g. `\"@media (min-width: 768px)\"`)\n\t* @returns A new MochiSelector with the added at-rule, or unchanged if not a known at-rule\n\t* @example\n\t* selector.wrap('@media (min-width: 768px)') // Adds media query\n\t* selector.wrap('@container sidebar (min-width: 300px)') // Adds container query\n\t*/\n\twrap(atRule) {\n\t\tif (!isAtRuleKey(atRule)) return this;\n\t\treturn new MochiSelector(this.cssSelectors, [...this.atRules, atRule]);\n\t}\n\t/**\n\t* Splits a comma-separated selector string into individual selectors.\n\t* @param selector - The selector string to split\n\t* @returns Array of individual selector strings\n\t*/\n\tstatic split(selector) {\n\t\treturn [selector];\n\t}\n};\n\n//#endregion\n//#region ../core/dist/index.mjs\nconst hashBase = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_\";\nconst base = 64;\nfunction numberToBase62(num, maxLength) {\n\tlet out = \"\";\n\twhile (num > 0 && out.length < (maxLength ?? Infinity)) {\n\t\tout = hashBase[num % base] + out;\n\t\tnum = Math.floor(num / base);\n\t}\n\treturn out.length > 0 ? out : \"0\";\n}\nfunction shortHash(input, length = 8) {\n\tlet h = 5381;\n\tfor (let i = 0; i < input.length; i++) h = h * 33 ^ input.charCodeAt(i);\n\th >>>= 0;\n\treturn numberToBase62(h, length);\n}\n\n//#endregion\n//#region src/compare.ts\n/**\n* String comparison utilities for deterministic sorting.\n* Used internally to ensure consistent CSS output order.\n* @module compare\n*/\n/**\n* Compares two strings lexicographically.\n*/\nfunction compareString(a, b) {\n\treturn a < b ? -1 : a === b ? 0 : 1;\n}\n/**\n* Compares two tuples by their first element (string key).\n* Useful for sorting Object.entries() results.\n*/\nfunction compareStringKey(a, b) {\n\treturn compareString(a[0], b[0]);\n}\n/**\n* Creates a comparator function for objects with a specific string property.\n* @param name - The property name to compare by\n* @returns A comparator function that compares objects by the specified property\n* @example\n* const items = [{ key: 'b' }, { key: 'a' }]\n* items.sort(stringPropComparator('key')) // [{ key: 'a' }, { key: 'b' }]\n*/\nfunction stringPropComparator(name) {\n\treturn (a, b) => compareString(a[name], b[name]);\n}\n\n//#endregion\n//#region src/cssObject.ts\n/**\n* Represents a single CSS rule block with properties and a selector.\n* Handles conversion to CSS string format and hash generation.\n*/\nvar CssObjectSubBlock = class CssObjectSubBlock {\n\t/**\n\t* Creates a new CSS sub-block.\n\t* @param cssProps - Map of CSS property names (kebab-case) to values\n\t* @param selector - The selector this block applies to\n\t*/\n\tconstructor(cssProps, selector) {\n\t\tthis.cssProps = cssProps;\n\t\tthis.selector = selector;\n\t}\n\t/**\n\t* Computes a deterministic hash of this block's CSS content.\n\t* Used for generating unique class names.\n\t*/\n\tget hash() {\n\t\treturn shortHash(this.asCssString(\"&\"));\n\t}\n\t/**\n\t* Converts this block to a CSS string.\n\t* Handles at-rule wrapping (media, container, supports, layer) if present.\n\t* Multiple at-rules are nested in order.\n\t* @param root - The root selector to substitute for `&`\n\t* @returns Formatted CSS string\n\t*/\n\tasCssString(root) {\n\t\tconst selector = this.selector.substitute(root);\n\t\tconst atRules = selector.atRules;\n\t\tconst innerIndent = \" \".repeat(atRules.length);\n\t\tconst props = Object.entries(this.cssProps).toSorted(compareStringKey).map(([k, v]) => `${innerIndent} ${k}: ${v};\\n`).join(\"\");\n\t\tlet result = `${innerIndent}${selector.cssSelector} {\\n${props}${innerIndent}}`;\n\t\tfor (let i = atRules.length - 1; i >= 0; i--) {\n\t\t\tconst outerIndent = \" \".repeat(i);\n\t\t\tresult = `${outerIndent}${atRules[i]} {\\n${result}\\n${outerIndent}}`;\n\t\t}\n\t\treturn result;\n\t}\n\t/**\n\t* Parses StyleProps into an array of CSS sub-blocks.\n\t* Recursively processes nested selectors and media queries.\n\t* Output order is deterministic for consistent hash generation.\n\t*\n\t* @param props - The style properties to parse\n\t* @param selector - The parent selector context (defaults to `&`)\n\t* @returns Non-empty array of sub-blocks (main block first, then nested)\n\t*/\n\tstatic fromProps(props, selector) {\n\t\tselector ??= new MochiSelector([\"&\"]);\n\t\tconst cssProps = {};\n\t\tconst propsToProcess = [];\n\t\tfor (const [key, value] of Object.entries(props)) {\n\t\t\tif (value === void 0) continue;\n\t\t\tif (isCssVariableName(key)) {\n\t\t\t\tcssProps[key] = asVar(value);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isKnownPropertyName(key)) {\n\t\t\t\tcssProps[camelToKebab(key)] = asKnownProp(value, key);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isNestedSelector(key)) {\n\t\t\t\tpropsToProcess.push({\n\t\t\t\t\tkey,\n\t\t\t\t\tprops: value,\n\t\t\t\t\tselector: selector.extend(key)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (isAtRuleKey(key)) {\n\t\t\t\tpropsToProcess.push({\n\t\t\t\t\tkey,\n\t\t\t\t\tprops: value,\n\t\t\t\t\tselector: selector.wrap(key)\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (process.env[\"NODE_ENV\"] !== \"production\") console.warn(`[mochi-css] Unknown style property \"${key}\" will be ignored`);\n\t\t}\n\t\treturn [new CssObjectSubBlock(cssProps, selector), ...propsToProcess.toSorted(stringPropComparator(\"key\")).flatMap(({ props: props$1, selector: selector$1 }) => CssObjectSubBlock.fromProps(props$1, selector$1))];\n\t}\n};\n/**\n* Represents an abstract CSS block definition.\n* Contains one or more sub-blocks for nested selectors and media queries.\n*/\nvar CssObjectBlock = class {\n\t/** The generated unique class name for this block */\n\tclassName;\n\t/** All sub-blocks (main styles and nested/media rules) */\n\tsubBlocks = [];\n\t/**\n\t* Creates a new CSS block from style properties.\n\t* Generates a unique class name based on the content hash, or uses the provided class name.\n\t* @param styles - The style properties to compile\n\t* @param className - Optional stable class name; if omitted, a content-hash-based name is generated\n\t*/\n\tconstructor(styles, className) {\n\t\tconst blocks = CssObjectSubBlock.fromProps(styles);\n\t\tthis.className = className ?? \"c\" + shortHash(blocks.map((b) => b.hash).join(\"+\"));\n\t\tthis.subBlocks = blocks;\n\t}\n\t/**\n\t* Gets the CSS class selector for this block.\n\t*/\n\tget selector() {\n\t\treturn `.${this.className}`;\n\t}\n\t/**\n\t* Converts style block to a CSS string.\n\t* @param root - The root selector to scope styles to\n\t* @returns Complete CSS string for this block\n\t*/\n\tasCssString(root) {\n\t\treturn this.subBlocks.map((b) => b.asCssString(new MochiSelector([root]).extend(`&.${this.className}`).cssSelector)).join(\"\\n\\n\");\n\t}\n};\n/**\n* Complete CSS object representation with main and variant styles.\n*\n* @template V - The variant definitions type\n*\n* @example\n* const obj = new CSSObject({\n* color: 'blue',\n* variants: {\n* size: {\n* small: { fontSize: 12 },\n* large: { fontSize: 18 }\n* }\n* },\n* defaultVariants: { size: 'small' }\n* })\n* obj.asCssString() // Returns complete CSS with all variants\n*/\nvar CSSObject = class {\n\t/** The main style block (non-variant styles) */\n\tmainBlock;\n\t/** Compiled blocks for each variant option */\n\tvariantBlocks;\n\t/** Default variant selections */\n\tvariantDefaults;\n\t/** Compound variant conditions and their parsed sub-blocks */\n\tcompoundVariants;\n\t/**\n\t* Creates a new CSSObject from style props.\n\t* Compiles main styles and all variant options into CSS blocks.\n\t* @param props - Base style props plus variant definitions\n\t* @param props.variants - Named variant groups, each mapping variant values to style props\n\t* @param props.defaultVariants - Default value for each variant when none is provided at runtime\n\t* @param props.compoundVariants - Style props applied when a specific combination of variants is active\n\t* @param className - Optional stable class name for the main block\n\t*/\n\tconstructor({ variants, defaultVariants, compoundVariants,...props }, className) {\n\t\tthis.mainBlock = new CssObjectBlock(props, className);\n\t\tthis.variantBlocks = {};\n\t\tthis.variantDefaults = defaultVariants ?? {};\n\t\tthis.compoundVariants = [];\n\t\tif (variants) for (const variantGroupName in variants) {\n\t\t\tthis.variantBlocks[variantGroupName] = {};\n\t\t\tconst variantGroup = variants[variantGroupName];\n\t\t\tfor (const variantItemName in variantGroup) this.variantBlocks[variantGroupName][variantItemName] = new CssObjectBlock(variantGroup[variantItemName] ?? {});\n\t\t}\n\t\tif (compoundVariants) for (const compound of compoundVariants) {\n\t\t\tconst { css: styles,...conditions } = compound;\n\t\t\tthis.compoundVariants.push({\n\t\t\t\tconditions,\n\t\t\t\tsubBlocks: CssObjectSubBlock.fromProps(styles)\n\t\t\t});\n\t\t}\n\t}\n\t/**\n\t* Serializes the entire CSS object to a CSS string.\n\t* Outputs the main block first, then all variant blocks in sorted order.\n\t* @returns Complete CSS string ready for injection into a stylesheet\n\t*/\n\tasCssString() {\n\t\treturn [\n\t\t\tthis.mainBlock.asCssString(\"\"),\n\t\t\t...Object.entries(this.variantBlocks).toSorted(compareStringKey).flatMap(([_, b]) => Object.entries(b).toSorted(compareStringKey)).map(([_, b]) => b.asCssString(this.mainBlock.selector)),\n\t\t\t...this.compoundVariants.flatMap(({ conditions, subBlocks }) => {\n\t\t\t\tconst selectorParts = [];\n\t\t\t\tfor (const [variantName, optionName] of Object.entries(conditions).toSorted(compareStringKey)) {\n\t\t\t\t\tconst selector = this.variantBlocks[variantName]?.[optionName]?.selector;\n\t\t\t\t\tif (selector === void 0) return [];\n\t\t\t\t\tselectorParts.push(selector);\n\t\t\t\t}\n\t\t\t\tconst combinedSelector = `${this.mainBlock.selector}${selectorParts.join(\"\")}`;\n\t\t\t\treturn subBlocks.map((b) => b.asCssString(combinedSelector));\n\t\t\t})\n\t\t].join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/css.ts\nconst MOCHI_CSS_TYPEOF = Symbol.for(\"mochi-css.MochiCSS\");\nfunction isMochiCSS(value) {\n\treturn typeof value === \"object\" && value !== null && value[\"$$typeof\"] === MOCHI_CSS_TYPEOF;\n}\n/**\n* Runtime representation of a CSS style definition with variant support.\n* Holds generated class names and provides methods to compute the final\n* className string based on selected variants.\n*\n* @template V - The variant definitions type mapping variant names to their options\n*\n* @example\n* const styles = MochiCSS.from(new CSSObject({\n* color: 'blue',\n* variants: { size: { small: { fontSize: 12 }, large: { fontSize: 18 } } }\n* }))\n* styles.variant({ size: 'large' }) // Returns combined class names\n*/\nvar MochiCSS = class MochiCSS {\n\t$$typeof = MOCHI_CSS_TYPEOF;\n\t/**\n\t* Creates a new MochiCSS instance.\n\t* @param classNames - Base class names to always include\n\t* @param variantClassNames - Mapping of variant names to option class names\n\t* @param defaultVariants - Default variant selections when not specified\n\t*/\n\tconstructor(classNames, variantClassNames, defaultVariants) {\n\t\tthis.classNames = classNames;\n\t\tthis.variantClassNames = variantClassNames;\n\t\tthis.defaultVariants = defaultVariants;\n\t}\n\t/**\n\t* Computes the final className string based on variant selections.\n\t* Compound variants are handled purely via CSS combined selectors,\n\t* so no runtime matching is needed here.\n\t* @param props - Variant selections\n\t* @returns Combined className string for use in components\n\t*/\n\tvariant(props) {\n\t\tconst keys = new Set([...Object.keys(props), ...Object.keys(this.defaultVariants)].filter((k) => k in this.variantClassNames));\n\t\treturn clsx(this.classNames, ...keys.values().map((k) => {\n\t\t\tconst variantGroup = this.variantClassNames[k];\n\t\t\tif (!variantGroup) return false;\n\t\t\tconst variantKey = ((k in props ? props[k] : void 0) ?? this.defaultVariants[k])?.toString();\n\t\t\tif (variantKey == null) return false;\n\t\t\tconst selectedClassname = variantGroup[variantKey];\n\t\t\tif (selectedClassname !== void 0) return selectedClassname;\n\t\t\tconst defaultKey = this.defaultVariants[k];\n\t\t\tif (defaultKey == null) return false;\n\t\t\treturn variantGroup[defaultKey.toString()];\n\t\t}));\n\t}\n\t/**\n\t* Returns the CSS selector for this style (e.g. `.abc123`).\n\t* Useful for targeting this component from another style.\n\t*/\n\tget selector() {\n\t\treturn this.classNames.map((n) => `.${n}`).join();\n\t}\n\ttoString() {\n\t\treturn this.selector;\n\t}\n\t/**\n\t* Creates a MochiCSS instance from a CSSObject.\n\t* Extracts class names from the compiled CSS blocks.\n\t* @template V - The variant definitions type\n\t* @param object - The compiled CSSObject to extract from\n\t* @returns A new MochiCSS instance with the extracted class names\n\t*/\n\tstatic from(object) {\n\t\treturn new MochiCSS([object.mainBlock.className], Object.fromEntries(Object.entries(object.variantBlocks).map(([key, variantOptions]) => {\n\t\t\treturn [key, Object.fromEntries(Object.entries(variantOptions).map(([optionKey, block]) => {\n\t\t\t\treturn [optionKey, block.className];\n\t\t\t}))];\n\t\t})), object.variantDefaults);\n\t}\n};\n/**\n* Creates a CSS style definition.\n* The primary API for defining styles in Mochi-CSS.\n*\n* @template V - Tuple of variant definition types\n* @param props - One or more style objects or existing MochiCSS instances to merge\n* @returns A MochiCSS instance with all styles and variants combined\n*\n* @example\n* // Simple usage\n* const button = css({ padding: 8, borderRadius: 4 })\n*\n* @example\n* // With variants\n* const button = css({\n* padding: 8,\n* variants: {\n* size: {\n* small: { padding: 4 },\n* large: { padding: 16 }\n* }\n* },\n* defaultVariants: { size: 'small' }\n* })\n* button.variant({ size: 'large' }) // Get class names for large size\n*\n* @example\n* // Merging multiple styles\n* const combined = css(baseStyles, additionalStyles)\n*/\nconst emptyMochiCSS = new MochiCSS([], {}, {});\n/**\n* Merges multiple MochiCSS instances into a single one, combining their\n* class names, variant class names, and default variants.\n* @param instances - The MochiCSS instances to merge\n* @returns A new MochiCSS instance with all styles combined\n*/\nfunction mergeMochiCss(instances) {\n\tif (instances.length === 0) return emptyMochiCSS;\n\treturn new MochiCSS(instances.flatMap((c) => c.classNames), instances.reduce((a, b) => Object.assign(a, b.variantClassNames), {}), instances.reduce((a, b) => Object.assign(a, b.defaultVariants), {}));\n}\nfunction css(...props) {\n\tconst cssToMerge = [];\n\tfor (const p of props) {\n\t\tif (p == null) continue;\n\t\tif (typeof p === \"string\") {\n\t\t\tcssToMerge.push(new MochiCSS([p], {}, {}));\n\t\t\tcontinue;\n\t\t}\n\t\tif (typeof p !== \"object\") continue;\n\t\tif (p instanceof MochiCSS) cssToMerge.push(p);\n\t\telse cssToMerge.push(MochiCSS.from(new CSSObject(p)));\n\t}\n\treturn mergeMochiCss(cssToMerge);\n}\n\n//#endregion\n//#region src/keyframesObject.ts\nvar KeyframesObject = class KeyframesObject {\n\tname;\n\tbody;\n\tconstructor(stops) {\n\t\tthis.body = KeyframesObject.generateBody(stops);\n\t\tthis.name = \"kf\" + shortHash(this.body);\n\t}\n\tasCssString() {\n\t\treturn `@keyframes ${this.name} {\\n${this.body}\\n}`;\n\t}\n\tstatic generateBody(stops) {\n\t\treturn Object.entries(stops).toSorted(compareStringKey).map(([stopKey, props]) => {\n\t\t\tconst cssProps = cssFromProps(props);\n\t\t\treturn ` ${stopKey} {\\n${Object.entries(cssProps).toSorted(compareStringKey).map(([k, v]) => ` ${k}: ${v};`).join(\"\\n\")}\\n }`;\n\t\t}).join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/keyframes.ts\nvar MochiKeyframes = class MochiKeyframes {\n\tconstructor(name) {\n\t\tthis.name = name;\n\t}\n\ttoString() {\n\t\treturn this.name;\n\t}\n\tget value() {\n\t\treturn this.name;\n\t}\n\tstatic from(object) {\n\t\treturn new MochiKeyframes(object.name);\n\t}\n};\nfunction keyframes(stops) {\n\treturn MochiKeyframes.from(new KeyframesObject(stops));\n}\n\n//#endregion\n//#region src/globalCssObject.ts\n/**\n* CSS object model for global (non-scoped) styles.\n* Accepts a map of CSS selectors to style objects and serializes them\n* as plain CSS rules without class name scoping.\n*\n* @example\n* const obj = new GlobalCssObject({\n* body: { margin: 0 },\n* 'h1': { fontSize: 32 },\n* })\n* obj.asCssString() // \"body {\\n margin: 0;\\n}\\n\\nh1 {\\n font-size: 32px;\\n}\"\n*/\nvar GlobalCssObject = class {\n\trules;\n\tconstructor(styles) {\n\t\tthis.rules = Object.entries(styles).toSorted(compareStringKey).map(([selector, props]) => ({\n\t\t\tselector,\n\t\t\tsubBlocks: [...CssObjectSubBlock.fromProps(props)]\n\t\t}));\n\t}\n\tasCssString() {\n\t\treturn this.rules.flatMap(({ selector, subBlocks }) => subBlocks.map((b) => b.asCssString(selector))).join(\"\\n\\n\");\n\t}\n};\n\n//#endregion\n//#region src/globalCss.ts\n/**\n* Creates a global CSS definition.\n* Styles are not scoped to any class — they apply to all matching elements.\n*\n* @param styles - Map of CSS selectors to style objects\n*\n* @example\n* globalCss({\n* 'body': { margin: 0, padding: 0 },\n* '*, *::before, *::after': { boxSizing: 'border-box' },\n* })\n*/\nfunction globalCss(styles) {}\n\n//#endregion\n//#region src/query.ts\n/**\n* Wraps a condition in parentheses if not already wrapped.\n*/\nfunction wrapParens(condition) {\n\tconst trimmed = condition.trim();\n\tif (trimmed.startsWith(\"(\") && trimmed.endsWith(\")\")) return trimmed;\n\treturn `(${trimmed})`;\n}\nfunction mediaFn(condition) {\n\treturn `@media ${wrapParens(condition)}`;\n}\nmediaFn.and = function(...conditions) {\n\treturn `@media ${conditions.map(wrapParens).join(\" and \")}`;\n};\nmediaFn.or = function(...conditions) {\n\treturn `@media ${conditions.map(wrapParens).join(\", \")}`;\n};\nObject.defineProperties(mediaFn, {\n\tdark: {\n\t\tget: () => \"@media (prefers-color-scheme: dark)\",\n\t\tenumerable: true\n\t},\n\tlight: {\n\t\tget: () => \"@media (prefers-color-scheme: light)\",\n\t\tenumerable: true\n\t},\n\tmotion: {\n\t\tget: () => \"@media (prefers-reduced-motion: no-preference)\",\n\t\tenumerable: true\n\t},\n\tprint: {\n\t\tget: () => \"@media print\",\n\t\tenumerable: true\n\t}\n});\n/** Helper for constructing `@media` at-rule keys. */\nconst media = mediaFn;\nfunction containerFn(condition) {\n\treturn `@container ${wrapParens(condition)}`;\n}\ncontainerFn.named = function(name, condition) {\n\treturn `@container ${name} ${wrapParens(condition)}`;\n};\n/** Helper for constructing `@container` at-rule keys. */\nconst container = containerFn;\nfunction supportsFn(condition) {\n\treturn `@supports ${wrapParens(condition)}`;\n}\nsupportsFn.not = function(condition) {\n\treturn `@supports not ${wrapParens(condition)}`;\n};\nsupportsFn.and = function(...conditions) {\n\treturn `@supports ${conditions.map(wrapParens).join(\" and \")}`;\n};\nsupportsFn.or = function(...conditions) {\n\treturn `@supports ${conditions.map(wrapParens).join(\" or \")}`;\n};\n/** Helper for constructing `@supports` at-rule keys. */\nconst supports = supportsFn;\n\n//#endregion\nexport { Token as C, kebabToCamel as S, shortHash as _, GlobalCssObject as a, cssFromProps as b, KeyframesObject as c, isMochiCSS as d, mergeMochiCss as f, numberToBase62 as g, CssObjectSubBlock as h, globalCss as i, MochiCSS as l, CssObjectBlock as m, media as n, MochiKeyframes as o, CSSObject as p, supports as r, keyframes as s, container as t, css as u, MochiSelector as v, createToken as w, isAtRuleKey as x, camelToKebab as y };","/**\n * React styled component utilities.\n * Creates styled components with CSS-in-JS support and variant props.\n * @module styled\n */\n\nimport { ComponentProps, ComponentType, createElement, FC, HTMLElementType } from \"react\"\nimport { css, MochiCSS, AllVariants, MergeCSSVariants, MochiCSSProps, RefineVariants } from \"@mochi-css/vanilla\"\nimport clsx from \"clsx\"\n\n/** Props added by MochiCSS to styled components */\ntype MochiProps<V extends AllVariants[]> = {\n className?: string\n} & Partial<RefineVariants<MergeCSSVariants<V>>>\n\n/** Minimal interface for components that accept className */\ntype Cls = { className?: string }\n\n/** A styled component FC augmented with a CSS selector for component targeting */\nexport type MochiStyledComponent<T extends HTMLElementType | ComponentType<Cls>, V extends AllVariants[]> = FC<\n Omit<ComponentProps<T>, keyof MochiProps<V>> & MochiProps<V>\n> & {\n toString(): string\n selector: string\n}\n\n/**\n * Creates a styled React component with CSS-in-JS support and variant props.\n * Similar to styled-components or Stitches, but with zero runtime overhead.\n *\n * @template T - The base element type or component type\n * @template V - The variant definitions tuple type\n * @param target - The HTML element tag name or React component to style\n * @param props - One or more style objects with optional variants\n * @returns A React functional component with merged props and variant support\n *\n * @remarks\n * Variant props are automatically stripped and never forwarded to the underlying\n * element or component. This prevents unknown prop warnings on DOM elements.\n * If the inner component has a prop with the same\n * name as a variant, it will not receive that prop.\n *\n * @example\n * const Button = styled('button', {\n * padding: 8,\n * borderRadius: 4,\n * variants: {\n * size: {\n * small: { padding: 4 },\n * large: { padding: 16 }\n * },\n * variant: {\n * primary: { backgroundColor: 'blue' },\n * secondary: { backgroundColor: 'gray' }\n * }\n * }\n * })\n *\n * // Usage: <Button size=\"large\" variant=\"primary\">Click me</Button>\n */\nexport function styled<T extends HTMLElementType | ComponentType<Cls>, V extends AllVariants[]>(\n target: T,\n ...props: { [K in keyof V]: MochiCSSProps<V[K]> | MochiCSS<V[K]> | string }\n): MochiStyledComponent<T, V> {\n const styles = css<V>(...(props as Parameters<typeof css<V>>))\n const selector = styles.selector\n const variantKeys = new Set(Object.keys(styles.variantClassNames))\n return Object.assign(\n ({ className, ...p }: Omit<ComponentProps<T>, keyof MochiProps<V>> & MochiProps<V>) => {\n const variantProps: Record<string, unknown> = {}\n const restProps: Record<string, unknown> = {}\n for (const [k, v] of Object.entries(p)) {\n if (variantKeys.has(k)) variantProps[k] = v\n else restProps[k] = v\n }\n return createElement(target, {\n className: clsx(styles.variant(variantProps as Parameters<typeof styles.variant>[0]), className),\n ...restProps,\n })\n },\n { toString: () => selector, selector },\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,MAAM,gBAAgB;CACrB,WAAW;CACX,gBAAgB;CAChB,mBAAmB;CACnB,gBAAgB;CAChB,sBAAsB;CACtB,mBAAmB;CACnB,qBAAqB;CACrB,YAAY;CACZ,oBAAoB;CACpB,yBAAyB;CACzB,0BAA0B;CAC1B,qBAAqB;CACrB,qBAAqB;CACrB,gBAAgB;CAChB,eAAe;CACf,eAAe;CACf,WAAW;CACX,WAAW;CACX,eAAe;CACf,QAAQ;CACR,aAAa;CACb,iBAAiB;CACjB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,qBAAqB;CACrB,kBAAkB;CAClB,sBAAsB;CACtB,wBAAwB;CACxB,uBAAuB;CACvB,kBAAkB;CAClB,cAAc;CACd,kBAAkB;CAClB,wBAAwB;CACxB,oBAAoB;CACpB,yBAAyB;CACzB,mBAAmB;CACnB,YAAY;CACZ,oBAAoB;CACpB,sBAAsB;CACtB,aAAa;CACb,mBAAmB;CACnB,kBAAkB;CAClB,kBAAkB;CAClB,cAAc;CACd,kBAAkB;CAClB,iBAAiB;CACjB,qBAAqB;CACrB,uBAAuB;CACvB,sBAAsB;CACtB,mBAAmB;CACnB,uBAAuB;CACvB,yBAAyB;CACzB,wBAAwB;CACxB,mBAAmB;CACnB,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ACnB,WAAW;CACX,IAAI;CACJ,IAAI;CACJ,OAAO;CACP,cAAc;CACd,mBAAmB;CACnB,sBAAsB;CACtB,wBAAwB;CACxB,oBAAoB;CACpB,oBAAoB;CACpB,uBAAuB;CACvB,yBAAyB;CACzB,kBAAkB;CAClB,mBAAmB;CACnB,iBAAiB;CACjB,eAAe;CACf,oBAAoB;CACpB,uBAAuB;CACvB,yBAAyB;CACzB,qBAAqB;CACrB,qBAAqB;CACrB,wBAAwB;CACxB,0BAA0B;CAC1B,mBAAmB;CACnB,oBAAoB;CACpB,kBAAkB;CAClB,qBAAqB;CACrB,aAAa;CACb,cAAc;CACd,aAAa;CACb,iBAAiB;CACjB,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAClB,eAAe;CACf,gBAAgB;CAChB,YAAY;CACZ,aAAa;CACb,SAAS;CACT,gBAAgB;CAChB,qBAAqB;CACrB,yBAAyB;CACzB,YAAY;CACZ,YAAY;CACZ,gBAAgB;CAChB,qBAAqB;CACrB,iBAAiB;CACjB,gCAAgC;CAChC,mCAAmC;CACnC,qCAAqC;CACrC,4BAA4B;CAC5B,+BAA+B;CAC/B,iCAAiC;CACjC,KAAK;CACL,iBAAiB;CACjB,YAAY;CACZ,iBAAiB;CACjB,oBAAoB;CACpB,WAAW;CACX,eAAe;CACf,cAAc;CACd,mBAAmB;CACnB,eAAe;CACf,YAAY;CACZ,YAAY;CACZ,WAAW;CACX,OAAO;CACP,aAAa;CACb,GAAG;CACH,GAAG;CACH,MAAM;CACN;AAID,MAAM,qBAAqB,IAAI,IAAI;CAClC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,CAAC;;;;AAaF,SAAS,aAAa,KAAK;AAC1B,QAAO,IAAI,QAAQ,WAAW,MAAM,MAAM,EAAE,aAAa,CAAC;;AAE3D,SAAS,mBAAmB,cAAc;AACzC,QAAO,gBAAgB,gBAAgB,cAAc,gBAAgB,KAAK;;;;;;AAM3E,SAAS,YAAY,OAAO,cAAc,WAAW,IAAI;AACxD,KAAI,YAAY,EAAG,QAAO;AAC1B,KAAI,OAAO,UAAU,SAAU,QAAO;AACtC,KAAI,OAAO,UAAU,UAAU;EAC9B,MAAM,OAAO,mBAAmB,aAAa;AAC7C,MAAI,SAAS,IAAK,Q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