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.
@@ -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
  }
@@ -2374,22 +2287,22 @@ var require_config_native = __commonJS({
2374
2287
  {}
2375
2288
  ), { tokens, tokensParsed } = conf;
2376
2289
  return prefixed === !1 ? tokens : prefixed === !0 ? tokensParsed : tokensMerged;
2377
- }, getTokenObject = function(value2, group) {
2290
+ }, getTokenObject = function(value, group) {
2378
2291
  var _tokensMerged_group, _tokensMerged_, _conf_specificTokens_value;
2379
- 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) {
2380
- return tokensMerged[cat][value2];
2381
- }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value2];
2382
- }, getToken3 = function(value2, group) {
2383
- var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value2, group);
2292
+ 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) {
2293
+ return tokensMerged[cat][value];
2294
+ }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value];
2295
+ }, getToken3 = function(value, group) {
2296
+ var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value, group);
2384
2297
  return useVariable ? token == null ? void 0 : token.variable : token == null ? void 0 : token.val;
2385
- }, getTokenValue3 = function(value2, group) {
2386
- if (!(value2 === "unset" || value2 === "auto")) return getToken3(value2, group, !1);
2298
+ }, getTokenValue3 = function(value, group) {
2299
+ if (!(value === "unset" || value === "auto")) return getToken3(value, group, !1);
2387
2300
  }, useTokens = getTokens3, getThemes3 = function() {
2388
2301
  return conf.themes;
2389
2302
  }, configListeners = /* @__PURE__ */ new Set(), onConfiguredOnce = function(cb) {
2390
2303
  conf ? cb(conf) : configListeners.add(cb);
2391
- }, updateConfig2 = function(key, value2) {
2392
- Object.assign(conf[key], value2);
2304
+ }, updateConfig2 = function(key, value) {
2305
+ Object.assign(conf[key], value);
2393
2306
  }, getFont = function(name) {
2394
2307
  var _Object_entries_find, conf2 = getConfig3(), _conf_fontsParsed_name;
2395
2308
  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) {
@@ -2528,9 +2441,9 @@ var require_createVariable_native = __commonJS({
2528
2441
  var includeVar = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, name = (0, import_helpers.simpleHash)(nameProp, 60);
2529
2442
  return includeVar ? constructCSSVariableName(name) : name;
2530
2443
  };
2531
- function px(value2) {
2444
+ function px(value) {
2532
2445
  return {
2533
- val: value2,
2446
+ val: value,
2534
2447
  needsPx: !0
2535
2448
  };
2536
2449
  }
@@ -2617,8 +2530,8 @@ var require_insertStyleRule_native = __commonJS({
2617
2530
  function addTransform(identifier, css, rule) {
2618
2531
  var s = css.indexOf("transform:");
2619
2532
  if (s !== -1) {
2620
- var startI = s + 10, endI = css.indexOf(";"), value2 = css.slice(startI, endI);
2621
- if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value2, !0;
2533
+ var startI = s + 10, endI = css.indexOf(";"), value = css.slice(startI, endI);
2534
+ if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value, !0;
2622
2535
  }
2623
2536
  }
2624
2537
  function scanAllSheets() {
@@ -3109,8 +3022,8 @@ var require_useMedia_native = __commonJS({
3109
3022
  if (typeof query == "string") return query;
3110
3023
  if (cache.has(query)) return cache.get(query);
3111
3024
  var res = Object.entries(query).map(function(param) {
3112
- var [feature, value2] = param;
3113
- return feature = camelToHyphen(feature), typeof value2 == "string" ? `(${feature}: ${value2})` : (typeof value2 == "number" && /[height|width]$/.test(feature) && (value2 = `${value2}px`), `(${feature}: ${value2})`);
3025
+ var [feature, value] = param;
3026
+ return feature = camelToHyphen(feature), typeof value == "string" ? `(${feature}: ${value})` : (typeof value == "number" && /[height|width]$/.test(feature) && (value = `${value}px`), `(${feature}: ${value})`);
3114
3027
  }).join(" and ");
3115
3028
  return key && (cachedMediaKeyToQuery[key] = res), cache.set(query, res), res;
3116
3029
  }
@@ -3193,8 +3106,8 @@ var require_Tamagui_native = __commonJS({
3193
3106
  var TamaguiManager;
3194
3107
  }(), identifierToValue = /* @__PURE__ */ new Map(), getValueFromIdentifier = function(identifier) {
3195
3108
  return identifierToValue.get(identifier);
3196
- }, setIdentifierValue = function(identifier, value2) {
3197
- identifierToValue.set(identifier, value2);
3109
+ }, setIdentifierValue = function(identifier, value) {
3110
+ identifierToValue.set(identifier, value);
3198
3111
  };
3199
3112
  }
3200
3113
  });
@@ -3261,8 +3174,8 @@ var require_compose_refs_native = __commonJS({
3261
3174
  });
3262
3175
  module2.exports = __toCommonJS2(compose_refs_exports);
3263
3176
  var React4 = __toESM2(require("react"));
3264
- function setRef(ref, value2) {
3265
- typeof ref == "function" ? ref(value2) : ref && (ref.current = value2);
3177
+ function setRef(ref, value) {
3178
+ typeof ref == "function" ? ref(value) : ref && (ref.current = value);
3266
3179
  }
3267
3180
  function composeRefs() {
3268
3181
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) refs[_key] = arguments[_key];
@@ -3584,8 +3497,8 @@ var require_createStyledContext_native = __commonJS({
3584
3497
  })
3585
3498
  });
3586
3499
  }, useStyledContext = function() {
3587
- 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);
3588
- return value2;
3500
+ 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);
3501
+ return value;
3589
3502
  };
3590
3503
  return Context.Provider = Provider, Context.props = defaultValues, Context.context = OGContext, Context.useStyledContext = useStyledContext, Context;
3591
3504
  }
@@ -5127,11 +5040,11 @@ var require_normalizeValueWithProperty_native = __commonJS({
5127
5040
  translateX: !0,
5128
5041
  translateY: !0
5129
5042
  };
5130
- function normalizeValueWithProperty(value2) {
5043
+ function normalizeValueWithProperty(value) {
5131
5044
  var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5132
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value2 == "boolean") return value2;
5133
- var res = value2;
5134
- return value2 && typeof value2 == "object" ? value2 : (typeof value2 == "number" ? res = `${value2}px` : property && (res = `${res}`), res);
5045
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5046
+ var res = value;
5047
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5135
5048
  }
5136
5049
  }
5137
5050
  });
@@ -5395,26 +5308,26 @@ var require_expandStyle_native = __commonJS({
5395
5308
  return `${prefix}${k}`;
5396
5309
  });
5397
5310
  };
5398
- function expandStyle(key, value2) {
5311
+ function expandStyle(key, value) {
5399
5312
  if (import_constants4.isAndroid && key === "elevationAndroid") return [
5400
5313
  [
5401
5314
  "elevation",
5402
- value2
5315
+ value
5403
5316
  ]
5404
5317
  ];
5405
5318
  if (key in EXPANSIONS) return EXPANSIONS[key].map(function(key2) {
5406
5319
  return [
5407
5320
  key2,
5408
- value2
5321
+ value
5409
5322
  ];
5410
5323
  });
5411
5324
  if (key in import_webToNativeProps.webToNativeExpansion) return import_webToNativeProps.webToNativeExpansion[key].map(function(key2) {
5412
5325
  return [
5413
5326
  key2,
5414
- value2
5327
+ value
5415
5328
  ];
5416
5329
  });
5417
- if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value2);
5330
+ if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value);
5418
5331
  }
5419
5332
  var all = [
5420
5333
  "Top",
@@ -5659,8 +5572,8 @@ var require_normalizeStyle_native = __commonJS({
5659
5572
  res[key] = normalizeStyle(prop, disableNormalize);
5660
5573
  continue;
5661
5574
  }
5662
- var value2 = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value2);
5663
- out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value2;
5575
+ var value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
5576
+ out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value;
5664
5577
  }
5665
5578
  }
5666
5579
  return (0, import_expandStyles.fixStyles)(res), res;
@@ -5879,18 +5792,18 @@ var require_propMapper_native = __commonJS({
5879
5792
  }
5880
5793
  });
5881
5794
  module2.exports = __toCommonJS2(propMapper_exports);
