tamagui 1.132.14 → 1.132.16-1754534218765

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/native.js CHANGED
@@ -1070,9 +1070,9 @@ var require_clamp_native = __commonJS({
1070
1070
  }
1071
1071
  });
1072
1072
  module2.exports = __toCommonJS2(clamp_exports);
1073
- function clamp(value2, param) {
1073
+ function clamp(value, param) {
1074
1074
  var [min, max] = param;
1075
- return Math.min(max, Math.max(min, value2));
1075
+ return Math.min(max, Math.max(min, value));
1076
1076
  }
1077
1077
  }
1078
1078
  });
@@ -1130,92 +1130,6 @@ var require_composeEventHandlers_native = __commonJS({
1130
1130
  }
1131
1131
  });
1132
1132
 
1133
- // ../../core/helpers/dist/cjs/concatClassName.native.js
1134
- var require_concatClassName_native = __commonJS({
1135
- "../../core/helpers/dist/cjs/concatClassName.native.js"(exports2, module2) {
1136
- "use strict";
1137
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
1138
- for (var name in all) __defProp2(target, name, {
1139
- get: all[name],
1140
- enumerable: !0
1141
- });
1142
- }, __copyProps2 = function(to, from, except, desc) {
1143
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
1144
- if (from && typeof from == "object" || typeof from == "function") try {
1145
- for (var _loop = function() {
1146
- var key = _step.value;
1147
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
1148
- get: function() {
1149
- return from[key];
1150
- },
1151
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
1152
- });
1153
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
1154
- } catch (err) {
1155
- _didIteratorError = !0, _iteratorError = err;
1156
- } finally {
1157
- try {
1158
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
1159
- } finally {
1160
- if (_didIteratorError)
1161
- throw _iteratorError;
1162
- }
1163
- }
1164
- return to;
1165
- }, __toCommonJS2 = function(mod) {
1166
- return __copyProps2(__defProp2({}, "__esModule", {
1167
- value: !0
1168
- }), mod);
1169
- }, concatClassName_exports = {};
1170
- __export2(concatClassName_exports, {
1171
- concatClassName: function() {
1172
- return concatClassName;
1173
- }
1174
- });
1175
- module2.exports = __toCommonJS2(concatClassName_exports);
1176
- function concatClassName(_cn) {
1177
- for (var args = arguments, usedPrefixes = [], final = "", len = args.length, propObjects = null, x = len; x >= 0; x--) {
1178
- var _loop = function(i2) {
1179
- var name = names[i2];
1180
- if (!name || name === " ") return "continue";
1181
- if (name[0] !== "_") return final = name + " " + final, "continue";
1182
- var splitIndex = name.indexOf("-");
1183
- if (splitIndex < 1) return final = name + " " + final, "continue";
1184
- var nextChar = name[splitIndex + 1], isMediaQuery = nextChar === "_", styleKey = name.slice(1, name.lastIndexOf("-")), mediaKey = isMediaQuery ? name.slice(splitIndex + 2, splitIndex + 7) : null, uid = mediaKey ? styleKey + mediaKey : styleKey;
1185
- if (usedPrefixes.indexOf(uid) > -1) return "continue";
1186
- usedPrefixes.push(uid);
1187
- var propName = styleKey;
1188
- if (propName && propObjects && propObjects.some(function(po) {
1189
- if (mediaKey) {
1190
- var propKey = pseudoInvert[mediaKey];
1191
- return po && po[propKey] && propName in po[propKey] && po[propKey] !== null;
1192
- }
1193
- var res = po && propName in po && po[propName] !== null;
1194
- return res;
1195
- })) return "continue";
1196
- final = name + " " + final;
1197
- }, cns = args[x];
1198
- if (cns) {
1199
- if (!Array.isArray(cns) && typeof cns != "string") {
1200
- propObjects = propObjects || [], propObjects.push(cns);
1201
- continue;
1202
- }
1203
- for (var names = Array.isArray(cns) ? cns : cns.split(" "), numNames = names.length, i = numNames - 1; i >= 0; i--) _loop(i);
1204
- }
1205
- }
1206
- return final;
1207
- }
1208
- var pseudoInvert = {
1209
- hover: "hoverStyle",
1210
- focus: "focusStyle",
1211
- press: "pressStyle",
1212
- focusVisible: "focusVisibleStyle",
1213
- focusWithin: "focusWithinStyle",
1214
- disabled: "disabledStyle"
1215
- };
1216
- }
1217
- });
1218
-
1219
1133
  // ../../core/helpers/dist/cjs/types.native.js
