@tamagui/web 3.0.0-beta.735.1 → 3.0.0-beta.745.1
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/cjs/helpers/directStyle.cjs +44 -1
- package/dist/cjs/helpers/directStyle.native.cjs +48 -1
- package/dist/cjs/helpers/directStyle.native.js +48 -1
- package/dist/cjs/helpers/directStyle.native.js.map +1 -1
- package/dist/cjs/hooks/useComponentState.cjs +19 -1
- package/dist/cjs/hooks/useComponentState.native.cjs +19 -1
- package/dist/cjs/hooks/useComponentState.native.js +19 -1
- package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
- package/dist/esm/helpers/directStyle.mjs +44 -1
- package/dist/esm/helpers/directStyle.mjs.map +1 -1
- package/dist/esm/helpers/directStyle.native.js +48 -1
- package/dist/esm/helpers/directStyle.native.js.map +1 -1
- package/dist/esm/hooks/useComponentState.mjs +19 -1
- package/dist/esm/hooks/useComponentState.mjs.map +1 -1
- package/dist/esm/hooks/useComponentState.native.js +19 -1
- package/dist/esm/hooks/useComponentState.native.js.map +1 -1
- package/package.json +15 -15
- package/src/helpers/directStyle.ts +134 -10
- package/src/hooks/useComponentState.ts +24 -1
- package/src/styled.tsx +11 -5
- package/src/types.tsx +37 -8
- package/types/helpers/directStyle.d.ts.map +1 -1
- package/types/hooks/useComponentState.d.ts.map +1 -1
- package/types/styled.d.ts +5 -4
- package/types/styled.d.ts.map +1 -1
- package/types/types.d.ts +31 -9
- package/types/types.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComponentState.native.js","names":[],"sources":["cjs/hooks/useComponentState.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useComponentState_exports = {};\n__export(useComponentState_exports, {\n useComponentState: () => useComponentState\n});\nmodule.exports = __toCommonJS(useComponentState_exports);\nvar import_constants = require(\"@tamagui/constants\");\nvar import_helpers = require(\"@tamagui/helpers\");\nvar import_runtime = require(\"@tamagui/style-grammar/runtime\");\nvar import_is_equal_shallow = require(\"@tamagui/is-equal-shallow\");\nvar import_use_did_finish_ssr = require(\"@tamagui/use-did-finish-ssr\");\nvar import_react = require(\"react\");\nvar import_config = require(\"../config\");\nvar import_formatDiagnostic = require(\"../helpers/formatDiagnostic\");\nvar import_isOptimizedForFirstRender = require(\"./isOptimizedForFirstRender\");\nvar import_defaultComponentState = require(\"../defaultComponentState\");\nvar import_isObj = require(\"../helpers/isObj\");\nvar import_log = require(\"../helpers/log\");\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar platformPseudoModifiers = /* @__PURE__ */ new Set([\n \"hover\",\n \"press\",\n \"focus\"\n]);\nvar enterModifier = /* @__PURE__ */ new Set([\n \"enter\"\n]);\nvar lifecycleHandler = {\n segment(ctx, start, end, isBase, valid) {\n var scan = ctx.flatScan;\n if (!isBase && valid && start < end && scan[3]) scan[2] = true;\n scan[3] = false;\n },\n chain(ctx, start, end, valid) {\n var scan = ctx.flatScan;\n scan[3] = false;\n if (!valid) return true;\n for (var index = start; index <= end; index++) {\n if (index !== end && scan[0].charCodeAt(index) !== 58) continue;\n if (scan[1].has((0, import_runtime.canonicalClauseModifier)(scan[0].slice(start, index)))) {\n scan[3] = true;\n }\n start = index + 1;\n }\n return true;\n }\n};\nfunction hasFlatModifier(props, config, modifiers, ctx) {\n var _ctx;\n var scan = (_ctx = ctx).flatScan || (_ctx.flatScan = [\n \"\",\n enterModifier,\n false,\n false\n ]);\n for (var key in props) {\n var value = props[key];\n if (typeof value !== \"string\" || value.indexOf(\":\") === -1) continue;\n var property = config.shorthands[key] || key;\n if (!(property in import_helpers.stylePropsAll) && property !== \"transition\") continue;\n scan[0] = value;\n scan[1] = modifiers;\n scan[2] = false;\n scan[3] = false;\n (0, import_runtime.scanFlatValue)(value, lifecycleHandler, ctx);\n if (scan[2]) return true;\n }\n return false;\n}\nvar useComponentState = function(props, animationDriver, staticConfig, config) {\n \"use no memo\";\n var _getPlatformDriver, _animationDriver_usePresence;\n var isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)();\n var needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)();\n var useAnimations = (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isStub) ? void 0 : animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.useAnimations;\n var { isHOC } = staticConfig;\n var stateRef = (0, import_react.useRef)(\n // performance: avoid creating object every render\n void 0\n );\n if (!stateRef.current) {\n stateRef.current = {\n startedUnhydrated: needsHydration && !isHydrated,\n optimizeForFirstRender: (0, import_isOptimizedForFirstRender.isOptimizedForFirstRender)()\n };\n }\n var hasAnimationProp = Boolean(!isHOC && \"transition\" in props || props.style && hasAnimatedStyleValue(props.style));\n var _animationDriver_inputStyle;\n var inputStyle = (_animationDriver_inputStyle = animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.inputStyle) !== null && _animationDriver_inputStyle !== void 0 ? _animationDriver_inputStyle : \"css\";\n var _animationDriver_outputStyle;\n var outputStyle = (_animationDriver_outputStyle = animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.outputStyle) !== null && _animationDriver_outputStyle !== void 0 ? _animationDriver_outputStyle : \"css\";\n var curStateRef = stateRef.current;\n if (!needsHydration && hasAnimationProp) {\n curStateRef.hasAnimated = true;\n }\n var platformPseudo = Boolean(!isHOC && useAnimations && (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.avoidReRenders) && ((_getPlatformDriver = (0, import_constants.getPlatformDriver)()) === null || _getPlatformDriver === void 0 ? void 0 : _getPlatformDriver.pseudo) && hasFlatModifier(props, config, platformPseudoModifiers, curStateRef));\n var willBeAnimatedClient = (function() {\n var next = !!((hasAnimationProp || platformPseudo) && !isHOC && useAnimations);\n return Boolean(next || curStateRef.hasAnimated);\n })();\n var willBeAnimated = !import_constants.isServer && willBeAnimatedClient;\n if (willBeAnimated && !curStateRef.hasAnimated) {\n curStateRef.hasAnimated = true;\n }\n var { disableClassName } = props;\n var presence = !isHOC && willBeAnimated && props[\"animatePresence\"] !== false && (animationDriver === null || animationDriver === void 0 ? void 0 : (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null;\n var presenceState = presence === null || presence === void 0 ? void 0 : presence[2];\n var isExiting = (presenceState === null || presenceState === void 0 ? void 0 : presenceState.isPresent) === false;\n var isEntering = (presenceState === null || presenceState === void 0 ? void 0 : presenceState.isPresent) === true && presenceState.initial !== false;\n var hasEnterStyle = hasFlatModifier(props, config, enterModifier, curStateRef);\n var hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isReactNative) || inputStyle !== \"css\");\n var canImmediatelyEnter = hasEnterStyle || isEntering;\n var shouldEnter = !isHOC && (hasEnterStyle || isEntering || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate\n // this is just for a better ux, supports css variables for light/dark, media queries, etc\n disableClassName);\n var initialState = shouldEnter ? (\n // on the very first render we switch all spring animation drivers to css rendering\n // this is because we need to use css variables, which they don't support to do proper SSR\n // without flickers of the wrong colors.\n // but once we do that initial hydration and we are in client side rendering mode,\n // we can avoid the extra re-render on mount\n canImmediatelyEnter ? import_defaultComponentState.defaultComponentStateShouldEnter : import_defaultComponentState.defaultComponentState\n ) : import_defaultComponentState.defaultComponentStateMounted;\n var disabled = isDisabled(props);\n if (disabled != null) {\n initialState.disabled = disabled;\n }\n var states = (0, import_react.useState)(initialState);\n var state = props.forceStyle ? {\n ...states[0],\n [props.forceStyle]: true\n } : states[0];\n var setState = states[1];\n var isAnimated = willBeAnimated;\n if (import_constants.isWeb && hasAnimationThatNeedsHydrate && !staticConfig.isHOC && !isHydrated) {\n isAnimated = false;\n curStateRef.willHydrate = true;\n }\n if (disabled !== state.disabled) {\n if (disabled) {\n Object.assign(state, import_defaultComponentState.defaultComponentStateMounted);\n }\n state.disabled = disabled;\n setState(function(_) {\n return {\n ...state\n };\n });\n }\n var groupName = props.group;\n if (!stateRef.current.baseSetStateShallow) {\n var r = stateRef.current;\n r.baseSetStateShallow = function(stateOrGetState) {\n setState(function(prev) {\n var next = typeof stateOrGetState === \"function\" ? stateOrGetState(prev) : stateOrGetState;\n var update = (0, import_is_equal_shallow.mergeIfNotShallowEqual)(prev, next);\n if (process.env.NODE_ENV === \"development\") {\n var dbg = r.__debug;\n if (dbg && update !== prev) {\n console.groupCollapsed(`setStateShallow CHANGE`, \"=>\", update);\n console.info(`previously`, prev);\n console.trace();\n console.groupEnd();\n }\n }\n return update;\n });\n };\n }\n if (process.env.NODE_ENV === \"development\") {\n ;\n stateRef.current.__debug = props.debug;\n }\n var setStateShallow = stateRef.current.baseSetStateShallow;\n if (process.env.NODE_ENV === \"development\" && globalThis.time) globalThis.time`state-useCreateShallowSetState`;\n var outProps = props;\n if (presenceState && isAnimated && isHydrated && staticConfig.variants) {\n if (process.env.NODE_ENV === \"development\" && props.debug === \"verbose\") {\n var _staticConfig_Component, _staticConfig_Component1;\n console.warn((0, import_formatDiagnostic.formatDiagnostic)(\"TAMAGUI_PRESENCE_STATE\", ((_staticConfig_Component = staticConfig.Component) === null || _staticConfig_Component === void 0 ? void 0 : _staticConfig_Component.displayName) || ((_staticConfig_Component1 = staticConfig.Component) === null || _staticConfig_Component1 === void 0 ? void 0 : _staticConfig_Component1.name) || \"TamaguiComponent\", \"AnimatePresence supplied lifecycle state to an animated component\", 'Remove debug=\"verbose\" after inspecting the animation state', \"presenceState\", presenceState));\n }\n var { custom } = presenceState;\n if ((0, import_isObj.isObj)(custom)) {\n outProps = {\n ...props,\n ...custom\n };\n }\n }\n var noClass = !import_constants.isWeb || !!props.forceStyle;\n if (!isHydrated) {\n noClass = false;\n } else {\n if (import_constants.isWeb && isHydrated) {\n var isAnimatedAndHydrated = isAnimated && isHydrated;\n var isClassNameDisabled = !staticConfig.acceptsClassName && ((0, import_config.getSetting)(\"disableSSR\") || !state.unmounted);\n var isDisabledManually = disableClassName && !state.unmounted;\n if (\n // Only disable className for animation drivers that output inline styles (not css)\n isAnimatedAndHydrated && outputStyle !== \"css\" || isDisabledManually || isClassNameDisabled\n ) {\n noClass = true;\n if (process.env.NODE_ENV === \"development\" && props.debug === \"verbose\") {\n (0, import_log.log)(`avoiding className`, {\n isAnimatedAndHydrated,\n isDisabledManually,\n isClassNameDisabled\n });\n }\n }\n }\n }\n return {\n props: outProps,\n startedUnhydrated: curStateRef.startedUnhydrated,\n curStateRef,\n disabled,\n groupName,\n hasAnimationProp,\n hasEnterStyle,\n isAnimated,\n isExiting,\n isHydrated,\n presence,\n presenceState,\n setState,\n setStateShallow,\n noClass,\n state,\n stateRef,\n inputStyle,\n outputStyle,\n willBeAnimated,\n willBeAnimatedClient,\n platformPseudo\n };\n};\nfunction hasAnimatedStyleValue(style) {\n for (var k in style) {\n var val = style[k];\n if (val && (typeof val === \"undefined\" ? \"undefined\" : _type_of(val)) === \"object\" && \"_animation\" in val) {\n return true;\n }\n }\n return false;\n}\nvar isDisabled = function(props) {\n var _props_accessibilityState;\n return props.disabled || props.passThrough || ((_props_accessibilityState = props.accessibilityState) === null || _props_accessibilityState === void 0 ? void 0 : _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QAAQ,OAAO,QAAQ,cAAc,cAAc,SAAS,GAAG,OAAO,YAAY,gBAAgB,KAAK;GACzG,OAAO;EACT;CACF;CACA,OAAO;AACT;AACA,IAAI,aAAa,SAAS,OAAO;CAC/B,IAAI;CACJ,OAAO,MAAM,YAAY,MAAM,iBAAiB,4BAA4B,MAAM,wBAAwB,QAAQ,8BAA8B,KAAK,IAAI,KAAK,IAAI,0BAA0B,aAAa,MAAM,oBAAoB,MAAM,yBAAyB;AACpQ"}
|
|
1
|
+
{"version":3,"file":"useComponentState.native.js","names":[],"sources":["cjs/hooks/useComponentState.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useComponentState_exports = {};\n__export(useComponentState_exports, {\n useComponentState: () => useComponentState\n});\nmodule.exports = __toCommonJS(useComponentState_exports);\nvar import_constants = require(\"@tamagui/constants\");\nvar import_helpers = require(\"@tamagui/helpers\");\nvar import_runtime = require(\"@tamagui/style-grammar/runtime\");\nvar import_is_equal_shallow = require(\"@tamagui/is-equal-shallow\");\nvar import_use_did_finish_ssr = require(\"@tamagui/use-did-finish-ssr\");\nvar import_react = require(\"react\");\nvar import_config = require(\"../config\");\nvar import_formatDiagnostic = require(\"../helpers/formatDiagnostic\");\nvar import_isOptimizedForFirstRender = require(\"./isOptimizedForFirstRender\");\nvar import_defaultComponentState = require(\"../defaultComponentState\");\nvar import_isObj = require(\"../helpers/isObj\");\nvar import_log = require(\"../helpers/log\");\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol !== \"undefined\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nvar platformPseudoModifiers = /* @__PURE__ */ new Set([\n \"hover\",\n \"press\",\n \"focus\"\n]);\nvar enterModifier = /* @__PURE__ */ new Set([\n \"enter\"\n]);\nvar lifecycleHandler = {\n segment(ctx, start, end, isBase, valid) {\n var scan = ctx.flatScan;\n if (!isBase && valid && start < end && scan[3]) scan[2] = true;\n scan[3] = false;\n },\n chain(ctx, start, end, valid) {\n var scan = ctx.flatScan;\n scan[3] = false;\n if (!valid) return true;\n for (var index = start; index <= end; index++) {\n if (index !== end && scan[0].charCodeAt(index) !== 58) continue;\n if (scan[1].has((0, import_runtime.canonicalClauseModifier)(scan[0].slice(start, index)))) {\n scan[3] = true;\n }\n start = index + 1;\n }\n return true;\n }\n};\nfunction hasFlatModifier(props, config, modifiers, ctx) {\n var _ctx;\n var scan = (_ctx = ctx).flatScan || (_ctx.flatScan = [\n \"\",\n enterModifier,\n false,\n false\n ]);\n for (var key in props) {\n var value = props[key];\n var isString = typeof value === \"string\";\n if (isString ? value.indexOf(\":\") === -1 : !value || (typeof value === \"undefined\" ? \"undefined\" : _type_of(value)) !== \"object\") {\n continue;\n }\n var property = config.shorthands[key] || key;\n if (!(property in import_helpers.stylePropsAll) && property !== \"transition\") continue;\n if (!isString) {\n if (property === \"transition\") continue;\n for (var chain in value) {\n if (chain === \"default\" || value[chain] == null) continue;\n var start = 0;\n for (var index = 0; index <= chain.length; index++) {\n if (index !== chain.length && chain.charCodeAt(index) !== 58) continue;\n if (modifiers.has((0, import_runtime.canonicalClauseModifier)(chain.slice(start, index)))) {\n return true;\n }\n start = index + 1;\n }\n }\n continue;\n }\n scan[0] = value;\n scan[1] = modifiers;\n scan[2] = false;\n scan[3] = false;\n (0, import_runtime.scanFlatValue)(value, lifecycleHandler, ctx);\n if (scan[2]) return true;\n }\n return false;\n}\nvar useComponentState = function(props, animationDriver, staticConfig, config) {\n \"use no memo\";\n var _getPlatformDriver, _animationDriver_usePresence;\n var isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)();\n var needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)();\n var useAnimations = (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isStub) ? void 0 : animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.useAnimations;\n var { isHOC } = staticConfig;\n var stateRef = (0, import_react.useRef)(\n // performance: avoid creating object every render\n void 0\n );\n if (!stateRef.current) {\n stateRef.current = {\n startedUnhydrated: needsHydration && !isHydrated,\n optimizeForFirstRender: (0, import_isOptimizedForFirstRender.isOptimizedForFirstRender)()\n };\n }\n var hasAnimationProp = Boolean(!isHOC && \"transition\" in props || props.style && hasAnimatedStyleValue(props.style));\n var _animationDriver_inputStyle;\n var inputStyle = (_animationDriver_inputStyle = animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.inputStyle) !== null && _animationDriver_inputStyle !== void 0 ? _animationDriver_inputStyle : \"css\";\n var _animationDriver_outputStyle;\n var outputStyle = (_animationDriver_outputStyle = animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.outputStyle) !== null && _animationDriver_outputStyle !== void 0 ? _animationDriver_outputStyle : \"css\";\n var curStateRef = stateRef.current;\n if (!needsHydration && hasAnimationProp) {\n curStateRef.hasAnimated = true;\n }\n var platformPseudo = Boolean(!isHOC && useAnimations && (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.avoidReRenders) && ((_getPlatformDriver = (0, import_constants.getPlatformDriver)()) === null || _getPlatformDriver === void 0 ? void 0 : _getPlatformDriver.pseudo) && hasFlatModifier(props, config, platformPseudoModifiers, curStateRef));\n var willBeAnimatedClient = (function() {\n var next = !!((hasAnimationProp || platformPseudo) && !isHOC && useAnimations);\n return Boolean(next || curStateRef.hasAnimated);\n })();\n var willBeAnimated = !import_constants.isServer && willBeAnimatedClient;\n if (willBeAnimated && !curStateRef.hasAnimated) {\n curStateRef.hasAnimated = true;\n }\n var { disableClassName } = props;\n var presence = !isHOC && willBeAnimated && props[\"animatePresence\"] !== false && (animationDriver === null || animationDriver === void 0 ? void 0 : (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null;\n var presenceState = presence === null || presence === void 0 ? void 0 : presence[2];\n var isExiting = (presenceState === null || presenceState === void 0 ? void 0 : presenceState.isPresent) === false;\n var isEntering = (presenceState === null || presenceState === void 0 ? void 0 : presenceState.isPresent) === true && presenceState.initial !== false;\n var hasEnterStyle = hasFlatModifier(props, config, enterModifier, curStateRef);\n var hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.isReactNative) || inputStyle !== \"css\");\n var canImmediatelyEnter = hasEnterStyle || isEntering;\n var shouldEnter = !isHOC && (hasEnterStyle || isEntering || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate\n // this is just for a better ux, supports css variables for light/dark, media queries, etc\n disableClassName);\n var initialState = shouldEnter ? (\n // on the very first render we switch all spring animation drivers to css rendering\n // this is because we need to use css variables, which they don't support to do proper SSR\n // without flickers of the wrong colors.\n // but once we do that initial hydration and we are in client side rendering mode,\n // we can avoid the extra re-render on mount\n canImmediatelyEnter ? import_defaultComponentState.defaultComponentStateShouldEnter : import_defaultComponentState.defaultComponentState\n ) : import_defaultComponentState.defaultComponentStateMounted;\n var disabled = isDisabled(props);\n if (disabled != null) {\n initialState.disabled = disabled;\n }\n var states = (0, import_react.useState)(initialState);\n var state = props.forceStyle ? {\n ...states[0],\n [props.forceStyle]: true\n } : states[0];\n var setState = states[1];\n var isAnimated = willBeAnimated;\n if (import_constants.isWeb && hasAnimationThatNeedsHydrate && !staticConfig.isHOC && !isHydrated) {\n isAnimated = false;\n curStateRef.willHydrate = true;\n }\n if (disabled !== state.disabled) {\n if (disabled) {\n Object.assign(state, import_defaultComponentState.defaultComponentStateMounted);\n }\n state.disabled = disabled;\n setState(function(_) {\n return {\n ...state\n };\n });\n }\n var groupName = props.group;\n if (!stateRef.current.baseSetStateShallow) {\n var r = stateRef.current;\n r.baseSetStateShallow = function(stateOrGetState) {\n setState(function(prev) {\n var next = typeof stateOrGetState === \"function\" ? stateOrGetState(prev) : stateOrGetState;\n var update = (0, import_is_equal_shallow.mergeIfNotShallowEqual)(prev, next);\n if (process.env.NODE_ENV === \"development\") {\n var dbg = r.__debug;\n if (dbg && update !== prev) {\n console.groupCollapsed(`setStateShallow CHANGE`, \"=>\", update);\n console.info(`previously`, prev);\n console.trace();\n console.groupEnd();\n }\n }\n return update;\n });\n };\n }\n if (process.env.NODE_ENV === \"development\") {\n ;\n stateRef.current.__debug = props.debug;\n }\n var setStateShallow = stateRef.current.baseSetStateShallow;\n if (process.env.NODE_ENV === \"development\" && globalThis.time) globalThis.time`state-useCreateShallowSetState`;\n var outProps = props;\n if (presenceState && isAnimated && isHydrated && staticConfig.variants) {\n if (process.env.NODE_ENV === \"development\" && props.debug === \"verbose\") {\n var _staticConfig_Component, _staticConfig_Component1;\n console.warn((0, import_formatDiagnostic.formatDiagnostic)(\"TAMAGUI_PRESENCE_STATE\", ((_staticConfig_Component = staticConfig.Component) === null || _staticConfig_Component === void 0 ? void 0 : _staticConfig_Component.displayName) || ((_staticConfig_Component1 = staticConfig.Component) === null || _staticConfig_Component1 === void 0 ? void 0 : _staticConfig_Component1.name) || \"TamaguiComponent\", \"AnimatePresence supplied lifecycle state to an animated component\", 'Remove debug=\"verbose\" after inspecting the animation state', \"presenceState\", presenceState));\n }\n var { custom } = presenceState;\n if ((0, import_isObj.isObj)(custom)) {\n outProps = {\n ...props,\n ...custom\n };\n }\n }\n var noClass = !import_constants.isWeb || !!props.forceStyle;\n if (!isHydrated) {\n noClass = false;\n } else {\n if (import_constants.isWeb && isHydrated) {\n var isAnimatedAndHydrated = isAnimated && isHydrated;\n var isClassNameDisabled = !staticConfig.acceptsClassName && ((0, import_config.getSetting)(\"disableSSR\") || !state.unmounted);\n var isDisabledManually = disableClassName && !state.unmounted;\n if (\n // Only disable className for animation drivers that output inline styles (not css)\n isAnimatedAndHydrated && outputStyle !== \"css\" || isDisabledManually || isClassNameDisabled\n ) {\n noClass = true;\n if (process.env.NODE_ENV === \"development\" && props.debug === \"verbose\") {\n (0, import_log.log)(`avoiding className`, {\n isAnimatedAndHydrated,\n isDisabledManually,\n isClassNameDisabled\n });\n }\n }\n }\n }\n return {\n props: outProps,\n startedUnhydrated: curStateRef.startedUnhydrated,\n curStateRef,\n disabled,\n groupName,\n hasAnimationProp,\n hasEnterStyle,\n isAnimated,\n isExiting,\n isHydrated,\n presence,\n presenceState,\n setState,\n setStateShallow,\n noClass,\n state,\n stateRef,\n inputStyle,\n outputStyle,\n willBeAnimated,\n willBeAnimatedClient,\n platformPseudo\n };\n};\nfunction hasAnimatedStyleValue(style) {\n for (var k in style) {\n var val = style[k];\n if (val && (typeof val === \"undefined\" ? \"undefined\" : _type_of(val)) === \"object\" && \"_animation\" in val) {\n return true;\n }\n }\n return false;\n}\nvar isDisabled = function(props) {\n var _props_accessibilityState;\n return props.disabled || props.passThrough || ((_props_accessibilityState = props.accessibilityState) === null || _props_accessibilityState === void 0 ? void 0 : _props_accessibilityState.disabled) || props[\"aria-disabled\"] || props.accessibilityDisabled || false;\n};\n//# sourceMappingURL=useComponentState.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,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EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF;AACA,SAAS,sBAAsB,OAAO;CACpC,KAAK,IAAI,KAAK,OAAO;EACnB,IAAI,MAAM,MAAM;EAChB,IAAI,QAAQ,OAAO,QAAQ,cAAc,cAAc,SAAS,GAAG,OAAO,YAAY,gBAAgB,KAAK;GACzG,OAAO;EACT;CACF;CACA,OAAO;AACT;AACA,IAAI,aAAa,SAAS,OAAO;CAC/B,IAAI;CACJ,OAAO,MAAM,YAAY,MAAM,iBAAiB,4BAA4B,MAAM,wBAAwB,QAAQ,8BAA8B,KAAK,IAAI,KAAK,IAAI,0BAA0B,aAAa,MAAM,oBAAoB,MAAM,yBAAyB;AACpQ"}
|
|
@@ -61,11 +61,14 @@ const directStyleHandler = {
|
|
|
61
61
|
}
|
|
62
62
|
if (process.env.NODE_ENV === "development" && !hasBase && result & 4 && (property in tokenCategories.color || property in tokenCategoryByProperty) && splitComponents(source.slice(lastPayloadStart)).length > 1) warnOnce(`${property}="${source}" has multiple values after its first conditional. Write the base value before the first conditional.`);
|
|
63
63
|
if ((!isWeb || !state.flatShouldDoClasses) && result & 2 && !hasBase) {
|
|
64
|
-
const value = property
|
|
64
|
+
const value = implicitLifecycleBase(property);
|
|
65
65
|
if (value !== null) emitValue(state, property, value, 0, "", void 0, "", "", merge, value, contextOnly);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
+
function implicitLifecycleBase(property) {
|
|
70
|
+
return property === "opacity" || property === "scale" || property === "scaleX" || property === "scaleY" ? 1 : property === "rotate" ? "0deg" : property === "x" || property === "y" ? 0 : null;
|
|
71
|
+
}
|
|
69
72
|
const legacyTransformParts = /* @__PURE__ */ new Set([
|
|
70
73
|
"matrix",
|
|
71
74
|
"perspective",
|
|
@@ -853,9 +856,48 @@ function contributeFrontendValue(state, property, value, merge, contextOnly = fa
|
|
|
853
856
|
}
|
|
854
857
|
return true;
|
|
855
858
|
}
|
|
859
|
+
function isConditionalStyleObject(state, value) {
|
|
860
|
+
if (Object.prototype.hasOwnProperty.call(value, "default")) return true;
|
|
861
|
+
for (const key in value) return key.length > 0 && !!resolveClauseChain(state, key, 0, key.length);
|
|
862
|
+
return false;
|
|
863
|
+
}
|
|
856
864
|
function contributeVariantClauseValue(state, property, value, conditionSource, merge, originalValue, contextOnly = false) {
|
|
865
|
+
if (value && typeof value === "object" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(state, value)) {
|
|
866
|
+
for (const key in value) {
|
|
867
|
+
const payload = value[key];
|
|
868
|
+
if (payload == null) continue;
|
|
869
|
+
const source = key === "default" ? conditionSource : `${conditionSource}:${key}`;
|
|
870
|
+
resolveClauseChain(state, source, 0, source.length, property, payload, merge, payload, contextOnly, -1, -1, 2);
|
|
871
|
+
}
|
|
872
|
+
return;
|
|
873
|
+
}
|
|
857
874
|
resolveClauseChain(state, conditionSource, 0, conditionSource.length, property, value, merge, originalValue, contextOnly, -1, -1, 2);
|
|
858
875
|
}
|
|
876
|
+
function contributeStyleObject(state, property, value, merge, contextOnly) {
|
|
877
|
+
if (!isConditionalStyleObject(state, value)) return false;
|
|
878
|
+
if (isWeb && (webShadowParts.has(property) || legacyTransformParts.has(property))) {
|
|
879
|
+
if (process.env.NODE_ENV === "development") warnOnce(`conditional "${property}" needs its composite property; dropping it`);
|
|
880
|
+
return true;
|
|
881
|
+
}
|
|
882
|
+
let hasBase = false;
|
|
883
|
+
const base = value.default;
|
|
884
|
+
if (base != null) {
|
|
885
|
+
emitValue(state, property, base, 0, "", void 0, "", "", merge, base, contextOnly);
|
|
886
|
+
hasBase = true;
|
|
887
|
+
}
|
|
888
|
+
let conditions = 0;
|
|
889
|
+
for (const key in value) {
|
|
890
|
+
if (key === "default") continue;
|
|
891
|
+
const payload = value[key];
|
|
892
|
+
if (payload == null) continue;
|
|
893
|
+
conditions |= resolveClauseChain(state, key, 0, key.length, property, payload, merge, payload, contextOnly, -1, -1, 1);
|
|
894
|
+
}
|
|
895
|
+
if ((!isWeb || !state.flatShouldDoClasses) && conditions & 12 && !hasBase) {
|
|
896
|
+
const resting = implicitLifecycleBase(property);
|
|
897
|
+
if (resting !== null) emitValue(state, property, resting, 0, "", void 0, "", "", merge, resting, contextOnly);
|
|
898
|
+
}
|
|
899
|
+
return true;
|
|
900
|
+
}
|
|
859
901
|
function contributeStyleValue(state, property, value, merge, originalValue, contextOnly = false) {
|
|
860
902
|
if (value === "safe" && isSafeAreaKey(property)) {
|
|
861
903
|
const expanded = expandSafeAreaValue(property);
|
|
@@ -866,6 +908,7 @@ function contributeStyleValue(state, property, value, merge, originalValue, cont
|
|
|
866
908
|
}
|
|
867
909
|
}
|
|
868
910
|
if (typeof value === "string") return contributeStyleString(state, property, value, merge, originalValue, contextOnly);
|
|
911
|
+
if (value && typeof value === "object" && !Array.isArray(value) && !isVariable(value) && contributeStyleObject(state, property, value, merge, contextOnly)) return true;
|
|
869
912
|
if (value != null) {
|
|
870
913
|
emitValue(state, property, value, 0, "", void 0, "", "", merge, originalValue ?? value, contextOnly);
|
|
871
914
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directStyle.js","names":[],"sources":["esm/helpers/directStyle.js"],"sourcesContent":["import { isAndroid, isIos, isTV, isWeb, supportsDynamicColorIOS } from \"@tamagui/constants\";\nimport { StyleObjectIdentifier, StyleObjectRules, nonAnimatableStyleProps, tokenCategories } from \"@tamagui/helpers\";\nimport { canonicalStateModifierNames, isContainerSizeQueryText, isModifierName, modifierKindMedia, modifierKindPlatform, modifierKindState, modifierKindTheme, scanFlatValue, stateModifierSelectors } from \"@tamagui/style-grammar/runtime\";\nimport { isVariable } from \"../createVariable\";\nimport { mediaKeyMatch } from \"../hooks/useMedia\";\nimport { warnOnce, warnRefusedValue } from \"./warnOnce\";\nimport { expandStyle } from \"./expandStyle\";\nimport { getCSSStyleAtomic } from \"./getCSSStylesAtomic\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { isColorStyleKey } from \"./getDynamicVal\";\nimport { shouldInsertStyleRules, updateRules } from \"./insertStyleRule\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { getTokenCategoryForProperty, tokenCategoryByProperty } from \"./tokenCategories\";\nimport { resolveSafeAreaVariable } from \"./resolveSafeAreaVariable\";\nimport { expandSafeAreaValue, isSafeAreaKey } from \"./resolveSafeArea\";\nimport { resolveVariableValue } from \"./resolveVariableValue\";\nimport { THEME_REF_PREFIX } from \"./themeRef\";\nimport { transformsToString } from \"./transformsToString\";\n\nconst directStyleHandler = {\n\tsegment(state, start, end, isBase, valid, source, chainStart, chainEnd, chainValid, chainCount, _result, failure, failureIndex, property, merge, originalValue, contextOnly) {\n\t\tif (isBase) {\n\t\t\tif (start === end) return;\n\t\t\tif (!valid) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst value = source.slice(start, end);\n\t\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t\treturn 5;\n\t\t}\n\t\tif (!chainValid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\tif (start === end) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, \"a conditional clause has no value\");\n\t\t\treturn;\n\t\t}\n\t\tif (property === \"aspectRatio\" && chainCount === 1) {\n\t\t\tconst left = Number(source.slice(chainStart, chainEnd));\n\t\t\tconst right = Number(source.slice(start, end));\n\t\t\tif (chainStart < chainEnd && Number.isFinite(left) && left > 0 && Number.isFinite(right) && right > 0) return 12;\n\t\t}\n\t\tconst condition = resolveClauseChain(state, source, chainStart, chainEnd, property, void 0, valid ? merge : void 0, void 0, contextOnly, start, end, 1);\n\t\tif (!condition) return;\n\t\tif (!valid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\treturn 4 | (condition & 12 ? 2 : 0);\n\t},\n\tchain() {\n\t\treturn true;\n\t},\n\tend(state, source, result, lastPayloadStart, chainCount, property, merge, originalValue, contextOnly) {\n\t\tlet hasBase = !!(result & 1);\n\t\tif (result & 8 && chainCount === 1) {\n\t\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? source, contextOnly);\n\t\t\thasBase = true;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !hasBase && result & 4 && (property in tokenCategories.color || property in tokenCategoryByProperty) && splitComponents(source.slice(lastPayloadStart)).length > 1) warnOnce(`${property}=\"${source}\" has multiple values after its first conditional. Write the base value before the first conditional.`);\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && result & 2 && !hasBase) {\n\t\t\tconst value = property === \"opacity\" ? 1 : property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" ? 1 : property === \"rotate\" ? \"0deg\" : property === \"x\" || property === \"y\" ? 0 : null;\n\t\t\tif (value !== null) emitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t}\n\t}\n};\nconst legacyTransformParts = /* @__PURE__ */ new Set([\n\t\"matrix\",\n\t\"perspective\",\n\t\"rotateX\",\n\t\"rotateY\",\n\t\"rotateZ\",\n\t\"scaleZ\",\n\t\"skewX\",\n\t\"skewY\"\n]);\nconst webShadowParts = /* @__PURE__ */ new Set([\n\t\"shadowColor\",\n\t\"shadowOffset\",\n\t\"shadowOpacity\",\n\t\"shadowRadius\"\n]);\nconst webTextShadowParts = /* @__PURE__ */ new Set([\n\t\"textShadowColor\",\n\t\"textShadowOffset\",\n\t\"textShadowRadius\"\n]);\nconst lineStyles = /* @__PURE__ */ new Set([\n\t\"none\",\n\t\"hidden\",\n\t\"dotted\",\n\t\"dashed\",\n\t\"solid\",\n\t\"double\",\n\t\"groove\",\n\t\"ridge\",\n\t\"inset\",\n\t\"outset\"\n]);\nconst borderTargets = {\n\tborder: {\n\t\twidth: [\n\t\t\t\"borderTopWidth\",\n\t\t\t\"borderRightWidth\",\n\t\t\t\"borderBottomWidth\",\n\t\t\t\"borderLeftWidth\"\n\t\t],\n\t\tstyle: [\n\t\t\t\"borderTopStyle\",\n\t\t\t\"borderRightStyle\",\n\t\t\t\"borderBottomStyle\",\n\t\t\t\"borderLeftStyle\"\n\t\t],\n\t\tcolor: [\n\t\t\t\"borderTopColor\",\n\t\t\t\"borderRightColor\",\n\t\t\t\"borderBottomColor\",\n\t\t\t\"borderLeftColor\"\n\t\t]\n\t},\n\tborderTop: {\n\t\twidth: [\"borderTopWidth\"],\n\t\tstyle: [\"borderTopStyle\"],\n\t\tcolor: [\"borderTopColor\"]\n\t},\n\tborderRight: {\n\t\twidth: [\"borderRightWidth\"],\n\t\tstyle: [\"borderRightStyle\"],\n\t\tcolor: [\"borderRightColor\"]\n\t},\n\tborderBottom: {\n\t\twidth: [\"borderBottomWidth\"],\n\t\tstyle: [\"borderBottomStyle\"],\n\t\tcolor: [\"borderBottomColor\"]\n\t},\n\tborderLeft: {\n\t\twidth: [\"borderLeftWidth\"],\n\t\tstyle: [\"borderLeftStyle\"],\n\t\tcolor: [\"borderLeftColor\"]\n\t},\n\toutline: {\n\t\twidth: [\"outlineWidth\"],\n\t\tstyle: [\"outlineStyle\"],\n\t\tcolor: [\"outlineColor\"]\n\t},\n\tborderBlock: {\n\t\twidth: [\"borderBlockStartWidth\", \"borderBlockEndWidth\"],\n\t\tstyle: [\"borderBlockStartStyle\", \"borderBlockEndStyle\"],\n\t\tcolor: [\"borderBlockStartColor\", \"borderBlockEndColor\"]\n\t},\n\tborderInline: {\n\t\twidth: [\"borderInlineStartWidth\", \"borderInlineEndWidth\"],\n\t\tstyle: [\"borderInlineStartStyle\", \"borderInlineEndStyle\"],\n\t\tcolor: [\"borderInlineStartColor\", \"borderInlineEndColor\"]\n\t}\n};\nconst borderStyleDefaults = {\n\tborderWidth: \"borderStyle\",\n\tborderTopWidth: \"borderTopStyle\",\n\tborderRightWidth: \"borderRightStyle\",\n\tborderBottomWidth: \"borderBottomStyle\",\n\tborderLeftWidth: \"borderLeftStyle\"\n};\nfunction platformMatches(name) {\n\tif (name === \"web\") return isWeb;\n\tif (name === \"native\") return !isWeb;\n\tif (name === \"ios\") return isIos;\n\tif (name === \"android\") return isAndroid;\n\tif (name === \"tvos\") return isIos && isTV;\n\tif (name === \"androidtv\") return isAndroid && isTV;\n\treturn name === \"tv\" && isTV;\n}\nfunction resolveClauseChain(state, source, start, end, property, raw, merge, originalValue, contextOnly = false, payloadStart = -1, payloadEnd = -1, warning = 0) {\n\tconst compiled = getConfigRevisionState(state.conf);\n\tconst sourceStart = start;\n\tlet key = \"\";\n\tlet active = true;\n\tlet emit = true;\n\tlet selector = \"\";\n\tlet wrappers;\n\tlet theme = \"\";\n\tlet enter = false;\n\tlet exit = false;\n\tlet unsupportedState = \"\";\n\tlet platformRank = 0;\n\tlet depth = 0;\n\tlet categoryRank = 0;\n\tlet withinRank = 0;\n\tlet selfStateSpecificity = 0;\n\tfor (let index = start; index <= end; index++) {\n\t\tif (index !== end && source.charCodeAt(index) !== 58) continue;\n\t\tlet modifier = source.slice(start, index);\n\t\tstart = index + 1;\n\t\tlet code = compiled.modifiers[modifier];\n\t\tlet kind = code & 7;\n\t\tlet rank = code >> 3;\n\t\tlet stateSelector = \"\";\n\t\tlet conditionStateName = \"\";\n\t\tlet groupName = \"\";\n\t\tlet containerSize = \"\";\n\t\tlet containerName = \"\";\n\t\tlet containerQuery = \"\";\n\t\tif (kind === modifierKindState) {\n\t\t\tmodifier = canonicalStateModifierNames[rank];\n\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t} else if (!kind && modifier.startsWith(\"group-\")) {\n\t\t\tconst slash = modifier.indexOf(\"/\");\n\t\t\tconst authoredState = modifier.slice(6, slash === -1 ? void 0 : slash);\n\t\t\tcode = compiled.modifiers[authoredState];\n\t\t\tif ((code & 7) !== modifierKindState) kind = 0;\n\t\t\telse {\n\t\t\t\trank = code >> 3;\n\t\t\t\tgroupName = slash === -1 ? \"true\" : modifier.slice(slash + 1);\n\t\t\t\tif (rank === 6 || rank === 7 || slash !== -1 && !isModifierName(groupName, 0, groupName.length)) kind = 0;\n\t\t\t\telse {\n\t\t\t\t\tkind = 5;\n\t\t\t\t\tconst stateName = canonicalStateModifierNames[rank];\n\t\t\t\t\tconditionStateName = stateName;\n\t\t\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t\t\t\tmodifier = `group-${stateName}${slash === -1 ? \"\" : modifier.slice(slash)}`;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!kind && modifier.charCodeAt(0) === 64) {\n\t\t\tconst slash = modifier.indexOf(\"/\");\n\t\t\tcontainerSize = modifier.slice(1, slash === -1 ? void 0 : slash);\n\t\t\tcontainerName = slash === -1 ? \"\" : modifier.slice(slash + 1);\n\t\t\tif (isModifierName(containerSize, 0, containerSize.length) && (slash === -1 || isModifierName(containerName, 0, containerName.length)) && ((code = compiled.modifiers[containerSize]) & 7) === modifierKindMedia && (containerQuery = compiled.mediaQueries[containerSize]) && isContainerSizeQueryText(containerQuery)) {\n\t\t\t\tkind = 6;\n\t\t\t\trank = code >> 3;\n\t\t\t}\n\t\t}\n\t\tif (!kind) {\n\t\t\tif (warning && process.env.NODE_ENV === \"development\") warnRefusedValue(property, warning === 1 ? source : raw, `unknown modifier \"${source.slice(sourceStart, end)}\"`);\n\t\t\treturn 0;\n\t\t}\n\t\tlet slotStart = 0;\n\t\tlet duplicate = false;\n\t\tlet inserted = !key;\n\t\tif (!key) key = modifier;\n\t\telse {\n\t\t\twhile (slotStart <= key.length) {\n\t\t\t\tlet slotEnd = key.indexOf(\":\", slotStart);\n\t\t\t\tif (slotEnd === -1) slotEnd = key.length;\n\t\t\t\tlet order = 0;\n\t\t\t\tconst compareLength = Math.min(modifier.length, slotEnd - slotStart);\n\t\t\t\tfor (let offset = 0; offset < compareLength; offset++) {\n\t\t\t\t\torder = modifier.charCodeAt(offset) - key.charCodeAt(slotStart + offset);\n\t\t\t\t\tif (order) break;\n\t\t\t\t}\n\t\t\t\torder ||= modifier.length - (slotEnd - slotStart);\n\t\t\t\tif (!order) {\n\t\t\t\t\tduplicate = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (order < 0) {\n\t\t\t\t\tkey = `${key.slice(0, slotStart)}${modifier}:${key.slice(slotStart)}`;\n\t\t\t\t\tinserted = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (slotEnd === key.length) break;\n\t\t\t\tslotStart = slotEnd + 1;\n\t\t\t}\n\t\t\tif (!duplicate && !inserted) key += `:${modifier}`;\n\t\t}\n\t\tif (duplicate) continue;\n\t\tif (kind === modifierKindPlatform) {\n\t\t\tif (rank > platformRank) platformRank = rank;\n\t\t\tconst matches = platformMatches(modifier);\n\t\t\tactive &&= matches;\n\t\t\temit &&= matches;\n\t\t\tcontinue;\n\t\t}\n\t\tdepth++;\n\t\tconst nextCategory = kind === modifierKindMedia ? 0 : kind === 6 ? 1 : kind === modifierKindTheme ? 2 : kind === 5 ? 3 : 4;\n\t\tif (nextCategory > categoryRank) {\n\t\t\tcategoryRank = nextCategory;\n\t\t\twithinRank = rank;\n\t\t} else if (nextCategory === categoryRank && rank > withinRank) withinRank = rank;\n\t\tif (kind === modifierKindMedia) {\n\t\t\tconst query = compiled.mediaQueries[modifier];\n\t\t\tif (!query) return 0;\n\t\t\t(wrappers ||= []).push(`@media ${query}`);\n\t\t\tactive &&= !!state.flatMediaState?.[modifier];\n\t\t\t(state.flatMediaKeys ||= /* @__PURE__ */ new Set()).add(modifier);\n\t\t} else if (kind === modifierKindTheme) {\n\t\t\ttheme = modifier;\n\t\t\tselector += `:where(.t_${modifier}, .t_${modifier} *)`;\n\t\t\tactive &&= state.flatThemeName === modifier || state.flatThemeName?.startsWith(`${modifier}_`) === true;\n\t\t} else if (kind === 5) {\n\t\t\tselector += `:where(.t_group_${groupName}${stateSelector} *)`;\n\t\t\tif (rank === 0) (wrappers ||= []).push(\"@media (hover: hover)\");\n\t\t\tconst component = state.componentState.group?.[groupName];\n\t\t\tconst context = state.flatGroupContext?.[groupName];\n\t\t\tactive &&= !!(component?.pseudo ?? context?.state.pseudo)?.[conditionStateName];\n\t\t\t(state.flatGroupKeys ||= /* @__PURE__ */ new Set()).add(groupName);\n\t\t} else if (kind === 6) {\n\t\t\tconst groupKey = `@${containerName}`;\n\t\t\t(wrappers ||= []).push(containerName ? `@container ${containerName} ${containerQuery}` : `@container ${containerQuery}`);\n\t\t\tconst component = state.componentState.group?.[groupKey];\n\t\t\tconst context = state.flatGroupContext?.[groupKey];\n\t\t\tconst match = component?.media?.[containerSize];\n\t\t\tactive &&= match === void 0 ? !!(context?.state.layout && mediaKeyMatch(containerSize, context.state.layout)) : !!match;\n\t\t\t(state.flatGroupKeys ||= /* @__PURE__ */ new Set()).add(groupKey);\n\t\t\t(state.flatGroupMedia ||= /* @__PURE__ */ new Set()).add(containerSize);\n\t\t} else {\n\t\t\tselfStateSpecificity++;\n\t\t\tif (!isWeb && stateSelector[0] === \"[\" && modifier !== \"disabled\") unsupportedState = modifier;\n\t\t\tif (stateSelector[0] === \".\") {\n\t\t\t\tselector += `:is(${stateSelector}, ${stateSelector} *)`;\n\t\t\t\tif (rank === 6) enter = true;\n\t\t\t\telse exit = true;\n\t\t\t} else selector += stateSelector;\n\t\t\tif (rank === 0) (wrappers ||= []).push(\"@media (hover: hover)\");\n\t\t\tconst component = state.componentState;\n\t\t\tactive &&= rank === 0 ? !!component.hover : rank === 4 ? !!(component.press || component.pressIn) : rank === 2 ? !!component.focus : rank === 3 ? !!component.focusVisible : rank === 1 ? !!component.focusWithin : rank === 5 ? !!(component.disabled || state.props.disabled) : rank === 6 ? !!component.unmounted : rank === 7 ? !!state.styleProps.isExiting : false;\n\t\t\tif (stateSelector[0] === \":\") (state.flatStateKeys ||= /* @__PURE__ */ new Set()).add(modifier);\n\t\t}\n\t}\n\tif (depth > 5) throw new Error(`a flat value clause supports at most 5 non-platform conditions; received ${depth} in \"${source.slice(sourceStart, end)}:\"`);\n\tconst condition = (platformRank << 26 | depth << 23 | categoryRank << 20 | withinRank) * 256 + selfStateSpecificity * 32 + 16 + (active ? 1 : 0) + (emit ? 2 : 0) + (enter ? 4 : 0) + (exit ? 8 : 0);\n\tif (warning && unsupportedState && process.env.NODE_ENV === \"development\") warnOnce(`${property}: \"${unsupportedState}:\" has no native component-state source; dropping the clause`);\n\tif (merge && property && condition & 2 && (condition & 1 || isWeb && state.flatShouldDoClasses || warning === 1 && !isWeb && theme && supportsDynamicColorIOS && isColorStyleKey(property))) {\n\t\tconst value = payloadStart === -1 ? raw : source.slice(payloadStart, payloadEnd);\n\t\temitValue(state, property, value, condition, key, wrappers, selector, theme, merge, warning === 2 ? originalValue : originalValue ?? value, contextOnly);\n\t}\n\treturn condition;\n}\nconst tokenLookup = {\n\tvalue: void 0,\n\tfromTheme: false,\n\tthemeKey: \"\"\n};\nfunction fillTokenLookup(value, fromTheme, themeKey) {\n\ttokenLookup.value = value;\n\ttokenLookup.fromTheme = fromTheme;\n\ttokenLookup.themeKey = themeKey;\n\treturn tokenLookup;\n}\nfunction tokenVariable(state, property, name) {\n\tlet lookupName = name.charCodeAt(0) === 36 ? name.slice(1) : name;\n\tif (property === \"fontFamily\") {\n\t\tconst family = state.conf.fontsParsed[lookupName]?.family;\n\t\treturn family ? fillTokenLookup(family, false, lookupName) : void 0;\n\t}\n\tconst fontKey = property === \"fontSize\" ? \"size\" : property === \"fontWeight\" ? \"weight\" : property === \"lineHeight\" || property === \"letterSpacing\" ? property : void 0;\n\tif (fontKey) {\n\t\tconst value = (state.conf.fontsParsed[state.fontFamily || state.conf.defaultFontToken] || state.conf.fontsParsed[state.conf.defaultFontToken])?.[fontKey]?.[lookupName];\n\t\treturn value ? fillTokenLookup(value, false, lookupName) : void 0;\n\t}\n\tconst category = getTokenCategoryForProperty(property);\n\tconst dot = lookupName.indexOf(\".\");\n\tif (dot !== -1) {\n\t\tconst prefix = lookupName.slice(0, dot);\n\t\tif (!category || prefix === category || prefix === \"color\") lookupName = lookupName.slice(dot + 1);\n\t}\n\tif (category) {\n\t\tconst own = state.conf.tokensParsed[category]?.[lookupName];\n\t\tif (own) return fillTokenLookup(own, false, lookupName);\n\t\tfor (const sibling of [\n\t\t\t\"color\",\n\t\t\t\"space\",\n\t\t\t\"size\",\n\t\t\t\"radius\",\n\t\t\t\"zIndex\"\n\t\t]) if (sibling !== category && state.conf.tokensParsed[sibling]?.[lookupName]) return;\n\t} else {\n\t\tconst first = lookupName.charCodeAt(0);\n\t\tif (first >= 48 && first <= 57 || first === 43 || first === 45 || first === 46) return;\n\t}\n\tconst theme = state.theme?.[lookupName] || state.conf.themes?.[state.flatThemeName || \"\"]?.[lookupName];\n\tif (theme) return fillTokenLookup(theme, true, lookupName);\n\tif (category) return;\n\tconst token = state.conf.tokensParsed.space?.[lookupName] || state.conf.tokensParsed.color?.[lookupName];\n\treturn token ? fillTokenLookup(token, false, lookupName) : void 0;\n}\nfunction configuredValue(state, property, raw) {\n\tlet name = raw;\n\tlet opacity;\n\tconst slash = raw.lastIndexOf(\"/\");\n\tif (slash > 0) {\n\t\tconst amount = Number(raw.slice(slash + 1));\n\t\tif (Number.isInteger(amount) && amount >= 0 && amount <= 100) {\n\t\t\tname = raw.slice(0, slash);\n\t\t\topacity = amount;\n\t\t}\n\t}\n\tconst safeArea = resolveSafeAreaVariable(name);\n\tif (safeArea !== void 0) {\n\t\tstate.flatUsesSafeArea = true;\n\t\treturn safeArea;\n\t}\n\tconst lookup = tokenVariable(state, property, name);\n\tif (!lookup || !isVariable(lookup.value)) {\n\t\tif (process.env.NODE_ENV === \"development\" && tokenCategoryByProperty[property] && state.conf.tokensParsed.color?.[name]) warnOnce(`\"${name}\" contributes to \"color\", not \"${property}\"; keeping it literal`);\n\t\treturn raw;\n\t}\n\tconst resolveValues = isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues;\n\tif (resolveValues === \"except-theme\" && lookup.fromTheme) return `${THEME_REF_PREFIX}${lookup.themeKey}${opacity !== void 0 ? `/${opacity}` : \"\"}`;\n\tlet value = resolveVariableValue(property, lookup.value, resolveValues);\n\tif (opacity !== void 0) value = isWeb ? `color-mix(in srgb, ${value} ${opacity}%, transparent)` : normalizeColor(value, opacity / 100);\n\treturn value;\n}\nconst letterFreeCallPattern = /^[A-Za-z-]+\\([^A-Za-z]*\\)$/;\nfunction resolveEmbeddedTokens(state, property, raw) {\n\tif (letterFreeCallPattern.test(raw)) return raw;\n\treturn raw.replace(/[$A-Za-z_][\\w.$-]*(?:\\/\\d+)?/g, (word, index) => {\n\t\tif (word.charCodeAt(0) !== 36) {\n\t\t\tconst before = raw.charCodeAt(index - 1);\n\t\t\tif (before >= 48 && before <= 57 || before === 35 || before === 45 && raw.charCodeAt(index - 2) === 45 || raw.charCodeAt(index + word.length) === 40) return word;\n\t\t}\n\t\tconst value = configuredValue(state, property, word);\n\t\treturn value === word ? word : String(value);\n\t});\n}\nfunction normalizeTransitionNames(state, raw) {\n\tlet quote = 0;\n\tlet depth = 0;\n\tlet copyFrom = 0;\n\tlet out = \"\";\n\tfor (let index = 0; index < raw.length; index++) {\n\t\tconst code = raw.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) {\n\t\t\tquote = code;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 40) {\n\t\t\tdepth++;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 41) {\n\t\t\tdepth--;\n\t\t\tcontinue;\n\t\t}\n\t\tif (depth || !(code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95) || index > 1 && raw.charCodeAt(index - 1) === 45 && raw.charCodeAt(index - 2) === 45) continue;\n\t\tlet end = index + 1;\n\t\twhile (end < raw.length) {\n\t\t\tconst next = raw.charCodeAt(end);\n\t\t\tif (next >= 48 && next <= 57 || next >= 65 && next <= 90 || next >= 97 && next <= 122 || next === 45 || next === 95) end++;\n\t\t\telse break;\n\t\t}\n\t\tif (raw.charCodeAt(end) !== 40) {\n\t\t\tconst authored = raw.slice(index, end);\n\t\t\tlet property = state.conf.shorthands[authored] || authored;\n\t\t\tif (property === \"x\" || property === \"y\") property = \"translate\";\n\t\t\telse if (property === \"scaleX\" || property === \"scaleY\") property = \"scale\";\n\t\t\telse if (legacyTransformParts.has(property)) property = \"transform\";\n\t\t\tif (property !== authored || /[A-Z]/.test(property)) {\n\t\t\t\tout += raw.slice(copyFrom, index);\n\t\t\t\tout += property.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);\n\t\t\t\tcopyFrom = end;\n\t\t\t}\n\t\t}\n\t\tindex = end - 1;\n\t}\n\treturn copyFrom ? out + raw.slice(copyFrom) : raw;\n}\nfunction directStyleSignature(property, value, conditionKey = \"\") {\n\treturn `\u001f${property}\u001f${conditionKey}\u001e${String(value)}`;\n}\nfunction directAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, isDefault = false) {\n\tconst atomics = state.flatAtomics ||= {};\n\tconst atomicKey = property.startsWith(\"transition\") ? \"transition\" : property;\n\tconst existing = atomics[atomicKey];\n\tconst contribution = directStyleSignature(property, value, conditionKey);\n\tconst signature = existing ? existing.signature + contribution : contribution;\n\tconst next = getCSSStyleAtomic(property, value, conditionSelector, conditionWrappers, signature, true, atomicKey, condition ? 1 + (Math.floor(condition / 256) >>> 23 & 7) + (Math.floor(condition / 256) >>> 26) * 6 - (condition >>> 5 & 7) : void 0);\n\tif (!next) return;\n\tconst identifier = next[StyleObjectIdentifier];\n\tconst nextRules = next[StyleObjectRules];\n\tconst slotted = condition || atomicKey === \"transition\";\n\tif (!existing) {\n\t\tconst atomic = {\n\t\t\tbaseRules: slotted ? 0 : nextRules.length,\n\t\t\tconditions: void 0,\n\t\t\tsignature,\n\t\t\tstyleObject: next\n\t\t};\n\t\tif (slotted) atomic.conditions = { [atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey]: {\n\t\t\tcount: nextRules.length,\n\t\t\tindex: 0,\n\t\t\tprecedence: condition ? Math.floor(condition / 256) : 0,\n\t\t\tdefault: isDefault\n\t\t} };\n\t\tatomics[atomicKey] = atomic;\n\t} else {\n\t\tconst previousIdentifier = existing.styleObject[StyleObjectIdentifier];\n\t\tconst rules = existing.styleObject[StyleObjectRules];\n\t\tif (!condition && !isDefault && existing.conditions) for (const key in existing.conditions) {\n\t\t\tconst entry = existing.conditions[key];\n\t\t\tif (!entry.default) continue;\n\t\t\trules.splice(entry.index, entry.count);\n\t\t\tdelete existing.conditions[key];\n\t\t\tfor (const otherKey in existing.conditions) {\n\t\t\t\tconst other = existing.conditions[otherKey];\n\t\t\t\tif (other.index > entry.index) other.index -= entry.count;\n\t\t\t}\n\t\t}\n\t\tif (previousIdentifier !== identifier) {\n\t\t\tconst oldSelector = `.${previousIdentifier}`;\n\t\t\tconst newSelector = `.${identifier}`;\n\t\t\tfor (let index = 0; index < rules.length; index++) rules[index] = rules[index].replaceAll(oldSelector, newSelector);\n\t\t}\n\t\tif (slotted) {\n\t\t\tconst slot = atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey;\n\t\t\tconst previous = existing.conditions?.[slot];\n\t\t\tif (previous) {\n\t\t\t\trules.splice(previous.index, previous.count);\n\t\t\t\tif (existing.conditions) for (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry !== previous && entry.index > previous.index) entry.index -= previous.count;\n\t\t\t\t}\n\t\t\t\tdelete existing.conditions[slot];\n\t\t\t}\n\t\t\tconst precedence = condition ? Math.floor(condition / 256) : 0;\n\t\t\tlet insertionIndex = rules.length;\n\t\t\tif (existing.conditions) {\n\t\t\t\tfor (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry.precedence > precedence && entry.index < insertionIndex) insertionIndex = entry.index;\n\t\t\t\t}\n\t\t\t\tfor (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry.index >= insertionIndex) entry.index += nextRules.length;\n\t\t\t\t}\n\t\t\t}\n\t\t\t(existing.conditions ||= {})[slot] = {\n\t\t\t\tcount: nextRules.length,\n\t\t\t\tindex: insertionIndex,\n\t\t\t\tprecedence,\n\t\t\t\tdefault: isDefault\n\t\t\t};\n\t\t\trules.splice(insertionIndex, 0, ...nextRules);\n\t\t} else {\n\t\t\tconst difference = nextRules.length - existing.baseRules;\n\t\t\trules.splice(0, existing.baseRules, ...nextRules);\n\t\t\tif (difference && existing.conditions) for (const key in existing.conditions) existing.conditions[key].index += difference;\n\t\t\texisting.baseRules = nextRules.length;\n\t\t}\n\t\texisting.signature = signature;\n\t\texisting.styleObject[StyleObjectIdentifier] = identifier;\n\t\texisting.styleObject[1] = next[1];\n\t}\n\tstate.classNames[atomicKey] = identifier;\n}\nfunction emitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tif (!isWeb || !state.flatShouldDoClasses || state.styleProps.noNormalize === false) return;\n\tconst target = borderStyleDefaults[property];\n\tif (!target) return;\n\tconst atomic = state.flatAtomics?.[target];\n\tif (atomic?.baseRules || state.classNames[target] && !atomic || condition && atomic?.conditions?.[conditionKey]) return;\n\tdirectAtomic(state, target, \"solid\", condition, conditionKey, conditionWrappers, conditionSelector, true);\n}\nfunction flushDirectStyles(state, clear = false) {\n\tconst direct = state;\n\tconst atomics = direct.flatAtomics;\n\tif (!atomics) return;\n\tfor (const property in atomics) {\n\t\tconst styleObject = atomics[property].styleObject;\n\t\tconst identifier = styleObject[StyleObjectIdentifier];\n\t\tif (shouldInsertStyleRules(identifier)) {\n\t\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t\t}\n\t}\n\tif (clear) direct.flatAtomics = void 0;\n}\nfunction getDirectDynamicThemeAccess(state) {\n\treturn state.flatDynamicThemeAccess;\n}\nfunction emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tconst direct = state;\n\tif (condition & 4) (state.flatEnterKeys ||= /* @__PURE__ */ new Set()).add(property);\n\tif (condition & 8) (state.flatExitKeys ||= /* @__PURE__ */ new Set()).add(property);\n\tif (!isWeb && conditionTheme) {\n\t\tif (supportsDynamicColorIOS && isColorStyleKey(property)) {\n\t\t\tconst schemes = (direct.flatDynamicColors ||= {})[property] ||= {};\n\t\t\tschemes[conditionTheme] = typeof originalValue === \"string\" && /^[a-z]+$/i.test(originalValue) ? originalValue : value;\n\t\t\tmerge(state, property, { dynamic: { ...schemes } }, 1, false, originalValue);\n\t\t\treturn;\n\t\t}\n\t\tdirect.flatDynamicThemeAccess = true;\n\t}\n\tif (contextOnly) {\n\t\tif (!condition || condition & 1) (state.overriddenContextProps ||= {})[property] = originalValue;\n\t\treturn;\n\t}\n\tconst shouldPromoteAnimatedStyle = isWeb && !condition && !state.flatShouldDoClasses && !state.styleProps.noMergeStyle && state.styleProps.isAnimated && !state.animationDriver?.isReactNative && property in nonAnimatableStyleProps;\n\tif (isWeb && (state.flatShouldDoClasses || shouldPromoteAnimatedStyle)) {\n\t\tif (!condition) {\n\t\t\tif (state.style) delete state.style[property];\n\t\t}\n\t\tdirectAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector);\n\t\treturn;\n\t}\n\tif (condition) {\n\t\tif (!(condition & 1)) return;\n\t\tconst precedence = Math.floor(condition / 256);\n\t\tconst previous = direct.flatPrecedence?.[property];\n\t\tif (previous !== void 0 && precedence < previous) return;\n\t\t(direct.flatPrecedence ||= {})[property] = precedence;\n\t\t(state.flatActiveConditions ||= {})[property] = true;\n\t} else if (state.flatActiveConditions?.[property]) return;\n\tmerge(state, property, value, 1, true, originalValue);\n}\nfunction splitComponents(value) {\n\tconst parts = [];\n\tlet start = 0;\n\tlet quote = 0;\n\tlet depth = 0;\n\tfor (let index = 0; index <= value.length; index++) {\n\t\tconst code = index === value.length ? 32 : value.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) quote = code;\n\t\telse if (code === 40) depth++;\n\t\telse if (code === 41) depth--;\n\t\telse if (!depth && code <= 32) {\n\t\t\tif (index > start) parts.push(value.slice(start, index));\n\t\t\tstart = index + 1;\n\t\t}\n\t}\n\treturn parts;\n}\nfunction emitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb && (property === \"borderBlock\" || property === \"borderInline\")) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`RN has no logical border shorthand \"${property}\"; dropping it`);\n\t\treturn;\n\t}\n\tconst targets = borderTargets[property];\n\tlet width;\n\tlet style;\n\tlet color;\n\tfor (const part of splitComponents(raw)) {\n\t\tconst lower = part.toLowerCase();\n\t\tif (lineStyles.has(lower) || property === \"outline\" && lower === \"auto\") style = part;\n\t\telse if (lower === \"thin\" || lower === \"medium\" || lower === \"thick\" || /^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:[a-z%]+)?$/i.test(part) || /^(?:calc|var|min|max|clamp)\\(/i.test(part)) width = part;\n\t\telse color = part;\n\t}\n\tif (style === \"none\" && width === void 0) width = \"0\";\n\tif (width !== void 0) for (const target of targets.width) emitResolved(state, target, width, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\tif (style !== void 0) {\n\t\tconst styleTargets = !isWeb && property === \"border\" ? [\"borderStyle\"] : targets.style;\n\t\tfor (const target of styleTargets) emitProperty(state, target, style, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t}\n\tif (color !== void 0) for (const target of targets.color) emitResolved(state, target, color, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction emitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tfor (const part of splitComponents(raw)) emitResolved(state, part === \"solid\" || part === \"double\" || part === \"dotted\" || part === \"dashed\" || part === \"wavy\" ? \"textDecorationStyle\" : part === \"underline\" || part === \"overline\" || part === \"line-through\" || part === \"none\" ? \"textDecorationLine\" : \"textDecorationColor\", part, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction addComposition(state, property) {\n\tif (state.classNames[property]) return;\n\tconst value = property === \"translate\" ? \"var(--t-x, 0px) var(--t-y, 0px)\" : \"var(--t-scale-x, 1) var(--t-scale-y, 1)\";\n\tconst defaults = property === \"translate\" ? \"--t-x:0px;--t-y:0px\" : \"--t-scale-x:1;--t-scale-y:1\";\n\tconst styleObject = getCSSStyleAtomic(property, value, \"\", void 0, void 0, true);\n\tconst identifier = styleObject[StyleObjectIdentifier];\n\tstyleObject[StyleObjectRules].unshift(`:where(.${identifier}){${defaults}}`);\n\tif (shouldInsertStyleRules(identifier)) {\n\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t}\n\tstate.classNames[property] = identifier;\n}\nfunction emitTransform(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb || !state.flatShouldDoClasses) {\n\t\tif (!isWeb && property === \"scale\") {\n\t\t\temitProperty(state, \"scaleX\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\temitProperty(state, \"scaleY\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t} else emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tconst targets = property === \"scale\" ? [\"--t-scale-x\", \"--t-scale-y\"] : [property === \"x\" ? \"--t-x\" : property === \"y\" ? \"--t-y\" : property === \"scaleX\" ? \"--t-scale-x\" : property === \"scaleY\" ? \"--t-scale-y\" : \"rotate\"];\n\tfor (const target of targets) {\n\t\tlet targetValue = value;\n\t\tif (typeof targetValue === \"number\") {\n\t\t\tif (target === \"--t-x\" || target === \"--t-y\") targetValue = `${targetValue}px`;\n\t\t\telse if (target === \"rotate\") targetValue = `${targetValue}deg`;\n\t\t}\n\t\temitProperty(state, target, targetValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\tif (target === \"--t-x\" || target === \"--t-y\") addComposition(state, \"translate\");\n\t\telse if (target.startsWith(\"--t-scale\")) addComposition(state, \"scale\");\n\t}\n}\nfunction emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tlet value = configuredValue(state, property, raw);\n\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction shadowUnit(part) {\n\treturn typeof part === \"number\" ? `${part}px` : part || \"0px\";\n}\nfunction emitWebShadow(state, property, value, merge, originalValue, contextOnly) {\n\tconst shadow = state.flatWebShadow ||= {};\n\tshadow[property] = value;\n\tconst offset = shadow.shadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tconst color = normalizeColor(shadow.shadowColor, shadow.shadowOpacity ?? 1);\n\tif (!color) return;\n\tconst next = `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.shadowRadius)} ${color}`;\n\temitProperty(state, \"boxShadow\", state.flatBoxShadow ? `${state.flatBoxShadow}, ${next}` : next, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitWebTextShadow(state, property, value, merge, originalValue, contextOnly) {\n\tconst shadow = state.flatTextShadow ||= {};\n\tshadow[property] = value;\n\tconst offset = shadow.textShadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tif (!shadow.textShadowColor) return;\n\temitProperty(state, \"textShadow\", `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.textShadowRadius)} ${shadow.textShadowColor}`, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitValue(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (typeof raw === \"string\") raw = raw.trim();\n\tif (isVariable(raw)) raw = resolveVariableValue(property, raw, isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues);\n\temitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector);\n\tif (typeof raw === \"string\" && (property === \"transition\" || property === \"transitionProperty\")) raw = normalizeTransitionNames(state, raw);\n\tif (legacyTransformParts.has(property)) {\n\t\tif (isWeb && state.flatShouldDoClasses && state.classNames.transform) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`legacy transform part \"${property}\" is dropped because \"transform\" owns the property`);\n\t\t\treturn;\n\t\t}\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (isWeb && state.flatShouldDoClasses && !condition) {\n\t\t\tconst direct = state;\n\t\t\t(direct.flatLegacyTransforms ||= {})[property] = value2;\n\t\t\temitProperty(state, \"transform\", transformsToString(Object.keys(direct.flatLegacyTransforms).sort().map((key) => ({ [key]: direct.flatLegacyTransforms[key] }))), 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n\t\t} else if (condition && isWeb && state.flatShouldDoClasses) emitProperty(state, \"transform\", `${property}(${value2})`, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webShadowParts.has(property)) {\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webTextShadowParts.has(property)) {\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebTextShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && state.flatShouldDoClasses) {\n\t\tif (property === \"transform\") {\n\t\t\tconst direct = state;\n\t\t\tif (process.env.NODE_ENV === \"development\" && direct.flatLegacyTransforms) for (const part in direct.flatLegacyTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\tdirect.flatLegacyTransforms = void 0;\n\t\t\tif (state.flatTransforms) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") for (const part in state.flatTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\t\tstate.flatTransforms = void 0;\n\t\t\t}\n\t\t}\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"transform\" && Array.isArray(raw)) raw = transformsToString(raw);\n\tif (typeof raw === \"string\" && property in borderTargets) {\n\t\temitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"textDecoration\") {\n\t\temitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"background\") {\n\t\tconst parts = splitComponents(raw);\n\t\tif (parts.length === 1 && !/^(?:url|image-set|.*gradient)\\(/i.test(parts[0])) {\n\t\t\temitResolved(state, \"backgroundColor\", parts[0], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t\tif (!isWeb) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native background cannot represent \"${raw}\"; dropping it`);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (property === \"x\" || property === \"y\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" || property === \"rotate\") {\n\t\tlet value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value2 === \"string\" && !value2.startsWith(THEME_REF_PREFIX)) {\n\t\t\tif (property === \"rotate\" && !/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:deg|rad)$/i.test(value2)) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native transform \"${property}\" cannot represent \"${value2}\"; dropping it`);\n\t\t\t\tif (condition & 1 && state.flatTransforms) delete state.flatTransforms[property];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value2)) value2 = Number.parseFloat(value2);\n\t\t\telse if (Number.isFinite(Number(value2))) value2 = Number(value2);\n\t\t}\n\t\temitTransform(state, property, value2, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (isWeb && !state.flatShouldDoClasses && !condition && property === \"borderRadius\") {\n\t\tif (typeof raw === \"string\") emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse emitProperty(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tlet value = raw;\n\tif (typeof raw === \"string\") {\n\t\tvalue = configuredValue(state, property, raw);\n\t\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"boxShadow\" && !condition) state.flatBoxShadow = value;\n\tif (!isWeb && property === \"fontVariant\" && typeof value === \"string\") value = value.split(/[,\\s]+/).filter(Boolean);\n\tconst expanded = state.styleProps.noExpand ? null : expandStyle(property, value, state.conf.settings.styleCompat || \"web\");\n\tif (!expanded) {\n\t\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && expanded.length > 1) {\n\t\tconst parts = splitComponents(raw);\n\t\tif (parts.length > 0 && parts.length <= (expanded.length === 4 ? 4 : 2)) {\n\t\t\tfor (let index = 0; index < expanded.length; index++) {\n\t\t\t\tconst partIndex = index === 0 || parts.length === 1 ? 0 : index === 1 || index === 3 && parts.length < 4 ? 1 : index === 2 && parts.length < 3 ? 0 : index;\n\t\t\t\temitResolved(state, expanded[index][0], parts[partIndex], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t}\n\tfor (let index = 0; index < expanded.length; index++) emitProperty(state, expanded[index][0], expanded[index][1], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction contributeStyleString(state, property, source, merge, originalValue, contextOnly = false) {\n\tif (isWeb && source.indexOf(\":\") !== -1 && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tif (source.indexOf(\":\") === -1) {\n\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? source, contextOnly);\n\t\treturn true;\n\t}\n\tscanFlatValue(source, directStyleHandler, state, property, merge, originalValue, contextOnly);\n\treturn true;\n}\nfunction contributeFrontendValue(state, property, value, merge, contextOnly = false) {\n\tif (value.base !== null) emitValue(state, property, value.base, 0, \"\", void 0, \"\", \"\", merge, value.base, contextOnly);\n\tfor (const clause of value.clauses) {\n\t\tconst source = clause.modifiers.join(\":\");\n\t\tresolveClauseChain(state, source, 0, source.length, property, clause.payload, merge, clause.payload, contextOnly);\n\t}\n\treturn true;\n}\nfunction contributeVariantClauseValue(state, property, value, conditionSource, merge, originalValue, contextOnly = false) {\n\tresolveClauseChain(state, conditionSource, 0, conditionSource.length, property, value, merge, originalValue, contextOnly, -1, -1, 2);\n}\nfunction contributeStyleValue(state, property, value, merge, originalValue, contextOnly = false) {\n\tif (value === \"safe\" && isSafeAreaKey(property)) {\n\t\tconst expanded = expandSafeAreaValue(property);\n\t\tif (expanded) {\n\t\t\tstate.flatUsesSafeArea = true;\n\t\t\tfor (const [key, resolved] of expanded) emitValue(state, key, resolved, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? value, contextOnly);\n\t\t\treturn true;\n\t\t}\n\t}\n\tif (typeof value === \"string\") return contributeStyleString(state, property, value, merge, originalValue, contextOnly);\n\tif (value != null) {\n\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? value, contextOnly);\n\t\treturn true;\n\t}\n\treturn false;\n}\nfunction clearDirectStyle(state, property) {\n\tconst direct = state;\n\tconst atomicKey = property.startsWith(\"transition\") ? \"transition\" : webShadowParts.has(property) ? \"boxShadow\" : webTextShadowParts.has(property) ? \"textShadow\" : legacyTransformParts.has(property) ? \"transform\" : property;\n\tif (direct.flatAtomics) delete direct.flatAtomics[atomicKey];\n\tdelete state.classNames[atomicKey];\n}\n\nexport { clearDirectStyle, contributeFrontendValue, contributeStyleString, contributeStyleValue, contributeVariantClauseValue, directStyleSignature, flushDirectStyles, getDirectDynamicThemeAccess, platformMatches, resolveClauseChain };"],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,qBAAqB;CAC1B,QAAQ,OAAO,OAAO,KAAK,QAAQ,OAAO,QAAQ,YAAY,UAAU,YAAY,YAAY,SAAS,SAAS,cAAc,UAAU,OAAO,eAAe,aAAa;EAC5K,IAAI,QAAQ;GACX,IAAI,UAAU,KAAK;GACnB,IAAI,CAAC,OAAO;IACX,IAAI,QAAQ,IAAI,aAAa,eAAe,iBAAiB,UAAU,QAAQ,YAAY,sBAAsB,IAAI,OAAO,cAAc,uCAAuC,YAAY,wBAAwB,2BAA2B,YAAY,yBAAyB,mCAAmC,YAAY,wBAAwB,mBAAmB,uBAAuB;IACtY;GACD;GACA,MAAM,QA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6BAA6B,OAAO,UAAU,OAAO,iBAAiB,OAAO,eAAe,cAAc,OAAO;CACzH,mBAAmB,OAAO,iBAAiB,GAAG,gBAAgB,QAAQ,UAAU,OAAO,OAAO,eAAe,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC;AACpI;AACA,SAAS,qBAAqB,OAAO,UAAU,OAAO,OAAO,eAAe,cAAc,OAAO;CAChG,IAAI,UAAU,UAAU,cAAc,QAAQ,GAAG;EAChD,MAAM,WAAW,oBAAoB,QAAQ;EAC7C,IAAI,UAAU;GACb,MAAM,mBAAmB;GACzB,KAAK,MAAM,CAAC,KAAK,aAAa,UAAU,UAAU,OAAO,KAAK,UAAU,GAAG,IAAI,KAAK,GAAG,IAAI,IAAI,OAAO,iBAAiB,OAAO,WAAW;GACzI,OAAO;EACR;CACD;CACA,IAAI,OAAO,UAAU,UAAU,OAAO,sBAAsB,OAAO,UAAU,OAAO,OAAO,eAAe,WAAW;CACrH,IAAI,SAAS,MAAM;EAClB,UAAU,OAAO,UAAU,OAAO,GAAG,IAAI,KAAK,GAAG,IAAI,IAAI,OAAO,iBAAiB,OAAO,WAAW;EACnG,OAAO;CACR;CACA,OAAO;AACR;AACA,SAAS,iBAAiB,OAAO,UAAU;CAC1C,MAAM,SAAS;CACf,MAAM,YAAY,SAAS,WAAW,YAAY,IAAI,eAAe,eAAe,IAAI,QAAQ,IAAI,cAAc,mBAAmB,IAAI,QAAQ,IAAI,eAAe,qBAAqB,IAAI,QAAQ,IAAI,cAAc;CACvN,IAAI,OAAO,aAAa,OAAO,OAAO,YAAY;CAClD,OAAO,MAAM,WAAW;AACzB"}
|
|
1
|
+
{"version":3,"file":"directStyle.js","names":[],"sources":["esm/helpers/directStyle.js"],"sourcesContent":["import { isAndroid, isIos, isTV, isWeb, supportsDynamicColorIOS } from \"@tamagui/constants\";\nimport { StyleObjectIdentifier, StyleObjectRules, nonAnimatableStyleProps, tokenCategories } from \"@tamagui/helpers\";\nimport { canonicalStateModifierNames, isContainerSizeQueryText, isModifierName, modifierKindMedia, modifierKindPlatform, modifierKindState, modifierKindTheme, scanFlatValue, stateModifierSelectors } from \"@tamagui/style-grammar/runtime\";\nimport { isVariable } from \"../createVariable\";\nimport { mediaKeyMatch } from \"../hooks/useMedia\";\nimport { warnOnce, warnRefusedValue } from \"./warnOnce\";\nimport { expandStyle } from \"./expandStyle\";\nimport { getCSSStyleAtomic } from \"./getCSSStylesAtomic\";\nimport { getConfigRevisionState } from \"./grammarConfig\";\nimport { isColorStyleKey } from \"./getDynamicVal\";\nimport { shouldInsertStyleRules, updateRules } from \"./insertStyleRule\";\nimport { normalizeColor } from \"./normalizeColor\";\nimport { getTokenCategoryForProperty, tokenCategoryByProperty } from \"./tokenCategories\";\nimport { resolveSafeAreaVariable } from \"./resolveSafeAreaVariable\";\nimport { expandSafeAreaValue, isSafeAreaKey } from \"./resolveSafeArea\";\nimport { resolveVariableValue } from \"./resolveVariableValue\";\nimport { THEME_REF_PREFIX } from \"./themeRef\";\nimport { transformsToString } from \"./transformsToString\";\n\nconst directStyleHandler = {\n\tsegment(state, start, end, isBase, valid, source, chainStart, chainEnd, chainValid, chainCount, _result, failure, failureIndex, property, merge, originalValue, contextOnly) {\n\t\tif (isBase) {\n\t\t\tif (start === end) return;\n\t\t\tif (!valid) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst value = source.slice(start, end);\n\t\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t\treturn 5;\n\t\t}\n\t\tif (!chainValid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\tif (start === end) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, \"a conditional clause has no value\");\n\t\t\treturn;\n\t\t}\n\t\tif (property === \"aspectRatio\" && chainCount === 1) {\n\t\t\tconst left = Number(source.slice(chainStart, chainEnd));\n\t\t\tconst right = Number(source.slice(start, end));\n\t\t\tif (chainStart < chainEnd && Number.isFinite(left) && left > 0 && Number.isFinite(right) && right > 0) return 12;\n\t\t}\n\t\tconst condition = resolveClauseChain(state, source, chainStart, chainEnd, property, void 0, valid ? merge : void 0, void 0, contextOnly, start, end, 1);\n\t\tif (!condition) return;\n\t\tif (!valid) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnRefusedValue(property, source, failure === \"invalid-character\" ? `\"${source[failureIndex]}\" would end the declaration or rule` : failure === \"unterminated-string\" ? \"an unterminated string\" : failure === \"unterminated-comment\" ? \"an unterminated \\\"/*\\\" comment\" : failure === \"stray-comment-close\" ? \"a stray \\\"*/\\\"\" : \"an unterminated \\\"(\\\"\");\n\t\t\treturn;\n\t\t}\n\t\treturn 4 | (condition & 12 ? 2 : 0);\n\t},\n\tchain() {\n\t\treturn true;\n\t},\n\tend(state, source, result, lastPayloadStart, chainCount, property, merge, originalValue, contextOnly) {\n\t\tlet hasBase = !!(result & 1);\n\t\tif (result & 8 && chainCount === 1) {\n\t\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? source, contextOnly);\n\t\t\thasBase = true;\n\t\t}\n\t\tif (process.env.NODE_ENV === \"development\" && !hasBase && result & 4 && (property in tokenCategories.color || property in tokenCategoryByProperty) && splitComponents(source.slice(lastPayloadStart)).length > 1) warnOnce(`${property}=\"${source}\" has multiple values after its first conditional. Write the base value before the first conditional.`);\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && result & 2 && !hasBase) {\n\t\t\tconst value = implicitLifecycleBase(property);\n\t\t\tif (value !== null) emitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, value, contextOnly);\n\t\t}\n\t}\n};\nfunction implicitLifecycleBase(property) {\n\treturn property === \"opacity\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" ? 1 : property === \"rotate\" ? \"0deg\" : property === \"x\" || property === \"y\" ? 0 : null;\n}\nconst legacyTransformParts = /* @__PURE__ */ new Set([\n\t\"matrix\",\n\t\"perspective\",\n\t\"rotateX\",\n\t\"rotateY\",\n\t\"rotateZ\",\n\t\"scaleZ\",\n\t\"skewX\",\n\t\"skewY\"\n]);\nconst webShadowParts = /* @__PURE__ */ new Set([\n\t\"shadowColor\",\n\t\"shadowOffset\",\n\t\"shadowOpacity\",\n\t\"shadowRadius\"\n]);\nconst webTextShadowParts = /* @__PURE__ */ new Set([\n\t\"textShadowColor\",\n\t\"textShadowOffset\",\n\t\"textShadowRadius\"\n]);\nconst lineStyles = /* @__PURE__ */ new Set([\n\t\"none\",\n\t\"hidden\",\n\t\"dotted\",\n\t\"dashed\",\n\t\"solid\",\n\t\"double\",\n\t\"groove\",\n\t\"ridge\",\n\t\"inset\",\n\t\"outset\"\n]);\nconst borderTargets = {\n\tborder: {\n\t\twidth: [\n\t\t\t\"borderTopWidth\",\n\t\t\t\"borderRightWidth\",\n\t\t\t\"borderBottomWidth\",\n\t\t\t\"borderLeftWidth\"\n\t\t],\n\t\tstyle: [\n\t\t\t\"borderTopStyle\",\n\t\t\t\"borderRightStyle\",\n\t\t\t\"borderBottomStyle\",\n\t\t\t\"borderLeftStyle\"\n\t\t],\n\t\tcolor: [\n\t\t\t\"borderTopColor\",\n\t\t\t\"borderRightColor\",\n\t\t\t\"borderBottomColor\",\n\t\t\t\"borderLeftColor\"\n\t\t]\n\t},\n\tborderTop: {\n\t\twidth: [\"borderTopWidth\"],\n\t\tstyle: [\"borderTopStyle\"],\n\t\tcolor: [\"borderTopColor\"]\n\t},\n\tborderRight: {\n\t\twidth: [\"borderRightWidth\"],\n\t\tstyle: [\"borderRightStyle\"],\n\t\tcolor: [\"borderRightColor\"]\n\t},\n\tborderBottom: {\n\t\twidth: [\"borderBottomWidth\"],\n\t\tstyle: [\"borderBottomStyle\"],\n\t\tcolor: [\"borderBottomColor\"]\n\t},\n\tborderLeft: {\n\t\twidth: [\"borderLeftWidth\"],\n\t\tstyle: [\"borderLeftStyle\"],\n\t\tcolor: [\"borderLeftColor\"]\n\t},\n\toutline: {\n\t\twidth: [\"outlineWidth\"],\n\t\tstyle: [\"outlineStyle\"],\n\t\tcolor: [\"outlineColor\"]\n\t},\n\tborderBlock: {\n\t\twidth: [\"borderBlockStartWidth\", \"borderBlockEndWidth\"],\n\t\tstyle: [\"borderBlockStartStyle\", \"borderBlockEndStyle\"],\n\t\tcolor: [\"borderBlockStartColor\", \"borderBlockEndColor\"]\n\t},\n\tborderInline: {\n\t\twidth: [\"borderInlineStartWidth\", \"borderInlineEndWidth\"],\n\t\tstyle: [\"borderInlineStartStyle\", \"borderInlineEndStyle\"],\n\t\tcolor: [\"borderInlineStartColor\", \"borderInlineEndColor\"]\n\t}\n};\nconst borderStyleDefaults = {\n\tborderWidth: \"borderStyle\",\n\tborderTopWidth: \"borderTopStyle\",\n\tborderRightWidth: \"borderRightStyle\",\n\tborderBottomWidth: \"borderBottomStyle\",\n\tborderLeftWidth: \"borderLeftStyle\"\n};\nfunction platformMatches(name) {\n\tif (name === \"web\") return isWeb;\n\tif (name === \"native\") return !isWeb;\n\tif (name === \"ios\") return isIos;\n\tif (name === \"android\") return isAndroid;\n\tif (name === \"tvos\") return isIos && isTV;\n\tif (name === \"androidtv\") return isAndroid && isTV;\n\treturn name === \"tv\" && isTV;\n}\nfunction resolveClauseChain(state, source, start, end, property, raw, merge, originalValue, contextOnly = false, payloadStart = -1, payloadEnd = -1, warning = 0) {\n\tconst compiled = getConfigRevisionState(state.conf);\n\tconst sourceStart = start;\n\tlet key = \"\";\n\tlet active = true;\n\tlet emit = true;\n\tlet selector = \"\";\n\tlet wrappers;\n\tlet theme = \"\";\n\tlet enter = false;\n\tlet exit = false;\n\tlet unsupportedState = \"\";\n\tlet platformRank = 0;\n\tlet depth = 0;\n\tlet categoryRank = 0;\n\tlet withinRank = 0;\n\tlet selfStateSpecificity = 0;\n\tfor (let index = start; index <= end; index++) {\n\t\tif (index !== end && source.charCodeAt(index) !== 58) continue;\n\t\tlet modifier = source.slice(start, index);\n\t\tstart = index + 1;\n\t\tlet code = compiled.modifiers[modifier];\n\t\tlet kind = code & 7;\n\t\tlet rank = code >> 3;\n\t\tlet stateSelector = \"\";\n\t\tlet conditionStateName = \"\";\n\t\tlet groupName = \"\";\n\t\tlet containerSize = \"\";\n\t\tlet containerName = \"\";\n\t\tlet containerQuery = \"\";\n\t\tif (kind === modifierKindState) {\n\t\t\tmodifier = canonicalStateModifierNames[rank];\n\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t} else if (!kind && modifier.startsWith(\"group-\")) {\n\t\t\tconst slash = modifier.indexOf(\"/\");\n\t\t\tconst authoredState = modifier.slice(6, slash === -1 ? void 0 : slash);\n\t\t\tcode = compiled.modifiers[authoredState];\n\t\t\tif ((code & 7) !== modifierKindState) kind = 0;\n\t\t\telse {\n\t\t\t\trank = code >> 3;\n\t\t\t\tgroupName = slash === -1 ? \"true\" : modifier.slice(slash + 1);\n\t\t\t\tif (rank === 6 || rank === 7 || slash !== -1 && !isModifierName(groupName, 0, groupName.length)) kind = 0;\n\t\t\t\telse {\n\t\t\t\t\tkind = 5;\n\t\t\t\t\tconst stateName = canonicalStateModifierNames[rank];\n\t\t\t\t\tconditionStateName = stateName;\n\t\t\t\t\tstateSelector = stateModifierSelectors[rank];\n\t\t\t\t\tmodifier = `group-${stateName}${slash === -1 ? \"\" : modifier.slice(slash)}`;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!kind && modifier.charCodeAt(0) === 64) {\n\t\t\tconst slash = modifier.indexOf(\"/\");\n\t\t\tcontainerSize = modifier.slice(1, slash === -1 ? void 0 : slash);\n\t\t\tcontainerName = slash === -1 ? \"\" : modifier.slice(slash + 1);\n\t\t\tif (isModifierName(containerSize, 0, containerSize.length) && (slash === -1 || isModifierName(containerName, 0, containerName.length)) && ((code = compiled.modifiers[containerSize]) & 7) === modifierKindMedia && (containerQuery = compiled.mediaQueries[containerSize]) && isContainerSizeQueryText(containerQuery)) {\n\t\t\t\tkind = 6;\n\t\t\t\trank = code >> 3;\n\t\t\t}\n\t\t}\n\t\tif (!kind) {\n\t\t\tif (warning && process.env.NODE_ENV === \"development\") warnRefusedValue(property, warning === 1 ? source : raw, `unknown modifier \"${source.slice(sourceStart, end)}\"`);\n\t\t\treturn 0;\n\t\t}\n\t\tlet slotStart = 0;\n\t\tlet duplicate = false;\n\t\tlet inserted = !key;\n\t\tif (!key) key = modifier;\n\t\telse {\n\t\t\twhile (slotStart <= key.length) {\n\t\t\t\tlet slotEnd = key.indexOf(\":\", slotStart);\n\t\t\t\tif (slotEnd === -1) slotEnd = key.length;\n\t\t\t\tlet order = 0;\n\t\t\t\tconst compareLength = Math.min(modifier.length, slotEnd - slotStart);\n\t\t\t\tfor (let offset = 0; offset < compareLength; offset++) {\n\t\t\t\t\torder = modifier.charCodeAt(offset) - key.charCodeAt(slotStart + offset);\n\t\t\t\t\tif (order) break;\n\t\t\t\t}\n\t\t\t\torder ||= modifier.length - (slotEnd - slotStart);\n\t\t\t\tif (!order) {\n\t\t\t\t\tduplicate = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (order < 0) {\n\t\t\t\t\tkey = `${key.slice(0, slotStart)}${modifier}:${key.slice(slotStart)}`;\n\t\t\t\t\tinserted = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (slotEnd === key.length) break;\n\t\t\t\tslotStart = slotEnd + 1;\n\t\t\t}\n\t\t\tif (!duplicate && !inserted) key += `:${modifier}`;\n\t\t}\n\t\tif (duplicate) continue;\n\t\tif (kind === modifierKindPlatform) {\n\t\t\tif (rank > platformRank) platformRank = rank;\n\t\t\tconst matches = platformMatches(modifier);\n\t\t\tactive &&= matches;\n\t\t\temit &&= matches;\n\t\t\tcontinue;\n\t\t}\n\t\tdepth++;\n\t\tconst nextCategory = kind === modifierKindMedia ? 0 : kind === 6 ? 1 : kind === modifierKindTheme ? 2 : kind === 5 ? 3 : 4;\n\t\tif (nextCategory > categoryRank) {\n\t\t\tcategoryRank = nextCategory;\n\t\t\twithinRank = rank;\n\t\t} else if (nextCategory === categoryRank && rank > withinRank) withinRank = rank;\n\t\tif (kind === modifierKindMedia) {\n\t\t\tconst query = compiled.mediaQueries[modifier];\n\t\t\tif (!query) return 0;\n\t\t\t(wrappers ||= []).push(`@media ${query}`);\n\t\t\tactive &&= !!state.flatMediaState?.[modifier];\n\t\t\t(state.flatMediaKeys ||= /* @__PURE__ */ new Set()).add(modifier);\n\t\t} else if (kind === modifierKindTheme) {\n\t\t\ttheme = modifier;\n\t\t\tselector += `:where(.t_${modifier}, .t_${modifier} *)`;\n\t\t\tactive &&= state.flatThemeName === modifier || state.flatThemeName?.startsWith(`${modifier}_`) === true;\n\t\t} else if (kind === 5) {\n\t\t\tselector += `:where(.t_group_${groupName}${stateSelector} *)`;\n\t\t\tif (rank === 0) (wrappers ||= []).push(\"@media (hover: hover)\");\n\t\t\tconst component = state.componentState.group?.[groupName];\n\t\t\tconst context = state.flatGroupContext?.[groupName];\n\t\t\tactive &&= !!(component?.pseudo ?? context?.state.pseudo)?.[conditionStateName];\n\t\t\t(state.flatGroupKeys ||= /* @__PURE__ */ new Set()).add(groupName);\n\t\t} else if (kind === 6) {\n\t\t\tconst groupKey = `@${containerName}`;\n\t\t\t(wrappers ||= []).push(containerName ? `@container ${containerName} ${containerQuery}` : `@container ${containerQuery}`);\n\t\t\tconst component = state.componentState.group?.[groupKey];\n\t\t\tconst context = state.flatGroupContext?.[groupKey];\n\t\t\tconst match = component?.media?.[containerSize];\n\t\t\tactive &&= match === void 0 ? !!(context?.state.layout && mediaKeyMatch(containerSize, context.state.layout)) : !!match;\n\t\t\t(state.flatGroupKeys ||= /* @__PURE__ */ new Set()).add(groupKey);\n\t\t\t(state.flatGroupMedia ||= /* @__PURE__ */ new Set()).add(containerSize);\n\t\t} else {\n\t\t\tselfStateSpecificity++;\n\t\t\tif (!isWeb && stateSelector[0] === \"[\" && modifier !== \"disabled\") unsupportedState = modifier;\n\t\t\tif (stateSelector[0] === \".\") {\n\t\t\t\tselector += `:is(${stateSelector}, ${stateSelector} *)`;\n\t\t\t\tif (rank === 6) enter = true;\n\t\t\t\telse exit = true;\n\t\t\t} else selector += stateSelector;\n\t\t\tif (rank === 0) (wrappers ||= []).push(\"@media (hover: hover)\");\n\t\t\tconst component = state.componentState;\n\t\t\tactive &&= rank === 0 ? !!component.hover : rank === 4 ? !!(component.press || component.pressIn) : rank === 2 ? !!component.focus : rank === 3 ? !!component.focusVisible : rank === 1 ? !!component.focusWithin : rank === 5 ? !!(component.disabled || state.props.disabled) : rank === 6 ? !!component.unmounted : rank === 7 ? !!state.styleProps.isExiting : false;\n\t\t\tif (stateSelector[0] === \":\") (state.flatStateKeys ||= /* @__PURE__ */ new Set()).add(modifier);\n\t\t}\n\t}\n\tif (depth > 5) throw new Error(`a flat value clause supports at most 5 non-platform conditions; received ${depth} in \"${source.slice(sourceStart, end)}:\"`);\n\tconst condition = (platformRank << 26 | depth << 23 | categoryRank << 20 | withinRank) * 256 + selfStateSpecificity * 32 + 16 + (active ? 1 : 0) + (emit ? 2 : 0) + (enter ? 4 : 0) + (exit ? 8 : 0);\n\tif (warning && unsupportedState && process.env.NODE_ENV === \"development\") warnOnce(`${property}: \"${unsupportedState}:\" has no native component-state source; dropping the clause`);\n\tif (merge && property && condition & 2 && (condition & 1 || isWeb && state.flatShouldDoClasses || warning === 1 && !isWeb && theme && supportsDynamicColorIOS && isColorStyleKey(property))) {\n\t\tconst value = payloadStart === -1 ? raw : source.slice(payloadStart, payloadEnd);\n\t\temitValue(state, property, value, condition, key, wrappers, selector, theme, merge, warning === 2 ? originalValue : originalValue ?? value, contextOnly);\n\t}\n\treturn condition;\n}\nconst tokenLookup = {\n\tvalue: void 0,\n\tfromTheme: false,\n\tthemeKey: \"\"\n};\nfunction fillTokenLookup(value, fromTheme, themeKey) {\n\ttokenLookup.value = value;\n\ttokenLookup.fromTheme = fromTheme;\n\ttokenLookup.themeKey = themeKey;\n\treturn tokenLookup;\n}\nfunction tokenVariable(state, property, name) {\n\tlet lookupName = name.charCodeAt(0) === 36 ? name.slice(1) : name;\n\tif (property === \"fontFamily\") {\n\t\tconst family = state.conf.fontsParsed[lookupName]?.family;\n\t\treturn family ? fillTokenLookup(family, false, lookupName) : void 0;\n\t}\n\tconst fontKey = property === \"fontSize\" ? \"size\" : property === \"fontWeight\" ? \"weight\" : property === \"lineHeight\" || property === \"letterSpacing\" ? property : void 0;\n\tif (fontKey) {\n\t\tconst value = (state.conf.fontsParsed[state.fontFamily || state.conf.defaultFontToken] || state.conf.fontsParsed[state.conf.defaultFontToken])?.[fontKey]?.[lookupName];\n\t\treturn value ? fillTokenLookup(value, false, lookupName) : void 0;\n\t}\n\tconst category = getTokenCategoryForProperty(property);\n\tconst dot = lookupName.indexOf(\".\");\n\tif (dot !== -1) {\n\t\tconst prefix = lookupName.slice(0, dot);\n\t\tif (!category || prefix === category || prefix === \"color\") lookupName = lookupName.slice(dot + 1);\n\t}\n\tif (category) {\n\t\tconst own = state.conf.tokensParsed[category]?.[lookupName];\n\t\tif (own) return fillTokenLookup(own, false, lookupName);\n\t\tfor (const sibling of [\n\t\t\t\"color\",\n\t\t\t\"space\",\n\t\t\t\"size\",\n\t\t\t\"radius\",\n\t\t\t\"zIndex\"\n\t\t]) if (sibling !== category && state.conf.tokensParsed[sibling]?.[lookupName]) return;\n\t} else {\n\t\tconst first = lookupName.charCodeAt(0);\n\t\tif (first >= 48 && first <= 57 || first === 43 || first === 45 || first === 46) return;\n\t}\n\tconst theme = state.theme?.[lookupName] || state.conf.themes?.[state.flatThemeName || \"\"]?.[lookupName];\n\tif (theme) return fillTokenLookup(theme, true, lookupName);\n\tif (category) return;\n\tconst token = state.conf.tokensParsed.space?.[lookupName] || state.conf.tokensParsed.color?.[lookupName];\n\treturn token ? fillTokenLookup(token, false, lookupName) : void 0;\n}\nfunction configuredValue(state, property, raw) {\n\tlet name = raw;\n\tlet opacity;\n\tconst slash = raw.lastIndexOf(\"/\");\n\tif (slash > 0) {\n\t\tconst amount = Number(raw.slice(slash + 1));\n\t\tif (Number.isInteger(amount) && amount >= 0 && amount <= 100) {\n\t\t\tname = raw.slice(0, slash);\n\t\t\topacity = amount;\n\t\t}\n\t}\n\tconst safeArea = resolveSafeAreaVariable(name);\n\tif (safeArea !== void 0) {\n\t\tstate.flatUsesSafeArea = true;\n\t\treturn safeArea;\n\t}\n\tconst lookup = tokenVariable(state, property, name);\n\tif (!lookup || !isVariable(lookup.value)) {\n\t\tif (process.env.NODE_ENV === \"development\" && tokenCategoryByProperty[property] && state.conf.tokensParsed.color?.[name]) warnOnce(`\"${name}\" contributes to \"color\", not \"${property}\"; keeping it literal`);\n\t\treturn raw;\n\t}\n\tconst resolveValues = isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues;\n\tif (resolveValues === \"except-theme\" && lookup.fromTheme) return `${THEME_REF_PREFIX}${lookup.themeKey}${opacity !== void 0 ? `/${opacity}` : \"\"}`;\n\tlet value = resolveVariableValue(property, lookup.value, resolveValues);\n\tif (opacity !== void 0) value = isWeb ? `color-mix(in srgb, ${value} ${opacity}%, transparent)` : normalizeColor(value, opacity / 100);\n\treturn value;\n}\nconst letterFreeCallPattern = /^[A-Za-z-]+\\([^A-Za-z]*\\)$/;\nfunction resolveEmbeddedTokens(state, property, raw) {\n\tif (letterFreeCallPattern.test(raw)) return raw;\n\treturn raw.replace(/[$A-Za-z_][\\w.$-]*(?:\\/\\d+)?/g, (word, index) => {\n\t\tif (word.charCodeAt(0) !== 36) {\n\t\t\tconst before = raw.charCodeAt(index - 1);\n\t\t\tif (before >= 48 && before <= 57 || before === 35 || before === 45 && raw.charCodeAt(index - 2) === 45 || raw.charCodeAt(index + word.length) === 40) return word;\n\t\t}\n\t\tconst value = configuredValue(state, property, word);\n\t\treturn value === word ? word : String(value);\n\t});\n}\nfunction normalizeTransitionNames(state, raw) {\n\tlet quote = 0;\n\tlet depth = 0;\n\tlet copyFrom = 0;\n\tlet out = \"\";\n\tfor (let index = 0; index < raw.length; index++) {\n\t\tconst code = raw.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) {\n\t\t\tquote = code;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 40) {\n\t\t\tdepth++;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 41) {\n\t\t\tdepth--;\n\t\t\tcontinue;\n\t\t}\n\t\tif (depth || !(code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95) || index > 1 && raw.charCodeAt(index - 1) === 45 && raw.charCodeAt(index - 2) === 45) continue;\n\t\tlet end = index + 1;\n\t\twhile (end < raw.length) {\n\t\t\tconst next = raw.charCodeAt(end);\n\t\t\tif (next >= 48 && next <= 57 || next >= 65 && next <= 90 || next >= 97 && next <= 122 || next === 45 || next === 95) end++;\n\t\t\telse break;\n\t\t}\n\t\tif (raw.charCodeAt(end) !== 40) {\n\t\t\tconst authored = raw.slice(index, end);\n\t\t\tlet property = state.conf.shorthands[authored] || authored;\n\t\t\tif (property === \"x\" || property === \"y\") property = \"translate\";\n\t\t\telse if (property === \"scaleX\" || property === \"scaleY\") property = \"scale\";\n\t\t\telse if (legacyTransformParts.has(property)) property = \"transform\";\n\t\t\tif (property !== authored || /[A-Z]/.test(property)) {\n\t\t\t\tout += raw.slice(copyFrom, index);\n\t\t\t\tout += property.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);\n\t\t\t\tcopyFrom = end;\n\t\t\t}\n\t\t}\n\t\tindex = end - 1;\n\t}\n\treturn copyFrom ? out + raw.slice(copyFrom) : raw;\n}\nfunction directStyleSignature(property, value, conditionKey = \"\") {\n\treturn `\u001f${property}\u001f${conditionKey}\u001e${String(value)}`;\n}\nfunction directAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, isDefault = false) {\n\tconst atomics = state.flatAtomics ||= {};\n\tconst atomicKey = property.startsWith(\"transition\") ? \"transition\" : property;\n\tconst existing = atomics[atomicKey];\n\tconst contribution = directStyleSignature(property, value, conditionKey);\n\tconst signature = existing ? existing.signature + contribution : contribution;\n\tconst next = getCSSStyleAtomic(property, value, conditionSelector, conditionWrappers, signature, true, atomicKey, condition ? 1 + (Math.floor(condition / 256) >>> 23 & 7) + (Math.floor(condition / 256) >>> 26) * 6 - (condition >>> 5 & 7) : void 0);\n\tif (!next) return;\n\tconst identifier = next[StyleObjectIdentifier];\n\tconst nextRules = next[StyleObjectRules];\n\tconst slotted = condition || atomicKey === \"transition\";\n\tif (!existing) {\n\t\tconst atomic = {\n\t\t\tbaseRules: slotted ? 0 : nextRules.length,\n\t\t\tconditions: void 0,\n\t\t\tsignature,\n\t\t\tstyleObject: next\n\t\t};\n\t\tif (slotted) atomic.conditions = { [atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey]: {\n\t\t\tcount: nextRules.length,\n\t\t\tindex: 0,\n\t\t\tprecedence: condition ? Math.floor(condition / 256) : 0,\n\t\t\tdefault: isDefault\n\t\t} };\n\t\tatomics[atomicKey] = atomic;\n\t} else {\n\t\tconst previousIdentifier = existing.styleObject[StyleObjectIdentifier];\n\t\tconst rules = existing.styleObject[StyleObjectRules];\n\t\tif (!condition && !isDefault && existing.conditions) for (const key in existing.conditions) {\n\t\t\tconst entry = existing.conditions[key];\n\t\t\tif (!entry.default) continue;\n\t\t\trules.splice(entry.index, entry.count);\n\t\t\tdelete existing.conditions[key];\n\t\t\tfor (const otherKey in existing.conditions) {\n\t\t\t\tconst other = existing.conditions[otherKey];\n\t\t\t\tif (other.index > entry.index) other.index -= entry.count;\n\t\t\t}\n\t\t}\n\t\tif (previousIdentifier !== identifier) {\n\t\t\tconst oldSelector = `.${previousIdentifier}`;\n\t\t\tconst newSelector = `.${identifier}`;\n\t\t\tfor (let index = 0; index < rules.length; index++) rules[index] = rules[index].replaceAll(oldSelector, newSelector);\n\t\t}\n\t\tif (slotted) {\n\t\t\tconst slot = atomicKey === \"transition\" ? `${conditionKey}\\0${property}` : conditionKey;\n\t\t\tconst previous = existing.conditions?.[slot];\n\t\t\tif (previous) {\n\t\t\t\trules.splice(previous.index, previous.count);\n\t\t\t\tif (existing.conditions) for (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry !== previous && entry.index > previous.index) entry.index -= previous.count;\n\t\t\t\t}\n\t\t\t\tdelete existing.conditions[slot];\n\t\t\t}\n\t\t\tconst precedence = condition ? Math.floor(condition / 256) : 0;\n\t\t\tlet insertionIndex = rules.length;\n\t\t\tif (existing.conditions) {\n\t\t\t\tfor (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry.precedence > precedence && entry.index < insertionIndex) insertionIndex = entry.index;\n\t\t\t\t}\n\t\t\t\tfor (const key in existing.conditions) {\n\t\t\t\t\tconst entry = existing.conditions[key];\n\t\t\t\t\tif (entry.index >= insertionIndex) entry.index += nextRules.length;\n\t\t\t\t}\n\t\t\t}\n\t\t\t(existing.conditions ||= {})[slot] = {\n\t\t\t\tcount: nextRules.length,\n\t\t\t\tindex: insertionIndex,\n\t\t\t\tprecedence,\n\t\t\t\tdefault: isDefault\n\t\t\t};\n\t\t\trules.splice(insertionIndex, 0, ...nextRules);\n\t\t} else {\n\t\t\tconst difference = nextRules.length - existing.baseRules;\n\t\t\trules.splice(0, existing.baseRules, ...nextRules);\n\t\t\tif (difference && existing.conditions) for (const key in existing.conditions) existing.conditions[key].index += difference;\n\t\t\texisting.baseRules = nextRules.length;\n\t\t}\n\t\texisting.signature = signature;\n\t\texisting.styleObject[StyleObjectIdentifier] = identifier;\n\t\texisting.styleObject[1] = next[1];\n\t}\n\tstate.classNames[atomicKey] = identifier;\n}\nfunction emitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector) {\n\tif (!isWeb || !state.flatShouldDoClasses || state.styleProps.noNormalize === false) return;\n\tconst target = borderStyleDefaults[property];\n\tif (!target) return;\n\tconst atomic = state.flatAtomics?.[target];\n\tif (atomic?.baseRules || state.classNames[target] && !atomic || condition && atomic?.conditions?.[conditionKey]) return;\n\tdirectAtomic(state, target, \"solid\", condition, conditionKey, conditionWrappers, conditionSelector, true);\n}\nfunction flushDirectStyles(state, clear = false) {\n\tconst direct = state;\n\tconst atomics = direct.flatAtomics;\n\tif (!atomics) return;\n\tfor (const property in atomics) {\n\t\tconst styleObject = atomics[property].styleObject;\n\t\tconst identifier = styleObject[StyleObjectIdentifier];\n\t\tif (shouldInsertStyleRules(identifier)) {\n\t\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t\t}\n\t}\n\tif (clear) direct.flatAtomics = void 0;\n}\nfunction getDirectDynamicThemeAccess(state) {\n\treturn state.flatDynamicThemeAccess;\n}\nfunction emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tconst direct = state;\n\tif (condition & 4) (state.flatEnterKeys ||= /* @__PURE__ */ new Set()).add(property);\n\tif (condition & 8) (state.flatExitKeys ||= /* @__PURE__ */ new Set()).add(property);\n\tif (!isWeb && conditionTheme) {\n\t\tif (supportsDynamicColorIOS && isColorStyleKey(property)) {\n\t\t\tconst schemes = (direct.flatDynamicColors ||= {})[property] ||= {};\n\t\t\tschemes[conditionTheme] = typeof originalValue === \"string\" && /^[a-z]+$/i.test(originalValue) ? originalValue : value;\n\t\t\tmerge(state, property, { dynamic: { ...schemes } }, 1, false, originalValue);\n\t\t\treturn;\n\t\t}\n\t\tdirect.flatDynamicThemeAccess = true;\n\t}\n\tif (contextOnly) {\n\t\tif (!condition || condition & 1) (state.overriddenContextProps ||= {})[property] = originalValue;\n\t\treturn;\n\t}\n\tconst shouldPromoteAnimatedStyle = isWeb && !condition && !state.flatShouldDoClasses && !state.styleProps.noMergeStyle && state.styleProps.isAnimated && !state.animationDriver?.isReactNative && property in nonAnimatableStyleProps;\n\tif (isWeb && (state.flatShouldDoClasses || shouldPromoteAnimatedStyle)) {\n\t\tif (!condition) {\n\t\t\tif (state.style) delete state.style[property];\n\t\t}\n\t\tdirectAtomic(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector);\n\t\treturn;\n\t}\n\tif (condition) {\n\t\tif (!(condition & 1)) return;\n\t\tconst precedence = Math.floor(condition / 256);\n\t\tconst previous = direct.flatPrecedence?.[property];\n\t\tif (previous !== void 0 && precedence < previous) return;\n\t\t(direct.flatPrecedence ||= {})[property] = precedence;\n\t\t(state.flatActiveConditions ||= {})[property] = true;\n\t} else if (state.flatActiveConditions?.[property]) return;\n\tmerge(state, property, value, 1, true, originalValue);\n}\nfunction splitComponents(value) {\n\tconst parts = [];\n\tlet start = 0;\n\tlet quote = 0;\n\tlet depth = 0;\n\tfor (let index = 0; index <= value.length; index++) {\n\t\tconst code = index === value.length ? 32 : value.charCodeAt(index);\n\t\tif (quote) {\n\t\t\tif (code === 92) index++;\n\t\t\telse if (code === quote) quote = 0;\n\t\t\tcontinue;\n\t\t}\n\t\tif (code === 34 || code === 39) quote = code;\n\t\telse if (code === 40) depth++;\n\t\telse if (code === 41) depth--;\n\t\telse if (!depth && code <= 32) {\n\t\t\tif (index > start) parts.push(value.slice(start, index));\n\t\t\tstart = index + 1;\n\t\t}\n\t}\n\treturn parts;\n}\nfunction emitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb && (property === \"borderBlock\" || property === \"borderInline\")) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`RN has no logical border shorthand \"${property}\"; dropping it`);\n\t\treturn;\n\t}\n\tconst targets = borderTargets[property];\n\tlet width;\n\tlet style;\n\tlet color;\n\tfor (const part of splitComponents(raw)) {\n\t\tconst lower = part.toLowerCase();\n\t\tif (lineStyles.has(lower) || property === \"outline\" && lower === \"auto\") style = part;\n\t\telse if (lower === \"thin\" || lower === \"medium\" || lower === \"thick\" || /^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:[a-z%]+)?$/i.test(part) || /^(?:calc|var|min|max|clamp)\\(/i.test(part)) width = part;\n\t\telse color = part;\n\t}\n\tif (style === \"none\" && width === void 0) width = \"0\";\n\tif (width !== void 0) for (const target of targets.width) emitResolved(state, target, width, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\tif (style !== void 0) {\n\t\tconst styleTargets = !isWeb && property === \"border\" ? [\"borderStyle\"] : targets.style;\n\t\tfor (const target of styleTargets) emitProperty(state, target, style, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t}\n\tif (color !== void 0) for (const target of targets.color) emitResolved(state, target, color, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction emitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tfor (const part of splitComponents(raw)) emitResolved(state, part === \"solid\" || part === \"double\" || part === \"dotted\" || part === \"dashed\" || part === \"wavy\" ? \"textDecorationStyle\" : part === \"underline\" || part === \"overline\" || part === \"line-through\" || part === \"none\" ? \"textDecorationLine\" : \"textDecorationColor\", part, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction addComposition(state, property) {\n\tif (state.classNames[property]) return;\n\tconst value = property === \"translate\" ? \"var(--t-x, 0px) var(--t-y, 0px)\" : \"var(--t-scale-x, 1) var(--t-scale-y, 1)\";\n\tconst defaults = property === \"translate\" ? \"--t-x:0px;--t-y:0px\" : \"--t-scale-x:1;--t-scale-y:1\";\n\tconst styleObject = getCSSStyleAtomic(property, value, \"\", void 0, void 0, true);\n\tconst identifier = styleObject[StyleObjectIdentifier];\n\tstyleObject[StyleObjectRules].unshift(`:where(.${identifier}){${defaults}}`);\n\tif (shouldInsertStyleRules(identifier)) {\n\t\tupdateRules(identifier, styleObject[StyleObjectRules]);\n\t\tstate.flatRulesToInsert[identifier] = styleObject;\n\t}\n\tstate.classNames[property] = identifier;\n}\nfunction emitTransform(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (!isWeb || !state.flatShouldDoClasses) {\n\t\tif (!isWeb && property === \"scale\") {\n\t\t\temitProperty(state, \"scaleX\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\temitProperty(state, \"scaleY\", value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t} else emitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tconst targets = property === \"scale\" ? [\"--t-scale-x\", \"--t-scale-y\"] : [property === \"x\" ? \"--t-x\" : property === \"y\" ? \"--t-y\" : property === \"scaleX\" ? \"--t-scale-x\" : property === \"scaleY\" ? \"--t-scale-y\" : \"rotate\"];\n\tfor (const target of targets) {\n\t\tlet targetValue = value;\n\t\tif (typeof targetValue === \"number\") {\n\t\t\tif (target === \"--t-x\" || target === \"--t-y\") targetValue = `${targetValue}px`;\n\t\t\telse if (target === \"rotate\") targetValue = `${targetValue}deg`;\n\t\t}\n\t\temitProperty(state, target, targetValue, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\tif (target === \"--t-x\" || target === \"--t-y\") addComposition(state, \"translate\");\n\t\telse if (target.startsWith(\"--t-scale\")) addComposition(state, \"scale\");\n\t}\n}\nfunction emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tlet value = configuredValue(state, property, raw);\n\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction shadowUnit(part) {\n\treturn typeof part === \"number\" ? `${part}px` : part || \"0px\";\n}\nfunction emitWebShadow(state, property, value, merge, originalValue, contextOnly) {\n\tconst shadow = state.flatWebShadow ||= {};\n\tshadow[property] = value;\n\tconst offset = shadow.shadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tconst color = normalizeColor(shadow.shadowColor, shadow.shadowOpacity ?? 1);\n\tif (!color) return;\n\tconst next = `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.shadowRadius)} ${color}`;\n\temitProperty(state, \"boxShadow\", state.flatBoxShadow ? `${state.flatBoxShadow}, ${next}` : next, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitWebTextShadow(state, property, value, merge, originalValue, contextOnly) {\n\tconst shadow = state.flatTextShadow ||= {};\n\tshadow[property] = value;\n\tconst offset = shadow.textShadowOffset || {\n\t\twidth: 0,\n\t\theight: 0\n\t};\n\tif (!shadow.textShadowColor) return;\n\temitProperty(state, \"textShadow\", `${shadowUnit(offset.width)} ${shadowUnit(offset.height)} ${shadowUnit(shadow.textShadowRadius)} ${shadow.textShadowColor}`, 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n}\nfunction emitValue(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly) {\n\tif (typeof raw === \"string\") raw = raw.trim();\n\tif (isVariable(raw)) raw = resolveVariableValue(property, raw, isWeb && !state.flatShouldDoClasses && state.styleProps.resolveValues === \"auto\" ? \"value\" : state.styleProps.resolveValues);\n\temitBorderStyleDefault(state, property, condition, conditionKey, conditionWrappers, conditionSelector);\n\tif (typeof raw === \"string\" && (property === \"transition\" || property === \"transitionProperty\")) raw = normalizeTransitionNames(state, raw);\n\tif (legacyTransformParts.has(property)) {\n\t\tif (isWeb && state.flatShouldDoClasses && state.classNames.transform) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`legacy transform part \"${property}\" is dropped because \"transform\" owns the property`);\n\t\t\treturn;\n\t\t}\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (isWeb && state.flatShouldDoClasses && !condition) {\n\t\t\tconst direct = state;\n\t\t\t(direct.flatLegacyTransforms ||= {})[property] = value2;\n\t\t\temitProperty(state, \"transform\", transformsToString(Object.keys(direct.flatLegacyTransforms).sort().map((key) => ({ [key]: direct.flatLegacyTransforms[key] }))), 0, \"\", void 0, \"\", \"\", merge, originalValue, contextOnly);\n\t\t} else if (condition && isWeb && state.flatShouldDoClasses) emitProperty(state, \"transform\", `${property}(${value2})`, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webShadowParts.has(property)) {\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && webTextShadowParts.has(property)) {\n\t\tconst value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif (state.flatShouldDoClasses) emitWebTextShadow(state, property, value2, merge, originalValue, contextOnly);\n\t\telse merge(state, property, value2, 1, false, originalValue);\n\t\treturn;\n\t}\n\tif (isWeb && state.flatShouldDoClasses) {\n\t\tif (property === \"transform\") {\n\t\t\tconst direct = state;\n\t\t\tif (process.env.NODE_ENV === \"development\" && direct.flatLegacyTransforms) for (const part in direct.flatLegacyTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\tdirect.flatLegacyTransforms = void 0;\n\t\t\tif (state.flatTransforms) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") for (const part in state.flatTransforms) warnOnce(`legacy transform part \"${part}\" is dropped because \"transform\" owns the property`);\n\t\t\t\tstate.flatTransforms = void 0;\n\t\t\t}\n\t\t}\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"transform\" && Array.isArray(raw)) raw = transformsToString(raw);\n\tif (typeof raw === \"string\" && property in borderTargets) {\n\t\temitBorder(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"textDecoration\") {\n\t\temitTextDecoration(state, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && property === \"background\") {\n\t\tconst parts = splitComponents(raw);\n\t\tif (parts.length === 1 && !/^(?:url|image-set|.*gradient)\\(/i.test(parts[0])) {\n\t\t\temitResolved(state, \"backgroundColor\", parts[0], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\treturn;\n\t\t}\n\t\tif (!isWeb) {\n\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native background cannot represent \"${raw}\"; dropping it`);\n\t\t\treturn;\n\t\t}\n\t}\n\tif (property === \"x\" || property === \"y\" || property === \"scale\" || property === \"scaleX\" || property === \"scaleY\" || property === \"rotate\") {\n\t\tlet value2 = typeof raw === \"string\" ? configuredValue(state, property, raw) : raw;\n\t\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value2 === \"string\" && !value2.startsWith(THEME_REF_PREFIX)) {\n\t\t\tif (property === \"rotate\" && !/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:deg|rad)$/i.test(value2)) {\n\t\t\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`native transform \"${property}\" cannot represent \"${value2}\"; dropping it`);\n\t\t\t\tif (condition & 1 && state.flatTransforms) delete state.flatTransforms[property];\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value2)) value2 = Number.parseFloat(value2);\n\t\t\telse if (Number.isFinite(Number(value2))) value2 = Number(value2);\n\t\t}\n\t\temitTransform(state, property, value2, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (isWeb && !state.flatShouldDoClasses && !condition && property === \"borderRadius\") {\n\t\tif (typeof raw === \"string\") emitResolved(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\telse emitProperty(state, property, raw, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tlet value = raw;\n\tif (typeof raw === \"string\") {\n\t\tvalue = configuredValue(state, property, raw);\n\t\tif (value === raw && /[\\s,(]/.test(raw)) value = resolveEmbeddedTokens(state, property, raw);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && typeof value === \"string\") {\n\t\tif (/^-?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|dp)$/i.test(value)) value = Number.parseFloat(value);\n\t\telse if (value !== \"\" && Number.isFinite(Number(value))) value = Number(value);\n\t}\n\tif (isWeb && state.flatShouldDoClasses && property === \"boxShadow\" && !condition) state.flatBoxShadow = value;\n\tif (!isWeb && property === \"fontVariant\" && typeof value === \"string\") value = value.split(/[,\\s]+/).filter(Boolean);\n\tconst expanded = state.styleProps.noExpand ? null : expandStyle(property, value, state.conf.settings.styleCompat || \"web\");\n\tif (!expanded) {\n\t\temitProperty(state, property, value, condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\treturn;\n\t}\n\tif (typeof raw === \"string\" && expanded.length > 1) {\n\t\tconst parts = splitComponents(raw);\n\t\tif (parts.length > 0 && parts.length <= (expanded.length === 4 ? 4 : 2)) {\n\t\t\tfor (let index = 0; index < expanded.length; index++) {\n\t\t\t\tconst partIndex = index === 0 || parts.length === 1 ? 0 : index === 1 || index === 3 && parts.length < 4 ? 1 : index === 2 && parts.length < 3 ? 0 : index;\n\t\t\t\temitResolved(state, expanded[index][0], parts[partIndex], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t}\n\tfor (let index = 0; index < expanded.length; index++) emitProperty(state, expanded[index][0], expanded[index][1], condition, conditionKey, conditionWrappers, conditionSelector, conditionTheme, merge, originalValue, contextOnly);\n}\nfunction contributeStyleString(state, property, source, merge, originalValue, contextOnly = false) {\n\tif (isWeb && source.indexOf(\":\") !== -1 && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tif (source.indexOf(\":\") === -1) {\n\t\temitValue(state, property, source, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? source, contextOnly);\n\t\treturn true;\n\t}\n\tscanFlatValue(source, directStyleHandler, state, property, merge, originalValue, contextOnly);\n\treturn true;\n}\nfunction contributeFrontendValue(state, property, value, merge, contextOnly = false) {\n\tif (value.base !== null) emitValue(state, property, value.base, 0, \"\", void 0, \"\", \"\", merge, value.base, contextOnly);\n\tfor (const clause of value.clauses) {\n\t\tconst source = clause.modifiers.join(\":\");\n\t\tresolveClauseChain(state, source, 0, source.length, property, clause.payload, merge, clause.payload, contextOnly);\n\t}\n\treturn true;\n}\nfunction isConditionalStyleObject(state, value) {\n\tif (Object.prototype.hasOwnProperty.call(value, \"default\")) return true;\n\tfor (const key in value) return key.length > 0 && !!resolveClauseChain(state, key, 0, key.length);\n\treturn false;\n}\nfunction contributeVariantClauseValue(state, property, value, conditionSource, merge, originalValue, contextOnly = false) {\n\tif (value && typeof value === \"object\" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(state, value)) {\n\t\tfor (const key in value) {\n\t\t\tconst payload = value[key];\n\t\t\tif (payload == null) continue;\n\t\t\tconst source = key === \"default\" ? conditionSource : `${conditionSource}:${key}`;\n\t\t\tresolveClauseChain(state, source, 0, source.length, property, payload, merge, payload, contextOnly, -1, -1, 2);\n\t\t}\n\t\treturn;\n\t}\n\tresolveClauseChain(state, conditionSource, 0, conditionSource.length, property, value, merge, originalValue, contextOnly, -1, -1, 2);\n}\nfunction contributeStyleObject(state, property, value, merge, contextOnly) {\n\tif (!isConditionalStyleObject(state, value)) return false;\n\tif (isWeb && (webShadowParts.has(property) || legacyTransformParts.has(property))) {\n\t\tif (process.env.NODE_ENV === \"development\") warnOnce(`conditional \"${property}\" needs its composite property; dropping it`);\n\t\treturn true;\n\t}\n\tlet hasBase = false;\n\tconst base = value.default;\n\tif (base != null) {\n\t\temitValue(state, property, base, 0, \"\", void 0, \"\", \"\", merge, base, contextOnly);\n\t\thasBase = true;\n\t}\n\tlet conditions = 0;\n\tfor (const key in value) {\n\t\tif (key === \"default\") continue;\n\t\tconst payload = value[key];\n\t\tif (payload == null) continue;\n\t\tconditions |= resolveClauseChain(state, key, 0, key.length, property, payload, merge, payload, contextOnly, -1, -1, 1);\n\t}\n\tif ((!isWeb || !state.flatShouldDoClasses) && conditions & 12 && !hasBase) {\n\t\tconst resting = implicitLifecycleBase(property);\n\t\tif (resting !== null) emitValue(state, property, resting, 0, \"\", void 0, \"\", \"\", merge, resting, contextOnly);\n\t}\n\treturn true;\n}\nfunction contributeStyleValue(state, property, value, merge, originalValue, contextOnly = false) {\n\tif (value === \"safe\" && isSafeAreaKey(property)) {\n\t\tconst expanded = expandSafeAreaValue(property);\n\t\tif (expanded) {\n\t\t\tstate.flatUsesSafeArea = true;\n\t\t\tfor (const [key, resolved] of expanded) emitValue(state, key, resolved, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? value, contextOnly);\n\t\t\treturn true;\n\t\t}\n\t}\n\tif (typeof value === \"string\") return contributeStyleString(state, property, value, merge, originalValue, contextOnly);\n\tif (value && typeof value === \"object\" && !Array.isArray(value) && !isVariable(value) && contributeStyleObject(state, property, value, merge, contextOnly)) return true;\n\tif (value != null) {\n\t\temitValue(state, property, value, 0, \"\", void 0, \"\", \"\", merge, originalValue ?? value, contextOnly);\n\t\treturn true;\n\t}\n\treturn false;\n}\nfunction clearDirectStyle(state, property) {\n\tconst direct = state;\n\tconst atomicKey = property.startsWith(\"transition\") ? \"transition\" : webShadowParts.has(property) ? \"boxShadow\" : webTextShadowParts.has(property) ? \"textShadow\" : legacyTransformParts.has(property) ? \"transform\" : property;\n\tif (direct.flatAtomics) delete direct.flatAtomics[atomicKey];\n\tdelete state.classNames[atomicKey];\n}\n\nexport { clearDirectStyle, contributeFrontendValue, contributeStyleString, contributeStyleValue, contributeVariantClauseValue, directStyleSignature, flushDirectStyles, getDirectDynamicThemeAccess, platformMatches, resolveClauseChain };"],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,qBAAqB;CAC1B,QAAQ,OAAO,OAAO,KAAK,QAAQ,OAAO,QAAQ,YAAY,UAAU,YAAY,YAAY,SAAS,SAAS,cAAc,UAAU,OAAO,eAAe,aAAa;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