5882
- 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) {
5883
- if (disabled) return map(key, value2);
5795
+ 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) {
5796
+ if (disabled) return map(key, value);
5884
5797
  if (lastFontFamilyToken = null, !(!import_constants4.isAndroid && key === "elevationAndroid")) {
5885
5798
  var { conf, styleProps, staticConfig } = styleState;
5886
- if (value2 === "unset") {
5799
+ if (value === "unset") {
5887
5800
  var _conf_unset, unsetVal = (_conf_unset = conf.unset) === null || _conf_unset === void 0 ? void 0 : _conf_unset[key];
5888
- if (unsetVal != null) value2 = unsetVal;
5801
+ if (unsetVal != null) value = unsetVal;
5889
5802
  else return;
5890
5803
  }
5891
5804
  var { variants } = staticConfig;
5892
5805
  if (!styleProps.noExpand && variants && key in variants) {
5893
- var variantValue = resolveVariants(key, value2, styleProps, styleState, "");
5806
+ var variantValue = resolveVariants(key, value, styleProps, styleState, "");
5894
5807
  if (variantValue) {
5895
5808
  variantValue.forEach(function(param) {
5896
5809
  var [_$key, _$value] = param;
@@ -5899,30 +5812,30 @@ var require_propMapper_native = __commonJS({
5899
5812
  return;
5900
5813
  }
5901
5814
  }
5902
- 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) {
5815
+ 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) {
5903
5816
  key === "fontFamily" && lastFontFamilyToken && (styleState.fontFamily = lastFontFamilyToken);
5904
- var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value2);
5817
+ var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value);
5905
5818
  if (expanded) for (var max = expanded.length, i = 0; i < max; i++) {
5906
5819
  var [nkey, nvalue] = expanded[i];
5907
5820
  map(nkey, nvalue);
5908
5821
  }
5909
- else map(key, value2);
5822
+ else map(key, value);
5910
5823
  }
5911
5824
  }
5912
- }, resolveVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
5825
+ }, resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
5913
5826
  var { staticConfig, conf, debug } = styleState, { variants } = staticConfig;
5914
5827
  if (variants) {
5915
- var variantValue = getVariantDefinition(variants[key], value2, conf);
5828
+ var variantValue = getVariantDefinition(variants[key], value, conf);
5916
5829
  if (!variantValue) {
5917
- if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value2 != "boolean") {
5830
+ if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value != "boolean") {
5918
5831
  var name = staticConfig.componentName || "[UnnamedComponent]";
5919
- console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value2}"`);
5832
+ console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value}"`);
5920
5833
  }
5921
5834
  return;
5922
5835
  }
5923
5836
  if (typeof variantValue == "function") {
5924
5837
  var fn = variantValue, extras = (0, import_getVariantExtras.getVariantExtras)(styleState);
5925
- variantValue = fn(value2, extras);
5838
+ variantValue = fn(value, extras);
5926
5839
  }
5927
5840
  var fontFamilyResult;
5928
5841
  if ((0, import_isObj.isObj)(variantValue)) {
@@ -5945,10 +5858,10 @@ var require_propMapper_native = __commonJS({
5945
5858
  }
5946
5859
  } else if (typeof input == "string" && input[0] === "$") return input;
5947
5860
  }