1220
1134
  var require_types_native2 = __commonJS({
1221
1135
  "../../core/helpers/dist/cjs/types.native.js"(exports2, module2) {
@@ -1776,7 +1690,6 @@ var require_index_native7 = __commonJS({
1776
1690
  __reExport2(index_exports2, require_index_native6(), module2.exports);
1777
1691
  __reExport2(index_exports2, require_clamp_native(), module2.exports);
1778
1692
  __reExport2(index_exports2, require_composeEventHandlers_native(), module2.exports);
1779
- __reExport2(index_exports2, require_concatClassName_native(), module2.exports);
1780
1693
  __reExport2(index_exports2, require_types_native2(), module2.exports);
1781
1694
  __reExport2(index_exports2, require_shouldRenderNativePlatform_native(), module2.exports);
1782
1695
  __reExport2(index_exports2, require_validStyleProps_native(), module2.exports);
@@ -2056,7 +1969,7 @@ var require_useControllableState_native = __commonJS({
2056
1969
  return _();
2057
1970
  };
2058
1971
  function useControllableState(param) {
2059
- var { prop, defaultProp, onChange, strategy = "prop-wins", preventUpdate, transition } = param, [state, setState] = React4.useState(prop ?? defaultProp), previous = React4.useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value2 = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_start_transition.startTransition : emptyCallbackFn;
1972
+ var { prop, defaultProp, onChange, strategy = "prop-wins", preventUpdate, transition } = param, [state, setState] = React4.useState(prop ?? defaultProp), previous = React4.useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_start_transition.startTransition : emptyCallbackFn;
2060
1973
  React4.useEffect(function() {
2061
1974
  prop !== void 0 && (previous.current = prop, transitionFn(function() {
2062
1975
  setState(prop);
@@ -2079,7 +1992,7 @@ var require_useControllableState_native = __commonJS({
2079
1992
  });
2080
1993
  });
2081
1994
  return [
2082
- value2,
1995
+ value,
2083
1996
  setter
2084
1997
  ];
2085
1998
  }
@@ -2388,22 +2301,22 @@ Haven't called createTamagui yet. ${import_constants22.MISSING_THEME_MESSAGE}
2388
2301
  if (process.env.NODE_ENV === "development" && !conf) throw new Error(haventCalledErrorMessage);
2389
2302
  var { tokens, tokensParsed } = conf;
2390
2303
  return prefixed === !1 ? tokens : prefixed === !0 ? tokensParsed : tokensMerged;
2391
- }, getTokenObject = function(value2, group) {
2304
+ }, getTokenObject = function(value, group) {
2392
2305
  var _tokensMerged_group, _tokensMerged_, _conf_specificTokens_value;
2393
- return (_conf_specificTokens_value = conf.specificTokens[value2]) !== null && _conf_specificTokens_value !== void 0 ? _conf_specificTokens_value : group ? (_tokensMerged_group = tokensMerged[group]) === null || _tokensMerged_group === void 0 ? void 0 : _tokensMerged_group[value2] : (_tokensMerged_ = tokensMerged[Object.keys(tokensMerged).find(function(cat) {
2394
- return tokensMerged[cat][value2];
2395
- }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value2];
2396
- }, getToken3 = function(value2, group) {
2397
- var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value2, group);
2306
+ return (_conf_specificTokens_value = conf.specificTokens[value]) !== null && _conf_specificTokens_value !== void 0 ? _conf_specificTokens_value : group ? (_tokensMerged_group = tokensMerged[group]) === null || _tokensMerged_group === void 0 ? void 0 : _tokensMerged_group[value] : (_tokensMerged_ = tokensMerged[Object.keys(tokensMerged).find(function(cat) {
2307
+ return tokensMerged[cat][value];
2308
+ }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value];
2309
+ }, getToken3 = function(value, group) {
2310
+ var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value, group);
2398
2311
  return useVariable ? token == null ? void 0 : token.variable : token == null ? void 0 : token.val;
2399
- }, getTokenValue3 = function(value2, group) {
2400
- if (!(value2 === "unset" || value2 === "auto")) return getToken3(value2, group, !1);
2312
+ }, getTokenValue3 = function(value, group) {
2313
+ if (!(value === "unset" || value === "auto")) return getToken3(value, group, !1);
2401
2314
  }, useTokens = getTokens3, getThemes3 = function() {
2402
2315
  return conf.themes;
2403
2316
  }, configListeners = /* @__PURE__ */ new Set(), onConfiguredOnce = function(cb) {
2404
2317
  conf ? cb(conf) : configListeners.add(cb);
2405
- }, updateConfig2 = function(key, value2) {
2406
- Object.assign(conf[key], value2);
2318
+ }, updateConfig2 = function(key, value) {
2319
+ Object.assign(conf[key], value);
2407
2320
  }, getFont = function(name) {
2408
2321
  var _Object_entries_find, conf2 = getConfig3(), _conf_fontsParsed_name;
2409
2322
  return (_conf_fontsParsed_name = conf2.fontsParsed[name]) !== null && _conf_fontsParsed_name !== void 0 ? _conf_fontsParsed_name : (_Object_entries_find = Object.entries(conf2.fontsParsed).find(function(param) {
@@ -2545,9 +2458,9 @@ var require_createVariable_native = __commonJS({
2545
2458
  var name = (0, import_helpers.simpleHash)(nameProp, 60);
2546
2459
  return includeVar ? constructCSSVariableName(name) : name;
2547
2460
  };
2548
- function px(value2) {
2461
+ function px(value) {
2549
2462
  return {
2550
- val: value2,
2463
+ val: value,
2551
2464
  needsPx: !0
2552
2465
  };
2553
2466
  }
@@ -2637,8 +2550,8 @@ var require_insertStyleRule_native = __commonJS({
2637
2550
  process.env.NODE_ENV === "development" && console.error(`\u274C Invalid transform, likely used deg/% improperly ${identifier}`);
2638
2551
  return;
2639
2552
  }
2640
- var startI = s + 10, endI = css.indexOf(";"), value2 = css.slice(startI, endI);
2641
- if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value2, !0;
2553
+ var startI = s + 10, endI = css.indexOf(";"), value = css.slice(startI, endI);
2554
+ if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value, !0;
2642
2555
  }
2643
2556
  var lastScannedSheets = null;
2644
2557
  function scanAllSheets() {
@@ -2753,15 +2666,15 @@ var require_insertStyleRule_native = __commonJS({
2753
2666
  if (sepI !== -1) {
2754
2667
  var varIndex = rule.indexOf("--"), key1 = rule.slice(varIndex === -1 ? 0 : varIndex + 2, sepI);
2755
2668
  process.env.TAMAGUI_CSS_VARIABLE_PREFIX && (key1 = key1.replace(process.env.TAMAGUI_CSS_VARIABLE_PREFIX, ""));
2756
- var val = rule.slice(sepI + 2), value2 = void 0;
2669
+ var val = rule.slice(sepI + 2), value = void 0;
2757
2670
  if (val[0] === "v" && val.startsWith("var(")) {
2758
2671
  var varName = val.slice(6, -1), tokenVal = colorVarToVal[varName];
2759
- tokenVal ? value2 = tokenVal : (rootComputedStyle || (rootComputedStyle = getComputedStyle(document.body)), value2 = rootComputedStyle.getPropertyValue("--" + varName));
2760
- } else value2 = val;
2672
+ tokenVal ? value = tokenVal : (rootComputedStyle || (rootComputedStyle = getComputedStyle(document.body)), value = rootComputedStyle.getPropertyValue("--" + varName));
2673
+ } else value = val;
2761
2674
  values[key1] = (0, import_createVariable.createVariable)({
2762
2675
  key: key1,
2763
2676
  name: key1,
2764
- val: value2
2677
+ val: value
2765
2678
  }, !0);
2766
2679
  }
2767
2680
  }
@@ -3295,8 +3208,8 @@ var require_useMedia_native = __commonJS({
3295
3208
  if (typeof query == "string") return query;
3296
3209
  if (cache.has(query)) return cache.get(query);
3297
3210
  var res = Object.entries(query).map(function(param) {
3298
- var [feature, value2] = param;
3299
- return feature = camelToHyphen(feature), typeof value2 == "string" ? `(${feature}: ${value2})` : (typeof value2 == "number" && /[height|width]$/.test(feature) && (value2 = `${value2}px`), `(${feature}: ${value2})`);
3211
+ var [feature, value] = param;
3212
+ return feature = camelToHyphen(feature), typeof value == "string" ? `(${feature}: ${value})` : (typeof value == "number" && /[height|width]$/.test(feature) && (value = `${value}px`), `(${feature}: ${value})`);
3300
3213
  }).join(" and ");
3301
3214
  return key && (cachedMediaKeyToQuery[key] = res), cache.set(query, res), res;
3302
3215
  }
@@ -3387,13 +3300,13 @@ var require_Tamagui_native = __commonJS({
3387
3300
  function _create_class(Constructor, protoProps, staticProps) {
3388
3301
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
3389
3302
  }
3390
- function _define_property(obj, key, value2) {
3303
+ function _define_property(obj, key, value) {
3391
3304
  return key in obj ? Object.defineProperty(obj, key, {
3392
- value: value2,
3305
+ value,
3393
3306
  enumerable: !0,
3394
3307
  configurable: !0,
3395
3308
  writable: !0
3396
- }) : obj[key] = value2, obj;
3309
+ }) : obj[key] = value, obj;
3397
3310
  }
3398
3311
  var Tamagui = function() {
3399
3312
  if (process.env.NODE_ENV === "development") {
@@ -3447,8 +3360,8 @@ var require_Tamagui_native = __commonJS({
3447
3360
  }
3448
3361
  }(), identifierToValue = /* @__PURE__ */ new Map(), getValueFromIdentifier = function(identifier) {
3449
3362
  return identifierToValue.get(identifier);
3450
- }, setIdentifierValue = function(identifier, value2) {
3451
- identifierToValue.set(identifier, value2);
3363
+ }, setIdentifierValue = function(identifier, value) {
3364
+ identifierToValue.set(identifier, value);
3452
3365
  };
3453
3366
  }
3454
3367
  });
@@ -3515,8 +3428,8 @@ var require_compose_refs_native = __commonJS({
3515
3428
  });
3516
3429
  module2.exports = __toCommonJS2(compose_refs_exports);
3517
3430
  var React4 = __toESM2(require("react"));
3518
- function setRef(ref, value2) {
3519
- typeof ref == "function" ? ref(value2) : ref && (ref.current = value2);
3431
+ function setRef(ref, value) {
3432
+ typeof ref == "function" ? ref(value) : ref && (ref.current = value);
3520
3433
  }
3521
3434
  function composeRefs() {
3522
3435
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) refs[_key] = arguments[_key];
@@ -3843,8 +3756,8 @@ var require_createStyledContext_native = __commonJS({
3843
3756
  })
3844
3757
  });
3845
3758
  }, useStyledContext = function() {
3846
- var scopeIn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", lastScopeInNamespace = (0, import_react3.useContext)(LastScopeInNamespace), scope = namespace ? scopeIn ? getNamespacedScope(scopeIn) : lastScopeInNamespace : scopeIn, context = scope ? getOrCreateScopedContext(scope) : OGContext, value2 = import_react3.default.useContext(context);
3847
- return value2;
3759
+ var scopeIn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", lastScopeInNamespace = (0, import_react3.useContext)(LastScopeInNamespace), scope = namespace ? scopeIn ? getNamespacedScope(scopeIn) : lastScopeInNamespace : scopeIn, context = scope ? getOrCreateScopedContext(scope) : OGContext, value = import_react3.default.useContext(context);
3760
+ return value;
3848
3761
  };
3849
3762
  return Context.Provider = Provider, Context.props = defaultValues, Context.context = OGContext, Context.useStyledContext = useStyledContext, Context;
3850
3763
  }
@@ -5388,11 +5301,11 @@ var require_normalizeValueWithProperty_native = __commonJS({
5388
5301
  translateX: !0,
5389
5302
  translateY: !0
5390
5303
  };
5391
- function normalizeValueWithProperty(value2) {
5304
+ function normalizeValueWithProperty(value) {
5392
5305
  var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5393
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value2 == "boolean") return value2;
5394
- var res = value2;
5395
- return value2 && typeof value2 == "object" ? value2 : (typeof value2 == "number" ? res = `${value2}px` : property && (res = `${res}`), res);
5306
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5307
+ var res = value;
5308
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5396
5309
  }
5397
5310
  }
5398
5311
  });
@@ -5656,26 +5569,26 @@ var require_expandStyle_native = __commonJS({
5656
5569
  return `${prefix}${k}`;
5657
5570
  });
5658
5571
  };
5659
- function expandStyle(key, value2) {
5572
+ function expandStyle(key, value) {
5660
5573
  if (import_constants4.isAndroid && key === "elevationAndroid") return [
5661
5574
  [
5662
5575
  "elevation",
5663
- value2
5576
+ value
5664
5577
  ]
5665
5578
  ];
5666
5579
  if (key in EXPANSIONS) return EXPANSIONS[key].map(function(key2) {
5667
5580
  return [
5668
5581
  key2,
5669
- value2
5582
+ value
5670
5583
  ];
5671
5584
  });
5672
5585
  if (key in import_webToNativeProps.webToNativeExpansion) return import_webToNativeProps.webToNativeExpansion[key].map(function(key2) {
5673
5586
  return [
5674
5587
  key2,
5675
- value2
5588
+ value
5676
5589
  ];
5677
5590
  });
5678
- if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value2);
5591
+ if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value);
5679
5592
  }
5680
5593
  var all = [
5681
5594
  "Top",
@@ -5920,8 +5833,8 @@ var require_normalizeStyle_native = __commonJS({
5920
5833
  res[key] = normalizeStyle(prop, disableNormalize);
5921
5834
  continue;
5922
5835
  }
5923
- var value2 = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value2);
5924
- out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value2;
5836
+ var value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
5837
+ out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value;
5925
5838
  }
5926
5839
  }
5927
5840
  return (0, import_expandStyles.fixStyles)(res), res;
@@ -6140,18 +6053,18 @@ var require_propMapper_native = __commonJS({
6140
6053
  }
6141
6054
  });
6142
6055
  module2.exports = __toCommonJS2(propMapper_exports);
6143
- var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_normalizeStyle = require_normalizeStyle_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), propMapper = function(key, value2, styleState, disabled, map) {
6144
- if (disabled) return map(key, value2);
6056
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_normalizeStyle = require_normalizeStyle_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), propMapper = function(key, value, styleState, disabled, map) {
6057
+ if (disabled) return map(key, value);
6145
6058
  if (lastFontFamilyToken = null, !(!import_constants4.isAndroid && key === "elevationAndroid")) {
6146
6059
  var { conf, styleProps, staticConfig } = styleState;
6147
- if (value2 === "unset") {
6060
+ if (value === "unset") {
6148
6061
  var _conf_unset, unsetVal = (_conf_unset = conf.unset) === null || _conf_unset === void 0 ? void 0 : _conf_unset[key];
6149
- if (unsetVal != null) value2 = unsetVal;
6062
+ if (unsetVal != null) value = unsetVal;
6150
6063
  else return;
6151
6064
  }
6152
6065
  var { variants } = staticConfig;
6153
6066
  if (!styleProps.noExpand && variants && key in variants) {
6154
- var variantValue = resolveVariants(key, value2, styleProps, styleState, "");
6067
+ var variantValue = resolveVariants(key, value, styleProps, styleState, "");
6155
6068
  if (variantValue) {
6156
6069
  variantValue.forEach(function(param) {
6157
6070
  var [_$key, _$value] = param;
@@ -6160,35 +6073,35 @@ var require_propMapper_native = __commonJS({
6160
6073
  return;
6161
6074
  }
6162
6075
  }
6163
- if (styleProps.disableExpandShorthands || key in conf.shorthands && (key = conf.shorthands[key]), value2 != null && (value2[0] === "$" ? value2 = getTokenForKey(key, value2, styleProps, styleState) : (0, import_createVariable.isVariable)(value2) && (value2 = resolveVariableValue(key, value2, styleProps.resolveValues))), value2 != null) {
6076
+ if (styleProps.disableExpandShorthands || key in conf.shorthands && (key = conf.shorthands[key]), value != null && (value[0] === "$" ? value = getTokenForKey(key, value, styleProps, styleState) : (0, import_createVariable.isVariable)(value) && (value = resolveVariableValue(key, value, styleProps.resolveValues))), value != null) {
6164
6077
  key === "fontFamily" && lastFontFamilyToken && (styleState.fontFamily = lastFontFamilyToken);
6165
- var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value2);
6078
+ var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value);
6166
6079
  if (expanded) for (var max = expanded.length, i = 0; i < max; i++) {
6167
6080
  var [nkey, nvalue] = expanded[i];
6168
6081
  map(nkey, nvalue);
6169
6082
  }
6170
- else map(key, value2);
6083
+ else map(key, value);
6171
6084
  }
6172
6085
  }
6173
- }, resolveVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
6086
+ }, resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
6174
6087
  var { staticConfig, conf, debug } = styleState, { variants } = staticConfig;
6175
6088
  if (variants) {
6176
- var variantValue = getVariantDefinition(variants[key], value2, conf);
6089
+ var variantValue = getVariantDefinition(variants[key], value, conf);
6177
6090
  if (process.env.NODE_ENV === "development" && debug === "verbose" && (console.groupCollapsed(`\u2666\uFE0F\u2666\uFE0F\u2666\uFE0F resolve variant ${key}`), console.info({
6178
6091
  key,
6179
- value: value2,
6092
+ value,
6180
6093
  variantValue,
6181
6094
  variants
6182
6095
  }), console.groupEnd()), !variantValue) {
6183
- if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value2 != "boolean") {
6096
+ if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value != "boolean") {
6184
6097
  var name = staticConfig.componentName || "[UnnamedComponent]";
6185
- console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value2}"`);
6098
+ console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value}"`);
6186
6099
  }
6187
6100
  return;
6188
6101
  }
6189
6102
  if (typeof variantValue == "function") {
6190
6103
  var fn = variantValue, extras = (0, import_getVariantExtras.getVariantExtras)(styleState);
6191
- variantValue = fn(value2, extras), process.env.NODE_ENV;
6104
+ variantValue = fn(value, extras), process.env.NODE_ENV;
6192
6105
  }
6193
6106
  var fontFamilyResult;
6194
6107
  if ((0, import_isObj.isObj)(variantValue)) {
@@ -6213,11 +6126,11 @@ var require_propMapper_native = __commonJS({
6213
6126
  }
6214
6127
  } else if (typeof input == "string" && input[0] === "$") return input;
6215
6128
  }
6216
- var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
6129
+ var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value, styleProps, styleState, parentVariantKey) {
6217
6130
  var { conf, staticConfig, debug, theme } = styleState, { variants } = staticConfig, res = {};
6218
- process.env.NODE_ENV === "development" && debug === "verbose" && console.info(" - resolveTokensAndVariants", key, value2);
6219
- for (var _key in value2) {
6220
- var subKey = conf.shorthands[_key] || _key, val = value2[_key];
6131
+ process.env.NODE_ENV === "development" && debug === "verbose" && console.info(" - resolveTokensAndVariants", key, value);
6132
+ for (var _key in value) {
6133
+ var subKey = conf.shorthands[_key] || _key, val = value[_key];
6221
6134
  if (!(!styleProps.noSkip && subKey in import_skipProps.skipProps)) {
6222
6135
  if (styleProps.noExpand) res[subKey] = val;
6223
6136
  else if (variants && subKey in variants) {
@@ -6285,17 +6198,17 @@ var require_propMapper_native = __commonJS({
6285
6198
  spreadName: `...${name}`
6286
6199
  };
6287
6200
  });
6288
- function getVariantDefinition(variant, value2, conf) {
6201
+ function getVariantDefinition(variant, value, conf) {
6289
6202
  if (variant) {
6290
6203
  if (typeof variant == "function") return variant;
6291
- var exact = variant[value2];
6204
+ var exact = variant[value];
6292
6205
  if (exact) return exact;
6293
- if (value2 != null) {
6206
+ if (value != null) {
6294
6207
  var { tokensParsed } = conf, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6295
6208
  try {
6296
6209
  for (var _iterator = tokenCats[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
6297
6210
  var { name, spreadName } = _step.value;
6298
- if (spreadName in variant && name in tokensParsed && value2 in tokensParsed[name]) return variant[spreadName];
6211
+ if (spreadName in variant && name in tokensParsed && value in tokensParsed[name]) return variant[spreadName];
6299
6212
  }
6300
6213
  } catch (err) {
6301
6214
  _didIteratorError = !0, _iteratorError = err;
@@ -6307,32 +6220,32 @@ var require_propMapper_native = __commonJS({
6307
6220
  }
6308
6221
  }
6309
6222
  var fontSizeVariant = variant["...fontSize"];
6310
- if (fontSizeVariant && conf.fontSizeTokens.has(value2)) return fontSizeVariant;
6223
+ if (fontSizeVariant && conf.fontSizeTokens.has(value)) return fontSizeVariant;
6311
6224
  }
6312
- return variant[`:${typeof value2}`] || variant["..."];
6225
+ return variant[`:${typeof value}`] || variant["..."];
6313
6226
  }
6314
6227
  }
6315
6228
  var fontShorthand = {
6316
6229
  fontSize: "size",
6317
6230
  fontWeight: "weight"
6318
- }, lastFontFamilyToken = null, getTokenForKey = function(key, value2, styleProps, styleState) {
6231
+ }, lastFontFamilyToken = null, getTokenForKey = function(key, value, styleProps, styleState) {
6319
6232
  var _staticConfig_accept, resolveAs = styleProps.resolveValues || "none";
6320
- if (resolveAs === "none") return value2;
6321
- var { theme, conf = (0, import_config.getConfig)(), context, fontFamily, staticConfig } = styleState, themeValue = theme ? theme[value2] || theme[value2.slice(1)] : void 0, tokensParsed = conf.tokensParsed, valOrVar, hasSet = !1, customTokenAccept = staticConfig == null || (_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key];
6233
+ if (resolveAs === "none") return value;
6234
+ var { theme, conf = (0, import_config.getConfig)(), context, fontFamily, staticConfig } = styleState, themeValue = theme ? theme[value] || theme[value.slice(1)] : void 0, tokensParsed = conf.tokensParsed, valOrVar, hasSet = !1, customTokenAccept = staticConfig == null || (_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key];
6322
6235
  if (customTokenAccept) {
6323
- var val = themeValue ?? tokensParsed[customTokenAccept][value2];
6236
+ var val = themeValue ?? tokensParsed[customTokenAccept][value];
6324
6237
  val != null && (resolveAs = "value", valOrVar = val, hasSet = !0);
6325
6238
  }
6326
6239
  if (themeValue) {
6327
- if (resolveAs === "except-theme") return value2;
6328
- valOrVar = themeValue, process.env.NODE_ENV === "development" && styleState.debug === "verbose" && (globalThis.tamaguiAvoidTracking = !0, console.info(` - resolving ${key} to theme value ${value2} resolveAs ${resolveAs}`, valOrVar), globalThis.tamaguiAvoidTracking = !1), hasSet = !0;
6240
+ if (resolveAs === "except-theme") return value;
6241
+ valOrVar = themeValue, process.env.NODE_ENV === "development" && styleState.debug === "verbose" && (globalThis.tamaguiAvoidTracking = !0, console.info(` - resolving ${key} to theme value ${value} resolveAs ${resolveAs}`, valOrVar), globalThis.tamaguiAvoidTracking = !1), hasSet = !0;
6329
6242
  } else {
6330
- if (value2 in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value2];
6243
+ if (value in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value];
6331
6244
  else {
6332
6245
  switch (key) {
6333
6246
  case "fontFamily": {
6334
6247
  var _fontsParsed_value, fontsParsed = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed;
6335
- valOrVar = ((_fontsParsed_value = fontsParsed[value2]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value2, lastFontFamilyToken = value2, hasSet = !0;
6248
+ valOrVar = ((_fontsParsed_value = fontsParsed[value]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value, lastFontFamilyToken = value, hasSet = !0;
6336
6249
  break;
6337
6250
  }
6338
6251
  case "fontSize":
@@ -6342,18 +6255,18 @@ var require_propMapper_native = __commonJS({
6342
6255
  var fam = fontFamily || conf.defaultFontToken;
6343
6256
  if (fam) {
6344
6257
  var _font_, fontsParsed1 = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed, font = fontsParsed1[fam] || fontsParsed1[conf.defaultFontToken];
6345
- valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value2]) || value2, hasSet = !0;
6258
+ valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value]) || value, hasSet = !0;
6346
6259
  }
6347
6260
  break;
6348
6261
  }
6349
6262
  }
6350
6263
  for (var cat in import_helpers.tokenCategories) if (key in import_helpers.tokenCategories[cat]) {
6351
- var res = tokensParsed[cat][value2];
6264
+ var res = tokensParsed[cat][value];
6352
6265
  res != null && (valOrVar = res, hasSet = !0);
6353
6266
  }
6354
6267
  }
6355
6268
  if (!hasSet) {
6356
- var spaceVar = tokensParsed.space[value2];
6269
+ var spaceVar = tokensParsed.space[value];
6357
6270
  spaceVar != null && (valOrVar = spaceVar, hasSet = !0);
6358
6271
  }
6359
6272
  }
@@ -6479,8 +6392,8 @@ var require_transformsToString_native = __commonJS({
6479
6392
  // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
6480
6393
  // { perspective: 1000 } => perspective(1000px)
6481
6394
  function(transform) {
6482
- var type = Object.keys(transform)[0], value2 = transform[type];
6483
- return type === "matrix" || type === "matrix3d" ? `${type}(${value2.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value2, type)})`;
6395
+ var type = Object.keys(transform)[0], value = transform[type];
6396
+ return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
6484
6397
  }
6485
6398
  ).join(" ");
6486
6399
  }
@@ -6916,7 +6829,7 @@ var require_getSplitStyles_native = __commonJS({
6916
6829
  if (!styleState.style.$$css) {
6917
6830
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
6918
6831
  try {
6919
- for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value2, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6832
+ for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6920
6833
  } catch (err) {
6921
6834
  } finally {
6922
6835
  }
@@ -7090,14 +7003,14 @@ var require_getSplitStyles_native = __commonJS({
7090
7003
  delete viewProps[key], viewProps[key] = next;
7091
7004
  } else viewProps[key] = val;
7092
7005
  }
7093
- function mergeMediaByImportance(styleState, mediaKey, key, value2, isSizeMedia, importanceBump, debugProp) {
7006
+ function mergeMediaByImportance(styleState, mediaKey, key, value, isSizeMedia, importanceBump, debugProp) {
7094
7007
  var usedKeys = styleState.usedKeys, importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, styleState, isSizeMedia);
7095
7008
  if (importanceBump && (importance = (importance || 0) + importanceBump), process.env.NODE_ENV === "development" && debugProp === "verbose" && (0, import_log.log)(`mergeMediaByImportance ${key} importance usedKey ${usedKeys[key]} next ${importance}`), importance === null) return !1;
7096
7009
  if (key in import_pseudoDescriptors.pseudoDescriptors) {
7097
7010
  var descriptor = import_pseudoDescriptors.pseudoDescriptors[key], descriptorKey = descriptor.stateKey || descriptor.name, isDisabled = styleState.componentState[descriptorKey] === !1;
7098
7011
  if (isDisabled) return !1;
7099
- for (var subKey in value2) mergeStyle(styleState, subKey, value2[subKey], importance);
7100
- } else mergeStyle(styleState, key, value2, importance);
7012
+ for (var subKey in value) mergeStyle(styleState, subKey, value[subKey], importance);
7013
+ } else mergeStyle(styleState, key, value, importance);
7101
7014
  return !0;
7102
7015
  }
7103
7016
  function normalizeStyle(style) {
@@ -7727,14 +7640,14 @@ var require_getThemeProxied_native = __commonJS({
7727
7640
  curKeys && (curKeys.current || (curKeys.current = /* @__PURE__ */ new Set()), curKeys.current.add(key), process.env.NODE_ENV === "development" && curProps.debug && console.info(` \u{1F3A8} useTheme() tracking new key: ${key}`, curKeys));
7728
7641
  }
7729
7642
  var proxied1 = Object.fromEntries(Object.entries(_state.theme).flatMap(function(param) {
7730
- var [key, value2] = param, proxied2 = {
7731
- ...value2,
7643
+ var [key, value] = param, proxied2 = {
7644
+ ...value,
7732
7645
  get val() {
7733
- return globalThis.tamaguiAvoidTracking || track(key), value2.val;
7646
+ return globalThis.tamaguiAvoidTracking || track(key), value.val;
7734
7647
  },
7735
7648
  get(platform2) {
7736
7649
  if (curState) {
7737
- var outVal = (0, import_createVariable.getVariable)(value2), { name, scheme, inverses } = curState, shouldOptimize = scheme && platform2 !== "web" && import_constants4.isIos && !curProps.deopt && (0, import_config.getSetting)("fastSchemeChange") && inverses === 0 && (0, import_doesRootSchemeMatchSystem.doesRootSchemeMatchSystem)();
7650
+ var outVal = (0, import_createVariable.getVariable)(value), { name, scheme, inverses } = curState, shouldOptimize = scheme && platform2 !== "web" && import_constants4.isIos && !curProps.deopt && (0, import_config.getSetting)("fastSchemeChange") && inverses === 0 && (0, import_doesRootSchemeMatchSystem.doesRootSchemeMatchSystem)();
7738
7651
  if (shouldOptimize) {
7739
7652
  var _config_themes_name, _config_themes_oppositeName, oppositeScheme = scheme === "dark" ? "light" : "dark", oppositeName = name.replace(scheme, oppositeScheme), color = (0, import_createVariable.getVariable)((_config_themes_name = config.themes[name]) === null || _config_themes_name === void 0 ? void 0 : _config_themes_name[key]), oppositeColor = (0, import_createVariable.getVariable)((_config_themes_oppositeName = config.themes[oppositeName]) === null || _config_themes_oppositeName === void 0 ? void 0 : _config_themes_oppositeName[key]), dynamicVal = (0, import_getDynamicVal.getDynamicVal)({
7740
7653
  scheme,
@@ -8303,11 +8216,11 @@ var require_index_native14 = __commonJS({
8303
8216
  };
8304
8217
  function useDidFinishSSR2() {
8305
8218
  var clientOnly = React4.useContext(import_ClientOnly.ClientOnlyContext);
8306
- return value != null ? value : !0;
8219
+ return !0;
8307
8220
  }
8308
- function useClientValue(value1) {
8221
+ function useClientValue(value) {
8309
8222
  var done = useDidFinishSSR2();
8310
- return done ? typeof value1 == "function" ? value1() : value1 : void 0;
8223
+ return done ? typeof value == "function" ? value() : value : void 0;
8311
8224
  }
8312
8225
  }
8313
8226
  });
@@ -9924,10 +9837,10 @@ var require_createFont_native = __commonJS({
9924
9837
  ...sectionKeys
9925
9838
  ])
9926
9839
  ].map(function(key) {
9927
- var _section_key, _ref, value2 = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9928
- return fillValue = value2, defaultValue = value2, [
9840
+ var _section_key, _ref, value = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9841
+ return fillValue = value, defaultValue = value, [
9929
9842
  key,
9930
- value2
9843
+ value
9931
9844
  ];
9932
9845
  }));
9933
9846
  }, createFont2 = function(font) {
@@ -10145,7 +10058,7 @@ ${JSON.stringify(variable, null, 2)}`);
10145
10058
  var sep;
10146
10059
  if (fontDeclarations) for (var key22 in fontDeclarations) var name1, declarations1, language1, fontSelector, langSelector, selectors, specificRuleSet;
10147
10060
  }
10148
- var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
10061
+ var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn, tokens.color), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
10149
10062
  return {
10150
10063
  themes,
10151
10064
  cssRuleSets,
@@ -10249,7 +10162,7 @@ ${JSON.stringify(variable, null, 2)}`);
10249
10162
  }
10250
10163
  return config;
10251
10164
  }
10252
- function getThemesDeduped(themes) {
10165
+ function getThemesDeduped(themes, colorTokens) {
10253
10166
  var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
10254
10167
  for (var themeName in themes) {
10255
10168
  var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
@@ -10261,6 +10174,7 @@ ${JSON.stringify(variable, null, 2)}`);
10261
10174
  var theme = {
10262
10175
  ...rawTheme
10263
10176
  };
10177
+ colorTokens && Object.assign(theme, colorTokens);
10264
10178
  for (var key1 in theme) (0, import_themes.ensureThemeVariable)(theme, key1);
10265
10179
  var deduped = {
10266
10180
  names: [
@@ -11499,12 +11413,13 @@ var require_FontLanguage_native = __commonJS({
11499
11413
  });
11500
11414
  module2.exports = __toCommonJS2(FontLanguage_native_exports);
11501
11415
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), FontLanguage2 = function(param) {
11502
- var { children, ...props } = param, language = import_react3.default.useMemo(function() {
11416
+ var { children, ...props } = param, parentProps = import_react3.default.useContext(import_ComponentContext.ComponentContext), language = import_react3.default.useMemo(function() {
11503
11417
  return props;
11504
11418
  }, [
11505
11419
  JSON.stringify(props)
11506
11420
  ]);
11507
11421
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
11422
+ ...parentProps,
11508
11423
  language,
11509
11424
  children
11510
11425
  });
@@ -12102,41 +12017,41 @@ var require_matchQuery_native = __commonJS({
12102
12017
  var inverse = query.inverse, typeMatch = query.type === "all" || values.type === query.type;
12103
12018
  if (typeMatch && inverse || !(typeMatch || inverse)) return !1;
12104
12019
  var expressionsMatch = query.expressions.every(function(expression) {
12105
- var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value2 = values[feature];
12106
- if (!value2) return !1;
12020
+ var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value = values[feature];
12021
+ if (!value) return !1;
12107
12022
  switch (feature) {
12108
12023
  case "orientation":
12109
12024
  case "scan":
12110
- return value2.toLowerCase() === expValue.toLowerCase();
12025
+ return value.toLowerCase() === expValue.toLowerCase();
12111
12026
  case "width":
12112
12027
  case "height":
12113
12028
  case "device-width":
12114
12029
  case "device-height":
12115
- expValue = toPx(expValue), value2 = toPx(value2);
12030
+ expValue = toPx(expValue), value = toPx(value);
12116
12031
  break;
12117
12032
  case "resolution":
12118
- expValue = toDpi(expValue), value2 = toDpi(value2);
12033
+ expValue = toDpi(expValue), value = toDpi(value);
12119
12034
  break;
12120
12035
  case "aspect-ratio":
12121
12036
  case "device-aspect-ratio":
12122
12037
  case /* Deprecated */
12123
12038
  "device-pixel-ratio":
12124
- expValue = toDecimal(expValue), value2 = toDecimal(value2);
12039
+ expValue = toDecimal(expValue), value = toDecimal(value);
12125
12040
  break;
12126
12041
  case "grid":
12127
12042
  case "color":
12128
12043
  case "color-index":
12129
12044
  case "monochrome":
12130
- expValue = Number.parseInt(expValue, 10) || 1, value2 = Number.parseInt(value2, 10) || 0;
12045
+ expValue = Number.parseInt(expValue, 10) || 1, value = Number.parseInt(value, 10) || 0;
12131
12046
  break;
12132
12047
  }
12133
12048
  switch (modifier) {
12134
12049
  case "min":
12135
- return value2 >= expValue;
12050
+ return value >= expValue;
12136
12051
  case "max":
12137
- return value2 <= expValue;
12052
+ return value <= expValue;
12138
12053
  default:
12139
- return value2 === expValue;
12054
+ return value === expValue;
12140
12055
  }
12141
12056
  });
12142
12057
  return expressionsMatch && !inverse || !expressionsMatch && inverse;
@@ -12168,35 +12083,35 @@ var require_matchQuery_native = __commonJS({
12168
12083
  return decimal || (numbers = ratio.match(/^(\d+)\s*\/\s*(\d+)$/), decimal = numbers[1] / numbers[2]), decimal;
12169
12084
  }
12170
12085
  function toDpi(resolution) {
12171
- var _String_match, value2 = Number.parseFloat(resolution), units = (_String_match = String(resolution).match(RE_RESOLUTION_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
12086
+ var _String_match, value = Number.parseFloat(resolution), units = (_String_match = String(resolution).match(RE_RESOLUTION_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
12172
12087
  switch (units) {
12173
12088
  case "dpcm":
12174
- return value2 / 2.54;
12089
+ return value / 2.54;
12175
12090
  case "dppx":
12176
- return value2 * 96;
12091
+ return value * 96;
12177
12092
  default:
12178
- return value2;
12093
+ return value;
12179
12094
  }
12180
12095
  }
12181
12096
  function toPx(length) {
12182
- var _String_match, value2 = Number.parseFloat(length), units = (_String_match = String(length).match(RE_LENGTH_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
12097
+ var _String_match, value = Number.parseFloat(length), units = (_String_match = String(length).match(RE_LENGTH_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
12183
12098
  switch (units) {
12184
12099
  case "em":
12185
- return value2 * 16;
12100
+ return value * 16;
12186
12101
  case "rem":
12187
- return value2 * 16;
12102
+ return value * 16;
12188
12103
  case "cm":
12189
- return value2 * 96 / 2.54;
12104
+ return value * 96 / 2.54;
12190
12105
  case "mm":
12191
- return value2 * 96 / 2.54 / 10;
12106
+ return value * 96 / 2.54 / 10;
12192
12107
  case "in":
12193
- return value2 * 96;
12108
+ return value * 96;
12194
12109
  case "pt":
12195
- return value2 * 72;
12110
+ return value * 72;
12196
12111
  case "pc":
12197
- return value2 * 72 / 12;
12112
+ return value * 72 / 12;
12198
12113
  default:
12199
- return value2;
12114
+ return value;
12200
12115
  }
12201
12116
  }
12202
12117
  }
@@ -12258,13 +12173,13 @@ var require_mediaQueryList_native = __commonJS({
12258
12173
  function _create_class(Constructor, protoProps, staticProps) {
12259
12174
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12260
12175
  }
12261
- function _define_property(obj, key, value2) {
12176
+ function _define_property(obj, key, value) {
12262
12177
  return key in obj ? Object.defineProperty(obj, key, {
12263
- value: value2,
12178
+ value,
12264
12179
  enumerable: !0,
12265
12180
  configurable: !0,
12266
12181
  writable: !0
12267
- }) : obj[key] = value2, obj;
12182
+ }) : obj[key] = value, obj;
12268
12183
  }
12269
12184
  var NativeMediaQueryList = /* @__PURE__ */ function() {
12270
12185
  "use strict";
@@ -12934,13 +12849,13 @@ var require_ResponderTouchHistoryStore_native = __commonJS({
12934
12849
  function _create_class(Constructor, protoProps, staticProps) {
12935
12850
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12936
12851
  }
12937
- function _define_property(obj, key, value2) {
12852
+ function _define_property(obj, key, value) {
12938
12853
  return key in obj ? Object.defineProperty(obj, key, {
12939
- value: value2,
12854
+ value,
12940
12855
  enumerable: !0,
12941
12856
  configurable: !0,
12942
12857
  writable: !0
12943
- }) : obj[key] = value2, obj;
12858
+ }) : obj[key] = value, obj;
12944
12859
  }
12945
12860
  var ResponderTouchHistoryStore = /* @__PURE__ */ function() {
12946
12861
  "use strict";
@@ -15925,24 +15840,24 @@ var require_Accordion_native = __commonJS({
15925
15840
  AccordionComponent.displayName = ACCORDION_NAME;
15926
15841
  AccordionComponent.propTypes = {
15927
15842
  type(props) {
15928
- var value2 = props.value || props.defaultValue;
15843
+ var value = props.value || props.defaultValue;
15929
15844
  return props.type && ![
15930
15845
  "single",
15931
15846
  "multiple"
15932
- ].includes(props.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : props.type === "multiple" && typeof value2 == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : props.type === "single" && Array.isArray(value2) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
15847
+ ].includes(props.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : props.type === "multiple" && typeof value == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : props.type === "single" && Array.isArray(value) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
15933
15848
  }
15934
15849
  };
15935
15850
  var { Provider: AccordionValueProvider, useStyledContext: useAccordionValueContext } = (0, import_core12.createStyledContext)(), { Provider: AccordionCollapsibleProvider, useStyledContext: useAccordionCollapsibleContext } = (0, import_core12.createStyledContext)(), AccordionImplSingle = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15936
15851
  var { value: valueProp, defaultValue, control, onValueChange = function() {
15937
- }, collapsible = !1, ...accordionSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15852
+ }, collapsible = !1, ...accordionSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15938
15853
  prop: valueProp,
15939
15854
  defaultProp: defaultValue || "",
15940
15855
  onChange: onValueChange
15941
15856
  });
15942
15857
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15943
15858
  scope: props.__scopeAccordion,
15944
- value: value2 ? [
15945
- value2
15859
+ value: value ? [
15860
+ value
15946
15861
  ] : [],
15947
15862
  onItemOpen: setValue,
15948
15863
  onItemClose: React4.useCallback(function() {
@@ -15962,7 +15877,7 @@ var require_Accordion_native = __commonJS({
15962
15877
  });
15963
15878
  }), AccordionImplMultiple = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15964
15879
  var { value: valueProp, defaultValue, onValueChange = function() {
15965
- }, ...accordionMultipleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15880
+ }, ...accordionMultipleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15966
15881
  prop: valueProp,
15967
15882
  defaultProp: defaultValue || [],
15968
15883
  onChange: onValueChange
@@ -15979,8 +15894,8 @@ var require_Accordion_native = __commonJS({
15979
15894
  ]), handleItemClose = React4.useCallback(function(itemValue) {
15980
15895
  return setValue(function() {
15981
15896
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
15982
- return prevValue.filter(function(value22) {
15983
- return value22 !== itemValue;
15897
+ return prevValue.filter(function(value2) {
15898
+ return value2 !== itemValue;
15984
15899
  });
15985
15900
  });
15986
15901
  }, [
@@ -15988,7 +15903,7 @@ var require_Accordion_native = __commonJS({
15988
15903
  ]);
15989
15904
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15990
15905
  scope: props.__scopeAccordion,
15991
- value: value2 || [],
15906
+ value: value || [],
15992
15907
  onItemOpen: handleItemOpen,
15993
15908
  onItemClose: handleItemClose,
15994
15909
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionCollapsibleProvider, {
@@ -16060,7 +15975,7 @@ var require_Accordion_native = __commonJS({
16060
15975
  })
16061
15976
  });
16062
15977
  }), ITEM_NAME = "AccordionItem", { Provider: AccordionItemProvider, useStyledContext: useAccordionItemContext } = (0, import_core12.createStyledContext)(), AccordionItem = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
16063
- var { __scopeAccordion, value: value2, ...accordionItemProps } = props, accordionContext = useAccordionContext(__scopeAccordion), valueContext = useAccordionValueContext(__scopeAccordion), triggerId = React4.useId(), open = value2 && valueContext.value.includes(value2) || !1, disabled = accordionContext.disabled || props.disabled;
15978
+ var { __scopeAccordion, value, ...accordionItemProps } = props, accordionContext = useAccordionContext(__scopeAccordion), valueContext = useAccordionValueContext(__scopeAccordion), triggerId = React4.useId(), open = value && valueContext.value.includes(value) || !1, disabled = accordionContext.disabled || props.disabled;
16064
15979
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionItemProvider, {
16065
15980
  scope: __scopeAccordion,
16066
15981
  open,
@@ -16075,7 +15990,7 @@ var require_Accordion_native = __commonJS({
16075
15990
  disabled,
16076
15991
  open,
16077
15992
  onOpenChange: function(open2) {
16078
- open2 ? valueContext.onItemOpen(value2) : valueContext.onItemClose(value2);
15993
+ open2 ? valueContext.onItemOpen(value) : valueContext.onItemClose(value);
16079
15994
  }
16080
15995
  })
16081
15996
  });
@@ -16668,9 +16583,9 @@ var require_GorhomPortal_native = __commonJS({
16668
16583
  };
16669
16584
  }, PortalProviderComponent = function(param) {
16670
16585
  var { rootHostName = "root", shouldAddRootHost = !0, children } = param, [state, dispatch] = (0, import_react3.useReducer)(reducer, INITIAL_STATE), transitionDispatch = (0, import_react3.useMemo)(function() {
16671
- var next = function(value2) {
16586
+ var next = function(value) {
16672
16587
  (0, import_start_transition.startTransition)(function() {
16673
- dispatch(value2);
16588
+ dispatch(value);
16674
16589
  });
16675
16590
  };
16676
16591
  return next;
@@ -17350,11 +17265,11 @@ var require_create_context_native = __commonJS({
17350
17265
  function createContext(rootComponentName, defaultContext) {
17351
17266
  var Context = /* @__PURE__ */ React4.createContext(defaultContext);
17352
17267
  function Provider(props) {
17353
- var { children, ...context } = props, value2 = React4.useMemo(function() {
17268
+ var { children, ...context } = props, value = React4.useMemo(function() {
17354
17269
  return context;
17355
17270
  }, Object.values(context));
17356
17271
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
17357
- value: value2,
17272
+ value,
17358
17273
  children
17359
17274
  });
17360
17275
  }
@@ -17378,11 +17293,11 @@ var require_create_context_native = __commonJS({
17378
17293
  defaultContext
17379
17294
  ];
17380
17295
  function Provider(props) {
17381
- var _scope_scopeName, { scope, children, ...context } = props, Context = (scope == null || (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext, value2 = React4.useMemo(function() {
17296
+ var _scope_scopeName, { scope, children, ...context } = props, Context = (scope == null || (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext, value = React4.useMemo(function() {
17382
17297
  return context;
17383
17298
  }, Object.values(context));
17384
17299
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
17385
- value: value2,
17300
+ value,
17386
17301
  children
17387
17302
  });
17388
17303
  }
@@ -18625,8 +18540,8 @@ var require_SheetImplementationCustom_native = __commonJS({
18625
18540
  useAnimatedNumberReaction({
18626
18541
  value: animatedNumber,
18627
18542
  hostRef: sheetRef
18628
- }, import_react3.default.useCallback(function(value2) {
18629
- at.current = value2, scrollBridge.paneY = value2;
18543
+ }, import_react3.default.useCallback(function(value) {
18544
+ at.current = value, scrollBridge.paneY = value;
18630
18545
  }, [
18631
18546
  animationDriver
18632
18547
  ]));
@@ -22317,7 +22232,7 @@ var require_focusableInputHOC_native = __commonJS({
22317
22232
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
22318
22233
  var import_compose_refs = require_index_native11(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
22319
22234
  function useFocusable2(param) {
22320
- var { isInput, props, ref } = param, { id, onChangeText, value: value2, defaultValue } = props, inputValue = import_react3.default.useRef(value2 || defaultValue || ""), unregisterFocusable = import_react3.default.useRef(void 0), focusAndSelect = import_react3.default.useCallback(function(input) {
22235
+ var { isInput, props, ref } = param, { id, onChangeText, value, defaultValue } = props, inputValue = import_react3.default.useRef(value || defaultValue || ""), unregisterFocusable = import_react3.default.useRef(void 0), focusAndSelect = import_react3.default.useCallback(function(input) {
22321
22236
  input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
22322
22237
  }, []), registerFocusableHandler = import_react3.default.useCallback(function(input) {
22323
22238
  var _unregisterFocusable_current;
@@ -22337,8 +22252,8 @@ var require_focusableInputHOC_native = __commonJS({
22337
22252
  input && registerFocusableHandler(input);
22338
22253
  }, [
22339
22254
  registerFocusableHandler
22340
- ]), handleChangeText = (0, import_web.useEvent)(function(value22) {
22341
- inputValue.current = value22, onChangeText == null || onChangeText(value22);
22255
+ ]), handleChangeText = (0, import_web.useEvent)(function(value2) {
22256
+ inputValue.current = value2, onChangeText == null || onChangeText(value2);
22342
22257
  });
22343
22258
  return import_react3.default.useEffect(function() {
22344
22259
  return function() {
@@ -22690,15 +22605,15 @@ var require_index_native49 = __commonJS({
22690
22605
  });
22691
22606
  module2.exports = __toCommonJS2(index_exports2);
22692
22607
  var React4 = __toESM2(require("react"));
22693
- function usePrevious(value2) {
22608
+ function usePrevious(value) {
22694
22609
  var ref = React4.useRef({
22695
- value: value2,
22696
- previous: value2
22610
+ value,
22611
+ previous: value
22697
22612
  });
22698
22613
  return React4.useMemo(function() {
22699
- return ref.current.value !== value2 && (ref.current.previous = ref.current.value, ref.current.value = value2), ref.current.previous;
22614
+ return ref.current.value !== value && (ref.current.previous = ref.current.value, ref.current.value = value), ref.current.previous;
22700
22615
  }, [
22701
- value2
22616
+ value
22702
22617
  ]);
22703
22618
  }
22704
22619
  }
@@ -22910,7 +22825,7 @@ var require_useCheckbox_native = __commonJS({
22910
22825
  module2.exports = __toCommonJS2(useCheckbox_exports);
22911
22826
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_label = require_index_native48(), import_react3 = __toESM2(require("react")), import_BubbleInput = require_BubbleInput_native(), import_utils = require_utils_native2();
22912
22827
  function useCheckbox(props, param, ref) {
22913
- var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value: value2 = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId, parentKeyDown = props.onKeyDown, handleKeyDown = (0, import_react3.useMemo)(function() {
22828
+ var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId, parentKeyDown = props.onKeyDown, handleKeyDown = (0, import_react3.useMemo)(function() {
22914
22829
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
22915
22830
  event.key === "Enter" && event.preventDefault();
22916
22831
  });
@@ -22931,7 +22846,7 @@ var require_useCheckbox_native = __commonJS({
22931
22846
  control: button,
22932
22847
  bubbles: !hasConsumerStoppedPropagationRef.current,
22933
22848
  name,
22934
- value: value2,
22849
+ value,
22935
22850
  checked,
22936
22851
  required,
22937
22852
  disabled
@@ -22944,7 +22859,7 @@ var require_useCheckbox_native = __commonJS({
22944
22859
  ...checkboxProps,
22945
22860
  ...import_constants4.isWeb && {
22946
22861
  type: "button",
22947
- value: value2,
22862
+ value,
22948
22863
  "data-state": (0, import_utils.getState)(checked),
22949
22864
  "data-disabled": disabled ? "" : void 0,
22950
22865
  disabled,
@@ -23088,8 +23003,8 @@ var require_createCheckbox_native = __commonJS({
23088
23003
  import_react3.default.useEffect(function() {
23089
23004
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
23090
23005
  focusAndSelect: function() {
23091
- setChecked == null || setChecked(function(value2) {
23092
- return !value2;
23006
+ setChecked == null || setChecked(function(value) {
23007
+ return !value;
23093
23008
  });
23094
23009
  },
23095
23010
  focus: function() {
@@ -25534,20 +25449,20 @@ var require_Progress_native = __commonJS({
25534
25449
  animation: context.width ? animation : null
25535
25450
  });
25536
25451
  });
25537
- function defaultGetValueLabel(value2, max) {
25538
- return `${Math.round(value2 / max * 100)}%`;
25452
+ function defaultGetValueLabel(value, max) {
25453
+ return `${Math.round(value / max * 100)}%`;
25539
25454
  }
25540
- function getProgressState(value2, maxValue) {
25541
- return value2 == null ? "indeterminate" : value2 === maxValue ? "complete" : "loading";
25455
+ function getProgressState(value, maxValue) {
25456
+ return value == null ? "indeterminate" : value === maxValue ? "complete" : "loading";
25542
25457
  }
25543
- function isNumber(value2) {
25544
- return typeof value2 == "number";
25458
+ function isNumber(value) {
25459
+ return typeof value == "number";
25545
25460
  }
25546
25461
  function isValidMaxNumber(max) {
25547
25462
  return isNumber(max) && !Number.isNaN(max) && max > 0;
25548
25463
  }
25549
- function isValidValueNumber(value2, max) {
25550
- return isNumber(value2) && !Number.isNaN(value2) && value2 <= max && value2 >= 0;
25464
+ function isValidValueNumber(value, max) {
25465
+ return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
25551
25466
  }
25552
25467
  var DEFAULT_MAX = 100, ProgressFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
25553
25468
  name: "Progress",
@@ -25582,21 +25497,21 @@ var require_Progress_native = __commonJS({
25582
25497
  getValueLabel = defaultGetValueLabel,
25583
25498
  size: size2 = "$true",
25584
25499
  ...progressProps
25585
- } = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value2 = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value2) ? getValueLabel(value2, max) : void 0, [width, setWidth] = React4.useState(0);
25500
+ } = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value) ? getValueLabel(value, max) : void 0, [width, setWidth] = React4.useState(0);
25586
25501
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressProvider, {
25587
25502
  scope: __scopeProgress,
25588
- value: value2,
25503
+ value,
25589
25504
  max,
25590
25505
  width,
25591
25506
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressFrame, {
25592
25507
  "aria-valuemax": max,
25593
25508
  "aria-valuemin": 0,
25594
- "aria-valuenow": isNumber(value2) ? value2 : void 0,
25509
+ "aria-valuenow": isNumber(value) ? value : void 0,
25595
25510
  "aria-valuetext": valueLabel,
25596
25511
  // @ts-ignore
25597
25512
  role: "progressbar",
25598
- "data-state": getProgressState(value2, max),
25599
- "data-value": value2 ?? void 0,
25513
+ "data-state": getProgressState(value, max),
25514
+ "data-value": value ?? void 0,
25600
25515
  "data-max": max,
25601
25516
  ...progressProps.unstyled !== !0 && {
25602
25517
  size: size2
@@ -25755,8 +25670,8 @@ var require_RadioGroup_native = __commonJS({
25755
25670
  }
25756
25671
  },
25757
25672
  size: {
25758
- "...size": function(value2, param) {
25759
- var { props } = param, _props_scaleSize, size2 = Math.floor((0, import_core12.getVariableValue)((0, import_get_token2.getSize)(value2)) * ((_props_scaleSize = props.scaleSize) !== null && _props_scaleSize !== void 0 ? _props_scaleSize : 0.5));
25673
+ "...size": function(value, param) {
25674
+ var { props } = param, _props_scaleSize, size2 = Math.floor((0, import_core12.getVariableValue)((0, import_get_token2.getSize)(value)) * ((_props_scaleSize = props.scaleSize) !== null && _props_scaleSize !== void 0 ? _props_scaleSize : 0.5));
25760
25675
  return {
25761
25676
  width: size2,
25762
25677
  height: size2
@@ -25995,14 +25910,14 @@ var require_useRadioGroup_native = __commonJS({
25995
25910
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25996
25911
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_focusable2 = require_index_native47(), import_helpers = require_index_native7(), import_label = require_index_native48(), import_use_controllable_state = require_index_native10(), import_react3 = require("react"), import_BubbleInput = require_BubbleInput_native2(), import_utils = require_utils_native3();
25997
25912
  function useRadioGroup(params) {
25998
- var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
25913
+ var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25999
25914
  prop: valueProp,
26000
25915
  defaultProp: defaultValue,
26001
25916
  onChange: onValueChange
26002
25917
  });
26003
25918
  return {
26004
25919
  providerValue: {
26005
- value: value2,
25920
+ value,
26006
25921
  onChange: setValue,
26007
25922
  required,
26008
25923
  disabled,
@@ -26027,9 +25942,9 @@ var require_useRadioGroup_native = __commonJS({
26027
25942
  "ArrowLeft",
26028
25943
  "ArrowRight"
26029
25944
  ], useRadioGroupItem = function(params) {
26030
- var { radioGroupContext, value: value2, labelledBy: ariaLabelledby, disabled: itemDisabled, ref: refProp, id, onPress, onKeyDown, onFocus } = params, { value: groupValue, disabled, required, onChange, name, native, accentColor } = (0, import_react3.useContext)(radioGroupContext), [button, setButton] = (0, import_react3.useState)(null), hasConsumerStoppedPropagationRef = (0, import_react3.useRef)(!1), ref = (0, import_react3.useRef)(null), composedRefs = (0, import_compose_refs.useComposedRefs)(refProp, function(node) {
25945
+ var { radioGroupContext, value, labelledBy: ariaLabelledby, disabled: itemDisabled, ref: refProp, id, onPress, onKeyDown, onFocus } = params, { value: groupValue, disabled, required, onChange, name, native, accentColor } = (0, import_react3.useContext)(radioGroupContext), [button, setButton] = (0, import_react3.useState)(null), hasConsumerStoppedPropagationRef = (0, import_react3.useRef)(!1), ref = (0, import_react3.useRef)(null), composedRefs = (0, import_compose_refs.useComposedRefs)(refProp, function(node) {
26031
25946
  return setButton(node);
26032
- }, ref), isArrowKeyPressedRef = (0, import_react3.useRef)(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, checked = groupValue === value2, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
25947
+ }, ref), isArrowKeyPressedRef = (0, import_react3.useRef)(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, checked = groupValue === value, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
26033
25948
  (0, import_react3.useEffect)(function() {
26034
25949
  if (import_constants4.isWeb) {
26035
25950
  var handleKeyDown = function(event) {
@@ -26044,14 +25959,14 @@ var require_useRadioGroup_native = __commonJS({
26044
25959
  }, []), (0, import_react3.useEffect)(function() {
26045
25960
  if (id && !disabled) return (0, import_focusable2.registerFocusable)(id, {
26046
25961
  focusAndSelect: function() {
26047
- onChange == null || onChange(value2);
25962
+ onChange == null || onChange(value);
26048
25963
  },
26049
25964
  focus: function() {
26050
25965
  }
26051
25966
  });
26052
25967
  }, [
26053
25968
  id,
26054
- value2,
25969
+ value,
26055
25970
  disabled
26056
25971
  ]);
26057
25972
  var isDisabled = disabled || itemDisabled;
@@ -26066,7 +25981,7 @@ var require_useRadioGroup_native = __commonJS({
26066
25981
  control: button,
26067
25982
  bubbles: !hasConsumerStoppedPropagationRef.current,
26068
25983
  name,
26069
- value: value2,
25984
+ value,
26070
25985
  checked,
26071
25986
  required,
26072
25987
  disabled: isDisabled,
@@ -26087,11 +26002,11 @@ var require_useRadioGroup_native = __commonJS({
26087
26002
  ref: composedRefs,
26088
26003
  ...import_constants4.isWeb && {
26089
26004
  type: "button",
26090
- value: value2
26005
+ value
26091
26006
  },
26092
26007
  id,
26093
26008
  onPress: (0, import_helpers.composeEventHandlers)(onPress, function(event) {
26094
- checked || onChange == null || onChange(value2), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
26009
+ checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
26095
26010
  }),
26096
26011
  ...import_constants4.isWeb && {
26097
26012
  onKeyDown: (0, import_helpers.composeEventHandlers)(onKeyDown, function(event) {
@@ -26352,11 +26267,11 @@ var require_createRadioGroup_native = __commonJS({
26352
26267
  var { disableActiveTheme, Frame = import_RadioGroup.RadioGroupFrame, Indicator = import_RadioGroup.RadioGroupIndicatorFrame, Item = import_RadioGroup.RadioGroupItemFrame } = createProps;
26353
26268
  ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
26354
26269
  var RadioGroupImp = Frame.styleable(function(props, ref) {
26355
- var { value: value2, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
26270
+ var { value, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
26356
26271
  orientation,
26357
26272
  name,
26358
26273
  defaultValue,
26359
- value: value2,
26274
+ value,
26360
26275
  onValueChange,
26361
26276
  required,
26362
26277
  disabled,
@@ -26376,7 +26291,7 @@ var require_createRadioGroup_native = __commonJS({
26376
26291
  });
26377
26292
  }), RadioGroupItemImp = Item.styleable(function(props, ref) {
26378
26293
  var {
26379
- value: value2,
26294
+ value,
26380
26295
  labelledBy,
26381
26296
  onPress,
26382
26297
  //@ts-expect-error
@@ -26386,7 +26301,7 @@ var require_createRadioGroup_native = __commonJS({
26386
26301
  ...rest
26387
26302
  } = props, { providerValue, bubbleInput, rovingFocusGroupAttrs, frameAttrs, isFormControl, native } = (0, import_radio_headless.useRadioGroupItem)({
26388
26303
  radioGroupContext: RadioGroupContext,
26389
- value: value2,
26304
+ value,
26390
26305
  id,
26391
26306
  labelledBy,
26392
26307
  disabled,
@@ -26999,41 +26914,41 @@ var require_SelectItem_native = __commonJS({
26999
26914
  });
27000
26915
  module2.exports = __toCommonJS2(SelectItem_exports);
27001
26916
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_list_item = require_index_native55(), import_core12 = require_index_native20(), React4 = __toESM2(require("react")), import_context = require_context_native2(), ITEM_NAME = "SelectItem", { Provider: SelectItemContextProvider, useStyledContext: useSelectItemContext } = (0, import_core12.createStyledContext)(null, ITEM_NAME), SelectItem = import_list_item.ListItemFrame.styleable(function(props, forwardedRef) {
27002
- var { scope, value: value2, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26917
+ var { scope, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
27003
26918
  ...!props.unstyled && {
27004
26919
  ellipse: !0
27005
26920
  },
27006
26921
  ...restProps
27007
- }), context = (0, import_context.useSelectItemParentContext)(scope), { setSelectedIndex, listRef, setOpen, onChange, activeIndexSubscribe, valueSubscribe, allowMouseUpRef, allowSelectRef, setValueAtIndex, selectTimeoutRef, dataRef, interactions, shouldRenderWebNative, size: size2, onActiveChange, initialValue } = context, [isSelected, setSelected] = React4.useState(initialValue === value2);
26922
+ }), context = (0, import_context.useSelectItemParentContext)(scope), { setSelectedIndex, listRef, setOpen, onChange, activeIndexSubscribe, valueSubscribe, allowMouseUpRef, allowSelectRef, setValueAtIndex, selectTimeoutRef, dataRef, interactions, shouldRenderWebNative, size: size2, onActiveChange, initialValue } = context, [isSelected, setSelected] = React4.useState(initialValue === value);
27008
26923
  React4.useEffect(function() {
27009
26924
  return activeIndexSubscribe(function(i) {
27010
26925
  var isActive = index === i;
27011
26926
  if (isActive) {
27012
26927
  var _listRef_current_index;
27013
- onActiveChange(value2, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
26928
+ onActiveChange(value, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
27014
26929
  }
27015
26930
  });
27016
26931
  }, [
27017
26932
  index
27018
26933
  ]), React4.useEffect(function() {
27019
26934
  return valueSubscribe(function(val) {
27020
- setSelected(val === value2);
26935
+ setSelected(val === value);
27021
26936
  });
27022
26937
  }, [
27023
- value2
26938
+ value
27024
26939
  ]);
27025
26940
  var textId = React4.useId(), refCallback = React4.useCallback(function(node) {
27026
26941
  import_constants4.isWeb && node instanceof HTMLElement && listRef && (listRef.current[index] = node);
27027
26942
  }, []), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, refCallback);
27028
26943
  (0, import_constants4.useIsomorphicLayoutEffect)(function() {
27029
- setValueAtIndex(index, value2);
26944
+ setValueAtIndex(index, value);
27030
26945
  }, [
27031
26946
  index,
27032
26947
  setValueAtIndex,
27033
- value2
26948
+ value
27034
26949
  ]);
27035
26950
  function handleSelect() {
27036
- setSelectedIndex(index), onChange(value2), setOpen(!1);
26951
+ setSelectedIndex(index), onChange(value), setOpen(!1);
27037
26952
  }
27038
26953
  var selectItemProps = React4.useMemo(function() {
27039
26954
  return interactions ? interactions.getItemProps({
@@ -27062,11 +26977,11 @@ var require_SelectItem_native = __commonJS({
27062
26977
  ]);
27063
26978
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectItemContextProvider, {
27064
26979
  scope,
27065
- value: value2,
26980
+ value,
27066
26981
  textId: textId || "",
27067
26982
  isSelected,
27068
26983
  children: shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("option", {
27069
- value: value2,
26984
+ value,
27070
26985
  children: props.children
27071
26986
  }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItemFrame, {
27072
26987
  tag: "div",
@@ -27770,9 +27685,9 @@ var require_Select_native = __commonJS({
27770
27685
  function useEmitter() {
27771
27686
  var listeners = React4.useRef(null);
27772
27687
  listeners.current || (listeners.current = /* @__PURE__ */ new Set());
27773
- var emit = function(value2) {
27688
+ var emit = function(value) {
27774
27689
  listeners.current.forEach(function(l) {
27775
- return l(value2);
27690
+ return l(value);
27776
27691
  });
27777
27692
  }, subscribe = React4.useCallback(function(listener) {
27778
27693
  return listeners.current.add(listener), function() {
@@ -27791,25 +27706,25 @@ var require_Select_native = __commonJS({
27791
27706
  prop: openProp,
27792
27707
  defaultProp: defaultOpen || !1,
27793
27708
  onChange: onOpenChange
27794
- }), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
27709
+ }), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
27795
27710
  prop: valueProp,
27796
27711
  defaultProp: defaultValue || "",
27797
27712
  onChange: onValueChange,
27798
27713
  transition: !0
27799
27714
  });
27800
27715
  React4.useEffect(function() {
27801
- open && emitValue(value2);
27716
+ open && emitValue(value);
27802
27717
  }, [
27803
27718
  open
27804
27719
  ]), React4.useEffect(function() {
27805
- emitValue(value2);
27720
+ emitValue(value);
27806
27721
  }, [
27807
- value2
27722
+ value
27808
27723
  ]), React4.useEffect(function() {
27809
27724
  if (props.id) return (0, import_focusable2.registerFocusable)(props.id, {
27810
27725
  focusAndSelect: function() {
27811
- setOpen == null || setOpen(function(value22) {
27812
- return !value22;
27726
+ setOpen == null || setOpen(function(value2) {
27727
+ return !value2;
27813
27728
  });
27814
27729
  },
27815
27730
  focus: function() {
@@ -27832,7 +27747,7 @@ var require_Select_native = __commonJS({
27832
27747
  scope,
27833
27748
  adaptScope,
27834
27749
  initialValue: React4.useMemo(function() {
27835
- return value2;
27750
+ return value;
27836
27751
  }, [
27837
27752
  open
27838
27753
  ]),
@@ -27844,12 +27759,12 @@ var require_Select_native = __commonJS({
27844
27759
  onChange: React4.useCallback(function(val) {
27845
27760
  setValue(val), emitValue(val);
27846
27761
  }, []),
27847
- onActiveChange: (0, import_core12.useEvent)(function(value22, index) {
27848
- onActiveChange == null || onActiveChange(value22, index);
27762
+ onActiveChange: (0, import_core12.useEvent)(function(value2, index) {
27763
+ onActiveChange == null || onActiveChange(value2, index);
27849
27764
  }),
27850
27765
  setSelectedIndex,
27851
- setValueAtIndex: React4.useCallback(function(index, value22) {
27852
- listContentRef.current[index] = value22;
27766
+ setValueAtIndex: React4.useCallback(function(index, value2) {
27767
+ listContentRef.current[index] = value2;
27853
27768
  }, []),
27854
27769
  shouldRenderWebNative,
27855
27770
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_context.SelectProvider, {
@@ -27868,7 +27783,7 @@ var require_Select_native = __commonJS({
27868
27783
  activeIndex,
27869
27784
  selectedIndex,
27870
27785
  setActiveIndex: setActiveIndexDebounced,
27871
- value: value2,
27786
+ value,
27872
27787
  open,
27873
27788
  native,
27874
27789
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectSheetController, {
@@ -27880,7 +27795,7 @@ var require_Select_native = __commonJS({
27880
27795
  selectedIndexRef,
27881
27796
  ...props,
27882
27797
  open,
27883
- value: value2,
27798
+ value,
27884
27799
  children
27885
27800
  })
27886
27801
  })
@@ -28108,9 +28023,9 @@ var require_helpers_native3 = __commonJS({
28108
28023
  return a - b;
28109
28024
  });
28110
28025
  }
28111
- function convertValueToPercentage(value2, min, max) {
28026
+ function convertValueToPercentage(value, min, max) {
28112
28027
  var maxSteps = max - min, percentPerStep = 100 / maxSteps;
28113
- return percentPerStep * (value2 - min);
28028
+ return percentPerStep * (value - min);
28114
28029
  }
28115
28030
  function getLabel(index, totalValues) {
28116
28031
  if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
@@ -28121,8 +28036,8 @@ var require_helpers_native3 = __commonJS({
28121
28036
  }
28122
28037
  function getClosestValueIndex(values, nextValue) {
28123
28038
  if (values.length === 1) return 0;
28124
- var distances = values.map(function(value2) {
28125
- return Math.abs(value2 - nextValue);
28039
+ var distances = values.map(function(value) {
28040
+ return Math.abs(value - nextValue);
28126
28041
  }), closestDistance = Math.min(...distances);
28127
28042
  return distances.indexOf(closestDistance);
28128
28043
  }
@@ -28137,8 +28052,8 @@ var require_helpers_native3 = __commonJS({
28137
28052
  return (quarterWidth - offset2(left) * direction) * direction;
28138
28053
  }
28139
28054
  function getStepsBetweenValues(values) {
28140
- return values.slice(0, -1).map(function(value2, index) {
28141
- return values[index + 1] - value2;
28055
+ return values.slice(0, -1).map(function(value, index) {
28056
+ return values[index + 1] - value;
28142
28057
  });
28143
28058
  }
28144
28059
  function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
@@ -28149,18 +28064,18 @@ var require_helpers_native3 = __commonJS({
28149
28064
  return !0;
28150
28065
  }
28151
28066
  function linearScale(input, output) {
28152
- return function(value2) {
28067
+ return function(value) {
28153
28068
  if (input[0] === input[1] || output[0] === output[1]) return output[0];
28154
28069
  var ratio = (output[1] - output[0]) / (input[1] - input[0]);
28155
- return output[0] + ratio * (value2 - input[0]);
28070
+ return output[0] + ratio * (value - input[0]);
28156
28071
  };
28157
28072
  }
28158
- function getDecimalCount(value2) {
28159
- return (String(value2).split(".")[1] || "").length;
28073
+ function getDecimalCount(value) {
28074
+ return (String(value).split(".")[1] || "").length;
28160
28075
  }
28161
- function roundValue(value2, decimalCount) {
28076
+ function roundValue(value, decimalCount) {
28162
28077
  var rounder = Math.pow(10, decimalCount);
28163
- return Math.round(value2 * rounder) / rounder;
28078
+ return Math.round(value * rounder) / rounder;
28164
28079
  }
28165
28080
  }
28166
28081
  });
@@ -28400,8 +28315,8 @@ var require_Slider_native = __commonJS({
28400
28315
  ] : [
28401
28316
  max,
28402
28317
  min
28403
- ], value2 = (0, import_helpers3.linearScale)(input, output);
28404
- return value2(pointerPosition);
28318
+ ], value = (0, import_helpers3.linearScale)(input, output);
28319
+ return value(pointerPosition);
28405
28320
  }
28406
28321
  var measure = function() {
28407
28322
  var _sliderRef_current;
@@ -28449,16 +28364,16 @@ var require_Slider_native = __commonJS({
28449
28364
  orientation: "horizontal",
28450
28365
  onLayout: measure,
28451
28366
  onSlideStart: function(event, target) {
28452
- var value2 = getValueFromPointer(event.nativeEvent.locationX);
28453
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
28367
+ var value = getValueFromPointer(event.nativeEvent.locationX);
28368
+ value && (onSlideStart == null || onSlideStart(value, target, event));
28454
28369
  },
28455
28370
  onSlideMove: function(event) {
28456
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28457
- value2 && (onSlideMove == null || onSlideMove(value2, event));
28371
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28372
+ value && (onSlideMove == null || onSlideMove(value, event));
28458
28373
  },
28459
28374
  onSlideEnd: function(event) {
28460
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28461
- value2 && (onSlideEnd == null || onSlideEnd(event, value2));
28375
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28376
+ value && (onSlideEnd == null || onSlideEnd(event, value));
28462
28377
  },
28463
28378
  onStepKeyDown: function(event) {
28464
28379
  var isBackKey = import_constants22.BACK_KEYS[direction].includes(event.key);
@@ -28495,8 +28410,8 @@ var require_Slider_native = __commonJS({
28495
28410
  ], output = [
28496
28411
  max,
28497
28412
  min
28498
- ], value2 = (0, import_helpers3.linearScale)(input, output);
28499
- return value2(pointerPosition);
28413
+ ], value = (0, import_helpers3.linearScale)(input, output);
28414
+ return value(pointerPosition);
28500
28415
  }
28501
28416
  var measure = function() {
28502
28417
  var _sliderRef_current;
@@ -28520,16 +28435,16 @@ var require_Slider_native = __commonJS({
28520
28435
  orientation: "vertical",
28521
28436
  onLayout: measure,
28522
28437
  onSlideStart: function(event, target) {
28523
- var value2 = getValueFromPointer(event.nativeEvent.locationY);
28524
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
28438
+ var value = getValueFromPointer(event.nativeEvent.locationY);
28439
+ value && (onSlideStart == null || onSlideStart(value, target, event));
28525
28440
  },
28526
28441
  onSlideMove: function(event) {
28527
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28528
- value2 && (onSlideMove == null || onSlideMove(value2, event));
28442
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28443
+ value && (onSlideMove == null || onSlideMove(value, event));
28529
28444
  },
28530
28445
  onSlideEnd: function(event) {
28531
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28532
- onSlideEnd == null || onSlideEnd(event, value2);
28446
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28447
+ onSlideEnd == null || onSlideEnd(event, value);
28533
28448
  },
28534
28449
  onStepKeyDown: function(event) {
28535
28450
  var isBackKey = import_constants22.BACK_KEYS.ltr.includes(event.key);
@@ -28575,8 +28490,8 @@ var require_Slider_native = __commonJS({
28575
28490
  position: "absolute",
28576
28491
  pointerEvents: "box-none"
28577
28492
  }), SliderTrackActive = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28578
- var { __scopeSlider, ...rangeProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), ref = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), valuesCount = context.values.length, percentages = context.values.map(function(value2) {
28579
- return (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max);
28493
+ var { __scopeSlider, ...rangeProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), ref = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), valuesCount = context.values.length, percentages = context.values.map(function(value) {
28494
+ return (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max);
28580
28495
  }), offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0, offsetEnd = 100 - Math.max(...percentages);
28581
28496
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SliderTrackActiveFrame, {
28582
28497
  orientation: context.orientation,
@@ -28634,7 +28549,7 @@ var require_Slider_native = __commonJS({
28634
28549
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
28635
28550
  }
28636
28551
  }), SliderThumb = SliderThumbFrame.styleable(function(props, forwardedRef) {
28637
- var { __scopeSlider, index, circular, size: sizeProp, ...thumbProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), [thumb, setThumb] = React4.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, setThumb), value2 = context.values[index], percent = value2 === void 0 ? 0 : (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max), label = (0, import_helpers3.getLabel)(index, context.values.length), _ref, sizeIn = (_ref = sizeProp ?? context.size) !== null && _ref !== void 0 ? _ref : "$true", [size2, setSize] = React4.useState(function() {
28552
+ var { __scopeSlider, index, circular, size: sizeProp, ...thumbProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), [thumb, setThumb] = React4.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, setThumb), value = context.values[index], percent = value === void 0 ? 0 : (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max), label = (0, import_helpers3.getLabel)(index, context.values.length), _ref, sizeIn = (_ref = sizeProp ?? context.size) !== null && _ref !== void 0 ? _ref : "$true", [size2, setSize] = React4.useState(function() {
28638
28553
  var estimatedSize = (0, import_core12.getVariableValue)(getThumbSize(sizeIn).width);
28639
28554
  return estimatedSize;
28640
28555
  }), thumbInBoundsOffset = size2 ? (0, import_helpers3.getThumbInBoundsOffset)(size2, percent, orientation.direction) : 0;
@@ -28669,7 +28584,7 @@ var require_Slider_native = __commonJS({
28669
28584
  role: "slider",
28670
28585
  "aria-label": props["aria-label"] || label,
28671
28586
  "aria-valuemin": context.min,
28672
- "aria-valuenow": value2,
28587
+ "aria-valuenow": value,
28673
28588
  "aria-valuemax": context.max,
28674
28589
  "aria-orientation": context.orientation,
28675
28590
  "data-orientation": context.orientation,
@@ -28708,13 +28623,13 @@ var require_Slider_native = __commonJS({
28708
28623
  }), SliderComponent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28709
28624
  var { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = !1, minStepsBetweenThumbs = 0, defaultValue = [
28710
28625
  min
28711
- ], value: value2, onValueChange = function() {
28626
+ ], value, onValueChange = function() {
28712
28627
  }, size: sizeProp, onSlideEnd, onSlideMove, onSlideStart, ...sliderProps } = props, sliderRef = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(sliderRef, forwardedRef), thumbRefs = React4.useRef(/* @__PURE__ */ new Map()), valueIndexToChangeRef = React4.useRef(0), isHorizontal = orientation === "horizontal", [values = [], setValues] = (0, import_use_controllable_state.useControllableState)({
28713
- prop: value2,
28628
+ prop: value,
28714
28629
  defaultProp: defaultValue,
28715
28630
  transition: !0,
28716
- onChange: function(value22) {
28717
- updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value22);
28631
+ onChange: function(value2) {
28632
+ updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value2);
28718
28633
  }
28719
28634
  });
28720
28635
  import_constants4.isWeb && React4.useEffect(function() {
@@ -28750,11 +28665,11 @@ var require_Slider_native = __commonJS({
28750
28665
  }
28751
28666
  }
28752
28667
  }
28753
- function handleSlideMove(value22, event) {
28754
- updateValues(value22, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value22);
28668
+ function handleSlideMove(value2, event) {
28669
+ updateValues(value2, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value2);
28755
28670
  }
28756
- function updateValues(value22, atIndex) {
28757
- var decimalCount = (0, import_helpers3.getDecimalCount)(step), snapToStep = (0, import_helpers3.roundValue)(Math.round((value22 - min) / step) * step + min, decimalCount), nextValue = (0, import_helpers2.clamp)(snapToStep, [
28671
+ function updateValues(value2, atIndex) {
28672
+ var decimalCount = (0, import_helpers3.getDecimalCount)(step), snapToStep = (0, import_helpers3.roundValue)(Math.round((value2 - min) / step) * step + min, decimalCount), nextValue = (0, import_helpers2.clamp)(snapToStep, [
28758
28673
  min,
28759
28674
  max
28760
28675
  ]);
@@ -28782,12 +28697,12 @@ var require_Slider_native = __commonJS({
28782
28697
  min,
28783
28698
  max,
28784
28699
  onSlideEnd,
28785
- onSlideStart: disabled ? void 0 : function(value22, target, event) {
28700
+ onSlideStart: disabled ? void 0 : function(value2, target, event) {
28786
28701
  if (target !== "thumb") {
28787
- var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value22);
28788
- updateValues(value22, closestIndex);
28702
+ var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value2);
28703
+ updateValues(value2, closestIndex);
28789
28704
  }
28790
- onSlideStart == null || onSlideStart(event, value22, target);
28705
+ onSlideStart == null || onSlideStart(event, value2, target);
28791
28706
  },
28792
28707
  onSlideMove: disabled ? void 0 : handleSlideMove,
28793
28708
  onHomeKeyDown: function() {
@@ -28799,8 +28714,8 @@ var require_Slider_native = __commonJS({
28799
28714
  onStepKeyDown: function(param) {
28800
28715
  var { event, direction: stepDirection } = param;
28801
28716
  if (!disabled) {
28802
- var isPageKey = import_constants22.PAGE_KEYS.includes(event.key), isSkipKey = isPageKey || event.shiftKey && import_constants22.ARROW_KEYS.includes(event.key), multiplier = isSkipKey ? 10 : 1, atIndex = valueIndexToChangeRef.current, value22 = values[atIndex], stepInDirection = step * multiplier * stepDirection;
28803
- updateValues(value22 + stepInDirection, atIndex);
28717
+ var isPageKey = import_constants22.PAGE_KEYS.includes(event.key), isSkipKey = isPageKey || event.shiftKey && import_constants22.ARROW_KEYS.includes(event.key), multiplier = isSkipKey ? 10 : 1, atIndex = valueIndexToChangeRef.current, value2 = values[atIndex], stepInDirection = step * multiplier * stepDirection;
28718
+ updateValues(value2 + stepInDirection, atIndex);
28804
28719
  }
28805
28720
  }
28806
28721
  })
@@ -28937,7 +28852,7 @@ var require_useSwitch_native = __commonJS({
28937
28852
  switchRef: ref,
28938
28853
  bubbleInput: null
28939
28854
  };
28940
- var disabled, name, value2, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28855
+ var disabled, name, value, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28941
28856
  }
28942
28857
  }
28943
28858
  });
@@ -29258,8 +29173,8 @@ var require_createSwitch_native = __commonJS({
29258
29173
  React4.useEffect(function() {
29259
29174
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
29260
29175
  focusAndSelect: function() {
29261
- setChecked == null || setChecked(function(value22) {
29262
- return !value22;
29176
+ setChecked == null || setChecked(function(value2) {
29177
+ return !value2;
29263
29178
  });
29264
29179
  },
29265
29180
  focus: function() {
@@ -29275,7 +29190,7 @@ var require_createSwitch_native = __commonJS({
29275
29190
  onValueChange: setChecked,
29276
29191
  ...nativeProps
29277
29192
  });
29278
- var disabled = props.disabled, value2 = React4.useMemo(function() {
29193
+ var disabled = props.disabled, value = React4.useMemo(function() {
29279
29194
  return {
29280
29195
  checked,
29281
29196
  disabled,
@@ -29290,7 +29205,7 @@ var require_createSwitch_native = __commonJS({
29290
29205
  next !== frameWidth && setFrameInnerWidth(next);
29291
29206
  }, _styledContext_unstyled, _ref3, unstyled = (_ref3 = (_styledContext_unstyled = styledContext.unstyled) !== null && _styledContext_unstyled !== void 0 ? _styledContext_unstyled : props.unstyled) !== null && _ref3 !== void 0 ? _ref3 : !1, _styledContext_size, _ref4;
29292
29207
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(SwitchContext.Provider, {
29293
- value: value2,
29208
+ value,
29294
29209
  children: [
29295
29210
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Frame, {
29296
29211
  ref: switchRef,
@@ -29621,7 +29536,7 @@ var require_createTabs_native = __commonJS({
29621
29536
  });
29622
29537
  TabsList.displayName = TAB_LIST_NAME;
29623
29538
  var TRIGGER_NAME = "TabsTrigger", TabsTrigger = TabFrame.styleable(function(props, forwardedRef) {
29624
- var { __scopeTabs, value: value2, disabled = !1, onInteraction, disableActiveTheme, ...triggerProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), triggerId = makeTriggerId(context.baseId, value2), contentId = makeContentId(context.baseId, value2), isSelected = value2 === context.value, [layout, setLayout] = React4.useState(null), triggerRef = React4.useRef(null), groupItemProps = (0, import_group.useGroupItem)({
29539
+ var { __scopeTabs, value, disabled = !1, onInteraction, disableActiveTheme, ...triggerProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), triggerId = makeTriggerId(context.baseId, value), contentId = makeContentId(context.baseId, value), isSelected = value === context.value, [layout, setLayout] = React4.useState(null), triggerRef = React4.useRef(null), groupItemProps = (0, import_group.useGroupItem)({
29625
29540
  disabled: !!disabled
29626
29541
  });
29627
29542
  React4.useEffect(function() {
@@ -29649,7 +29564,7 @@ var require_createTabs_native = __commonJS({
29649
29564
  isSelected && layout && (onInteraction == null || onInteraction("select", layout));
29650
29565
  }, [
29651
29566
  isSelected,
29652
- value2,
29567
+ value,
29653
29568
  layout
29654
29569
  ]);
29655
29570
  var _props_onPress;
@@ -29688,7 +29603,7 @@ var require_createTabs_native = __commonJS({
29688
29603
  ref: (0, import_compose_refs.composeRefs)(forwardedRef, triggerRef),
29689
29604
  onPress: (0, import_helpers.composeEventHandlers)((_props_onPress = props.onPress) !== null && _props_onPress !== void 0 ? _props_onPress : void 0, function(event) {
29690
29605
  var webChecks = !import_constants4.isWeb || event.button === 0 && event.ctrlKey === !1;
29691
- !disabled && !isSelected && webChecks ? context.onChange(value2) : event.preventDefault();
29606
+ !disabled && !isSelected && webChecks ? context.onChange(value) : event.preventDefault();
29692
29607
  }),
29693
29608
  ...import_constants4.isWeb && {
29694
29609
  type: "button",
@@ -29696,12 +29611,12 @@ var require_createTabs_native = __commonJS({
29696
29611
  [
29697
29612
  " ",
29698
29613
  "Enter"
29699
- ].includes(event.key) && (context.onChange(value2), event.preventDefault());
29614
+ ].includes(event.key) && (context.onChange(value), event.preventDefault());
29700
29615
  }),
29701
29616
  onFocus: (0, import_helpers.composeEventHandlers)(props.onFocus, function(event) {
29702
29617
  layout && (onInteraction == null || onInteraction("focus", layout));
29703
29618
  var isAutomaticActivation = context.activationMode !== "manual";
29704
- !isSelected && !disabled && isAutomaticActivation && context.onChange(value2);
29619
+ !isSelected && !disabled && isAutomaticActivation && context.onChange(value);
29705
29620
  }),
29706
29621
  onBlur: (0, import_helpers.composeEventHandlers)(props.onFocus, function() {
29707
29622
  onInteraction == null || onInteraction("focus", null);
@@ -29713,7 +29628,7 @@ var require_createTabs_native = __commonJS({
29713
29628
  });
29714
29629
  TabsTrigger.displayName = TRIGGER_NAME;
29715
29630
  var TabsContent = ContentFrame.styleable(function(props, forwardedRef) {
29716
- var { __scopeTabs, value: value2, forceMount, children, ...contentProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), isSelected = value2 === context.value, show = forceMount || isSelected, triggerId = makeTriggerId(context.baseId, value2), contentId = makeContentId(context.baseId, value2);
29631
+ var { __scopeTabs, value, forceMount, children, ...contentProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), isSelected = value === context.value, show = forceMount || isSelected, triggerId = makeTriggerId(context.baseId, value), contentId = makeContentId(context.baseId, value);
29717
29632
  return show ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ContentFrame, {
29718
29633
  "data-state": isSelected ? "active" : "inactive",
29719
29634
  "data-orientation": context.orientation,
@@ -29726,9 +29641,9 @@ var require_createTabs_native = __commonJS({
29726
29641
  ...contentProps,
29727
29642
  ref: forwardedRef,
29728
29643
  children
29729
- }, value2) : null;
29644
+ }, value) : null;
29730
29645
  }), TabsComponent = TabsFrame.styleable(function(props, forwardedRef) {
29731
- var { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", size: size2 = "$true", ...tabsProps } = props, direction = (0, import_use_direction.useDirection)(dir), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
29646
+ var { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", size: size2 = "$true", ...tabsProps } = props, direction = (0, import_use_direction.useDirection)(dir), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
29732
29647
  prop: valueProp,
29733
29648
  onChange: onValueChange,
29734
29649
  defaultProp: defaultValue ?? ""
@@ -29744,7 +29659,7 @@ var require_createTabs_native = __commonJS({
29744
29659
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_StyledContext.TabsProvider, {
29745
29660
  scope: __scopeTabs,
29746
29661
  baseId: React4.useId(),
29747
- value: value2,
29662
+ value,
29748
29663
  onChange: setValue,
29749
29664
  orientation,
29750
29665
  dir: direction,
@@ -29772,11 +29687,11 @@ var require_createTabs_native = __commonJS({
29772
29687
  Content: TabsContent
29773
29688
  });
29774
29689
  }
29775
- function makeTriggerId(baseId, value2) {
29776
- return `${baseId}-trigger-${value2}`;
29690
+ function makeTriggerId(baseId, value) {
29691
+ return `${baseId}-trigger-${value}`;
29777
29692
  }
29778
- function makeContentId(baseId, value2) {
29779
- return `${baseId}-content-${value2}`;
29693
+ function makeContentId(baseId, value) {
29694
+ return `${baseId}-content-${value}`;
29780
29695
  }
29781
29696
  }
29782
29697
  });
@@ -30450,7 +30365,7 @@ var require_ToggleGroup_native = __commonJS({
30450
30365
  }));
30451
30366
  ToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;
30452
30367
  var ToggleGroupItemImpl = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30453
- var { __scopeToggleGroup, value: value2, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
30368
+ var { __scopeToggleGroup, value, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
30454
30369
  "aria-pressed": void 0
30455
30370
  }, typeProps = valueContext.type === "single" ? singleProps : void 0;
30456
30371
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Toggle.Toggle, {
@@ -30458,7 +30373,7 @@ var require_ToggleGroup_native = __commonJS({
30458
30373
  ...itemProps,
30459
30374
  ref: forwardedRef,
30460
30375
  onPressedChange: function(pressed) {
30461
- pressed ? valueContext.onItemActivate(value2) : valueContext.onItemDeactivate(value2);
30376
+ pressed ? valueContext.onItemActivate(value) : valueContext.onItemDeactivate(value);
30462
30377
  }
30463
30378
  });
30464
30379
  }), ToggleGroup = (0, import_helpers.withStaticProperties)(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
@@ -30493,7 +30408,7 @@ var require_ToggleGroup_native = __commonJS({
30493
30408
  ToggleGroup.displayName = TOGGLE_GROUP_NAME;
30494
30409
  var { Provider: ToggleGroupValueProvider, useStyledContext: useToggleGroupValueContext } = (0, import_web.createStyledContext)(), ToggleGroupImplSingle = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30495
30410
  var { value: valueProp, defaultValue, onValueChange = function() {
30496
- }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
30411
+ }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
30497
30412
  prop: valueProp,
30498
30413
  defaultProp: defaultValue,
30499
30414
  onChange: onValueChange
@@ -30501,10 +30416,10 @@ var require_ToggleGroup_native = __commonJS({
30501
30416
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
30502
30417
  scope: props.__scopeToggleGroup,
30503
30418
  type: "single",
30504
- value: value2 ? [
30505
- value2
30419
+ value: value ? [
30420
+ value
30506
30421
  ] : [],
30507
- defaultValue: value2,
30422
+ defaultValue: value,
30508
30423
  onItemActivate: setValue,
30509
30424
  onItemDeactivate: import_react3.default.useCallback(function() {
30510
30425
  return disableDeactivation ? null : setValue("");
@@ -30519,7 +30434,7 @@ var require_ToggleGroup_native = __commonJS({
30519
30434
  });
30520
30435
  }), ToggleGroupImplMultiple = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30521
30436
  var { value: valueProp, defaultValue, onValueChange = function() {
30522
- }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value2 = [], setValue] = (0, import_use_controllable_state.useControllableState)({
30437
+ }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value = [], setValue] = (0, import_use_controllable_state.useControllableState)({
30523
30438
  prop: valueProp,
30524
30439
  defaultProp: defaultValue,
30525
30440
  onChange: onValueChange
@@ -30536,8 +30451,8 @@ var require_ToggleGroup_native = __commonJS({
30536
30451
  ]), handleButtonDeactivate = import_react3.default.useCallback(function(itemValue) {
30537
30452
  return setValue(function() {
30538
30453
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
30539
- return prevValue.filter(function(value22) {
30540
- return value22 !== itemValue;
30454
+ return prevValue.filter(function(value2) {
30455
+ return value2 !== itemValue;
30541
30456
  });
30542
30457
  });
30543
30458
  }, [
@@ -30546,8 +30461,8 @@ var require_ToggleGroup_native = __commonJS({
30546
30461
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
30547
30462
  scope: props.__scopeToggleGroup,
30548
30463
  type: "multiple",
30549
- value: value2,
30550
- defaultValue: value2,
30464
+ value,
30465
+ defaultValue: value,
30551
30466
  onItemActivate: handleButtonActivate,
30552
30467
  onItemDeactivate: handleButtonDeactivate,
30553
30468
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupImpl, {