{
  "version": 3,
  "sources": ["../../core/src/default/defaultThemeMap.js", "../../core/src/utility/createMemo.js", "../../core/src/utility/internal.js", "../../core/src/utility/define.js", "../../core/src/utility/hasNames.js", "../../core/src/utility/hasOwn.js", "../../core/src/convert/toCamelCase.js", "../../core/src/convert/toHyphenCase.js", "../../core/src/convert/toPolyfilledValue.js", "../../core/src/convert/toResolvedMediaQueryRanges.js", "../../core/src/convert/toResolvedSelectors.js", "../../core/src/convert/toSizingValue.js", "../../core/src/convert/toTailDashed.js", "../../core/src/convert/toTokenizedValue.js", "../../core/src/convert/toCssRules.js", "../../core/src/convert/toHash.js", "../../core/src/sheet.js", "../../core/src/features/css.js", "../../core/src/features/globalCss.js", "../../core/src/features/keyframes.js", "../../core/src/ThemeToken.js", "../../core/src/features/createTheme.js", "../../core/src/createStitches.js", "../src/features/styled.js", "../src/createStitches.js", "../src/utility/getCachedConfig.js", "../src/index.js"],
  "sourcesContent": ["const borderStyles = 'borderStyles'\nconst borderWidths = 'borderWidths'\nconst colors = 'colors'\nconst fonts = 'fonts'\nconst fontSizes = 'fontSizes'\nconst fontWeights = 'fontWeights'\nconst letterSpacings = 'letterSpacings'\nconst lineHeights = 'lineHeights'\nconst radii = 'radii'\nconst shadows = 'shadows'\nconst sizes = 'sizes'\nconst space = 'space'\nconst transitions = 'transitions'\nconst zIndices = 'zIndices'\n\n/** @type {DefaultThemeMap} */\nexport const defaultThemeMap = {\n\tgap: space,\n\tgridGap: space,\n\tcolumnGap: space,\n\tgridColumnGap: space,\n\trowGap: space,\n\tgridRowGap: space,\n\tinset: space,\n\tinsetBlock: space,\n\tinsetBlockEnd: space,\n\tinsetBlockStart: space,\n\tinsetInline: space,\n\tinsetInlineEnd: space,\n\tinsetInlineStart: space,\n\tmargin: space,\n\tmarginTop: space,\n\tmarginRight: space,\n\tmarginBottom: space,\n\tmarginLeft: space,\n\tmarginBlock: space,\n\tmarginBlockEnd: space,\n\tmarginBlockStart: space,\n\tmarginInline: space,\n\tmarginInlineEnd: space,\n\tmarginInlineStart: space,\n\tpadding: space,\n\tpaddingTop: space,\n\tpaddingRight: space,\n\tpaddingBottom: space,\n\tpaddingLeft: space,\n\tpaddingBlock: space,\n\tpaddingBlockEnd: space,\n\tpaddingBlockStart: space,\n\tpaddingInline: space,\n\tpaddingInlineEnd: space,\n\tpaddingInlineStart: space,\n\ttop: space,\n\tright: space,\n\tbottom: space,\n\tleft: space,\n\tscrollMargin: space,\n\tscrollMarginTop: space,\n\tscrollMarginRight: space,\n\tscrollMarginBottom: space,\n\tscrollMarginLeft: space,\n\tscrollMarginX: space,\n\tscrollMarginY: space,\n\tscrollMarginBlock: space,\n\tscrollMarginBlockEnd: space,\n\tscrollMarginBlockStart: space,\n\tscrollMarginInline: space,\n\tscrollMarginInlineEnd: space,\n\tscrollMarginInlineStart: space,\n\tscrollPadding: space,\n\tscrollPaddingTop: space,\n\tscrollPaddingRight: space,\n\tscrollPaddingBottom: space,\n\tscrollPaddingLeft: space,\n\tscrollPaddingX: space,\n\tscrollPaddingY: space,\n\tscrollPaddingBlock: space,\n\tscrollPaddingBlockEnd: space,\n\tscrollPaddingBlockStart: space,\n\tscrollPaddingInline: space,\n\tscrollPaddingInlineEnd: space,\n\tscrollPaddingInlineStart: space,\n\n\tfontSize: fontSizes,\n\n\tbackground: colors,\n\tbackgroundColor: colors,\n\tbackgroundImage: colors,\n\tborderImage: colors,\n\tborder: colors,\n\tborderBlock: colors,\n\tborderBlockEnd: colors,\n\tborderBlockStart: colors,\n\tborderBottom: colors,\n\tborderBottomColor: colors,\n\tborderColor: colors,\n\tborderInline: colors,\n\tborderInlineEnd: colors,\n\tborderInlineStart: colors,\n\tborderLeft: colors,\n\tborderLeftColor: colors,\n\tborderRight: colors,\n\tborderRightColor: colors,\n\tborderTop: colors,\n\tborderTopColor: colors,\n\tcaretColor: colors,\n\tcolor: colors,\n\tcolumnRuleColor: colors,\n\tfill: colors,\n\toutline: colors,\n\toutlineColor: colors,\n\tstroke: colors,\n\ttextDecorationColor: colors,\n\n\tfontFamily: fonts,\n\n\tfontWeight: fontWeights,\n\n\tlineHeight: lineHeights,\n\n\tletterSpacing: letterSpacings,\n\n\tblockSize: sizes,\n\tminBlockSize: sizes,\n\tmaxBlockSize: sizes,\n\tinlineSize: sizes,\n\tminInlineSize: sizes,\n\tmaxInlineSize: sizes,\n\twidth: sizes,\n\tminWidth: sizes,\n\tmaxWidth: sizes,\n\theight: sizes,\n\tminHeight: sizes,\n\tmaxHeight: sizes,\n\tflexBasis: sizes,\n\tgridTemplateColumns: sizes,\n\tgridTemplateRows: sizes,\n\n\tborderWidth: borderWidths,\n\tborderTopWidth: borderWidths,\n\tborderRightWidth: borderWidths,\n\tborderBottomWidth: borderWidths,\n\tborderLeftWidth: borderWidths,\n\n\tborderStyle: borderStyles,\n\tborderTopStyle: borderStyles,\n\tborderRightStyle: borderStyles,\n\tborderBottomStyle: borderStyles,\n\tborderLeftStyle: borderStyles,\n\n\tborderRadius: radii,\n\tborderTopLeftRadius: radii,\n\tborderTopRightRadius: radii,\n\tborderBottomRightRadius: radii,\n\tborderBottomLeftRadius: radii,\n\n\tboxShadow: shadows,\n\ttextShadow: shadows,\n\n\ttransition: transitions,\n\n\tzIndex: zIndices,\n}\n\n/**\n * @typedef {Object} DefaultThemeMap\n * @property {space} gap\n * @property {space} gridGap\n * @property {space} columnGap\n * @property {space} gridColumnGap\n * @property {space} rowGap\n * @property {space} gridRowGap\n * @property {space} inset\n * @property {space} insetBlock\n * @property {space} insetBlockEnd\n * @property {space} insetBlockStart\n * @property {space} insetInline\n * @property {space} insetInlineEnd\n * @property {space} insetInlineStart\n * @property {space} margin\n * @property {space} marginTop\n * @property {space} marginRight\n * @property {space} marginBottom\n * @property {space} marginLeft\n * @property {space} marginBlock\n * @property {space} marginBlockEnd\n * @property {space} marginBlockStart\n * @property {space} marginInline\n * @property {space} marginInlineEnd\n * @property {space} marginInlineStart\n * @property {space} padding\n * @property {space} paddingTop\n * @property {space} paddingRight\n * @property {space} paddingBottom\n * @property {space} paddingLeft\n * @property {space} paddingBlock\n * @property {space} paddingBlockEnd\n * @property {space} paddingBlockStart\n * @property {space} paddingInline\n * @property {space} paddingInlineEnd\n * @property {space} paddingInlineStart\n * @property {space} top\n * @property {space} right\n * @property {space} bottom\n * @property {space} left\n * @property {space} scrollMargin\n * @property {space} scrollMarginTop\n * @property {space} scrollMarginRight\n * @property {space} scrollMarginBottom\n * @property {space} scrollMarginLeft\n * @property {space} scrollMarginX\n * @property {space} scrollMarginY\n * @property {space} scrollMarginBlock\n * @property {space} scrollMarginBlockEnd\n * @property {space} scrollMarginBlockStart\n * @property {space} scrollMarginInline\n * @property {space} scrollMarginInlineEnd\n * @property {space} scrollMarginInlineStart\n * @property {space} scrollPadding\n * @property {space} scrollPaddingTop\n * @property {space} scrollPaddingRight\n * @property {space} scrollPaddingBottom\n * @property {space} scrollPaddingLeft\n * @property {space} scrollPaddingX\n * @property {space} scrollPaddingY\n * @property {space} scrollPaddingBlock\n * @property {space} scrollPaddingBlockEnd\n * @property {space} scrollPaddingBlockStart\n * @property {space} scrollPaddingInline\n * @property {space} scrollPaddingInlineEnd\n * @property {space} scrollPaddingInlineStart\n\n * @property {fontSizes} fontSize\n\n * @property {colors} background\n * @property {colors} backgroundColor\n * @property {colors} backgroundImage\n * @property {colors} border\n * @property {colors} borderBlock\n * @property {colors} borderBlockEnd\n * @property {colors} borderBlockStart\n * @property {colors} borderBottom\n * @property {colors} borderBottomColor\n * @property {colors} borderColor\n * @property {colors} borderInline\n * @property {colors} borderInlineEnd\n * @property {colors} borderInlineStart\n * @property {colors} borderLeft\n * @property {colors} borderLeftColor\n * @property {colors} borderRight\n * @property {colors} borderRightColor\n * @property {colors} borderTop\n * @property {colors} borderTopColor\n * @property {colors} caretColor\n * @property {colors} color\n * @property {colors} columnRuleColor\n * @property {colors} fill\n * @property {colors} outline\n * @property {colors} outlineColor\n * @property {colors} stroke\n * @property {colors} textDecorationColor\n\n * @property {fonts} fontFamily\n\n * @property {fontWeights} fontWeight\n\n * @property {lineHeights} lineHeight\n\n * @property {letterSpacings} letterSpacing\n\n * @property {sizes} blockSize\n * @property {sizes} minBlockSize\n * @property {sizes} maxBlockSize\n * @property {sizes} inlineSize\n * @property {sizes} minInlineSize\n * @property {sizes} maxInlineSize\n * @property {sizes} width\n * @property {sizes} minWidth\n * @property {sizes} maxWidth\n * @property {sizes} height\n * @property {sizes} minHeight\n * @property {sizes} maxHeight\n * @property {sizes} flexBasis\n * @property {sizes} gridTemplateColumns\n * @property {sizes} gridTemplateRows\n\n * @property {borderWidths} borderWidth\n * @property {borderWidths} borderTopWidth\n * @property {borderWidths} borderRightWidth\n * @property {borderWidths} borderBottomWidth\n * @property {borderWidths} borderLeftWidth\n\n * @property {borderStyles} borderStyle\n * @property {borderStyles} borderTopStyle\n * @property {borderStyles} borderRightStyle\n * @property {borderStyles} borderBottomStyle\n * @property {borderStyles} borderLeftStyle\n\n * @property {radii} borderRadius\n * @property {radii} borderTopLeftRadius\n * @property {radii} borderTopRightRadius\n * @property {radii} borderBottomRightRadius\n * @property {radii} borderBottomLeftRadius\n\n * @property {shadows} boxShadow\n * @property {shadows} textShadow\n\n * @property {transitions} transition\n\n * @property {zIndices} zIndex\n */\n", "const stringifyReplacer = (name, data) => (typeof data === 'function' ? { '()': Function.prototype.toString.call(data) } : data)\n\nconst stringify = (value) => JSON.stringify(value, stringifyReplacer)\n\n/** @type {() => <T = any, A = any[], F = (T, ...A) => any>(value: T, apply: F, ...args: A) => ReturnType<F>} */\nexport const createMemo = () => {\n\tconst cache = Object.create(null)\n\n\treturn (value, apply, ...args) => {\n\t\tconst vjson = stringify(value)\n\n\t\treturn vjson in cache ? cache[vjson] : (cache[vjson] = apply(value, ...args))\n\t}\n}\n", "export const internal = Symbol.for('sxs.internal')\n", "/** @type {<T>(target: T, source: any) => T} */\nexport const define = (target, source) => Object.defineProperties(target, Object.getOwnPropertyDescriptors(source))\n", "export const hasNames = (target) => {\n\tfor (const name in target) return true\n\treturn false\n}\n", "const { hasOwnProperty } = Object.prototype\n\n/** @type {<T extends object = { [key: string]: any }, K extends string = string>(target: T, key: K) => K extends keyof T ? true : false} */\nexport const hasOwn = (target, key) => hasOwnProperty.call(target, key)\n", "/** Returns the given value converted to camel-case. */\nexport const toCamelCase = (/** @type {string} */ value) => (!/[A-Z]/.test(value) ? value.replace(/-[^]/g, (capital) => capital[1].toUpperCase()) : value)\n", "/** Returns the given value converted to kebab-case. */\nexport const toHyphenCase = (/** @type {string} */ value) => (\n\t// ignore kebab-like values\n\tvalue.includes('-')\n\t\t? value\n\t// replace any upper-case letter with a dash and the lower-case variant\n\t: value.replace(/[A-Z]/g, (capital) => '-' + capital.toLowerCase())\n)\n", "const splitBySpace = /\\s+(?![^()]*\\))/\nconst split = (fn) => (data) => fn(...(typeof data === 'string' ? String(data).split(splitBySpace) : [data]))\n\nexport const toPolyfilledValue = {\n\t// prefixed properties\n\tappearance: (d) => ({ WebkitAppearance: d, appearance: d }),\n\tbackfaceVisibility: (d) => ({ WebkitBackfaceVisibility: d, backfaceVisibility: d }),\n\tbackdropFilter: (d) => ({ WebkitBackdropFilter: d, backdropFilter: d }),\n\tbackgroundClip: (d) => ({ WebkitBackgroundClip: d, backgroundClip: d }),\n\tboxDecorationBreak: (d) => ({ WebkitBoxDecorationBreak: d, boxDecorationBreak: d }),\n\tclipPath: (d) => ({ WebkitClipPath: d, clipPath: d }),\n\tcontent: (d) => ({ content: d.includes('\"') || d.includes(\"'\") || /^([A-Za-z]+\\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(d) ? d : `\"${d}\"` }),\n\thyphens: (d) => ({ WebkitHyphens: d, hyphens: d }),\n\tmaskImage: (d) => ({ WebkitMaskImage: d, maskImage: d }),\n\tmaskSize: (d) => ({ WebkitMaskSize: d, maskSize: d }),\n\ttabSize: (d) => ({ MozTabSize: d, tabSize: d }),\n\ttextSizeAdjust: (d) => ({ WebkitTextSizeAdjust: d, textSizeAdjust: d }),\n\tuserSelect: (d) => ({ WebkitUserSelect: d, userSelect: d }),\n\n\t// logical properties\n\tmarginBlock: split((s, e) => ({ marginBlockStart: s, marginBlockEnd: e || s })),\n\tmarginInline: split((s, e) => ({ marginInlineStart: s, marginInlineEnd: e || s })),\n\tmaxSize: split((b, i) => ({ maxBlockSize: b, maxInlineSize: i || b })),\n\tminSize: split((b, i) => ({ minBlockSize: b, minInlineSize: i || b })),\n\tpaddingBlock: split((s, e) => ({ paddingBlockStart: s, paddingBlockEnd: e || s })),\n\tpaddingInline: split((s, e) => ({ paddingInlineStart: s, paddingInlineEnd: e || s })),\n}\n", "const mqunit = /([\\d.]+)([^]*)/\n\n/** Returns a media query with polyfilled ranges. */\nexport const toResolvedMediaQueryRanges = (\n\t/** @type {string} */\n\tmedia\n) => media.replace(\n\t/\\(\\s*([\\w-]+)\\s*(=|<|<=|>|>=)\\s*([\\w-]+)\\s*(?:(<|<=|>|>=)\\s*([\\w-]+)\\s*)?\\)/g,\n\t(\n\t\t__,\n\t\t/** @type {string} 1st param, either the name or value in the query. */\n\t\tp1,\n\t\t/** @type {string} 1st operator. */\n\t\to1,\n\t\t/** @type {string} 2nd param, either the name or value in the query. */\n\t\tp2,\n\t\t/** @type {string} Optional 2nd operator. */\n\t\to2,\n\t\t/** @type {string} Optional 3rd param, always a value in the query.*/\n\t\tp3\n\t) => {\n\t\t/** Whether the first param is a value. */\n\t\tconst isP1Value = mqunit.test(p1)\n\n\t\t/** Numeric shift applied to a value when an operator is `<` or `>`. */\n\t\tconst shift = 0.0625 * (isP1Value ? -1 : 1)\n\n\t\tconst [name, value] = isP1Value ? [p2, p1] : [p1, p2]\n\n\t\treturn (\n\t\t\t'(' +\n\t\t\t\t(\n\t\t\t\t\to1[0] === '=' ? '' : (o1[0] === '>' === isP1Value ? 'max-' : 'min-')\n\t\t\t\t) + name + ':' +\n\t\t\t\t(o1[0] !== '=' && o1.length === 1 ? value.replace(mqunit, (_, v, u) => Number(v) + shift * (o1 === '>' ? 1 : -1) + u) : value) +\n\t\t\t\t(\n\t\t\t\t\to2\n\t\t\t\t\t\t? ') and (' + (\n\t\t\t\t\t\t\t(o2[0] === '>' ? 'min-' : 'max-') + name + ':' +\n\t\t\t\t\t\t\t(o2.length === 1 ? p3.replace(mqunit, (_, v, u) => Number(v) + shift * (o2 === '>' ? -1 : 1) + u) : p3)\n\t\t\t\t\t\t)\n\t\t\t\t\t: ''\n\t\t\t\t) +\n\t\t\t')'\n\t\t)\n\t}\n)\n", "/** Returns selectors resolved from parent selectors and nested selectors. */\nexport const toResolvedSelectors = (\n\t/** @type {string[]} Parent selectors (e.g. `[\"a\", \"button\"]`). */\n\tparentSelectors,\n\t/** @type {string[]} Nested selectors (e.g. `[\"&:hover\", \"&:focus\"]`). */\n\tnestedSelectors,\n) => (\n\tparentSelectors.length\n\t\t? parentSelectors.reduce(\n\t\t\t(resolvedSelectors, parentSelector) => {\n\t\t\t\tresolvedSelectors.push(\n\t\t\t\t\t...nestedSelectors.map(\n\t\t\t\t\t\t(selector) => (\n\t\t\t\t\t\t\tselector.includes('&') ? selector.replace(\n\t\t\t\t\t\t\t\t/&/g,\n\t\t\t\t\t\t\t\t/[ +>|~]/.test(parentSelector) && /&.*&/.test(selector)\n\t\t\t\t\t\t\t\t\t? `:is(${parentSelector})`\n\t\t\t\t\t\t\t\t: parentSelector\n\t\t\t\t\t\t\t) : parentSelector + ' ' + selector\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\n\t\t\t\treturn resolvedSelectors\n\t\t\t},\n\t\t\t[]\n\t\t)\n\t: nestedSelectors\n)\n", "import { toHyphenCase } from './toHyphenCase.js'\n\n/** Returns a declaration sizing value with polyfilled sizing keywords. */\nexport const toSizingValue = (/** @type {string} */ declarationName, /** @type {string} */ declarationValue) => (\n\tdeclarationName in sizeProps && typeof declarationValue === 'string'\n\t\t? declarationValue.replace(\n\t\t\t/^((?:[^]*[^\\w-])?)(fit-content|stretch)((?:[^\\w-][^]*)?)$/,\n\t\t\t(data, lead, main, tail) => (\n\t\t\t\tlead + (\n\t\t\t\t\tmain === 'stretch'\n\t\t\t\t\t\t? `-moz-available${tail};${toHyphenCase(declarationName)}:${lead}-webkit-fill-available`\n\t\t\t\t\t: `-moz-fit-content${tail};${toHyphenCase(declarationName)}:${lead}fit-content`\n\t\t\t\t) + tail\n\t\t\t),\n\t\t)\n\t: String(declarationValue)\n)\n\n/** CSS Properties whose value include a sizing keyword. */\nconst sizeProps = {\n\tblockSize: 1,\n\theight: 1,\n\tinlineSize: 1,\n\tmaxBlockSize: 1,\n\tmaxHeight: 1,\n\tmaxInlineSize: 1,\n\tmaxWidth: 1,\n\tminBlockSize: 1,\n\tminHeight: 1,\n\tminInlineSize: 1,\n\tminWidth: 1,\n\twidth: 1,\n}\n", "/** Returns a filled value with a dash prefix. */\nexport const toTailDashed = (/** @type {string} */ value) => value ? value + '-' : ''\n", "import { toTailDashed } from './toTailDashed.js'\n\n/** Returns a declaration value with transformed token values. */\nexport const toTokenizedValue = (\n\t/** @type {string} */\n\tvalue,\n\t/** @type {string} */\n\tprefix,\n\t/** @type {string} */\n\tscale,\n) => value.replace(\n\t/([+-])?((?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[Ee][+-]?\\d+)?)?(\\$|--)([$\\w-]+)/g,\n\t($0, direction, multiplier, separator, token) => (\n\t\tseparator == \"$\" == !!multiplier\n\t\t\t? $0\n\t\t: (\n\t\t\tdirection || separator == '--'\n\t\t\t\t? 'calc('\n\t\t\t: ''\n\t\t) + (\n\t\t\t'var(--' + (\n\t\t\t\tseparator === '$'\n\t\t\t\t\t? toTailDashed(prefix) + (\n\t\t\t\t\t\t!token.includes('$')\n\t\t\t\t\t\t\t? toTailDashed(scale)\n\t\t\t\t\t\t: ''\n\t\t\t\t\t) + token.replace(/\\$/g, '-')\n\t\t\t\t: token\n\t\t\t) + ')' + (\n\t\t\t\tdirection || separator == '--'\n\t\t\t\t\t? '*' + (\n\t\t\t\t\t\tdirection || ''\n\t\t\t\t\t) + (\n\t\t\t\t\t\tmultiplier || '1'\n\t\t\t\t\t) + ')'\n\t\t\t\t: ''\n\t\t\t)\n\t\t)\n\t),\n)\n", "import { toCamelCase } from './toCamelCase.js'\nimport { toHyphenCase } from './toHyphenCase.js'\nimport { toPolyfilledValue } from './toPolyfilledValue.js'\nimport { toResolvedMediaQueryRanges } from './toResolvedMediaQueryRanges.js'\nimport { toResolvedSelectors } from './toResolvedSelectors.js'\nimport { toSizingValue } from './toSizingValue.js'\nimport { toTailDashed } from './toTailDashed.js'\nimport { toTokenizedValue } from './toTokenizedValue.js'\n\n/** @typedef {import('../createStitches.js').Config} Config */\n/** @typedef {import('../createStitches.js').Style} Style */\n\n/** Comma matcher outside rounded brackets. */\nconst comma = /\\s*,\\s*(?![^()]*\\))/\n\n/** Default toString method of Objects. */\nconst toStringOfObject = Object.prototype.toString\n\nexport const toCssRules = (\n\t/** @type {Style} */ style,\n\t/** @type {string[]} */ selectors,\n\t/** @type {string[]} */ conditions,\n\t/** @type {Config} */ config,\n\t/** @type {(cssText: string) => any} */ onCssText\n) => {\n\t/** @type {[string[], string[], string[]]} CSSOM-compatible rule being created. */\n\tlet currentRule = undefined\n\n\t/** Last utility that was used, cached to prevent recursion. */\n\tlet lastUtil\n\n\t/** Last polyfill that was used, cached to prevent recursion. */\n\tlet lastPoly\n\n\t/** Walks CSS styles and converts them into CSSOM-compatible rules. */\n\tconst walk = (\n\t\t/** @type {Style} Set of CSS styles */ style,\n\t\t/** @type {string[]} Selectors that define the elements to which a set of CSS styles apply. */ selectors,\n\t\t/** @type {string[]} Conditions that define the queries to which a set of CSS styles apply. */ conditions,\n\t) => {\n\t\t/** @type {keyof style} Represents the left-side \"name\" for the property (the at-rule prelude, style-rule selector, or declaration name). */\n\t\tlet name\n\n\t\t/** @type {style[keyof style]} Represents the right-side \"data\" for the property (the rule block, or declaration value). */\n\t\tlet data\n\n\t\tconst each = (style) => {\n\t\t\tfor (name in style) {\n\t\t\t\t/** Whether the current name represents an at-rule. */\n\t\t\t\tconst isAtRuleLike = name.charCodeAt(0) === 64\n\n\t\t\t\tconst datas = isAtRuleLike && Array.isArray(style[name]) ? style[name] : [style[name]]\n\n\t\t\t\tfor (data of datas) {\n\t\t\t\t\tconst camelName = toCamelCase(name)\n\t\t\t\t\t\n\t\t\t\t\t/** Whether the current data represents a nesting rule, which is a plain object whose key is not already a util. */\n\t\t\t\t\tconst isRuleLike = typeof data === 'object' && data && data.toString === toStringOfObject && (!config.utils[camelName] || !selectors.length)\n\n\t\t\t\t\t// if the left-hand \"name\" matches a configured utility\n\t\t\t\t\t// conditionally transform the current data using the configured utility\n\t\t\t\t\tif (camelName in config.utils && !isRuleLike) {\n\t\t\t\t\t\tconst util = config.utils[camelName]\n\n\t\t\t\t\t\tif (util !== lastUtil) {\n\t\t\t\t\t\t\tlastUtil = util\n\n\t\t\t\t\t\t\teach(util(data))\n\n\t\t\t\t\t\t\tlastUtil = null\n\n\t\t\t\t\t\t\tcontinue\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t// otherwise, if the left-hand \"name\" matches a configured polyfill\n\t\t\t\t\t// conditionally transform the current data using the polyfill\n\t\t\t\t\telse if (camelName in toPolyfilledValue) {\n\t\t\t\t\t\tconst poly = toPolyfilledValue[camelName]\n\n\t\t\t\t\t\tif (poly !== lastPoly) {\n\t\t\t\t\t\t\tlastPoly = poly\n\n\t\t\t\t\t\t\teach(poly(data))\n\n\t\t\t\t\t\t\tlastPoly = null\n\n\t\t\t\t\t\t\tcontinue\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// if the left-hand \"name\" matches a configured at-rule\n\t\t\t\t\tif (isAtRuleLike) {\n\t\t\t\t\t\t// transform the current name with the configured media at-rule prelude\n\t\t\t\t\t\tname = toResolvedMediaQueryRanges(name.slice(1) in config.media ? '@media ' + config.media[name.slice(1)] : name)\n\t\t\t\t\t}\n\n\t\t\t\t\tif (isRuleLike) {\n\t\t\t\t\t\t/** Next conditions, which may include one new condition (if this is an at-rule). */\n\t\t\t\t\t\tconst nextConditions = isAtRuleLike ? conditions.concat(name) : [...conditions]\n\n\t\t\t\t\t\t/** Next selectors, which may include one new selector (if this is not an at-rule). */\n\t\t\t\t\t\tconst nextSelections = isAtRuleLike ? [...selectors] : toResolvedSelectors(selectors, name.split(comma))\n\n\t\t\t\t\t\tif (currentRule !== undefined) {\n\t\t\t\t\t\t\tonCssText(toCssString(...currentRule))\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcurrentRule = undefined\n\n\t\t\t\t\t\twalk(data, nextSelections, nextConditions)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (currentRule === undefined) currentRule = [[], selectors, conditions]\n\n\t\t\t\t\t\t/** CSS left-hand side value, which may be a specially-formatted custom property. */\n\t\t\t\t\t\tname = !isAtRuleLike && name.charCodeAt(0) === 36 ? `--${toTailDashed(config.prefix)}${name.slice(1).replace(/\\$/g, '-')}` : name\n\n\t\t\t\t\t\t/** CSS right-hand side value, which may be a specially-formatted custom property. */\n\t\t\t\t\t\tdata = (\n\t\t\t\t\t\t\t// preserve object-like data\n\t\t\t\t\t\t\tisRuleLike ? data\n\t\t\t\t\t\t\t// replace specially-marked numeric property values with pixel versions\n\t\t\t\t\t\t\t: typeof data === 'number'\n\t\t\t\t\t\t\t\t? data && camelName in unitProps\n\t\t\t\t\t\t\t\t\t? String(data) + 'px'\n\t\t\t\t\t\t\t\t: String(data)\n\t\t\t\t\t\t\t// replace tokens with stringified primitive values\n\t\t\t\t\t\t\t: toTokenizedValue(\n\t\t\t\t\t\t\t\ttoSizingValue(camelName, data == null ? '' : data),\n\t\t\t\t\t\t\t\tconfig.prefix,\n\t\t\t\t\t\t\t\tconfig.themeMap[camelName]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\n\t\t\t\t\t\tcurrentRule[0].push(`${isAtRuleLike ? `${name} ` : `${toHyphenCase(name)}:`}${data}`)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\teach(style)\n\n\t\tif (currentRule !== undefined) {\n\t\t\tonCssText(toCssString(...currentRule))\n\t\t}\n\t\tcurrentRule = undefined\n\t}\n\n\twalk(style, selectors, conditions)\n}\n\nconst toCssString = (/** @type {string[]} */ declarations, /** @type {string[]} */ selectors, /** @type {string[]} */ conditions) => (\n\t`${conditions.map((condition) => `${condition}{`).join('')}${selectors.length ? `${selectors.join(',')}{` : ''}${declarations.join(';')}${selectors.length ? `}` : ''}${Array(conditions.length ? conditions.length + 1 : 0).join('}')}`\n)\n\n/** CSS Properties whose number value may safely be interpretted as a pixel. */\nexport const unitProps = {\n\tanimationDelay: 1,\n\tanimationDuration: 1,\n\tbackgroundSize: 1,\n\tblockSize: 1,\n\tborder: 1,\n\tborderBlock: 1,\n\tborderBlockEnd: 1,\n\tborderBlockEndWidth: 1,\n\tborderBlockStart: 1,\n\tborderBlockStartWidth: 1,\n\tborderBlockWidth: 1,\n\tborderBottom: 1,\n\tborderBottomLeftRadius: 1,\n\tborderBottomRightRadius: 1,\n\tborderBottomWidth: 1,\n\tborderEndEndRadius: 1,\n\tborderEndStartRadius: 1,\n\tborderInlineEnd: 1,\n\tborderInlineEndWidth: 1,\n\tborderInlineStart: 1,\n\tborderInlineStartWidth: 1,\n\tborderInlineWidth: 1,\n\tborderLeft: 1,\n\tborderLeftWidth: 1,\n\tborderRadius: 1,\n\tborderRight: 1,\n\tborderRightWidth: 1,\n\tborderSpacing: 1,\n\tborderStartEndRadius: 1,\n\tborderStartStartRadius: 1,\n\tborderTop: 1,\n\tborderTopLeftRadius: 1,\n\tborderTopRightRadius: 1,\n\tborderTopWidth: 1,\n\tborderWidth: 1,\n\tbottom: 1,\n\tcolumnGap: 1,\n\tcolumnRule: 1,\n\tcolumnRuleWidth: 1,\n\tcolumnWidth: 1,\n\tcontainIntrinsicSize: 1,\n\tflexBasis: 1,\n\tfontSize: 1,\n\tgap: 1,\n\tgridAutoColumns: 1,\n\tgridAutoRows: 1,\n\tgridTemplateColumns: 1,\n\tgridTemplateRows: 1,\n\theight: 1,\n\tinlineSize: 1,\n\tinset: 1,\n\tinsetBlock: 1,\n\tinsetBlockEnd: 1,\n\tinsetBlockStart: 1,\n\tinsetInline: 1,\n\tinsetInlineEnd: 1,\n\tinsetInlineStart: 1,\n\tleft: 1,\n\tletterSpacing: 1,\n\tmargin: 1,\n\tmarginBlock: 1,\n\tmarginBlockEnd: 1,\n\tmarginBlockStart: 1,\n\tmarginBottom: 1,\n\tmarginInline: 1,\n\tmarginInlineEnd: 1,\n\tmarginInlineStart: 1,\n\tmarginLeft: 1,\n\tmarginRight: 1,\n\tmarginTop: 1,\n\tmaxBlockSize: 1,\n\tmaxHeight: 1,\n\tmaxInlineSize: 1,\n\tmaxWidth: 1,\n\tminBlockSize: 1,\n\tminHeight: 1,\n\tminInlineSize: 1,\n\tminWidth: 1,\n\toffsetDistance: 1,\n\toffsetRotate: 1,\n\toutline: 1,\n\toutlineOffset: 1,\n\toutlineWidth: 1,\n\toverflowClipMargin: 1,\n\tpadding: 1,\n\tpaddingBlock: 1,\n\tpaddingBlockEnd: 1,\n\tpaddingBlockStart: 1,\n\tpaddingBottom: 1,\n\tpaddingInline: 1,\n\tpaddingInlineEnd: 1,\n\tpaddingInlineStart: 1,\n\tpaddingLeft: 1,\n\tpaddingRight: 1,\n\tpaddingTop: 1,\n\tperspective: 1,\n\tright: 1,\n\trowGap: 1,\n\tscrollMargin: 1,\n\tscrollMarginBlock: 1,\n\tscrollMarginBlockEnd: 1,\n\tscrollMarginBlockStart: 1,\n\tscrollMarginBottom: 1,\n\tscrollMarginInline: 1,\n\tscrollMarginInlineEnd: 1,\n\tscrollMarginInlineStart: 1,\n\tscrollMarginLeft: 1,\n\tscrollMarginRight: 1,\n\tscrollMarginTop: 1,\n\tscrollPadding: 1,\n\tscrollPaddingBlock: 1,\n\tscrollPaddingBlockEnd: 1,\n\tscrollPaddingBlockStart: 1,\n\tscrollPaddingBottom: 1,\n\tscrollPaddingInline: 1,\n\tscrollPaddingInlineEnd: 1,\n\tscrollPaddingInlineStart: 1,\n\tscrollPaddingLeft: 1,\n\tscrollPaddingRight: 1,\n\tscrollPaddingTop: 1,\n\tshapeMargin: 1,\n\ttextDecoration: 1,\n\ttextDecorationThickness: 1,\n\ttextIndent: 1,\n\ttextUnderlineOffset: 1,\n\ttop: 1,\n\ttransitionDelay: 1,\n\ttransitionDuration: 1,\n\tverticalAlign: 1,\n\twidth: 1,\n\twordSpacing: 1,\n}\n", "const toAlphabeticChar = (/** @type {number} */ code) => String.fromCharCode(code + (code > 25 ? 39 : 97))\n\nconst toAlphabeticName = (/** @type {number} */ code) => {\n\tlet name = ''\n\tlet x\n\n\tfor (x = Math.abs(code); x > 52; x = (x / 52) | 0) name = toAlphabeticChar(x % 52) + name\n\n\treturn toAlphabeticChar(x % 52) + name\n}\n\nconst toPhash = (/** @type {number} */ h, /** @type {string} */ x) => {\n\tlet i = x.length\n\twhile (i) h = (h * 33) ^ x.charCodeAt(--i)\n\treturn h\n}\n\nexport const toHash = (/** @type {object} */ value) => toAlphabeticName(\n\ttoPhash(\n\t\t5381,\n\t\tJSON.stringify(value)\n\t) >>> 0\n)\n", "/** @typedef {import('./sheet').RuleGroup} RuleGroup */\n/** @typedef {import('./sheet').RuleGroupNames} RuleGroupNames */\n/** @typedef {import('./sheet').SheetGroup} SheetGroup */\n\n/**\n * Rules in the sheet appear in this order:\n * 1. theme rules (themed)\n * 2. global rules (global)\n * 3. component rules (styled)\n * 4. non-responsive variants rules (onevar)\n * 5. responsive variants rules (resonevar)\n * 6. compound variants rules (allvar)\n * 7. inline rules (inline)\n */\n/** @type {RuleGroupNames} */\nexport const names = ['themed', 'global', 'styled', 'onevar', 'resonevar', 'allvar', 'inline']\n\nconst isSheetAccessible = (/** @type {CSSStyleSheet} */ sheet) => {\n\tif (sheet.href && !sheet.href.startsWith(location.origin)) {\n\t\treturn false\n\t}\n\n\ttry {\n\t\treturn !!sheet.cssRules\n\t} catch (e) {\n\t\treturn false\n\t}\n}\n\nexport const createSheet = (/** @type {DocumentOrShadowRoot} */ root) => {\n\t/** @type {SheetGroup} Object hosting the hydrated stylesheet. */\n\tlet groupSheet\n\n\tconst toString = () => {\n\t\tconst { cssRules } = groupSheet.sheet\n\t\treturn [].map\n\t\t\t.call(cssRules, (cssRule, cssRuleIndex) => {\n\t\t\t\tconst { cssText } = cssRule\n\n\t\t\t\tlet lastRuleCssText = ''\n\n\t\t\t\tif (cssText.startsWith('--sxs')) return ''\n\n\t\t\t\tif (cssRules[cssRuleIndex - 1] && (lastRuleCssText = cssRules[cssRuleIndex - 1].cssText).startsWith('--sxs')) {\n\t\t\t\t\tif (!cssRule.cssRules.length) return ''\n\n\t\t\t\t\tfor (const name in groupSheet.rules) {\n\t\t\t\t\t\tif (groupSheet.rules[name].group === cssRule) {\n\t\t\t\t\t\t\treturn `--sxs{--sxs:${[...groupSheet.rules[name].cache].join(' ')}}${cssText}`\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn cssRule.cssRules.length ? `${lastRuleCssText}${cssText}` : ''\n\t\t\t\t}\n\n\t\t\t\treturn cssText\n\t\t\t})\n\t\t\t.join('')\n\t}\n\n\tconst reset = () => {\n\t\tif (groupSheet) {\n\t\t\tconst { rules, sheet } = groupSheet\n\n\t\t\tif (!sheet.deleteRule) {\n\t\t\t\twhile (Object(Object(sheet.cssRules)[0]).type === 3) sheet.cssRules.splice(0, 1)\n\n\t\t\t\tsheet.cssRules = []\n\t\t\t}\n\n\t\t\tfor (const groupName in rules) {\n\t\t\t\tdelete rules[groupName]\n\t\t\t}\n\t\t}\n\n\t\t/** @type {StyleSheetList} */\n\t\tconst sheets = Object(root).styleSheets || []\n\n\t\t// iterate all stylesheets until a hydratable stylesheet is found\n\t\tfor (const sheet of sheets) {\n\t\t\tif (!isSheetAccessible(sheet)) continue\n\n\t\t\tfor (let index = 0, rules = sheet.cssRules; rules[index]; ++index) {\n\t\t\t\t/** @type {CSSStyleRule} Possible indicator rule. */\n\t\t\t\tconst check = Object(rules[index])\n\n\t\t\t\t// a hydratable set of rules will start with a style rule (type: 1), ignore all others\n\t\t\t\tif (check.type !== 1) continue\n\n\t\t\t\t/** @type {CSSMediaRule} Possible styling group. */\n\t\t\t\tconst group = Object(rules[index + 1])\n\n\t\t\t\t// a hydratable set of rules will follow with a media rule (type: 4), ignore all others\n\t\t\t\tif (group.type !== 4) continue\n\n\t\t\t\t++index\n\n\t\t\t\tconst { cssText } = check\n\n\t\t\t\t// a hydratable style rule will have a selector of `--sxs`, ignore all others\n\t\t\t\tif (!cssText.startsWith('--sxs')) continue\n\n\t\t\t\tconst cache = cssText.slice(14, -3).trim().split(/\\s+/)\n\n\t\t\t\t/** @type {GroupName} Name of the group. */\n\t\t\t\tconst groupName = names[cache[0]]\n\n\t\t\t\t// a hydratable style rule will have a parsable group, ignore all others\n\t\t\t\tif (!groupName) continue\n\n\t\t\t\t// create a group sheet if one does not already exist\n\t\t\t\tif (!groupSheet) groupSheet = { sheet, reset, rules: {}, toString }\n\n\t\t\t\t// add the group to the group sheet\n\t\t\t\tgroupSheet.rules[groupName] = { group, index, cache: new Set(cache) }\n\t\t\t}\n\n\t\t\t// if a hydratable stylesheet is found, stop looking\n\t\t\tif (groupSheet) break\n\t\t}\n\n\t\t// if no hydratable stylesheet is found\n\t\tif (!groupSheet) {\n\t\t\tconst createCSSMediaRule = (/** @type {string} */ sourceCssText, type) => {\n\t\t\t\treturn /** @type {CSSMediaRule} */ ({\n\t\t\t\t\ttype,\n\t\t\t\t\tcssRules: [],\n\t\t\t\t\tinsertRule(cssText, index) {\n\t\t\t\t\t\tthis.cssRules.splice(index, 0, createCSSMediaRule(cssText, {\n\t\t\t\t\t\t\timport: 3,\n\t\t\t\t\t\t\tundefined: 1\n\t\t\t\t\t\t}[(cssText.toLowerCase().match(/^@([a-z]+)/) || [])[1]] || 4))\n\t\t\t\t\t},\n\t\t\t\t\tget cssText() {\n\t\t\t\t\t\treturn sourceCssText === '@media{}' ? `@media{${[].map.call(this.cssRules, (cssRule) => cssRule.cssText).join('')}}` : sourceCssText\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tgroupSheet = {\n\t\t\t\tsheet: root ? (root.head || root).appendChild(document.createElement('style')).sheet : createCSSMediaRule('', 'text/css'),\n\t\t\t\trules: {},\n\t\t\t\treset,\n\t\t\t\ttoString,\n\t\t\t}\n\t\t}\n\n\t\tconst { sheet, rules } = groupSheet\n\t\tfor (let i = names.length - 1; i >= 0; --i) {\n\t\t\t// name of group on current index\n\t\t\tconst name = names[i]\n\t\t\tif (!rules[name]) {\n\t\t\t\t// name of prev group\n\t\t\t\tconst prevName = names[i + 1]\n\t\t\t\t// get the index of that prev group or else get the length of the whole sheet\n\t\t\t\tconst index = rules[prevName] ? rules[prevName].index : sheet.cssRules.length\n\t\t\t\t// insert the grouping & the sxs rule\n\t\t\t\tsheet.insertRule('@media{}', index)\n\t\t\t\tsheet.insertRule(`--sxs{--sxs:${i}}`, index)\n\t\t\t\t// add the group to the group sheet\n\t\t\t\trules[name] = { group: sheet.cssRules[index + 1], index, cache: new Set([i]) }\n\t\t\t}\n\t\t\taddApplyToGroup(rules[name])\n\t\t}\n\t}\n\n\treset()\n\n\treturn groupSheet\n}\n\nconst addApplyToGroup = (/** @type {RuleGroup} */ group) => {\n\tconst groupingRule = group.group\n\n\tlet index = groupingRule.cssRules.length\n\n\tgroup.apply = (cssText) => {\n\t\ttry {\n\t\t\tgroupingRule.insertRule(cssText, index)\n\n\t\t\t++index\n\t\t} catch (__) {\n\t\t\t// do nothing and continue\n\t\t}\n\t}\n}\n/** Pending rules for injection */\nconst $pr = Symbol()\n\n/** \n * When a stitches component is extending some other random react component,\n * it\u2019s gonna create a react component (Injector) using this function and then render it after the children, \n * this way, we would force the styles of the wrapper to be injected after the wrapped component\n */\nexport const createRulesInjectionDeferrer = (globalSheet) => {\n\t// the injection deferrer\n\tfunction injector() {\n\t\tfor (let i = 0; i < injector[$pr].length; i++) {\n\t\t\tconst [sheet, cssString] = injector[$pr][i]\n\t\t\tglobalSheet.rules[sheet].apply(cssString)\n\t\t}\n\t\tinjector[$pr] = []\n\t\treturn null\n\t}\n\t// private prop to store pending rules\n\tinjector[$pr] = []\n\t// mocking the rules.apply api used on the sheet\n\tinjector.rules = {}\n\t// creating the apply methods under rules[something]\n\tnames.forEach((sheetName) => (injector.rules[sheetName] = { apply: (rule) => injector[$pr].push([sheetName, rule]) }))\n\treturn injector\n}\n", "import { internal } from '../utility/internal.js'\nimport { createMemo } from '../utility/createMemo.js'\nimport { define } from '../utility/define.js'\nimport { hasNames } from '../utility/hasNames.js'\nimport { hasOwn } from '../utility/hasOwn.js'\n\nimport { toCssRules } from '../convert/toCssRules.js'\nimport { toHash } from '../convert/toHash.js'\nimport { toTailDashed } from '../convert/toTailDashed.js'\nimport { createRulesInjectionDeferrer } from '../sheet.js'\n\n/** @typedef {import('./css').Internals} Internals */\n/** @typedef {import('./css').Composer} Composer */\n/** @typedef {import('./css').Config} Config */\n/** @typedef {import('./css').InitComposer} InitComposer */\n/** @typedef {import('./css').PrefilledVariants} PrefilledVariants */\n/** @typedef {import('./css').Render} Render */\n/** @typedef {import('./css').Styling} Styling */\n/** @typedef {import('./css').UndefinedVariants} UndefinedVariants */\n/** @typedef {import('./css').VariantMatcher} VariantMatcher */\n/** @typedef {import('./css').VariantProps} VariantProps */\n/** @typedef {import('./css').VariantTuple} VariantTuple */\n\n/** @typedef {import('../sheet').SheetGroup} SheetGroup */\n\nconst createCssFunctionMap = createMemo()\n\n/** Returns a function that applies component styles. */\nexport const createCssFunction = (/** @type {Config} */ config, /** @type {SheetGroup} */ sheet) =>\n\tcreateCssFunctionMap(config, () => (...args) => {\n\t\t/** @type {Internals} */\n\t\tlet internals = {\n\t\t\ttype: null,\n\t\t\tcomposers: new Set(),\n\t\t}\n\n\t\tfor (const arg of args) {\n\t\t\t// skip any void argument\n\t\t\tif (arg == null) continue\n\n\t\t\t// conditionally extend the component\n\t\t\tif (arg[internal]) {\n\t\t\t\tif (internals.type == null) internals.type = arg[internal].type\n\n\t\t\t\tfor (const composer of arg[internal].composers) {\n\t\t\t\t\tinternals.composers.add(composer)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// otherwise, conditionally define the component type\n\t\t\telse if (arg.constructor !== Object || arg.$$typeof) {\n\t\t\t\tif (internals.type == null) internals.type = arg\n\t\t\t}\n\n\t\t\t// otherwise, add a new composer to this component\n\t\t\telse {\n\t\t\t\tinternals.composers.add(createComposer(arg, config))\n\t\t\t}\n\t\t}\n\n\t\t// set the component type if none was set\n\t\tif (internals.type == null) internals.type = 'span'\n\t\tif (!internals.composers.size) internals.composers.add(['PJLV', {}, [], [], {}, []])\n\n\t\treturn createRenderer(config, internals, sheet)\n\t})\n\n/** Creates a composer from a configuration object. */\nconst createComposer = (/** @type {InitComposer} */ { variants: initSingularVariants, compoundVariants: initCompoundVariants, defaultVariants: initDefaultVariants, ...style }, /** @type {Config} */ config) => {\n\t/** @type {string} Composer Unique Identifier. @see `{CONFIG_PREFIX}-?c-{STYLE_HASH}` */\n\tconst className = `${toTailDashed(config.prefix)}c-${toHash(style)}`\n\n\t/** @type {VariantTuple[]} */\n\tconst singularVariants = []\n\n\t/** @type {VariantTuple[]} */\n\tconst compoundVariants = []\n\n\t/** @type {PrefilledVariants} */\n\tconst prefilledVariants = Object.create(null)\n\n\t/** @type {UndefinedVariants} */\n\tconst undefinedVariants = []\n\n\tfor (const variantName in initDefaultVariants) {\n\t\tprefilledVariants[variantName] = String(initDefaultVariants[variantName])\n\t}\n\n\t// add singular variants\n\tif (typeof initSingularVariants === 'object' && initSingularVariants) {\n\t\tfor (const name in initSingularVariants) {\n\t\t\tif (!hasOwn(prefilledVariants, name)) prefilledVariants[name] = 'undefined'\n\n\t\t\tconst variantPairs = initSingularVariants[name]\n\n\t\t\tfor (const pair in variantPairs) {\n\t\t\t\t/** @type {VariantMatcher} */\n\t\t\t\tconst vMatch = { [name]: String(pair) }\n\n\t\t\t\tif (String(pair) === 'undefined') undefinedVariants.push(name)\n\n\t\t\t\tconst vStyle = variantPairs[pair]\n\n\t\t\t\t/** @type {VariantTuple} */\n\t\t\t\tconst variant = [vMatch, vStyle, !hasNames(vStyle)]\n\n\t\t\t\tsingularVariants.push(variant)\n\t\t\t}\n\t\t}\n\t}\n\n\t// add compound variants\n\tif (typeof initCompoundVariants === 'object' && initCompoundVariants) {\n\t\tfor (const compoundVariant of initCompoundVariants) {\n\t\t\t/** @type {InitComposer['compoundVariants']} */\n\t\t\tlet { css: vStyle, ...vMatch } = compoundVariant\n\n\t\t\tvStyle = typeof vStyle === 'object' && vStyle || {}\n\n\t\t\t// serialize all compound variant pairs\n\t\t\tfor (const name in vMatch) vMatch[name] = String(vMatch[name])\n\n\t\t\t/** @type {VariantTuple} */\n\t\t\tconst variant = [vMatch, vStyle, !hasNames(vStyle)]\n\n\t\t\tcompoundVariants.push(variant)\n\t\t}\n\t}\n\n\treturn /** @type {Composer} */ ([className, style, singularVariants, compoundVariants, prefilledVariants, undefinedVariants])\n}\n\nconst createRenderer = (\n\t/** @type {Config} */ config,\n\t/** @type {Internals} */ internals,\n\t/** @type {import('../sheet').SheetGroup} */ sheet\n) => {\n\tconst [\n\t\tbaseClassName,\n\t\tbaseClassNames,\n\t\tprefilledVariants,\n\t\tundefinedVariants\n\t] = getPreparedDataFromComposers(internals.composers)\n\n\tconst deferredInjector = typeof internals.type === 'function' || !!internals.type.$$typeof ? createRulesInjectionDeferrer(sheet) : null\n\tconst injectionTarget = (deferredInjector || sheet).rules\n\n\tconst selector = `.${baseClassName}${baseClassNames.length > 1 ? `:where(.${baseClassNames.slice(1).join('.')})` : ``}`\n\n\t/** @type {Render} */\n\tconst render = (props) => {\n\t\tprops = typeof props === 'object' && props || empty\n\n\t\t// 1. we cannot mutate `props`\n\t\t// 2. we delete variant props\n\t\t// 3. we delete `css` prop\n\t\t// therefore: we must create a new props & css variables\n\t\tconst { css, ...forwardProps } = props\n\n\t\t/** @type {VariantProps} */\n\t\tconst variantProps = {}\n\n\t\tfor (const name in prefilledVariants) {\n\t\t\tdelete forwardProps[name]\n\n\t\t\tif (name in props) {\n\t\t\t\tlet data = props[name]\n\n\t\t\t\tif (typeof data === 'object' && data) {\n\t\t\t\t\tvariantProps[name] = {\n\t\t\t\t\t\t'@initial': prefilledVariants[name],\n\t\t\t\t\t\t...data,\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tdata = String(data)\n\n\t\t\t\t\tvariantProps[name] = (\n\t\t\t\t\t\tdata === 'undefined' && !undefinedVariants.has(name)\n\t\t\t\t\t\t\t? prefilledVariants[name]\n\t\t\t\t\t\t: data\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tvariantProps[name] = prefilledVariants[name]\n\t\t\t}\n\t\t}\n\n\t\tconst classSet = new Set([ ...baseClassNames ])\n\n\t\t// 1. builds up the variants (fills in defaults, calculates @initial on responsive, etc.)\n\t\t// 2. iterates composers\n\t\t// 2.1. add their base class\n\t\t// 2.2. iterate their variants, add their variant classes\n\t\t// 2.2.1. orders regular variants before responsive variants\n\t\t// 2.3. iterate their compound variants, add their compound variant classes\n\n\t\tfor (const [composerBaseClass, composerBaseStyle, singularVariants, compoundVariants] of internals.composers) {\n\t\t\tif (!sheet.rules.styled.cache.has(composerBaseClass)) {\n\t\t\t\tsheet.rules.styled.cache.add(composerBaseClass)\n\n\t\t\t\ttoCssRules(composerBaseStyle, [`.${composerBaseClass}`], [], config, (cssText) => {\n\t\t\t\t\tinjectionTarget.styled.apply(cssText)\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst singularVariantsToAdd = getTargetVariantsToAdd(singularVariants, variantProps, config.media)\n\t\t\tconst compoundVariantsToAdd = getTargetVariantsToAdd(compoundVariants, variantProps, config.media, true)\n\n\t\t\tfor (const variantToAdd of singularVariantsToAdd) {\n\t\t\t\tif (variantToAdd === undefined) continue\n\n\t\t\t\tfor (const [vClass, vStyle, isResponsive] of variantToAdd) {\n\t\t\t\t\tconst variantClassName = `${composerBaseClass}-${toHash(vStyle)}-${vClass}`\n\n\t\t\t\t\tclassSet.add(variantClassName)\n\n\t\t\t\t\tconst groupCache = (isResponsive ? sheet.rules.resonevar : sheet.rules.onevar ).cache\n\t\t\t\t\t/* \n\t\t\t\t\t * make sure that normal variants are injected before responsive ones\n\t\t\t\t\t * @see {@link https://github.com/modulz/stitches/issues/737|github}\n\t\t\t\t\t */\n\t\t\t\t\tconst targetInjectionGroup = isResponsive ? injectionTarget.resonevar : injectionTarget.onevar\n\n\t\t\t\t\tif (!groupCache.has(variantClassName)) {\n\t\t\t\t\t\tgroupCache.add(variantClassName)\n\t\t\t\t\t\ttoCssRules(vStyle, [`.${variantClassName}`], [], config, (cssText) => {\n\t\t\t\t\t\t\ttargetInjectionGroup.apply(cssText)\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (const variantToAdd of compoundVariantsToAdd) {\n\t\t\t\tif (variantToAdd === undefined) continue\n\n\t\t\t\tfor (const [vClass, vStyle] of variantToAdd) {\n\t\t\t\t\tconst variantClassName = `${composerBaseClass}-${toHash(vStyle)}-${vClass}`\n\n\t\t\t\t\tclassSet.add(variantClassName)\n\n\t\t\t\t\tif (!sheet.rules.allvar.cache.has(variantClassName)) {\n\t\t\t\t\t\tsheet.rules.allvar.cache.add(variantClassName)\n\n\t\t\t\t\t\ttoCssRules(vStyle, [`.${variantClassName}`], [], config, (cssText) => {\n\t\t\t\t\t\t\tinjectionTarget.allvar.apply(cssText)\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// apply css property styles\n\t\tif (typeof css === 'object' && css) {\n\t\t\t/** @type {string} Inline Class Unique Identifier. @see `{COMPOSER_UUID}-i{VARIANT_UUID}-css` */\n\t\t\tconst iClass = `${baseClassName}-i${toHash(css)}-css`\n\n\t\t\tclassSet.add(iClass)\n\n\t\t\tif (!sheet.rules.inline.cache.has(iClass)) {\n\t\t\t\tsheet.rules.inline.cache.add(iClass)\n\n\t\t\t\ttoCssRules(css, [`.${iClass}`], [], config, (cssText) => {\n\t\t\t\t\tinjectionTarget.inline.apply(cssText)\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\n\t\tfor (const propClassName of String(props.className || '').trim().split(/\\s+/)) {\n\t\t\tif (propClassName) classSet.add(propClassName)\n\t\t}\n\n\t\tconst renderedClassName = forwardProps.className = [ ...classSet ].join(' ')\n\n\t\tconst renderedToString = () => renderedClassName\n\n\t\treturn {\n\t\t\ttype: internals.type,\n\t\t\tclassName: renderedClassName,\n\t\t\tselector,\n\t\t\tprops: forwardProps,\n\t\t\ttoString: renderedToString,\n\t\t\tdeferredInjector,\n\t\t}\n\t}\n\n\tconst toString = () => {\n\t\tif (!sheet.rules.styled.cache.has(baseClassName)) render()\n\n\t\treturn baseClassName\n\t}\n\n\treturn define(render, {\n\t\tclassName: baseClassName,\n\t\tselector,\n\t\t[internal]: internals,\n\t\ttoString,\n\t})\n}\n\n/** Returns useful data that can be known before rendering. */\nconst getPreparedDataFromComposers = (/** @type {Set<Composer>} */ composers) => {\n\t/** Class name of the first composer. */\n\tlet baseClassName = ''\n\n\t/** @type {string[]} Combined class names for all composers. */\n\tconst baseClassNames = []\n\n\t/** @type {PrefilledVariants} Combined variant pairings for all composers. */\n\tconst combinedPrefilledVariants = {}\n\n\t/** @type {UndefinedVariants} List of variant names that can have an \"undefined\" pairing. */\n\tconst combinedUndefinedVariants = []\n\n\tfor (const [className, , , , prefilledVariants, undefinedVariants] of composers) {\n\t\tif (baseClassName === '') baseClassName = className\n\n\t\tbaseClassNames.push(className)\n\n\t\tcombinedUndefinedVariants.push(...undefinedVariants)\n\n\t\tfor (const name in prefilledVariants) {\n\t\t\tconst data = prefilledVariants[name]\n\t\t\tif (combinedPrefilledVariants[name] === undefined || data !== 'undefined' || undefinedVariants.includes(data)) combinedPrefilledVariants[name] = data\n\t\t}\n\t}\n\n\t/** @type {[string, string[], PrefilledVariants, Set<UndefinedVariants>]} */\n\tconst preparedData = [\n\t\tbaseClassName,\n\t\tbaseClassNames,\n\t\tcombinedPrefilledVariants,\n\t\tnew Set(combinedUndefinedVariants)\n\t]\n\n\treturn preparedData\n}\n\nconst getTargetVariantsToAdd = (\n\t/** @type {VariantTuple[]} */\n\ttargetVariants,\n\t/** @type {VariantProps} */\n\tvariantProps,\n\t/** @type {Config['media']} */\n\tmedia,\n\t/** @type {boolean} */\n\tisCompoundVariant,\n) => {\n\t/** @type {[string, Styling][][]} */\n\tconst targetVariantsToAdd = []\n\n\ttargetVariants: for (let [vMatch, vStyle, vEmpty] of targetVariants) {\n\t\t// skip empty variants\n\t\tif (vEmpty) continue\n\n\t\t/** Position the variant should be inserted into. */\n\t\tlet vOrder = 0\n\n\t\t/** @type {string & keyof typeof vMatch} */\n\t\tlet vName\n\n\t\tlet isResponsive = false\n\t\tfor (vName in vMatch) {\n\t\t\tconst vPair = vMatch[vName]\n\n\t\t\tlet pPair = variantProps[vName]\n\n\t\t\t// exact matches\n\t\t\tif (pPair === vPair) continue\n\t\t\t// responsive matches\n\t\t\telse if (typeof pPair === 'object' && pPair) {\n\t\t\t\t/** @type {boolean} Whether the responsive variant is matched. */\n\t\t\t\tlet didMatch\n\n\t\t\t\tlet qOrder = 0\n\t\t\t\t// media queries matching the same variant\n\t\t\t\tlet matchedQueries\n\t\t\t\tfor (const query in pPair) {\n\t\t\t\t\tif (vPair === String(pPair[query])) {\n\t\t\t\t\t\tif (query !== '@initial') {\n\t\t\t\t\t\t\t// check if the cleanQuery is in the media config and then we push the resulting media query to the matchedQueries array, \n\t\t\t\t\t\t\t// if not, we remove the @media from the beginning and push it to the matched queries which then will be resolved a few lines down\n\t\t\t\t\t\t\t// when we finish working on this variant and want wrap the vStyles with the matchedQueries\n\t\t\t\t\t\t\tconst cleanQuery = query.slice(1);\n\t\t\t\t\t\t\t(matchedQueries = matchedQueries || []).push(cleanQuery in media ? media[cleanQuery] : query.replace(/^@media ?/, ''))\n\t\t\t\t\t\t\tisResponsive = true\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvOrder += qOrder\n\t\t\t\t\t\tdidMatch = true\n\t\t\t\t\t}\n\n\t\t\t\t\t++qOrder\n\t\t\t\t}\n\t\t\t\tif (matchedQueries && matchedQueries.length) {\n\t\t\t\t\tvStyle = {\n\t\t\t\t\t\t['@media ' + matchedQueries.join(', ')]: vStyle,\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!didMatch) continue targetVariants\n\t\t\t}\n\n\t\t\t// non-matches\n\t\t\telse continue targetVariants\n\t\t}\n\t\t(targetVariantsToAdd[vOrder] = targetVariantsToAdd[vOrder] || []).push([isCompoundVariant ? `cv` : `${vName}-${vMatch[vName]}`, vStyle, isResponsive])\n\t}\n\n\treturn targetVariantsToAdd\n}\n\n/** Fallback props object used when no props are passed. */\nconst empty = {}\n", "import { createMemo } from '../utility/createMemo.js'\nimport { define } from '../utility/define.js'\n\nimport { toCssRules } from '../convert/toCssRules.js'\nimport { toHash } from '../convert/toHash.js'\n\nconst createGlobalCssFunctionMap = createMemo()\n\n/** Returns a function that applies global styles. */\nexport const createGlobalCssFunction = (\n\t/** @type {object} */ config,\n\t/** @type {Sheet} */ sheet\n) => createGlobalCssFunctionMap(config, () => (\n\t/** @type {Style[]} */ ...styles\n) => {\n\tconst render = () => {\n\t\tfor (let style of styles) {\n\t\t\tstyle = typeof style === 'object' && style || {}\n\n\t\t\tlet uuid = toHash(style)\n\n\t\t\tif (!sheet.rules.global.cache.has(uuid)) {\n\t\t\t\tsheet.rules.global.cache.add(uuid)\n\n\t\t\t\t// support @import rules\n\t\t\t\tif ('@import' in style) {\n\t\t\t\t\tlet importIndex = [].indexOf.call(sheet.sheet.cssRules, sheet.rules.themed.group) - 1\n\n\t\t\t\t\t// wrap import in quotes as a convenience\n\t\t\t\t\tfor (\n\t\t\t\t\t\tlet importValue of /** @type {string[]} */ ([].concat(style['@import']))\n\t\t\t\t\t) {\n\t\t\t\t\t\timportValue = importValue.includes('\"') || importValue.includes(\"'\") ? importValue : `\"${importValue}\"`\n\n\t\t\t\t\t\tsheet.sheet.insertRule(`@import ${importValue};`, importIndex++)\n\t\t\t\t\t}\n\n\t\t\t\t\tdelete style['@import']\n\t\t\t\t}\n\n\t\t\t\ttoCssRules(style, [], [], config, (cssText) => {\n\t\t\t\t\tsheet.rules.global.apply(cssText)\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\n\t\treturn ''\n\t}\n\n\treturn define(render, {\n\t\ttoString: render,\n\t})\n})\n\n/** @typedef {{ [name: string]: number | string | void | Style }} Style */\n/** @typedef {{ rules: { [name: string]: { apply(): void, cache: Set<string> } }, sheet: { insertRule(): number } }} Sheet */\n", "import { createMemo } from '../utility/createMemo.js'\nimport { define } from '../utility/define.js'\n\nimport { toCssRules } from '../convert/toCssRules.js'\nimport { toHash } from '../convert/toHash.js'\nimport { toTailDashed } from '../convert/toTailDashed.js'\n\n/** @typedef {import('..').Config} Config */\n/** @typedef {import('..').Style} Style */\n/** @typedef {import('..').GroupSheet} GroupSheet */\n\nconst createKeyframesFunctionMap = createMemo()\n\n/** Returns a function that applies a keyframes rule. */\nexport const createKeyframesFunction = (/** @type {Config} */ config, /** @type {GroupSheet} */ sheet) => (\n\tcreateKeyframesFunctionMap(config, () => (style) => {\n\t\t/** @type {string} Keyframes Unique Identifier. @see `{CONFIG_PREFIX}-?k-{KEYFRAME_UUID}` */\n\t\tconst name = `${toTailDashed(config.prefix)}k-${toHash(style)}`\n\n\t\tconst render = () => {\n\t\t\tif (!sheet.rules.global.cache.has(name)) {\n\t\t\t\tsheet.rules.global.cache.add(name)\n\n\t\t\t\tconst cssRules = []\n\n\t\t\t\ttoCssRules(style, [], [], config, (cssText) => cssRules.push(cssText))\n\n\t\t\t\tconst cssText = `@keyframes ${name}{${cssRules.join('')}}`\n\n\t\t\t\tsheet.rules.global.apply(cssText)\n\t\t\t}\n\n\t\t\treturn name\n\t\t}\n\n\t\treturn define(render, {\n\t\t\tget name() {\n\t\t\t\treturn render()\n\t\t\t},\n\t\t\ttoString: render,\n\t\t})\n\t})\n)\n", "import { toTailDashed } from './convert/toTailDashed.js'\n\n/** @type {import('../types/theme').Token} */\nexport class ThemeToken {\n\tconstructor(token, value, scale, prefix) {\n\t\tthis.token = token == null ? '' : String(token)\n\t\tthis.value = value == null ? '' : String(value)\n\t\tthis.scale = scale == null ? '' : String(scale)\n\t\tthis.prefix = prefix == null ? '' : String(prefix)\n\t}\n\n\tget computedValue() {\n\t\treturn 'var(' + this.variable + ')'\n\t}\n\n\tget variable() {\n\t\treturn '--' + toTailDashed(this.prefix) + toTailDashed(this.scale) + this.token\n\t}\n\n\ttoString() {\n\t\treturn this.computedValue\n\t}\n}\n", "import { ThemeToken } from '../ThemeToken.js'\nimport { createMemo } from '../utility/createMemo.js'\n\nimport { toHash } from '../convert/toHash.js'\nimport { toTailDashed } from '../convert/toTailDashed.js'\nimport { toTokenizedValue } from '../convert/toTokenizedValue.js'\n\nconst createCreateThemeFunctionMap = createMemo()\n\n/** Returns a function that applies a theme and returns tokens of that theme. */\nexport const createCreateThemeFunction = (\n\tconfig,\n\tsheet\n) => (\n\tcreateCreateThemeFunctionMap(config, () => (className, style) => {\n\t\t// theme is the first argument if it is an object, otherwise the second argument as an object\n\t\tstyle = typeof className === 'object' && className || Object(style)\n\n\t\t// class name is the first argument if it is a string, otherwise an empty string\n\t\tclassName = typeof className === 'string' ? className : ''\n\n\t\t/** @type {string} Theme name. @see `{CONFIG_PREFIX}t-{THEME_UUID}` */\n\t\tclassName = className || `${toTailDashed(config.prefix)}t-${toHash(style)}`\n\n\t\tconst selector = `.${className}`\n\n\t\tconst themeObject = {}\n\t\tconst cssProps = []\n\n\t\tfor (const scale in style) {\n\t\t\tthemeObject[scale] = {}\n\n\t\t\tfor (const token in style[scale]) {\n\t\t\t\tconst propertyName = `--${toTailDashed(config.prefix)}${scale}-${token}`\n\t\t\t\tconst propertyValue = toTokenizedValue(String(style[scale][token]), config.prefix, scale)\n\n\t\t\t\tthemeObject[scale][token] = new ThemeToken(token, propertyValue, scale, config.prefix)\n\n\t\t\t\tcssProps.push(`${propertyName}:${propertyValue}`)\n\t\t\t}\n\t\t}\n\n\t\tconst render = () => {\n\t\t\tif (cssProps.length && !sheet.rules.themed.cache.has(className)) {\n\t\t\t\tsheet.rules.themed.cache.add(className)\n\n\t\t\t\tconst rootPrelude = style === config.theme ? ':root,' : ''\n\t\t\t\tconst cssText = `${rootPrelude}.${className}{${cssProps.join(';')}}`\n\n\t\t\t\tsheet.rules.themed.apply(cssText)\n\t\t\t}\n\n\t\t\treturn className\n\t\t}\n\n\t\treturn {\n\t\t\t...themeObject,\n\t\t\tget className() {\n\t\t\t\treturn render()\n\t\t\t},\n\t\t\tselector,\n\t\t\ttoString: render,\n\t\t}\n\t})\n)\n", "import { defaultThemeMap } from './default/defaultThemeMap.js'\n\nimport { createMemo } from './utility/createMemo.js'\n\nimport { createCssFunction } from './features/css.js'\nimport { createGlobalCssFunction } from './features/globalCss.js'\nimport { createKeyframesFunction } from './features/keyframes.js'\nimport { createCreateThemeFunction } from './features/createTheme.js'\n\nimport { createSheet } from './sheet.js'\n\nconst createCssMap = createMemo()\n\nexport const createStitches = (config) => {\n\tlet didRun = false\n\n\tconst instance = createCssMap(config, (initConfig) => {\n\t\tdidRun = true\n\n\t\tinitConfig = typeof initConfig === 'object' && initConfig || {}\n\n\t\t// internal configuration\n\t\tconst prefix = 'prefix' in initConfig ? String(initConfig.prefix) : ''\n\t\tconst media = typeof initConfig.media === 'object' && initConfig.media || {}\n\t\tconst root = typeof initConfig.root === 'object' ? initConfig.root || null : globalThis.document || null\n\t\tconst theme = typeof initConfig.theme === 'object' && initConfig.theme || {}\n\t\tconst themeMap = typeof initConfig.themeMap === 'object' && initConfig.themeMap || { ...defaultThemeMap }\n\t\tconst utils = typeof initConfig.utils === 'object' && initConfig.utils || {}\n\n\t\t/** External configuration. */\n\t\tconst config = {\n\t\t\tprefix,\n\t\t\tmedia,\n\t\t\ttheme,\n\t\t\tthemeMap,\n\t\t\tutils,\n\t\t}\n\n\t\t/** Internal stylesheet. */\n\t\tconst sheet = createSheet(root)\n\n\t\tconst returnValue = {\n\t\t\tcss: createCssFunction(config, sheet),\n\t\t\tglobalCss: createGlobalCssFunction(config, sheet),\n\t\t\tkeyframes: createKeyframesFunction(config, sheet),\n\t\t\tcreateTheme: createCreateThemeFunction(config, sheet),\n\t\t\treset() {\n\t\t\t\tsheet.reset()\n\t\t\t\treturnValue.theme.toString()\n\t\t\t},\n\t\t\ttheme: {},\n\t\t\tsheet,\n\t\t\tconfig,\n\t\t\tprefix,\n\t\t\tgetCssText: sheet.toString,\n\t\t\ttoString: sheet.toString,\n\t\t}\n\n\t\t// initialize default theme\n\t\tString(\n\t\t\treturnValue.theme = returnValue.createTheme(theme)\n\t\t)\n\n\t\treturn returnValue\n\t})\n\n\tif (!didRun) instance.reset()\n\n\treturn instance\n}\n", "import React from 'react'\n\nimport { internal } from '../../../core/src/utility/internal.js'\nimport { createMemo } from '../../../core/src/utility/createMemo.js'\n\nimport { createCssFunction } from '../../../core/src/features/css.js'\n\n/** @typedef {import('../../../core/src').Config} Config */\n/** @typedef {import('../../../core/src').GroupSheet} GroupSheet */\n\nconst createCssFunctionMap = createMemo()\n\n/** Returns a function that applies component styles. */\nexport const createStyledFunction = ({ /** @type {Config} */ config, /** @type {GroupSheet} */ sheet }) => (\n\tcreateCssFunctionMap(config, () => {\n\t\tconst css = createCssFunction(config, sheet)\n\n\t\tconst styled = (...args) => {\n\t\t\tconst cssComponent = css(...args)\n\t\t\tconst DefaultType = cssComponent[internal].type\n\n\t\t\tconst styledComponent = React.forwardRef((props, ref) => {\n\t\t\t\tconst Type = props && props.as || DefaultType\n\n\t\t\t\tconst { props: forwardProps, deferredInjector } = cssComponent(props)\n\n\t\t\t\tdelete forwardProps.as\n\n\t\t\t\tforwardProps.ref = ref\n\n\t\t\t\tif (deferredInjector) {\n\t\t\t\t\treturn React.createElement(React.Fragment, null, React.createElement(Type, forwardProps), React.createElement(deferredInjector, null))\n\t\t\t\t}\n\n\t\t\t\treturn React.createElement(Type, forwardProps)\n\t\t\t})\n\n\t\t\tconst toString = () => cssComponent.selector\n\n\t\t\tstyledComponent.className = cssComponent.className\n\t\t\tstyledComponent.displayName = `Styled.${DefaultType.displayName || DefaultType.name || DefaultType}`\n\t\t\tstyledComponent.selector = cssComponent.selector\n\t\t\tstyledComponent.toString = toString\n\t\t\tstyledComponent[internal] = cssComponent[internal]\n\n\t\t\treturn styledComponent\n\t\t}\n\n\t\treturn styled\n\t})\n)\n", "import { createStitches as createStitchesCore } from '../../core/src/createStitches.js'\nimport { createStyledFunction } from './features/styled.js'\n\nexport const createStitches = (init) => {\n\tconst instance = createStitchesCore(init)\n\n\tinstance.styled = createStyledFunction(instance)\n\n\treturn instance\n}\n", "import { createStitches } from '../createStitches.js'\n\nlet cachedConfig\n\nexport const getCachedConfig = () => cachedConfig || (cachedConfig = createStitches())\n", "import { getCachedConfig } from './utility/getCachedConfig.js'\n\nexport { createStitches } from './createStitches.js'\nexport { defaultThemeMap } from '../../core/src/default/defaultThemeMap.js'\n\nexport const createTheme = (...args) => getCachedConfig().createTheme(...args)\nexport const globalCss = (...args) => getCachedConfig().globalCss(...args)\nexport const keyframes = (...args) => getCachedConfig().keyframes(...args)\n\nexport const css = (...args) => getCachedConfig().css(...args)\nexport const styled = (...args) => getCachedConfig().styled(...args)\n"],
  "mappings": ";AAAA,IAAM,eAAe;AACrB,IAAM,eAAe;AACrB,IAAM,SAAS;AACf,IAAM,QAAQ;AACd,IAAM,YAAY;AAClB,IAAM,cAAc;AACpB,IAAM,iBAAiB;AACvB,IAAM,cAAc;AACpB,IAAM,QAAQ;AACd,IAAM,UAAU;AAChB,IAAM,QAAQ;AACd,IAAM,QAAQ;AACd,IAAM,cAAc;AACpB,IAAM,WAAW;AAGV,IAAM,kBAAkB;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