5948
- var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
5861
+ var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value, styleProps, styleState, parentVariantKey) {
5949
5862
  var { conf, staticConfig, debug, theme } = styleState, { variants } = staticConfig, res = {};
5950
- for (var _key in value2) {
5951
- var subKey = conf.shorthands[_key] || _key, val = value2[_key];
5863
+ for (var _key in value) {
5864
+ var subKey = conf.shorthands[_key] || _key, val = value[_key];
5952
5865
  if (!(!styleProps.noSkip && subKey in import_skipProps.skipProps)) {
5953
5866
  if (styleProps.noExpand) res[subKey] = val;
5954
5867
  else if (variants && subKey in variants) {
@@ -6012,17 +5925,17 @@ var require_propMapper_native = __commonJS({
6012
5925
  spreadName: `...${name}`
6013
5926
  };
6014
5927
  });
6015
- function getVariantDefinition(variant, value2, conf) {
5928
+ function getVariantDefinition(variant, value, conf) {
6016
5929
  if (variant) {
6017
5930
  if (typeof variant == "function") return variant;
6018
- var exact = variant[value2];
5931
+ var exact = variant[value];
6019
5932
  if (exact) return exact;
6020
- if (value2 != null) {
5933
+ if (value != null) {
6021
5934
  var { tokensParsed } = conf, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6022
5935
  try {
6023
5936
  for (var _iterator = tokenCats[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
6024
5937
  var { name, spreadName } = _step.value;
6025
- if (spreadName in variant && name in tokensParsed && value2 in tokensParsed[name]) return variant[spreadName];
5938
+ if (spreadName in variant && name in tokensParsed && value in tokensParsed[name]) return variant[spreadName];
6026
5939
  }
6027
5940
  } catch (err) {
6028
5941
  _didIteratorError = !0, _iteratorError = err;
@@ -6034,32 +5947,32 @@ var require_propMapper_native = __commonJS({
6034
5947
  }
6035
5948
  }
6036
5949
  var fontSizeVariant = variant["...fontSize"];
6037
- if (fontSizeVariant && conf.fontSizeTokens.has(value2)) return fontSizeVariant;
5950
+ if (fontSizeVariant && conf.fontSizeTokens.has(value)) return fontSizeVariant;
6038
5951
  }
6039
- return variant[`:${typeof value2}`] || variant["..."];
5952
+ return variant[`:${typeof value}`] || variant["..."];
6040
5953
  }
6041
5954
  }
6042
5955
  var fontShorthand = {
6043
5956
  fontSize: "size",
6044
5957
  fontWeight: "weight"
6045
- }, lastFontFamilyToken = null, getTokenForKey = function(key, value2, styleProps, styleState) {
5958
+ }, lastFontFamilyToken = null, getTokenForKey = function(key, value, styleProps, styleState) {
6046
5959
  var _staticConfig_accept, resolveAs = styleProps.resolveValues || "none";
6047
- if (resolveAs === "none") return value2;
6048
- 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];
5960
+ if (resolveAs === "none") return value;
5961
+ 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];
6049
5962
  if (customTokenAccept) {
6050
- var val = themeValue ?? tokensParsed[customTokenAccept][value2];
5963
+ var val = themeValue ?? tokensParsed[customTokenAccept][value];
6051
5964
  val != null && (resolveAs = "value", valOrVar = val, hasSet = !0);
6052
5965
  }
6053
5966
  if (themeValue) {
6054
- if (resolveAs === "except-theme") return value2;
5967
+ if (resolveAs === "except-theme") return value;
6055
5968
  valOrVar = themeValue, hasSet = !0;
6056
5969
  } else {
6057
- if (value2 in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value2];
5970
+ if (value in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value];
6058
5971
  else {
6059
5972
  switch (key) {
6060
5973
  case "fontFamily": {
6061
5974
  var _fontsParsed_value, fontsParsed = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed;
6062
- valOrVar = ((_fontsParsed_value = fontsParsed[value2]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value2, lastFontFamilyToken = value2, hasSet = !0;
5975
+ valOrVar = ((_fontsParsed_value = fontsParsed[value]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value, lastFontFamilyToken = value, hasSet = !0;
6063
5976
  break;
6064
5977
  }
6065
5978
  case "fontSize":
@@ -6069,18 +5982,18 @@ var require_propMapper_native = __commonJS({
6069
5982
  var fam = fontFamily || conf.defaultFontToken;
6070
5983
  if (fam) {
6071
5984
  var _font_, fontsParsed1 = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed, font = fontsParsed1[fam] || fontsParsed1[conf.defaultFontToken];
6072
- valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value2]) || value2, hasSet = !0;
5985
+ valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value]) || value, hasSet = !0;
6073
5986
  }
6074
5987
  break;
6075
5988
  }
6076
5989
  }
6077
5990
  for (var cat in import_helpers.tokenCategories) if (key in import_helpers.tokenCategories[cat]) {
6078
- var res = tokensParsed[cat][value2];
5991
+ var res = tokensParsed[cat][value];
6079
5992
  res != null && (valOrVar = res, hasSet = !0);
6080
5993
  }
6081
5994
  }
6082
5995
  if (!hasSet) {
6083
- var spaceVar = tokensParsed.space[value2];
5996
+ var spaceVar = tokensParsed.space[value];
6084
5997
  spaceVar != null && (valOrVar = spaceVar, hasSet = !0);
6085
5998
  }
6086
5999
  }
@@ -6205,8 +6118,8 @@ var require_transformsToString_native = __commonJS({
6205
6118
  // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
6206
6119
  // { perspective: 1000 } => perspective(1000px)
6207
6120
  function(transform) {
6208
- var type = Object.keys(transform)[0], value2 = transform[type];
6209
- return type === "matrix" || type === "matrix3d" ? `${type}(${value2.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value2, type)})`;
6121
+ var type = Object.keys(transform)[0], value = transform[type];
6122
+ return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
6210
6123
  }
6211
6124
  ).join(" ");
6212
6125
  }
@@ -6553,7 +6466,7 @@ var require_getSplitStyles_native = __commonJS({
6553
6466
  if (!styleState.style.$$css) {
6554
6467
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
6555
6468
  try {
6556
- for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value2, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6469
+ for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6557
6470
  } catch (err) {
6558
6471
  } finally {
6559
6472
  }
@@ -6715,14 +6628,14 @@ var require_getSplitStyles_native = __commonJS({
6715
6628
  delete viewProps[key], viewProps[key] = next;
6716
6629
  } else viewProps[key] = val;
6717
6630
  }
6718
- function mergeMediaByImportance(styleState, mediaKey, key, value2, isSizeMedia, importanceBump, debugProp) {
6631
+ function mergeMediaByImportance(styleState, mediaKey, key, value, isSizeMedia, importanceBump, debugProp) {
6719
6632
  var usedKeys = styleState.usedKeys, importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, styleState, isSizeMedia);
6720
6633
  if (importanceBump && (importance = (importance || 0) + importanceBump), importance === null) return !1;
6721
6634
  if (key in import_pseudoDescriptors.pseudoDescriptors) {
6722
6635
  var descriptor = import_pseudoDescriptors.pseudoDescriptors[key], descriptorKey = descriptor.stateKey || descriptor.name, isDisabled = styleState.componentState[descriptorKey] === !1;
6723
6636
  if (isDisabled) return !1;
6724
- for (var subKey in value2) mergeStyle(styleState, subKey, value2[subKey], importance);
6725
- } else mergeStyle(styleState, key, value2, importance);
6637
+ for (var subKey in value) mergeStyle(styleState, subKey, value[subKey], importance);
6638
+ } else mergeStyle(styleState, key, value, importance);
6726
6639
  return !0;
6727
6640
  }
6728
6641
  function normalizeStyle(style) {
@@ -7332,14 +7245,14 @@ var require_getThemeProxied_native = __commonJS({
7332
7245
  curKeys && (curKeys.current || (curKeys.current = /* @__PURE__ */ new Set()), curKeys.current.add(key));
7333
7246
  }
7334
7247
  var proxied1 = Object.fromEntries(Object.entries(_state.theme).flatMap(function(param) {
7335
- var [key, value2] = param, proxied2 = {
7336
- ...value2,
7248
+ var [key, value] = param, proxied2 = {
7249
+ ...value,
7337
7250
  get val() {
7338
- return globalThis.tamaguiAvoidTracking || track(key), value2.val;
7251
+ return globalThis.tamaguiAvoidTracking || track(key), value.val;
7339
7252
  },
7340
7253
  get(platform2) {
7341
7254
  if (curState) {
7342
- 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)();
7255
+ 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)();
7343
7256
  if (shouldOptimize) {
7344
7257
  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)({
7345
7258
  scheme,
@@ -7889,11 +7802,11 @@ var require_index_native14 = __commonJS({
7889
7802
  };
7890
7803
  function useDidFinishSSR2() {
7891
7804
  var clientOnly = React4.useContext(import_ClientOnly.ClientOnlyContext);
7892
- return value != null ? value : !0;
7805
+ return !0;
7893
7806
  }
7894
- function useClientValue(value1) {
7807
+ function useClientValue(value) {
7895
7808
  var done = useDidFinishSSR2();
7896
- return done ? typeof value1 == "function" ? value1() : value1 : void 0;
7809
+ return done ? typeof value == "function" ? value() : value : void 0;
7897
7810
  }
7898
7811
  }
7899
7812
  });
@@ -9362,10 +9275,10 @@ var require_createFont_native = __commonJS({
9362
9275
  ...sectionKeys
9363
9276
  ])
9364
9277
  ].map(function(key) {
9365
- var _section_key, _ref, value2 = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9366
- return fillValue = value2, defaultValue = value2, [
9278
+ var _section_key, _ref, value = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9279
+ return fillValue = value, defaultValue = value, [
9367
9280
  key,
9368
- value2
9281
+ value
9369
9282
  ];
9370
9283
  }));
9371
9284
  }, createFont2 = function(font) {
@@ -9581,7 +9494,7 @@ var require_createTamagui_native = __commonJS({
9581
9494
  var sep;
9582
9495
  if (fontDeclarations) for (var key22 in fontDeclarations) var name1, declarations1, language1, fontSelector, langSelector, selectors, specificRuleSet;
9583
9496
  }
9584
- var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
9497
+ var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn, tokens.color), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
9585
9498
  return {
9586
9499
  themes,
9587
9500
  cssRuleSets,
@@ -9683,7 +9596,7 @@ var require_createTamagui_native = __commonJS({
9683
9596
  var _process_env_DEBUG;
9684
9597
  return config;
9685
9598
  }
9686
- function getThemesDeduped(themes) {
9599
+ function getThemesDeduped(themes, colorTokens) {
9687
9600
  var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
9688
9601
  for (var themeName in themes) {
9689
9602
  var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
@@ -9695,6 +9608,7 @@ var require_createTamagui_native = __commonJS({
9695
9608
  var theme = {
9696
9609
  ...rawTheme
9697
9610
  };
9611
+ colorTokens && Object.assign(theme, colorTokens);
9698
9612
  for (var key1 in theme) (0, import_themes.ensureThemeVariable)(theme, key1);
9699
9613
  var deduped = {
9700
9614
  names: [
@@ -10933,12 +10847,13 @@ var require_FontLanguage_native = __commonJS({
10933
10847
  });
10934
10848
  module2.exports = __toCommonJS2(FontLanguage_native_exports);
10935
10849
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), FontLanguage2 = function(param) {
10936
- var { children, ...props } = param, language = import_react3.default.useMemo(function() {
10850
+ var { children, ...props } = param, parentProps = import_react3.default.useContext(import_ComponentContext.ComponentContext), language = import_react3.default.useMemo(function() {
10937
10851
  return props;
10938
10852
  }, [
10939
10853
  JSON.stringify(props)
10940
10854
  ]);
10941
10855
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
10856
+ ...parentProps,
10942
10857
  language,
10943
10858
  children
10944
10859
  });
@@ -11536,41 +11451,41 @@ var require_matchQuery_native = __commonJS({
11536
11451
  var inverse = query.inverse, typeMatch = query.type === "all" || values.type === query.type;
11537
11452
  if (typeMatch && inverse || !(typeMatch || inverse)) return !1;
11538
11453
  var expressionsMatch = query.expressions.every(function(expression) {
11539
- var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value2 = values[feature];
11540
- if (!value2) return !1;
11454
+ var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value = values[feature];
11455
+ if (!value) return !1;
11541
11456
  switch (feature) {
11542
11457
  case "orientation":
11543
11458
  case "scan":
11544
- return value2.toLowerCase() === expValue.toLowerCase();
11459
+ return value.toLowerCase() === expValue.toLowerCase();
11545
11460
  case "width":
11546
11461
  case "height":
11547
11462
  case "device-width":
11548
11463
  case "device-height":
11549
- expValue = toPx(expValue), value2 = toPx(value2);
11464
+ expValue = toPx(expValue), value = toPx(value);
11550
11465
  break;
11551
11466
  case "resolution":
11552
- expValue = toDpi(expValue), value2 = toDpi(value2);
11467
+ expValue = toDpi(expValue), value = toDpi(value);
11553
11468
  break;
11554
11469
  case "aspect-ratio":
11555
11470
  case "device-aspect-ratio":
11556
11471
  case /* Deprecated */
11557
11472
  "device-pixel-ratio":
11558
- expValue = toDecimal(expValue), value2 = toDecimal(value2);
11473
+ expValue = toDecimal(expValue), value = toDecimal(value);
11559
11474
  break;
11560
11475
  case "grid":
11561
11476
  case "color":
11562
11477
  case "color-index":
11563
11478
  case "monochrome":
11564
- expValue = Number.parseInt(expValue, 10) || 1, value2 = Number.parseInt(value2, 10) || 0;
11479
+ expValue = Number.parseInt(expValue, 10) || 1, value = Number.parseInt(value, 10) || 0;
11565
11480
  break;
11566
11481
  }
11567
11482
  switch (modifier) {
11568
11483
  case "min":
11569
- return value2 >= expValue;
11484
+ return value >= expValue;
11570
11485
  case "max":
11571
- return value2 <= expValue;
11486
+ return value <= expValue;
11572
11487
  default:
11573
- return value2 === expValue;
11488
+ return value === expValue;
11574
11489
  }
11575
11490
  });
11576
11491
  return expressionsMatch && !inverse || !expressionsMatch && inverse;
@@ -11602,35 +11517,35 @@ var require_matchQuery_native = __commonJS({
11602
11517
  return decimal || (numbers = ratio.match(/^(\d+)\s*\/\s*(\d+)$/), decimal = numbers[1] / numbers[2]), decimal;
11603
11518
  }
11604
11519
  function toDpi(resolution) {
11605
- 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];
11520
+ 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];
11606
11521
  switch (units) {
11607
11522
  case "dpcm":
11608
- return value2 / 2.54;
11523
+ return value / 2.54;
11609
11524
  case "dppx":
11610
- return value2 * 96;
11525
+ return value * 96;
11611
11526
  default:
11612
- return value2;
11527
+ return value;
11613
11528
  }
11614
11529
  }
11615
11530
  function toPx(length) {
11616
- 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];
11531
+ 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];
11617
11532
  switch (units) {
11618
11533
  case "em":
11619
- return value2 * 16;
11534
+ return value * 16;
11620
11535
  case "rem":
11621
- return value2 * 16;
11536
+ return value * 16;
11622
11537
  case "cm":
11623
- return value2 * 96 / 2.54;
11538
+ return value * 96 / 2.54;
11624
11539
  case "mm":
11625
- return value2 * 96 / 2.54 / 10;
11540
+ return value * 96 / 2.54 / 10;
11626
11541
  case "in":
11627
- return value2 * 96;
11542
+ return value * 96;
11628
11543
  case "pt":
11629
- return value2 * 72;
11544
+ return value * 72;
11630
11545
  case "pc":
11631
- return value2 * 72 / 12;
11546
+ return value * 72 / 12;
11632
11547
  default:
11633
- return value2;
11548
+ return value;
11634
11549
  }
11635
11550
  }
11636
11551
  }
@@ -11692,13 +11607,13 @@ var require_mediaQueryList_native = __commonJS({
11692
11607
  function _create_class(Constructor, protoProps, staticProps) {
11693
11608
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
11694
11609
  }
11695
- function _define_property(obj, key, value2) {
11610
+ function _define_property(obj, key, value) {
11696
11611
  return key in obj ? Object.defineProperty(obj, key, {
11697
- value: value2,
11612
+ value,
11698
11613
  enumerable: !0,
11699
11614
  configurable: !0,
11700
11615
  writable: !0
11701
- }) : obj[key] = value2, obj;
11616
+ }) : obj[key] = value, obj;
11702
11617
  }
11703
11618
  var NativeMediaQueryList = /* @__PURE__ */ function() {
11704
11619
  "use strict";
@@ -12368,13 +12283,13 @@ var require_ResponderTouchHistoryStore_native = __commonJS({
12368
12283
  function _create_class(Constructor, protoProps, staticProps) {
12369
12284
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12370
12285
  }
12371
- function _define_property(obj, key, value2) {
12286
+ function _define_property(obj, key, value) {
12372
12287
  return key in obj ? Object.defineProperty(obj, key, {
12373
- value: value2,
12288
+ value,
12374
12289
  enumerable: !0,
12375
12290
  configurable: !0,
12376
12291
  writable: !0
12377
- }) : obj[key] = value2, obj;
12292
+ }) : obj[key] = value, obj;
12378
12293
  }
12379
12294
  var ResponderTouchHistoryStore = /* @__PURE__ */ function() {
12380
12295
  "use strict";
@@ -15341,24 +15256,24 @@ var require_Accordion_native = __commonJS({
15341
15256
  AccordionComponent.displayName = ACCORDION_NAME;
15342
15257
  AccordionComponent.propTypes = {
15343
15258
  type(props) {
15344
- var value2 = props.value || props.defaultValue;
15259
+ var value = props.value || props.defaultValue;
15345
15260
  return props.type && ![
15346
15261
  "single",
15347
15262
  "multiple"
15348
- ].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;
15263
+ ].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;
15349
15264
  }
15350
15265
  };
15351
15266
  var { Provider: AccordionValueProvider, useStyledContext: useAccordionValueContext } = (0, import_core12.createStyledContext)(), { Provider: AccordionCollapsibleProvider, useStyledContext: useAccordionCollapsibleContext } = (0, import_core12.createStyledContext)(), AccordionImplSingle = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15352
15267
  var { value: valueProp, defaultValue, control, onValueChange = function() {
15353
- }, collapsible = !1, ...accordionSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15268
+ }, collapsible = !1, ...accordionSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15354
15269
  prop: valueProp,
15355
15270
  defaultProp: defaultValue || "",
15356
15271
  onChange: onValueChange
15357
15272
  });
15358
15273
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15359
15274
  scope: props.__scopeAccordion,
15360
- value: value2 ? [
15361
- value2
15275
+ value: value ? [
15276
+ value
15362
15277
  ] : [],
15363
15278
  onItemOpen: setValue,
15364
15279
  onItemClose: React4.useCallback(function() {
@@ -15378,7 +15293,7 @@ var require_Accordion_native = __commonJS({
15378
15293
  });
15379
15294
  }), AccordionImplMultiple = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15380
15295
  var { value: valueProp, defaultValue, onValueChange = function() {
15381
- }, ...accordionMultipleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15296
+ }, ...accordionMultipleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15382
15297
  prop: valueProp,
15383
15298
  defaultProp: defaultValue || [],
15384
15299
  onChange: onValueChange
@@ -15395,8 +15310,8 @@ var require_Accordion_native = __commonJS({
15395
15310
  ]), handleItemClose = React4.useCallback(function(itemValue) {
15396
15311
  return setValue(function() {
15397
15312
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
15398
- return prevValue.filter(function(value22) {
15399
- return value22 !== itemValue;
15313
+ return prevValue.filter(function(value2) {
15314
+ return value2 !== itemValue;
15400
15315
  });
15401
15316
  });
15402
15317
  }, [
@@ -15404,7 +15319,7 @@ var require_Accordion_native = __commonJS({
15404
15319
  ]);
15405
15320
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15406
15321
  scope: props.__scopeAccordion,
15407
- value: value2 || [],
15322
+ value: value || [],
15408
15323
  onItemOpen: handleItemOpen,
15409
15324
  onItemClose: handleItemClose,
15410
15325
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionCollapsibleProvider, {
@@ -15476,7 +15391,7 @@ var require_Accordion_native = __commonJS({
15476
15391
  })
15477
15392
  });
15478
15393
  }), ITEM_NAME = "AccordionItem", { Provider: AccordionItemProvider, useStyledContext: useAccordionItemContext } = (0, import_core12.createStyledContext)(), AccordionItem = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15479
- 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;
15394
+ 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;
15480
15395
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionItemProvider, {
15481
15396
  scope: __scopeAccordion,
15482
15397
  open,
@@ -15491,7 +15406,7 @@ var require_Accordion_native = __commonJS({
15491
15406
  disabled,
15492
15407
  open,
15493
15408
  onOpenChange: function(open2) {
15494
- open2 ? valueContext.onItemOpen(value2) : valueContext.onItemClose(value2);
15409
+ open2 ? valueContext.onItemOpen(value) : valueContext.onItemClose(value);
15495
15410
  }
15496
15411
  })
15497
15412
  });
@@ -16084,9 +15999,9 @@ var require_GorhomPortal_native = __commonJS({
16084
15999
  };
16085
16000
  }, PortalProviderComponent = function(param) {
16086
16001
  var { rootHostName = "root", shouldAddRootHost = !0, children } = param, [state, dispatch] = (0, import_react3.useReducer)(reducer, INITIAL_STATE), transitionDispatch = (0, import_react3.useMemo)(function() {
16087
- var next = function(value2) {
16002
+ var next = function(value) {
16088
16003
  (0, import_start_transition.startTransition)(function() {
16089
- dispatch(value2);
16004
+ dispatch(value);
16090
16005
  });
16091
16006
  };
16092
16007
  return next;
@@ -16766,11 +16681,11 @@ var require_create_context_native = __commonJS({
16766
16681
  function createContext(rootComponentName, defaultContext) {
16767
16682
  var Context = /* @__PURE__ */ React4.createContext(defaultContext);
16768
16683
  function Provider(props) {
16769
- var { children, ...context } = props, value2 = React4.useMemo(function() {
16684
+ var { children, ...context } = props, value = React4.useMemo(function() {
16770
16685
  return context;
16771
16686
  }, Object.values(context));
16772
16687
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
16773
- value: value2,
16688
+ value,
16774
16689
  children
16775
16690
  });
16776
16691
  }
@@ -16794,11 +16709,11 @@ var require_create_context_native = __commonJS({
16794
16709
  defaultContext
16795
16710
  ];
16796
16711
  function Provider(props) {
16797
- 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() {
16712
+ 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() {
16798
16713
  return context;
16799
16714
  }, Object.values(context));
16800
16715
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
16801
- value: value2,
16716
+ value,
16802
16717
  children
16803
16718
  });
16804
16719
  }
@@ -18027,8 +17942,8 @@ var require_SheetImplementationCustom_native = __commonJS({
18027
17942
  useAnimatedNumberReaction({
18028
17943
  value: animatedNumber,
18029
17944
  hostRef: sheetRef
18030
- }, import_react3.default.useCallback(function(value2) {
18031
- at.current = value2, scrollBridge.paneY = value2;
17945
+ }, import_react3.default.useCallback(function(value) {
17946
+ at.current = value, scrollBridge.paneY = value;
18032
17947
  }, [
18033
17948
  animationDriver
18034
17949
  ]));
@@ -21632,7 +21547,7 @@ var require_focusableInputHOC_native = __commonJS({
21632
21547
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
21633
21548
  var import_compose_refs = require_index_native11(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21634
21549
  function useFocusable2(param) {
21635
- 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) {
21550
+ 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) {
21636
21551
  input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
21637
21552
  }, []), registerFocusableHandler = import_react3.default.useCallback(function(input) {
21638
21553
  var _unregisterFocusable_current;
@@ -21652,8 +21567,8 @@ var require_focusableInputHOC_native = __commonJS({
21652
21567
  input && registerFocusableHandler(input);
21653
21568
  }, [
21654
21569
  registerFocusableHandler
21655
- ]), handleChangeText = (0, import_web.useEvent)(function(value22) {
21656
- inputValue.current = value22, onChangeText == null || onChangeText(value22);
21570
+ ]), handleChangeText = (0, import_web.useEvent)(function(value2) {
21571
+ inputValue.current = value2, onChangeText == null || onChangeText(value2);
21657
21572
  });
21658
21573
  return import_react3.default.useEffect(function() {
21659
21574
  return function() {
@@ -22005,15 +21920,15 @@ var require_index_native49 = __commonJS({
22005
21920
  });
22006
21921
  module2.exports = __toCommonJS2(index_exports2);
22007
21922
  var React4 = __toESM2(require("react"));
22008
- function usePrevious(value2) {
21923
+ function usePrevious(value) {
22009
21924
  var ref = React4.useRef({
22010
- value: value2,
22011
- previous: value2
21925
+ value,
21926
+ previous: value
22012
21927
  });
22013
21928
  return React4.useMemo(function() {
22014
- return ref.current.value !== value2 && (ref.current.previous = ref.current.value, ref.current.value = value2), ref.current.previous;
21929
+ return ref.current.value !== value && (ref.current.previous = ref.current.value, ref.current.value = value), ref.current.previous;
22015
21930
  }, [
22016
- value2
21931
+ value
22017
21932
  ]);
22018
21933
  }
22019
21934
  }
@@ -22225,7 +22140,7 @@ var require_useCheckbox_native = __commonJS({
22225
22140
  module2.exports = __toCommonJS2(useCheckbox_exports);
22226
22141
  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();
22227
22142
  function useCheckbox(props, param, ref) {
22228
- 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() {
22143
+ 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() {
22229
22144
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
22230
22145
  event.key === "Enter" && event.preventDefault();
22231
22146
  });
@@ -22246,7 +22161,7 @@ var require_useCheckbox_native = __commonJS({
22246
22161
  control: button,
22247
22162
  bubbles: !hasConsumerStoppedPropagationRef.current,
22248
22163
  name,
22249
- value: value2,
22164
+ value,
22250
22165
  checked,
22251
22166
  required,
22252
22167
  disabled
@@ -22259,7 +22174,7 @@ var require_useCheckbox_native = __commonJS({
22259
22174
  ...checkboxProps,
22260
22175
  ...import_constants4.isWeb && {
22261
22176
  type: "button",
22262
- value: value2,
22177
+ value,
22263
22178
  "data-state": (0, import_utils.getState)(checked),
22264
22179
  "data-disabled": disabled ? "" : void 0,
22265
22180
  disabled,
@@ -22403,8 +22318,8 @@ var require_createCheckbox_native = __commonJS({
22403
22318
  import_react3.default.useEffect(function() {
22404
22319
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
22405
22320
  focusAndSelect: function() {
22406
- setChecked == null || setChecked(function(value2) {
22407
- return !value2;
22321
+ setChecked == null || setChecked(function(value) {
22322
+ return !value;
22408
22323
  });
22409
22324
  },
22410
22325
  focus: function() {
@@ -24849,20 +24764,20 @@ var require_Progress_native = __commonJS({
24849
24764
  animation: context.width ? animation : null
24850
24765
  });
24851
24766
  });
24852
- function defaultGetValueLabel(value2, max) {
24853
- return `${Math.round(value2 / max * 100)}%`;
24767
+ function defaultGetValueLabel(value, max) {
24768
+ return `${Math.round(value / max * 100)}%`;
24854
24769
  }
24855
- function getProgressState(value2, maxValue) {
24856
- return value2 == null ? "indeterminate" : value2 === maxValue ? "complete" : "loading";
24770
+ function getProgressState(value, maxValue) {
24771
+ return value == null ? "indeterminate" : value === maxValue ? "complete" : "loading";
24857
24772
  }
24858
- function isNumber(value2) {
24859
- return typeof value2 == "number";
24773
+ function isNumber(value) {
24774
+ return typeof value == "number";
24860
24775
  }
24861
24776
  function isValidMaxNumber(max) {
24862
24777
  return isNumber(max) && !Number.isNaN(max) && max > 0;
24863
24778
  }
24864
- function isValidValueNumber(value2, max) {
24865
- return isNumber(value2) && !Number.isNaN(value2) && value2 <= max && value2 >= 0;
24779
+ function isValidValueNumber(value, max) {
24780
+ return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
24866
24781
  }
24867
24782
  var DEFAULT_MAX = 100, ProgressFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
24868
24783
  name: "Progress",
@@ -24897,21 +24812,21 @@ var require_Progress_native = __commonJS({
24897
24812
  getValueLabel = defaultGetValueLabel,
24898
24813
  size: size2 = "$true",
24899
24814
  ...progressProps
24900
- } = 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);
24815
+ } = 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);
24901
24816
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressProvider, {
24902
24817
  scope: __scopeProgress,
24903
- value: value2,
24818
+ value,
24904
24819
  max,
24905
24820
  width,
24906
24821
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressFrame, {
24907
24822
  "aria-valuemax": max,
24908
24823
  "aria-valuemin": 0,
24909
- "aria-valuenow": isNumber(value2) ? value2 : void 0,
24824
+ "aria-valuenow": isNumber(value) ? value : void 0,
24910
24825
  "aria-valuetext": valueLabel,
24911
24826
  // @ts-ignore
24912
24827
  role: "progressbar",
24913
- "data-state": getProgressState(value2, max),
24914
- "data-value": value2 ?? void 0,
24828
+ "data-state": getProgressState(value, max),
24829
+ "data-value": value ?? void 0,
24915
24830
  "data-max": max,
24916
24831
  ...progressProps.unstyled !== !0 && {
24917
24832
  size: size2
@@ -25070,8 +24985,8 @@ var require_RadioGroup_native = __commonJS({
25070
24985
  }
25071
24986
  },
25072
24987
  size: {
25073
- "...size": function(value2, param) {
25074
- 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));
24988
+ "...size": function(value, param) {
24989
+ 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));
25075
24990
  return {
25076
24991
  width: size2,
25077
24992
  height: size2
@@ -25310,14 +25225,14 @@ var require_useRadioGroup_native = __commonJS({
25310
25225
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25311
25226
  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();
25312
25227
  function useRadioGroup(params) {
25313
- var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
25228
+ var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25314
25229
  prop: valueProp,
25315
25230
  defaultProp: defaultValue,
25316
25231
  onChange: onValueChange
25317
25232
  });
25318
25233
  return {
25319
25234
  providerValue: {
25320
- value: value2,
25235
+ value,
25321
25236
  onChange: setValue,
25322
25237
  required,
25323
25238
  disabled,
@@ -25342,9 +25257,9 @@ var require_useRadioGroup_native = __commonJS({
25342
25257
  "ArrowLeft",
25343
25258
  "ArrowRight"
25344
25259
  ], useRadioGroupItem = function(params) {
25345
- 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) {
25260
+ 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) {
25346
25261
  return setButton(node);
25347
- }, 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;
25262
+ }, 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;
25348
25263
  (0, import_react3.useEffect)(function() {
25349
25264
  if (import_constants4.isWeb) {
25350
25265
  var handleKeyDown = function(event) {
@@ -25359,14 +25274,14 @@ var require_useRadioGroup_native = __commonJS({
25359
25274
  }, []), (0, import_react3.useEffect)(function() {
25360
25275
  if (id && !disabled) return (0, import_focusable2.registerFocusable)(id, {
25361
25276
  focusAndSelect: function() {
25362
- onChange == null || onChange(value2);
25277
+ onChange == null || onChange(value);
25363
25278
  },
25364
25279
  focus: function() {
25365
25280
  }
25366
25281
  });
25367
25282
  }, [
25368
25283
  id,
25369
- value2,
25284
+ value,
25370
25285
  disabled
25371
25286
  ]);
25372
25287
  var isDisabled = disabled || itemDisabled;
@@ -25381,7 +25296,7 @@ var require_useRadioGroup_native = __commonJS({
25381
25296
  control: button,
25382
25297
  bubbles: !hasConsumerStoppedPropagationRef.current,
25383
25298
  name,
25384
- value: value2,
25299
+ value,
25385
25300
  checked,
25386
25301
  required,
25387
25302
  disabled: isDisabled,
@@ -25402,11 +25317,11 @@ var require_useRadioGroup_native = __commonJS({
25402
25317
  ref: composedRefs,
25403
25318
  ...import_constants4.isWeb && {
25404
25319
  type: "button",
25405
- value: value2
25320
+ value
25406
25321
  },
25407
25322
  id,
25408
25323
  onPress: (0, import_helpers.composeEventHandlers)(onPress, function(event) {
25409
- checked || onChange == null || onChange(value2), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
25324
+ checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
25410
25325
  }),
25411
25326
  ...import_constants4.isWeb && {
25412
25327
  onKeyDown: (0, import_helpers.composeEventHandlers)(onKeyDown, function(event) {
@@ -25667,11 +25582,11 @@ var require_createRadioGroup_native = __commonJS({
25667
25582
  var { disableActiveTheme, Frame = import_RadioGroup.RadioGroupFrame, Indicator = import_RadioGroup.RadioGroupIndicatorFrame, Item = import_RadioGroup.RadioGroupItemFrame } = createProps;
25668
25583
  ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
25669
25584
  var RadioGroupImp = Frame.styleable(function(props, ref) {
25670
- var { value: value2, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
25585
+ var { value, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
25671
25586
  orientation,
25672
25587
  name,
25673
25588
  defaultValue,
25674
- value: value2,
25589
+ value,
25675
25590
  onValueChange,
25676
25591
  required,
25677
25592
  disabled,
@@ -25691,7 +25606,7 @@ var require_createRadioGroup_native = __commonJS({
25691
25606
  });
25692
25607
  }), RadioGroupItemImp = Item.styleable(function(props, ref) {
25693
25608
  var {
25694
- value: value2,
25609
+ value,
25695
25610
  labelledBy,
25696
25611
  onPress,
25697
25612
  //@ts-expect-error
@@ -25701,7 +25616,7 @@ var require_createRadioGroup_native = __commonJS({
25701
25616
  ...rest
25702
25617
  } = props, { providerValue, bubbleInput, rovingFocusGroupAttrs, frameAttrs, isFormControl, native } = (0, import_radio_headless.useRadioGroupItem)({
25703
25618
  radioGroupContext: RadioGroupContext,
25704
- value: value2,
25619
+ value,
25705
25620
  id,
25706
25621
  labelledBy,
25707
25622
  disabled,
@@ -26314,41 +26229,41 @@ var require_SelectItem_native = __commonJS({
26314
26229
  });
26315
26230
  module2.exports = __toCommonJS2(SelectItem_exports);
26316
26231
  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) {
26317
- var { scope, value: value2, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26232
+ var { scope, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26318
26233
  ...!props.unstyled && {
26319
26234
  ellipse: !0
26320
26235
  },
26321
26236
  ...restProps
26322
- }), 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);
26237
+ }), 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);
26323
26238
  React4.useEffect(function() {
26324
26239
  return activeIndexSubscribe(function(i) {
26325
26240
  var isActive = index === i;
26326
26241
  if (isActive) {
26327
26242
  var _listRef_current_index;
26328
- onActiveChange(value2, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
26243
+ onActiveChange(value, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
26329
26244
  }
26330
26245
  });
26331
26246
  }, [
26332
26247
  index
26333
26248
  ]), React4.useEffect(function() {
26334
26249
  return valueSubscribe(function(val) {
26335
- setSelected(val === value2);
26250
+ setSelected(val === value);
26336
26251
  });
26337
26252
  }, [
26338
- value2
26253
+ value
26339
26254
  ]);
26340
26255
  var textId = React4.useId(), refCallback = React4.useCallback(function(node) {
26341
26256
  import_constants4.isWeb && node instanceof HTMLElement && listRef && (listRef.current[index] = node);
26342
26257
  }, []), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, refCallback);
26343
26258
  (0, import_constants4.useIsomorphicLayoutEffect)(function() {
26344
- setValueAtIndex(index, value2);
26259
+ setValueAtIndex(index, value);
26345
26260
  }, [
26346
26261
  index,
26347
26262
  setValueAtIndex,
26348
- value2
26263
+ value
26349
26264
  ]);
26350
26265
  function handleSelect() {
26351
- setSelectedIndex(index), onChange(value2), setOpen(!1);
26266
+ setSelectedIndex(index), onChange(value), setOpen(!1);
26352
26267
  }
26353
26268
  var selectItemProps = React4.useMemo(function() {
26354
26269
  return interactions ? interactions.getItemProps({
@@ -26377,11 +26292,11 @@ var require_SelectItem_native = __commonJS({
26377
26292
  ]);
26378
26293
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectItemContextProvider, {
26379
26294
  scope,
26380
- value: value2,
26295
+ value,
26381
26296
  textId: textId || "",
26382
26297
  isSelected,
26383
26298
  children: shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("option", {
26384
- value: value2,
26299
+ value,
26385
26300
  children: props.children
26386
26301
  }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItemFrame, {
26387
26302
  tag: "div",
@@ -27085,9 +27000,9 @@ var require_Select_native = __commonJS({
27085
27000
  function useEmitter() {
27086
27001
  var listeners = React4.useRef(null);
27087
27002
  listeners.current || (listeners.current = /* @__PURE__ */ new Set());
27088
- var emit = function(value2) {
27003
+ var emit = function(value) {
27089
27004
  listeners.current.forEach(function(l) {
27090
- return l(value2);
27005
+ return l(value);
27091
27006
  });
27092
27007
  }, subscribe = React4.useCallback(function(listener) {
27093
27008
  return listeners.current.add(listener), function() {
@@ -27106,25 +27021,25 @@ var require_Select_native = __commonJS({
27106
27021
  prop: openProp,
27107
27022
  defaultProp: defaultOpen || !1,
27108
27023
  onChange: onOpenChange
27109
- }), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
27024
+ }), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
27110
27025
  prop: valueProp,
27111
27026
  defaultProp: defaultValue || "",
27112
27027
  onChange: onValueChange,
27113
27028
  transition: !0
27114
27029
  });
27115
27030
  React4.useEffect(function() {
27116
- open && emitValue(value2);
27031
+ open && emitValue(value);
27117
27032
  }, [
27118
27033
  open
27119
27034
  ]), React4.useEffect(function() {
27120
- emitValue(value2);
27035
+ emitValue(value);
27121
27036
  }, [
27122
- value2
27037
+ value
27123
27038
  ]), React4.useEffect(function() {
27124
27039
  if (props.id) return (0, import_focusable2.registerFocusable)(props.id, {
27125
27040
  focusAndSelect: function() {
27126
- setOpen == null || setOpen(function(value22) {
27127
- return !value22;
27041
+ setOpen == null || setOpen(function(value2) {
27042
+ return !value2;
27128
27043
  });
27129
27044
  },
27130
27045
  focus: function() {
@@ -27147,7 +27062,7 @@ var require_Select_native = __commonJS({
27147
27062
  scope,
27148
27063
  adaptScope,
27149
27064
  initialValue: React4.useMemo(function() {
27150
- return value2;
27065
+ return value;
27151
27066
  }, [
27152
27067
  open
27153
27068
  ]),
@@ -27159,12 +27074,12 @@ var require_Select_native = __commonJS({
27159
27074
  onChange: React4.useCallback(function(val) {
27160
27075
  setValue(val), emitValue(val);
27161
27076
  }, []),
27162
- onActiveChange: (0, import_core12.useEvent)(function(value22, index) {
27163
- onActiveChange == null || onActiveChange(value22, index);
27077
+ onActiveChange: (0, import_core12.useEvent)(function(value2, index) {
27078
+ onActiveChange == null || onActiveChange(value2, index);
27164
27079
  }),
27165
27080
  setSelectedIndex,
27166
- setValueAtIndex: React4.useCallback(function(index, value22) {
27167
- listContentRef.current[index] = value22;
27081
+ setValueAtIndex: React4.useCallback(function(index, value2) {
27082
+ listContentRef.current[index] = value2;
27168
27083
  }, []),
27169
27084
  shouldRenderWebNative,
27170
27085
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_context.SelectProvider, {
@@ -27183,7 +27098,7 @@ var require_Select_native = __commonJS({
27183
27098
  activeIndex,
27184
27099
  selectedIndex,
27185
27100
  setActiveIndex: setActiveIndexDebounced,
27186
- value: value2,
27101
+ value,
27187
27102
  open,
27188
27103
  native,
27189
27104
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectSheetController, {
@@ -27195,7 +27110,7 @@ var require_Select_native = __commonJS({
27195
27110
  selectedIndexRef,
27196
27111
  ...props,
27197
27112
  open,
27198
- value: value2,
27113
+ value,
27199
27114
  children
27200
27115
  })
27201
27116
  })
@@ -27423,9 +27338,9 @@ var require_helpers_native3 = __commonJS({
27423
27338
  return a - b;
27424
27339
  });
27425
27340
  }
27426
- function convertValueToPercentage(value2, min, max) {
27341
+ function convertValueToPercentage(value, min, max) {
27427
27342
  var maxSteps = max - min, percentPerStep = 100 / maxSteps;
27428
- return percentPerStep * (value2 - min);
27343
+ return percentPerStep * (value - min);
27429
27344
  }
27430
27345
  function getLabel(index, totalValues) {
27431
27346
  if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
@@ -27436,8 +27351,8 @@ var require_helpers_native3 = __commonJS({
27436
27351
  }
27437
27352
  function getClosestValueIndex(values, nextValue) {
27438
27353
  if (values.length === 1) return 0;
27439
- var distances = values.map(function(value2) {
27440
- return Math.abs(value2 - nextValue);
27354
+ var distances = values.map(function(value) {
27355
+ return Math.abs(value - nextValue);
27441
27356
  }), closestDistance = Math.min(...distances);
27442
27357
  return distances.indexOf(closestDistance);
27443
27358
  }
@@ -27452,8 +27367,8 @@ var require_helpers_native3 = __commonJS({
27452
27367
  return (quarterWidth - offset2(left) * direction) * direction;
27453
27368
  }
27454
27369
  function getStepsBetweenValues(values) {
27455
- return values.slice(0, -1).map(function(value2, index) {
27456
- return values[index + 1] - value2;
27370
+ return values.slice(0, -1).map(function(value, index) {
27371
+ return values[index + 1] - value;
27457
27372
  });
27458
27373
  }
27459
27374
  function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
@@ -27464,18 +27379,18 @@ var require_helpers_native3 = __commonJS({
27464
27379
  return !0;
27465
27380
  }
27466
27381
  function linearScale(input, output) {
27467
- return function(value2) {
27382
+ return function(value) {
27468
27383
  if (input[0] === input[1] || output[0] === output[1]) return output[0];
27469
27384
  var ratio = (output[1] - output[0]) / (input[1] - input[0]);
27470
- return output[0] + ratio * (value2 - input[0]);
27385
+ return output[0] + ratio * (value - input[0]);
27471
27386
  };
27472
27387
  }
27473
- function getDecimalCount(value2) {
27474
- return (String(value2).split(".")[1] || "").length;
27388
+ function getDecimalCount(value) {
27389
+ return (String(value).split(".")[1] || "").length;
27475
27390
  }
27476
- function roundValue(value2, decimalCount) {
27391
+ function roundValue(value, decimalCount) {
27477
27392
  var rounder = Math.pow(10, decimalCount);
27478
- return Math.round(value2 * rounder) / rounder;
27393
+ return Math.round(value * rounder) / rounder;
27479
27394
  }
27480
27395
  }
27481
27396
  });
@@ -27715,8 +27630,8 @@ var require_Slider_native = __commonJS({
27715
27630
  ] : [
27716
27631
  max,
27717
27632
  min
27718
- ], value2 = (0, import_helpers3.linearScale)(input, output);
27719
- return value2(pointerPosition);
27633
+ ], value = (0, import_helpers3.linearScale)(input, output);
27634
+ return value(pointerPosition);
27720
27635
  }
27721
27636
  var measure = function() {
27722
27637
  var _sliderRef_current;
@@ -27764,16 +27679,16 @@ var require_Slider_native = __commonJS({
27764
27679
  orientation: "horizontal",
27765
27680
  onLayout: measure,
27766
27681
  onSlideStart: function(event, target) {
27767
- var value2 = getValueFromPointer(event.nativeEvent.locationX);
27768
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
27682
+ var value = getValueFromPointer(event.nativeEvent.locationX);
27683
+ value && (onSlideStart == null || onSlideStart(value, target, event));
27769
27684
  },
27770
27685
  onSlideMove: function(event) {
27771
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27772
- value2 && (onSlideMove == null || onSlideMove(value2, event));
27686
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27687
+ value && (onSlideMove == null || onSlideMove(value, event));
27773
27688
  },
27774
27689
  onSlideEnd: function(event) {
27775
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27776
- value2 && (onSlideEnd == null || onSlideEnd(event, value2));
27690
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27691
+ value && (onSlideEnd == null || onSlideEnd(event, value));
27777
27692
  },
27778
27693
  onStepKeyDown: function(event) {
27779
27694
  var isBackKey = import_constants22.BACK_KEYS[direction].includes(event.key);
@@ -27810,8 +27725,8 @@ var require_Slider_native = __commonJS({
27810
27725
  ], output = [
27811
27726
  max,
27812
27727
  min
27813
- ], value2 = (0, import_helpers3.linearScale)(input, output);
27814
- return value2(pointerPosition);
27728
+ ], value = (0, import_helpers3.linearScale)(input, output);
27729
+ return value(pointerPosition);
27815
27730
  }
27816
27731
  var measure = function() {
27817
27732
  var _sliderRef_current;
@@ -27835,16 +27750,16 @@ var require_Slider_native = __commonJS({
27835
27750
  orientation: "vertical",
27836
27751
  onLayout: measure,
27837
27752
  onSlideStart: function(event, target) {
27838
- var value2 = getValueFromPointer(event.nativeEvent.locationY);
27839
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
27753
+ var value = getValueFromPointer(event.nativeEvent.locationY);
27754
+ value && (onSlideStart == null || onSlideStart(value, target, event));
27840
27755
  },
27841
27756
  onSlideMove: function(event) {
27842
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27843
- value2 && (onSlideMove == null || onSlideMove(value2, event));
27757
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27758
+ value && (onSlideMove == null || onSlideMove(value, event));
27844
27759
  },
27845
27760
  onSlideEnd: function(event) {
27846
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27847
- onSlideEnd == null || onSlideEnd(event, value2);
27761
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27762
+ onSlideEnd == null || onSlideEnd(event, value);
27848
27763
  },
27849
27764
  onStepKeyDown: function(event) {
27850
27765
  var isBackKey = import_constants22.BACK_KEYS.ltr.includes(event.key);
@@ -27890,8 +27805,8 @@ var require_Slider_native = __commonJS({
27890
27805
  position: "absolute",
27891
27806
  pointerEvents: "box-none"
27892
27807
  }), SliderTrackActive = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
27893
- 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) {
27894
- return (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max);
27808
+ 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) {
27809
+ return (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max);
27895
27810
  }), offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0, offsetEnd = 100 - Math.max(...percentages);
27896
27811
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SliderTrackActiveFrame, {
27897
27812
  orientation: context.orientation,
@@ -27949,7 +27864,7 @@ var require_Slider_native = __commonJS({
27949
27864
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
27950
27865
  }
27951
27866
  }), SliderThumb = SliderThumbFrame.styleable(function(props, forwardedRef) {
27952
- 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() {
27867
+ 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() {
27953
27868
  var estimatedSize = (0, import_core12.getVariableValue)(getThumbSize(sizeIn).width);
27954
27869
  return estimatedSize;
27955
27870
  }), thumbInBoundsOffset = size2 ? (0, import_helpers3.getThumbInBoundsOffset)(size2, percent, orientation.direction) : 0;
@@ -27984,7 +27899,7 @@ var require_Slider_native = __commonJS({
27984
27899
  role: "slider",
27985
27900
  "aria-label": props["aria-label"] || label,
27986
27901
  "aria-valuemin": context.min,
27987
- "aria-valuenow": value2,
27902
+ "aria-valuenow": value,
27988
27903
  "aria-valuemax": context.max,
27989
27904
  "aria-orientation": context.orientation,
27990
27905
  "data-orientation": context.orientation,
@@ -28023,13 +27938,13 @@ var require_Slider_native = __commonJS({
28023
27938
  }), SliderComponent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28024
27939
  var { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = !1, minStepsBetweenThumbs = 0, defaultValue = [
28025
27940
  min
28026
- ], value: value2, onValueChange = function() {
27941
+ ], value, onValueChange = function() {
28027
27942
  }, 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)({
28028
- prop: value2,
27943
+ prop: value,
28029
27944
  defaultProp: defaultValue,
28030
27945
  transition: !0,
28031
- onChange: function(value22) {
28032
- updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value22);
27946
+ onChange: function(value2) {
27947
+ updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value2);
28033
27948
  }
28034
27949
  });
28035
27950
  import_constants4.isWeb && React4.useEffect(function() {
@@ -28065,11 +27980,11 @@ var require_Slider_native = __commonJS({
28065
27980
  }
28066
27981
  }
28067
27982
  }
28068
- function handleSlideMove(value22, event) {
28069
- updateValues(value22, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value22);
27983
+ function handleSlideMove(value2, event) {
27984
+ updateValues(value2, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value2);
28070
27985
  }
28071
- function updateValues(value22, atIndex) {
28072
- 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, [
27986
+ function updateValues(value2, atIndex) {
27987
+ 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, [
28073
27988
  min,
28074
27989
  max
28075
27990
  ]);
@@ -28097,12 +28012,12 @@ var require_Slider_native = __commonJS({
28097
28012
  min,
28098
28013
  max,
28099
28014
  onSlideEnd,
28100
- onSlideStart: disabled ? void 0 : function(value22, target, event) {
28015
+ onSlideStart: disabled ? void 0 : function(value2, target, event) {
28101
28016
  if (target !== "thumb") {
28102
- var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value22);
28103
- updateValues(value22, closestIndex);
28017
+ var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value2);
28018
+ updateValues(value2, closestIndex);
28104
28019
  }
28105
- onSlideStart == null || onSlideStart(event, value22, target);
28020
+ onSlideStart == null || onSlideStart(event, value2, target);
28106
28021
  },
28107
28022
  onSlideMove: disabled ? void 0 : handleSlideMove,
28108
28023
  onHomeKeyDown: function() {
@@ -28114,8 +28029,8 @@ var require_Slider_native = __commonJS({
28114
28029
  onStepKeyDown: function(param) {
28115
28030
  var { event, direction: stepDirection } = param;
28116
28031
  if (!disabled) {
28117
- 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;
28118
- updateValues(value22 + stepInDirection, atIndex);
28032
+ 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;
28033
+ updateValues(value2 + stepInDirection, atIndex);
28119
28034
  }
28120
28035
  }
28121
28036
  })
@@ -28252,7 +28167,7 @@ var require_useSwitch_native = __commonJS({
28252
28167
  switchRef: ref,
28253
28168
  bubbleInput: null
28254
28169
  };
28255
- var disabled, name, value2, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28170
+ var disabled, name, value, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28256
28171
  }
28257
28172
  }
28258
28173
  });
@@ -28573,8 +28488,8 @@ var require_createSwitch_native = __commonJS({
28573
28488
  React4.useEffect(function() {
28574
28489
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
28575
28490
  focusAndSelect: function() {
28576
- setChecked == null || setChecked(function(value22) {
28577
- return !value22;
28491
+ setChecked == null || setChecked(function(value2) {
28492
+ return !value2;
28578
28493
  });
28579
28494
  },
28580
28495
  focus: function() {
@@ -28590,7 +28505,7 @@ var require_createSwitch_native = __commonJS({
28590
28505
  onValueChange: setChecked,
28591
28506
  ...nativeProps
28592
28507
  });
28593
- var disabled = props.disabled, value2 = React4.useMemo(function() {
28508
+ var disabled = props.disabled, value = React4.useMemo(function() {
28594
28509
  return {
28595
28510
  checked,
28596
28511
  disabled,
@@ -28605,7 +28520,7 @@ var require_createSwitch_native = __commonJS({
28605
28520
  next !== frameWidth && setFrameInnerWidth(next);
28606
28521
  }, _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;
28607
28522
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(SwitchContext.Provider, {
28608
- value: value2,
28523
+ value,
28609
28524
  children: [
28610
28525
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Frame, {
28611
28526
  ref: switchRef,
@@ -28936,7 +28851,7 @@ var require_createTabs_native = __commonJS({
28936
28851
  });
28937
28852
  TabsList.displayName = TAB_LIST_NAME;
28938
28853
  var TRIGGER_NAME = "TabsTrigger", TabsTrigger = TabFrame.styleable(function(props, forwardedRef) {
28939
- 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)({
28854
+ 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)({
28940
28855
  disabled: !!disabled
28941
28856
  });
28942
28857
  React4.useEffect(function() {
@@ -28964,7 +28879,7 @@ var require_createTabs_native = __commonJS({
28964
28879
  isSelected && layout && (onInteraction == null || onInteraction("select", layout));
28965
28880
  }, [
28966
28881
  isSelected,
28967
- value2,
28882
+ value,
28968
28883
  layout
28969
28884
  ]);
28970
28885
  var _props_onPress;
@@ -29003,7 +28918,7 @@ var require_createTabs_native = __commonJS({
29003
28918
  ref: (0, import_compose_refs.composeRefs)(forwardedRef, triggerRef),
29004
28919
  onPress: (0, import_helpers.composeEventHandlers)((_props_onPress = props.onPress) !== null && _props_onPress !== void 0 ? _props_onPress : void 0, function(event) {
29005
28920
  var webChecks = !import_constants4.isWeb || event.button === 0 && event.ctrlKey === !1;
29006
- !disabled && !isSelected && webChecks ? context.onChange(value2) : event.preventDefault();
28921
+ !disabled && !isSelected && webChecks ? context.onChange(value) : event.preventDefault();
29007
28922
  }),
29008
28923
  ...import_constants4.isWeb && {
29009
28924
  type: "button",
@@ -29011,12 +28926,12 @@ var require_createTabs_native = __commonJS({
29011
28926
  [
29012
28927
  " ",
29013
28928
  "Enter"
29014
- ].includes(event.key) && (context.onChange(value2), event.preventDefault());
28929
+ ].includes(event.key) && (context.onChange(value), event.preventDefault());
29015
28930
  }),
29016
28931
  onFocus: (0, import_helpers.composeEventHandlers)(props.onFocus, function(event) {
29017
28932
  layout && (onInteraction == null || onInteraction("focus", layout));
29018
28933
  var isAutomaticActivation = context.activationMode !== "manual";
29019
- !isSelected && !disabled && isAutomaticActivation && context.onChange(value2);
28934
+ !isSelected && !disabled && isAutomaticActivation && context.onChange(value);
29020
28935
  }),
29021
28936
  onBlur: (0, import_helpers.composeEventHandlers)(props.onFocus, function() {
29022
28937
  onInteraction == null || onInteraction("focus", null);
@@ -29028,7 +28943,7 @@ var require_createTabs_native = __commonJS({
29028
28943
  });
29029
28944
  TabsTrigger.displayName = TRIGGER_NAME;
29030
28945
  var TabsContent = ContentFrame.styleable(function(props, forwardedRef) {
29031
- 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);
28946
+ 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);
29032
28947
  return show ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ContentFrame, {
29033
28948
  "data-state": isSelected ? "active" : "inactive",
29034
28949
  "data-orientation": context.orientation,
@@ -29041,9 +28956,9 @@ var require_createTabs_native = __commonJS({
29041
28956
  ...contentProps,
29042
28957
  ref: forwardedRef,
29043
28958
  children
29044
- }, value2) : null;
28959
+ }, value) : null;
29045
28960
  }), TabsComponent = TabsFrame.styleable(function(props, forwardedRef) {
29046
- 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)({
28961
+ 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)({
29047
28962
  prop: valueProp,
29048
28963
  onChange: onValueChange,
29049
28964
  defaultProp: defaultValue ?? ""
@@ -29059,7 +28974,7 @@ var require_createTabs_native = __commonJS({
29059
28974
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_StyledContext.TabsProvider, {
29060
28975
  scope: __scopeTabs,
29061
28976
  baseId: React4.useId(),
29062
- value: value2,
28977
+ value,
29063
28978
  onChange: setValue,
29064
28979
  orientation,
29065
28980
  dir: direction,
@@ -29087,11 +29002,11 @@ var require_createTabs_native = __commonJS({
29087
29002
  Content: TabsContent
29088
29003
  });
29089
29004
  }
29090
- function makeTriggerId(baseId, value2) {
29091
- return `${baseId}-trigger-${value2}`;
29005
+ function makeTriggerId(baseId, value) {
29006
+ return `${baseId}-trigger-${value}`;
29092
29007
  }
29093
- function makeContentId(baseId, value2) {
29094
- return `${baseId}-content-${value2}`;
29008
+ function makeContentId(baseId, value) {
29009
+ return `${baseId}-content-${value}`;
29095
29010
  }
29096
29011
  }
29097
29012
  });
@@ -29760,7 +29675,7 @@ var require_ToggleGroup_native = __commonJS({
29760
29675
  }));
29761
29676
  ToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;
29762
29677
  var ToggleGroupItemImpl = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29763
- var { __scopeToggleGroup, value: value2, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
29678
+ var { __scopeToggleGroup, value, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
29764
29679
  "aria-pressed": void 0
29765
29680
  }, typeProps = valueContext.type === "single" ? singleProps : void 0;
29766
29681
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Toggle.Toggle, {
@@ -29768,7 +29683,7 @@ var require_ToggleGroup_native = __commonJS({
29768
29683
  ...itemProps,
29769
29684
  ref: forwardedRef,
29770
29685
  onPressedChange: function(pressed) {
29771
- pressed ? valueContext.onItemActivate(value2) : valueContext.onItemDeactivate(value2);
29686
+ pressed ? valueContext.onItemActivate(value) : valueContext.onItemDeactivate(value);
29772
29687
  }
29773
29688
  });
29774
29689
  }), ToggleGroup = (0, import_helpers.withStaticProperties)(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
@@ -29803,7 +29718,7 @@ var require_ToggleGroup_native = __commonJS({
29803
29718
  ToggleGroup.displayName = TOGGLE_GROUP_NAME;
29804
29719
  var { Provider: ToggleGroupValueProvider, useStyledContext: useToggleGroupValueContext } = (0, import_web.createStyledContext)(), ToggleGroupImplSingle = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29805
29720
  var { value: valueProp, defaultValue, onValueChange = function() {
29806
- }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
29721
+ }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
29807
29722
  prop: valueProp,
29808
29723
  defaultProp: defaultValue,
29809
29724
  onChange: onValueChange
@@ -29811,10 +29726,10 @@ var require_ToggleGroup_native = __commonJS({
29811
29726
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
29812
29727
  scope: props.__scopeToggleGroup,
29813
29728
  type: "single",
29814
- value: value2 ? [
29815
- value2
29729
+ value: value ? [
29730
+ value
29816
29731
  ] : [],
29817
- defaultValue: value2,
29732
+ defaultValue: value,
29818
29733
  onItemActivate: setValue,
29819
29734
  onItemDeactivate: import_react3.default.useCallback(function() {
29820
29735
  return disableDeactivation ? null : setValue("");
@@ -29829,7 +29744,7 @@ var require_ToggleGroup_native = __commonJS({
29829
29744
  });
29830
29745
  }), ToggleGroupImplMultiple = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29831
29746
  var { value: valueProp, defaultValue, onValueChange = function() {
29832
- }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value2 = [], setValue] = (0, import_use_controllable_state.useControllableState)({
29747
+ }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value = [], setValue] = (0, import_use_controllable_state.useControllableState)({
29833
29748
  prop: valueProp,
29834
29749
  defaultProp: defaultValue,
29835
29750
  onChange: onValueChange
@@ -29846,8 +29761,8 @@ var require_ToggleGroup_native = __commonJS({
29846
29761
  ]), handleButtonDeactivate = import_react3.default.useCallback(function(itemValue) {
29847
29762
  return setValue(function() {
29848
29763
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
29849
- return prevValue.filter(function(value22) {
29850
- return value22 !== itemValue;
29764
+ return prevValue.filter(function(value2) {
29765
+ return value2 !== itemValue;
29851
29766
  });
29852
29767
  });
29853
29768
  }, [
@@ -29856,8 +29771,8 @@ var require_ToggleGroup_native = __commonJS({
29856
29771
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
29857
29772
  scope: props.__scopeToggleGroup,
29858
29773
  type: "multiple",
29859
- value: value2,
29860
- defaultValue: value2,
29774
+ value,
29775
+ defaultValue: value,
29861
29776
  onItemActivate: handleButtonActivate,
29862
29777
  onItemDeactivate: handleButtonDeactivate,
29863
29778
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupImpl, {