tamagui 1.132.13 → 1.132.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/native.js CHANGED
@@ -35,8 +35,166 @@ var require_polyfill_dev = __commonJS({
35
35
  }
36
36
  });
37
37
 
38
- // ../../core/use-force-update/dist/cjs/index.native.js
38
+ // ../../packages/fake-react-native/index.js
39
+ var require_fake_react_native = __commonJS({
40
+ "../../packages/fake-react-native/index.js"(exports2, module2) {
41
+ module2.exports = proxyWorm();
42
+ function proxyWorm() {
43
+ return new Proxy({
44
+ StyleSheet: {
45
+ create() {
46
+ }
47
+ },
48
+ Platform: {
49
+ OS: "web"
50
+ },
51
+ Image: "Image",
52
+ View: "View",
53
+ Text: "Text",
54
+ TextInput: "TextInput",
55
+ ScrollView: "ScrollView",
56
+ Dimensions: {
57
+ addEventListener(cb) {
58
+ }
59
+ },
60
+ addPoolingTo() {
61
+ }
62
+ }, {
63
+ get(target, key) {
64
+ return Reflect.get(target, key) || proxyWorm();
65
+ },
66
+ apply() {
67
+ return proxyWorm();
68
+ }
69
+ });
70
+ }
71
+ }
72
+ });
73
+
74
+ // ../../core/constants/dist/cjs/constants.native.js
75
+ var require_constants_native = __commonJS({
76
+ "../../core/constants/dist/cjs/constants.native.js"(exports2, module2) {
77
+ "use strict";
78
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
79
+ for (var name in all) __defProp2(target, name, {
80
+ get: all[name],
81
+ enumerable: !0
82
+ });
83
+ }, __copyProps2 = function(to, from, except, desc) {
84
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
85
+ if (from && typeof from == "object" || typeof from == "function") try {
86
+ for (var _loop = function() {
87
+ var key = _step.value;
88
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
89
+ get: function() {
90
+ return from[key];
91
+ },
92
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
93
+ });
94
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
95
+ } catch (err) {
96
+ _didIteratorError = !0, _iteratorError = err;
97
+ } finally {
98
+ try {
99
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
100
+ } finally {
101
+ if (_didIteratorError)
102
+ throw _iteratorError;
103
+ }
104
+ }
105
+ return to;
106
+ }, __toCommonJS2 = function(mod) {
107
+ return __copyProps2(__defProp2({}, "__esModule", {
108
+ value: !0
109
+ }), mod);
110
+ }, constants_native_exports = {};
111
+ __export2(constants_native_exports, {
112
+ IS_REACT_19: function() {
113
+ return IS_REACT_19;
114
+ },
115
+ currentPlatform: function() {
116
+ return currentPlatform;
117
+ },
118
+ isAndroid: function() {
119
+ return isAndroid;
120
+ },
121
+ isChrome: function() {
122
+ return isChrome2;
123
+ },
124
+ isClient: function() {
125
+ return isClient2;
126
+ },
127
+ isIos: function() {
128
+ return isIos;
129
+ },
130
+ isServer: function() {
131
+ return isServer2;
132
+ },
133
+ isTouchable: function() {
134
+ return isTouchable2;
135
+ },
136
+ isWeb: function() {
137
+ return isWeb6;
138
+ },
139
+ isWebTouchable: function() {
140
+ return isWebTouchable2;
141
+ },
142
+ isWindowDefined: function() {
143
+ return isWindowDefined;
144
+ },
145
+ useIsomorphicLayoutEffect: function() {
146
+ return useIsomorphicLayoutEffect2;
147
+ }
148
+ });
149
+ module2.exports = __toCommonJS2(constants_native_exports);
150
+ var import_react3 = require("react"), import_react22 = require("react"), import_react_native4 = require_fake_react_native(), IS_REACT_19 = !!import_react22.use, isWeb6 = !1, isWindowDefined = !1, isServer2 = !1, isClient2 = !1, useIsomorphicLayoutEffect2 = import_react3.useLayoutEffect, isChrome2 = !1, isWebTouchable2 = !1, isTouchable2 = !0, isAndroid = import_react_native4.Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android", isIos = import_react_native4.Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios", platforms = {
151
+ ios: "ios",
152
+ android: "android"
153
+ }, currentPlatform = platforms[import_react_native4.Platform.OS] || "native";
154
+ }
155
+ });
156
+
157
+ // ../../core/constants/dist/cjs/index.native.js
39
158
  var require_index_native = __commonJS({
159
+ "../../core/constants/dist/cjs/index.native.js"(exports2, module2) {
160
+ "use strict";
161
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = function(to, from, except, desc) {
162
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
163
+ if (from && typeof from == "object" || typeof from == "function") try {
164
+ for (var _loop = function() {
165
+ var key = _step.value;
166
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
167
+ get: function() {
168
+ return from[key];
169
+ },
170
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
171
+ });
172
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
173
+ } catch (err) {
174
+ _didIteratorError = !0, _iteratorError = err;
175
+ } finally {
176
+ try {
177
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
178
+ } finally {
179
+ if (_didIteratorError)
180
+ throw _iteratorError;
181
+ }
182
+ }
183
+ return to;
184
+ }, __reExport2 = function(target, mod, secondTarget) {
185
+ return __copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default");
186
+ }, __toCommonJS2 = function(mod) {
187
+ return __copyProps2(__defProp2({}, "__esModule", {
188
+ value: !0
189
+ }), mod);
190
+ }, index_exports2 = {};
191
+ module2.exports = __toCommonJS2(index_exports2);
192
+ __reExport2(index_exports2, require_constants_native(), module2.exports);
193
+ }
194
+ });
195
+
196
+ // ../../core/use-force-update/dist/cjs/index.native.js
197
+ var require_index_native2 = __commonJS({
40
198
  "../../core/use-force-update/dist/cjs/index.native.js"(exports2, module2) {
41
199
  "use strict";
42
200
  var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -163,7 +321,7 @@ var require_LayoutGroupContext_native = __commonJS({
163
321
  });
164
322
 
165
323
  // ../../core/use-constant/dist/cjs/index.native.js
166
- var require_index_native2 = __commonJS({
324
+ var require_index_native3 = __commonJS({
167
325
  "../../core/use-constant/dist/cjs/index.native.js"(exports2, module2) {
168
326
  "use strict";
169
327
  var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -394,7 +552,7 @@ var require_usePresence_native = __commonJS({
394
552
  });
395
553
 
396
554
  // ../../core/use-presence/dist/cjs/index.native.js
397
- var require_index_native3 = __commonJS({
555
+ var require_index_native4 = __commonJS({
398
556
  "../../core/use-presence/dist/cjs/index.native.js"(exports2, module2) {
399
557
  "use strict";
400
558
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -507,7 +665,7 @@ var require_PresenceChild_native = __commonJS({
507
665
  }
508
666
  });
509
667
  module2.exports = __toCommonJS2(PresenceChild_exports);
510
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_use_constant = require_index_native2(), import_use_presence = require_index_native3(), React4 = __toESM2(require("react")), import_react3 = require("react"), PresenceChild = /* @__PURE__ */ React4.memo(function(param) {
668
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_use_constant = require_index_native3(), import_use_presence = require_index_native4(), React4 = __toESM2(require("react")), import_react3 = require("react"), PresenceChild = /* @__PURE__ */ React4.memo(function(param) {
511
669
  var { children, initial, isPresent: isPresent2, onExitComplete, exitVariant, enterVariant, enterExitVariant, presenceAffectsLayout, custom } = param, presenceChildren = (0, import_use_constant.useConstant)(newChildrenMap), id = (0, import_react3.useId)() || "", context = React4.useMemo(
512
670
  function() {
513
671
  return {
@@ -620,7 +778,7 @@ var require_AnimatePresence_native = __commonJS({
620
778
  }
621
779
  });
622
780
  module2.exports = __toCommonJS2(AnimatePresence_exports);
623
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_use_force_update = require_index_native(), import_react3 = require("react"), import_LayoutGroupContext = require_LayoutGroupContext_native(), import_PresenceChild = require_PresenceChild_native(), getChildKey = function(child) {
781
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_use_force_update = require_index_native2(), import_react3 = require("react"), import_LayoutGroupContext = require_LayoutGroupContext_native(), import_PresenceChild = require_PresenceChild_native(), getChildKey = function(child) {
624
782
  return child.key || "";
625
783
  };
626
784
  function updateChildLookup(children, allChildren) {
@@ -642,7 +800,9 @@ var require_AnimatePresence_native = __commonJS({
642
800
  if (passThrough) return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {
643
801
  children
644
802
  });
645
- if (isInitialRender.current) return isInitialRender.current = !1, /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {
803
+ if ((0, import_constants4.useIsomorphicLayoutEffect)(function() {
804
+ isInitialRender.current = !1;
805
+ }, []), isInitialRender.current) return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {
646
806
  children: filteredChildren.map(function(child) {
647
807
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_PresenceChild.PresenceChild, {
648
808
  isPresent: !0,
@@ -746,7 +906,7 @@ var require_types_native = __commonJS({
746
906
  });
747
907
 
748
908
  // ../animate-presence/dist/cjs/index.native.js
749
- var require_index_native4 = __commonJS({
909
+ var require_index_native5 = __commonJS({
750
910
  "../animate-presence/dist/cjs/index.native.js"(exports2, module2) {
751
911
  "use strict";
752
912
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = function(to, from, except, desc) {
@@ -781,14 +941,14 @@ var require_index_native4 = __commonJS({
781
941
  }, index_exports2 = {};
782
942
  module2.exports = __toCommonJS2(index_exports2);
783
943
  __reExport2(index_exports2, require_AnimatePresence_native(), module2.exports);
784
- __reExport2(index_exports2, require_index_native3(), module2.exports);
944
+ __reExport2(index_exports2, require_index_native4(), module2.exports);
785
945
  __reExport2(index_exports2, require_types_native(), module2.exports);
786
946
  __reExport2(index_exports2, require_PresenceChild_native(), module2.exports);
787
947
  }
788
948
  });
789
949
 
790
950
  // ../../core/simple-hash/dist/cjs/index.native.js
791
- var require_index_native5 = __commonJS({
951
+ var require_index_native6 = __commonJS({
792
952
  "../../core/simple-hash/dist/cjs/index.native.js"(exports2, module2) {
793
953
  "use strict";
794
954
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
@@ -1115,164 +1275,6 @@ var require_types_native2 = __commonJS({
1115
1275
  }
1116
1276
  });
1117
1277
 
1118
- // ../../packages/fake-react-native/index.js
1119
- var require_fake_react_native = __commonJS({
1120
- "../../packages/fake-react-native/index.js"(exports2, module2) {
1121
- module2.exports = proxyWorm();
1122
- function proxyWorm() {
1123
- return new Proxy({
1124
- StyleSheet: {
1125
- create() {
1126
- }
1127
- },
1128
- Platform: {
1129
- OS: "web"
1130
- },
1131
- Image: "Image",
1132
- View: "View",
1133
- Text: "Text",
1134
- TextInput: "TextInput",
1135
- ScrollView: "ScrollView",
1136
- Dimensions: {
1137
- addEventListener(cb) {
1138
- }
1139
- },
1140
- addPoolingTo() {
1141
- }
1142
- }, {
1143
- get(target, key) {
1144
- return Reflect.get(target, key) || proxyWorm();
1145
- },
1146
- apply() {
1147
- return proxyWorm();
1148
- }
1149
- });
1150
- }
1151
- }
1152
- });
1153
-
1154
- // ../../core/constants/dist/cjs/constants.native.js
1155
- var require_constants_native = __commonJS({
1156
- "../../core/constants/dist/cjs/constants.native.js"(exports2, module2) {
1157
- "use strict";
1158
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
1159
- for (var name in all) __defProp2(target, name, {
1160
- get: all[name],
1161
- enumerable: !0
1162
- });
1163
- }, __copyProps2 = function(to, from, except, desc) {
1164
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
1165
- if (from && typeof from == "object" || typeof from == "function") try {
1166
- for (var _loop = function() {
1167
- var key = _step.value;
1168
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
1169
- get: function() {
1170
- return from[key];
1171
- },
1172
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
1173
- });
1174
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
1175
- } catch (err) {
1176
- _didIteratorError = !0, _iteratorError = err;
1177
- } finally {
1178
- try {
1179
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
1180
- } finally {
1181
- if (_didIteratorError)
1182
- throw _iteratorError;
1183
- }
1184
- }
1185
- return to;
1186
- }, __toCommonJS2 = function(mod) {
1187
- return __copyProps2(__defProp2({}, "__esModule", {
1188
- value: !0
1189
- }), mod);
1190
- }, constants_native_exports = {};
1191
- __export2(constants_native_exports, {
1192
- IS_REACT_19: function() {
1193
- return IS_REACT_19;
1194
- },
1195
- currentPlatform: function() {
1196
- return currentPlatform;
1197
- },
1198
- isAndroid: function() {
1199
- return isAndroid;
1200
- },
1201
- isChrome: function() {
1202
- return isChrome2;
1203
- },
1204
- isClient: function() {
1205
- return isClient2;
1206
- },
1207
- isIos: function() {
1208
- return isIos;
1209
- },
1210
- isServer: function() {
1211
- return isServer2;
1212
- },
1213
- isTouchable: function() {
1214
- return isTouchable2;
1215
- },
1216
- isWeb: function() {
1217
- return isWeb6;
1218
- },
1219
- isWebTouchable: function() {
1220
- return isWebTouchable2;
1221
- },
1222
- isWindowDefined: function() {
1223
- return isWindowDefined;
1224
- },
1225
- useIsomorphicLayoutEffect: function() {
1226
- return useIsomorphicLayoutEffect2;
1227
- }
1228
- });
1229
- module2.exports = __toCommonJS2(constants_native_exports);
1230
- var import_react3 = require("react"), import_react22 = require("react"), import_react_native4 = require_fake_react_native(), IS_REACT_19 = !!import_react22.use, isWeb6 = !1, isWindowDefined = !1, isServer2 = !1, isClient2 = !1, useIsomorphicLayoutEffect2 = import_react3.useLayoutEffect, isChrome2 = !1, isWebTouchable2 = !1, isTouchable2 = !0, isAndroid = import_react_native4.Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android", isIos = import_react_native4.Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios", platforms = {
1231
- ios: "ios",
1232
- android: "android"
1233
- }, currentPlatform = platforms[import_react_native4.Platform.OS] || "native";
1234
- }
1235
- });
1236
-
1237
- // ../../core/constants/dist/cjs/index.native.js
1238
- var require_index_native6 = __commonJS({
1239
- "../../core/constants/dist/cjs/index.native.js"(exports2, module2) {
1240
- "use strict";
1241
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = function(to, from, except, desc) {
1242
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
1243
- if (from && typeof from == "object" || typeof from == "function") try {
1244
- for (var _loop = function() {
1245
- var key = _step.value;
1246
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
1247
- get: function() {
1248
- return from[key];
1249
- },
1250
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
1251
- });
1252
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
1253
- } catch (err) {
1254
- _didIteratorError = !0, _iteratorError = err;
1255
- } finally {
1256
- try {
1257
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
1258
- } finally {
1259
- if (_didIteratorError)
1260
- throw _iteratorError;
1261
- }
1262
- }
1263
- return to;
1264
- }, __reExport2 = function(target, mod, secondTarget) {
1265
- return __copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default");
1266
- }, __toCommonJS2 = function(mod) {
1267
- return __copyProps2(__defProp2({}, "__esModule", {
1268
- value: !0
1269
- }), mod);
1270
- }, index_exports2 = {};
1271
- module2.exports = __toCommonJS2(index_exports2);
1272
- __reExport2(index_exports2, require_constants_native(), module2.exports);
1273
- }
1274
- });
1275
-
1276
1278
  // ../../core/helpers/dist/cjs/shouldRenderNativePlatform.native.js
1277
1279
  var require_shouldRenderNativePlatform_native = __commonJS({
1278
1280
  "../../core/helpers/dist/cjs/shouldRenderNativePlatform.native.js"(exports2, module2) {
@@ -1316,7 +1318,7 @@ var require_shouldRenderNativePlatform_native = __commonJS({
1316
1318
  }
1317
1319
  });
1318
1320
  module2.exports = __toCommonJS2(shouldRenderNativePlatform_exports);
1319
- var import_constants4 = require_index_native6(), ALL_PLATFORMS = [
1321
+ var import_constants4 = require_index_native(), ALL_PLATFORMS = [
1320
1322
  "web",
1321
1323
  "android",
1322
1324
  "ios"
@@ -1422,7 +1424,7 @@ var require_validStyleProps_native = __commonJS({
1422
1424
  }
1423
1425
  });
1424
1426
  module2.exports = __toCommonJS2(validStyleProps_exports);
1425
- var import_constants4 = require_index_native6(), textColors = {
1427
+ var import_constants4 = require_index_native(), textColors = {
1426
1428
  color: !0,
1427
1429
  textDecorationColor: !0,
1428
1430
  textShadowColor: !0
@@ -1771,7 +1773,7 @@ var require_index_native7 = __commonJS({
1771
1773
  }), mod);
1772
1774
  }, index_exports2 = {};
1773
1775
  module2.exports = __toCommonJS2(index_exports2);
1774
- __reExport2(index_exports2, require_index_native5(), module2.exports);
1776
+ __reExport2(index_exports2, require_index_native6(), module2.exports);
1775
1777
  __reExport2(index_exports2, require_clamp_native(), module2.exports);
1776
1778
  __reExport2(index_exports2, require_composeEventHandlers_native(), module2.exports);
1777
1779
  __reExport2(index_exports2, require_concatClassName_native(), module2.exports);
@@ -1837,7 +1839,7 @@ var require_useGet_native = __commonJS({
1837
1839
  }
1838
1840
  });
1839
1841
  module2.exports = __toCommonJS2(useGet_exports);
1840
- var import_constants4 = require_index_native6(), React4 = __toESM2(require("react"));
1842
+ var import_constants4 = require_index_native(), React4 = __toESM2(require("react"));
1841
1843
  function useGet2(currentValue, initialValue, forwardToFunction) {
1842
1844
  var curRef = React4.useRef(initialValue ?? currentValue);
1843
1845
  return (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -2351,7 +2353,7 @@ var require_config_native = __commonJS({
2351
2353
  }
2352
2354
  });
2353
2355
  module2.exports = __toCommonJS2(config_exports);
2354
- var import_constants4 = require_index_native6(), import_constants22 = require_constants_native2(), import_loadDuplicatedConfig = require_loadDuplicatedConfig_native(), conf, haventCalledErrorMessage = process.env.NODE_ENV === "development" ? `
2356
+ var import_constants4 = require_index_native(), import_constants22 = require_constants_native2(), import_loadDuplicatedConfig = require_loadDuplicatedConfig_native(), conf, haventCalledErrorMessage = process.env.NODE_ENV === "development" ? `
2355
2357
  Haven't called createTamagui yet. ${import_constants22.MISSING_THEME_MESSAGE}
2356
2358
  ` : "\u274C Error 001", getSetting2 = function(key) {
2357
2359
  if (process.env.NODE_ENV === "development" && !conf) throw new Error(haventCalledErrorMessage);
@@ -2488,7 +2490,7 @@ var require_createVariable_native = __commonJS({
2488
2490
  }
2489
2491
  });
2490
2492
  module2.exports = __toCommonJS2(createVariable_exports);
2491
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_config = require_config_native();
2493
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native();
2492
2494
  function constructCSSVariableName(name) {
2493
2495
  return `var(--${process.env.TAMAGUI_CSS_VARIABLE_PREFIX || ""}${name})`;
2494
2496
  }
@@ -2622,7 +2624,7 @@ var require_insertStyleRule_native = __commonJS({
2622
2624
  }
2623
2625
  });
2624
2626
  module2.exports = __toCommonJS2(insertStyleRule_exports);
2625
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_createVariable = require_createVariable_native(), scannedCache = /* @__PURE__ */ new WeakMap(), totalSelectorsInserted = /* @__PURE__ */ new Map(), allSelectors = {}, allRules = {}, insertedTransforms = {}, getAllSelectors = function() {
2627
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_createVariable = require_createVariable_native(), scannedCache = /* @__PURE__ */ new WeakMap(), totalSelectorsInserted = /* @__PURE__ */ new Map(), allSelectors = {}, allRules = {}, insertedTransforms = {}, getAllSelectors = function() {
2626
2628
  return allSelectors;
2627
2629
  }, getAllRules = function() {
2628
2630
  return Object.values(allRules);
@@ -3141,7 +3143,7 @@ var require_useMedia_native = __commonJS({
3141
3143
  }
3142
3144
  });
3143
3145
  module2.exports = __toCommonJS2(useMedia_exports);
3144
- var import_constants4 = require_index_native6(), import_react3 = require("react"), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), mediaState3 = (
3146
+ var import_constants4 = require_index_native(), import_react3 = require("react"), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), mediaState3 = (
3145
3147
  // development only safeguard
3146
3148
  process.env.NODE_ENV === "development" ? new Proxy({}, {
3147
3149
  get(target, key) {
@@ -5100,7 +5102,7 @@ var require_expandStyles_native = __commonJS({
5100
5102
  }
5101
5103
  });
5102
5104
  module2.exports = __toCommonJS2(expandStyles_exports);
5103
- var import_constants4 = require_index_native6(), import_normalizeShadow = require_normalizeShadow_native();
5105
+ var import_constants4 = require_index_native(), import_normalizeShadow = require_normalizeShadow_native();
5104
5106
  function fixStyles(style) {
5105
5107
  "elevationAndroid" in style && (style.elevation = style.elevationAndroid, delete style.elevationAndroid), (style.shadowRadius != null || style.shadowColor || style.shadowOpacity != null || style.shadowOffset) && Object.assign(style, (0, import_normalizeShadow.normalizeShadow)(style));
5106
5108
  for (var key in borderDefaults) if (key in style) {
@@ -5216,7 +5218,7 @@ var require_isActivePlatform_native = __commonJS({
5216
5218
  }
5217
5219
  });
5218
5220
  module2.exports = __toCommonJS2(isActivePlatform_exports);
5219
- var import_constants4 = require_index_native6();
5221
+ var import_constants4 = require_index_native();
5220
5222
  function isActivePlatform(key) {
5221
5223
  if (!key.startsWith("$platform")) return !0;
5222
5224
  var platform2 = key.slice(10);
@@ -5381,7 +5383,7 @@ var require_normalizeValueWithProperty_native = __commonJS({
5381
5383
  }
5382
5384
  });
5383
5385
  module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
5384
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), stylePropsAllPlusTransforms = {
5386
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), stylePropsAllPlusTransforms = {
5385
5387
  ...import_helpers.stylePropsAll,
5386
5388
  translateX: !0,
5387
5389
  translateY: !0
@@ -5648,7 +5650,7 @@ var require_expandStyle_native = __commonJS({
5648
5650
  }
5649
5651
  });
5650
5652
  module2.exports = __toCommonJS2(expandStyle_exports);
5651
- var import_constants4 = require_index_native6(), import_config = require_config_native(), import_webToNativeProps = require_webToNativeProps_native(), _loop = function(parent2) {
5653
+ var import_constants4 = require_index_native(), import_config = require_config_native(), import_webToNativeProps = require_webToNativeProps_native(), _loop = function(parent2) {
5652
5654
  var _exec, _exec_index, prefix = parent2.slice(0, (_exec_index = (_exec = /[A-Z]/.exec(parent2)) === null || _exec === void 0 ? void 0 : _exec.index) !== null && _exec_index !== void 0 ? _exec_index : parent2.length);
5653
5655
  EXPANSIONS[parent2] = EXPANSIONS[parent2].map(function(k) {
5654
5656
  return `${prefix}${k}`;
@@ -6138,7 +6140,7 @@ var require_propMapper_native = __commonJS({
6138
6140
  }
6139
6141
  });
6140
6142
  module2.exports = __toCommonJS2(propMapper_exports);
6141
- var import_constants4 = require_index_native6(), 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) {
6143
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_normalizeStyle = require_normalizeStyle_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), propMapper = function(key, value, styleState, disabled, map) {
6142
6144
  if (disabled) return map(key, value);
6143
6145
  if (lastFontFamilyToken = null, !(!import_constants4.isAndroid && key === "elevationAndroid")) {
6144
6146
  var { conf, styleProps, staticConfig } = styleState;
@@ -6549,7 +6551,7 @@ var require_getSplitStyles_native = __commonJS({
6549
6551
  }
6550
6552
  });
6551
6553
  module2.exports = __toCommonJS2(getSplitStyles_exports);
6552
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_getDynamicVal = require_getDynamicVal_native(), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getCSSStylesAtomic = require_getCSSStylesAtomic_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_insertStyleRule = require_insertStyleRule_native(), import_isActivePlatform = require_isActivePlatform_native(), import_isActiveTheme = require_isActiveTheme_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), import_sortString = require_sortString_native(), import_transformsToString = require_transformsToString_native(), conf, PROP_SPLIT = "-";
6554
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_getDynamicVal = require_getDynamicVal_native(), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getCSSStylesAtomic = require_getCSSStylesAtomic_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_insertStyleRule = require_insertStyleRule_native(), import_isActivePlatform = require_isActivePlatform_native(), import_isActiveTheme = require_isActiveTheme_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), import_sortString = require_sortString_native(), import_transformsToString = require_transformsToString_native(), conf, PROP_SPLIT = "-";
6553
6555
  function isValidStyleKey(key, validStyles, accept) {
6554
6556
  return key in validStyles ? !0 : accept && key in accept;
6555
6557
  }
@@ -6779,12 +6781,12 @@ var require_getSplitStyles_native = __commonJS({
6779
6781
  }
6780
6782
  } else if (!(themeName === mediaKeyShort || themeName.startsWith(mediaKeyShort))) return;
6781
6783
  } else if (isGroupMedia) {
6782
- var _groupContext_groupName, _componentState_group, groupInfo = (0, import_getGroupPropParts.getGroupPropParts)(mediaKeyShort), groupName = groupInfo.name, groupState = groupContext == null || (_groupContext_groupName = groupContext[groupName]) === null || _groupContext_groupName === void 0 ? void 0 : _groupContext_groupName.state;
6784
+ var _groupContext_groupName, _componentState_group, groupInfo = (0, import_getGroupPropParts.getGroupPropParts)(mediaKeyShort), groupName = groupInfo.name, groupState = groupContext == null || (_groupContext_groupName = groupContext[groupName]) === null || _groupContext_groupName === void 0 ? void 0 : _groupContext_groupName.state, groupPseudoKey = groupInfo.pseudo, groupMediaKey = groupInfo.media;
6783
6785
  if (!groupState) {
6784
- process.env.NODE_ENV === "development" && debug && (0, import_log.log)(`No parent with group prop, skipping styles: ${groupName}`);
6786
+ process.env.NODE_ENV === "development" && debug && (0, import_log.log)(`No parent with group prop, skipping styles: ${groupName}`), pseudoGroups || (pseudoGroups = /* @__PURE__ */ new Set());
6785
6787
  return;
6786
6788
  }
6787
- var groupPseudoKey = groupInfo.pseudo, groupMediaKey = groupInfo.media, componentGroupState = (_componentState_group = componentState.group) === null || _componentState_group === void 0 ? void 0 : _componentState_group[groupName];
6789
+ var componentGroupState = (_componentState_group = componentState.group) === null || _componentState_group === void 0 ? void 0 : _componentState_group[groupName];
6788
6790
  if (groupMediaKey) {
6789
6791
  mediaGroups || (mediaGroups = /* @__PURE__ */ new Set()), mediaGroups.add(groupMediaKey);
6790
6792
  var mediaState1 = componentGroupState == null ? void 0 : componentGroupState.media, isActive = mediaState1 == null ? void 0 : mediaState1[groupMediaKey];
@@ -7306,7 +7308,9 @@ var require_subscribeToContextGroup_native = __commonJS({
7306
7308
  }
7307
7309
  }, createGroupListener = function(name, param) {
7308
7310
  var { setStateShallow, pseudoGroups, mediaGroups, groupContext } = param, parent = groupContext == null ? void 0 : groupContext[name];
7309
- return parent ? parent.subscribe(function(param2) {
7311
+ if (!parent) return function() {
7312
+ };
7313
+ var dispose = parent.subscribe(function(param2) {
7310
7314
  var { layout, pseudo } = param2;
7311
7315
  setStateShallow(function(prev) {
7312
7316
  var _prev_group, didChange = !1, group = ((_prev_group = prev.group) === null || _prev_group === void 0 ? void 0 : _prev_group[name]) || {
@@ -7331,7 +7335,11 @@ var require_subscribeToContextGroup_native = __commonJS({
7331
7335
  }
7332
7336
  } : prev;
7333
7337
  });
7334
- }) : function() {
7338
+ });
7339
+ return function() {
7340
+ dispose(), setStateShallow({
7341
+ group: {}
7342
+ });
7335
7343
  };
7336
7344
  };
7337
7345
  }
@@ -7395,7 +7403,7 @@ var require_useThemeState_native = __commonJS({
7395
7403
  }
7396
7404
  });
7397
7405
  module2.exports = __toCommonJS2(useThemeState_exports);
7398
- var import_constants4 = require_index_native6(), import_react3 = require("react"), import_config = require_config_native(), import_constants22 = require_constants_native2(), ThemeStateContext = (0, import_react3.createContext)(""), allListeners = /* @__PURE__ */ new Map(), listenersByParent = {}, HasRenderedOnce = /* @__PURE__ */ new WeakMap(), HadTheme = /* @__PURE__ */ new WeakMap(), PendingUpdate = /* @__PURE__ */ new Map(), states = /* @__PURE__ */ new Map(), localStates = /* @__PURE__ */ new Map(), shouldForce = !1, forceUpdateThemes2 = function() {
7406
+ var import_constants4 = require_index_native(), import_react3 = require("react"), import_config = require_config_native(), import_constants22 = require_constants_native2(), ThemeStateContext = (0, import_react3.createContext)(""), allListeners = /* @__PURE__ */ new Map(), listenersByParent = {}, HasRenderedOnce = /* @__PURE__ */ new WeakMap(), HadTheme = /* @__PURE__ */ new WeakMap(), PendingUpdate = /* @__PURE__ */ new Map(), states = /* @__PURE__ */ new Map(), localStates = /* @__PURE__ */ new Map(), shouldForce = !1, forceUpdateThemes2 = function() {
7399
7407
  cacheVersion++, shouldForce = !0, allListeners.forEach(function(cb) {
7400
7408
  return cb();
7401
7409
  });
@@ -7707,7 +7715,7 @@ var require_getThemeProxied_native = __commonJS({
7707
7715
  }
7708
7716
  });
7709
7717
  module2.exports = __toCommonJS2(getThemeProxied_exports);
7710
- var import_constants4 = require_index_native6(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_doesRootSchemeMatchSystem = require_doesRootSchemeMatchSystem_native(), import_getDynamicVal = require_getDynamicVal_native(), cache = /* @__PURE__ */ new Map(), curKeys, curProps, curState, emptyObject = {};
7718
+ var import_constants4 = require_index_native(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_doesRootSchemeMatchSystem = require_doesRootSchemeMatchSystem_native(), import_getDynamicVal = require_getDynamicVal_native(), cache = /* @__PURE__ */ new Map(), curKeys, curProps, curState, emptyObject = {};
7711
7719
  function getThemeProxied(_props, _state, _keys) {
7712
7720
  if (!(_state != null && _state.theme)) return emptyObject;
7713
7721
  if (curKeys = _keys, curProps = _props, curState = _state, cache.has(curState.theme)) {
@@ -7932,7 +7940,7 @@ var require_Theme_native = __commonJS({
7932
7940
  }
7933
7941
  });
7934
7942
  module2.exports = __toCommonJS2(Theme_exports);
7935
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_useTheme = require_useTheme_native(), import_useThemeState = require_useThemeState_native(), import_ThemeDebug = require_ThemeDebug_native(), Theme2 = /* @__PURE__ */ (0, import_react3.forwardRef)(function(props, ref) {
7943
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_useTheme = require_useTheme_native(), import_useThemeState = require_useThemeState_native(), import_ThemeDebug = require_ThemeDebug_native(), Theme2 = /* @__PURE__ */ (0, import_react3.forwardRef)(function(props, ref) {
7936
7944
  if (props.disable) return props.children;
7937
7945
  var { passThrough } = props, isRoot = !!props._isRoot, [_, themeState] = (0, import_useTheme.useThemeWithState)(props, isRoot), disableDirectChildTheme = props["disable-child-theme"], finalChildren = disableDirectChildTheme ? import_react3.Children.map(props.children, function(child) {
7938
7946
  return passThrough ? child : /* @__PURE__ */ (0, import_react3.cloneElement)(child, {
@@ -8160,7 +8168,7 @@ var require_wrapStyleTags_native = __commonJS({
8160
8168
  }
8161
8169
  });
8162
8170
  module2.exports = __toCommonJS2(wrapStyleTags_exports);
8163
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_helpers = require_index_native7();
8171
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_helpers = require_index_native7();
8164
8172
  function getStyleTags(styles) {
8165
8173
  import_constants4.IS_REACT_19;
8166
8174
  }
@@ -8214,9 +8222,9 @@ var require_ClientOnly_native = __commonJS({
8214
8222
  });
8215
8223
  module2.exports = __toCommonJS2(ClientOnly_exports);
8216
8224
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = require("react"), ClientOnlyContext2 = /* @__PURE__ */ (0, import_react3.createContext)(!1), ClientOnly2 = function(param) {
8217
- var { children, value = !0 } = param;
8225
+ var { children, enabled } = param, existingValue = (0, import_react3.useContext)(ClientOnlyContext2);
8218
8226
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ClientOnlyContext2.Provider, {
8219
- value,
8227
+ value: enabled ?? existingValue,
8220
8228
  children
8221
8229
  });
8222
8230
  };
@@ -8293,9 +8301,9 @@ var require_index_native14 = __commonJS({
8293
8301
  var React4 = __toESM2(require("react")), import_ClientOnly = require_ClientOnly_native(), import_ClientOnly2 = require_ClientOnly_native(), useIsClientOnly = function() {
8294
8302
  return React4.useContext(import_ClientOnly.ClientOnlyContext);
8295
8303
  };
8296
- function useDidFinishSSR2(value) {
8304
+ function useDidFinishSSR2() {
8297
8305
  var clientOnly = React4.useContext(import_ClientOnly.ClientOnlyContext);
8298
- return value ?? !0;
8306
+ return !0;
8299
8307
  }
8300
8308
  function useClientValue(value) {
8301
8309
  var done = useDidFinishSSR2();
@@ -8347,25 +8355,23 @@ var require_useComponentState_native = __commonJS({
8347
8355
  }
8348
8356
  });
8349
8357
  module2.exports = __toCommonJS2(useComponentState_exports);
8350
- var import_constants4 = require_index_native6(), import_is_equal_shallow = require_index_native12(), import_use_did_finish_ssr = require_index_native14(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, animationDriver, staticConfig, config) {
8351
- var _animationDriver_usePresence, isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)(), [startedUnhydrated] = (0, import_react3.useState)(needsHydration && !isHydrated), useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, stateRef = (0, import_react3.useRef)(void 0);
8352
- stateRef.current || (stateRef.current = {});
8353
- var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSS = animationDriver == null ? void 0 : animationDriver.supportsCSS, curStateRef = stateRef.current;
8358
+ var import_constants4 = require_index_native(), import_is_equal_shallow = require_index_native12(), import_use_did_finish_ssr = require_index_native14(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, animationDriver, staticConfig, config) {
8359
+ var _animationDriver_usePresence, isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)(), [startedUnhydrated] = (0, import_react3.useState)(needsHydration && !isHydrated), useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, { isHOC } = staticConfig, stateRef = (0, import_react3.useRef)({}), hasAnimationProp = !!(!isHOC && "animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSS = animationDriver == null ? void 0 : animationDriver.supportsCSS, curStateRef = stateRef.current;
8354
8360
  !needsHydration && hasAnimationProp && (curStateRef.hasAnimated = !0);
8355
8361
  var willBeAnimatedClient = function() {
8356
- var next = !!(hasAnimationProp && !staticConfig.isHOC && useAnimations);
8362
+ var next = !!(hasAnimationProp && !isHOC && useAnimations);
8357
8363
  return !!(next || curStateRef.hasAnimated);
8358
8364
  }(), willBeAnimated = !import_constants4.isServer && willBeAnimatedClient;
8359
8365
  willBeAnimated && !curStateRef.hasAnimated && (curStateRef.hasAnimated = !0);
8360
- var { disableClassName } = props, presence = willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSS), hasEnterState = hasEnterStyle || isEntering, shouldEnter = hasEnterState || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8366
+ var { disableClassName } = props, presence = !isHOC && willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSS), canImmediatelyEnter = hasEnterStyle || isEntering, shouldEnter = !isHOC && (hasEnterStyle || isEntering || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8361
8367
  // this is just for a better ux, supports css variables for light/dark, media queries, etc
8362
- disableClassName, initialState = shouldEnter ? (
8368
+ disableClassName), initialState = shouldEnter ? (
8363
8369
  // on the very first render we switch all spring animation drivers to css rendering
8364
8370
  // this is because we need to use css variables, which they don't support to do proper SSR
8365
8371
  // without flickers of the wrong colors.
8366
8372
  // but once we do that initial hydration and we are in client side rendering mode,
8367
8373
  // we can avoid the extra re-render on mount
8368
- hasEnterState ? import_defaultComponentState.defaultComponentStateShouldEnter : import_defaultComponentState.defaultComponentState
8374
+ canImmediatelyEnter ? import_defaultComponentState.defaultComponentStateShouldEnter : import_defaultComponentState.defaultComponentState
8369
8375
  ) : import_defaultComponentState.defaultComponentStateMounted, disabled = isDisabled(props);
8370
8376
  disabled != null && (initialState.disabled = disabled);
8371
8377
  var states = (0, import_react3.useState)(initialState), state = props.forceStyle ? {
@@ -8529,7 +8535,7 @@ var require_Slot_native = __commonJS({
8529
8535
  }
8530
8536
  });
8531
8537
  module2.exports = __toCommonJS2(Slot_exports);
8532
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = require("react"), is19 = import_react3.version.startsWith("19."), Slot = /* @__PURE__ */ (0, import_react3.memo)(/* @__PURE__ */ (0, import_react3.forwardRef)(function(props, forwardedRef) {
8538
+ 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_react3 = require("react"), is19 = import_react3.version.startsWith("19."), Slot = /* @__PURE__ */ (0, import_react3.memo)(/* @__PURE__ */ (0, import_react3.forwardRef)(function(props, forwardedRef) {
8533
8539
  var { children, ...slotProps } = props;
8534
8540
  if (/* @__PURE__ */ (0, import_react3.isValidElement)(children)) {
8535
8541
  var mergedProps = mergeSlotProps(children, slotProps);
@@ -8644,7 +8650,7 @@ var require_createComponent_native = __commonJS({
8644
8650
  }
8645
8651
  });
8646
8652
  module2.exports = __toCommonJS2(createComponent_exports);
8647
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_is_equal_shallow = require_index_native12(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_GroupContext = require_GroupContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), time2, NextState = /* @__PURE__ */ new WeakMap(), NextMedia = /* @__PURE__ */ new WeakMap(), debugKeyListeners, startVisualizer, componentSetStates = /* @__PURE__ */ new Set(), avoidReRenderKeys = /* @__PURE__ */ new Set([
8653
+ 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_is_equal_shallow = require_index_native12(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_GroupContext = require_GroupContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_objectIdentityKey = require_objectIdentityKey_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), time2, debugKeyListeners, startVisualizer, componentSetStates = /* @__PURE__ */ new Set(), avoidReRenderKeys = /* @__PURE__ */ new Set([
8648
8654
  "hover",
8649
8655
  "press",
8650
8656
  "pressIn",
@@ -8739,16 +8745,15 @@ var require_createComponent_native = __commonJS({
8739
8745
  componentName2
8740
8746
  ]);
8741
8747
  var componentContext = import_react3.default.useContext(import_ComponentContext.ComponentContext), groupContextParent = import_react3.default.useContext(import_GroupContext.GroupContext), animationDriver = componentContext.animationDriver, useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, componentState = (0, import_useComponentState.useComponentState)(props, animationDriver, staticConfig, config), { disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, supportsCSS, willBeAnimated, willBeAnimatedClient, startedUnhydrated } = componentState;
8742
- if (hasAnimationProp && animationDriver != null && animationDriver.avoidReRenders) {
8743
- var pendingState = NextState.get(stateRef);
8744
- pendingState && (NextState.set(stateRef, void 0), componentState.setStateShallow(pendingState));
8745
- }
8748
+ hasAnimationProp && animationDriver != null && animationDriver.avoidReRenders && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
8749
+ var pendingState = stateRef.current.nextState;
8750
+ pendingState && (stateRef.current.nextState = void 0, componentState.setStateShallow(pendingState));
8751
+ });
8746
8752
  var allGroupContexts = (0, import_react3.useMemo)(function() {
8747
- var _stateRef_current_group;
8753
+ var _stateRef_current_group_listeners, _stateRef_current_group;
8748
8754
  if (!groupName || props.passThrough) return groupContextParent;
8749
- (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.listeners.clear();
8750
8755
  var listeners = /* @__PURE__ */ new Set();
8751
- return stateRef.current.group = {
8756
+ return (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || (_stateRef_current_group_listeners = _stateRef_current_group.listeners) === null || _stateRef_current_group_listeners === void 0 || _stateRef_current_group_listeners.clear(), stateRef.current.group = {
8752
8757
  listeners,
8753
8758
  emit(state2) {
8754
8759
  listeners.forEach(function(l) {
@@ -8847,8 +8852,8 @@ var require_createComponent_native = __commonJS({
8847
8852
  styledContextProps
8848
8853
  }, themeName = (themeState == null ? void 0 : themeState.name) || "";
8849
8854
  process.env.NODE_ENV === "development" && time2 && time2`split-styles-prepare`;
8850
- var splitStyles = (0, import_getSplitStyles.useSplitStyles)(props, staticConfig, theme, themeName, state, styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp), groupContext = groupName && (allGroupContexts == null ? void 0 : allGroupContexts[groupName]) || null;
8851
- if (splitStyles && groupContext && // avoids onLayout if we don't need it
8855
+ var splitStyles = (0, import_getSplitStyles.useSplitStyles)(props, staticConfig, theme, themeName, state, styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp), isPassthrough = !splitStyles, groupContext = groupName && (allGroupContexts == null ? void 0 : allGroupContexts[groupName]) || null;
8856
+ if (!isPassthrough && groupContext && // avoids onLayout if we don't need it
8852
8857
  props.containerType !== "normal") {
8853
8858
  var groupState = groupContext == null ? void 0 : groupContext.state;
8854
8859
  if (groupState && groupState.layout === void 0) {
@@ -8859,34 +8864,38 @@ var require_createComponent_native = __commonJS({
8859
8864
  });
8860
8865
  }
8861
8866
  }
8862
- if (splitStyles && (hasAnimationProp || groupName) && animationDriver != null && animationDriver.avoidReRenders) {
8863
- var _componentContext, ogSetStateShallow = setStateShallow;
8867
+ if (!isPassthrough && (hasAnimationProp || groupName) && animationDriver != null && animationDriver.avoidReRenders) {
8868
+ var updateGroupListeners2 = function() {
8869
+ var updatedState = stateRef.current.nextState;
8870
+ if (groupContext) {
8871
+ var { group, hasDynGroupChildren, unmounted, animation, ...childrenGroupState } = updatedState;
8872
+ notifyGroupSubscribers(groupContext, stateRef.current.group || null, childrenGroupState);
8873
+ }
8874
+ }, updateGroupListeners = updateGroupListeners2, _componentContext, ogSetStateShallow = setStateShallow;
8864
8875
  stateRef.current.updateStyleListener = function() {
8865
- var updatedState = NextState.get(stateRef) || state, mediaState22 = NextMedia.get(stateRef), { group, hasDynGroupChildren, unmounted, animation, ...childrenGroupState } = updatedState;
8866
- groupContext && notifyGroupSubscribers(groupContext, stateRef.current.group || null, childrenGroupState);
8867
- var nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, mediaState22 ? {
8876
+ var updatedState = stateRef.current.nextState || state, mediaState22 = stateRef.current.nextMedia, nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, mediaState22 ? {
8868
8877
  ...styleProps,
8869
8878
  mediaState: mediaState22
8870
8879
  } : styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp), useStyleListener = stateRef.current.useStyleListener;
8871
8880
  useStyleListener == null || useStyleListener((nextStyles == null ? void 0 : nextStyles.style) || {});
8872
8881
  }, (_componentContext = componentContext).mediaEmit || (_componentContext.mediaEmit = function(next) {
8873
8882
  var _stateRef_current_updateStyleListener, _stateRef_current;
8874
- NextMedia.set(stateRef, next), (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
8883
+ stateRef.current.nextMedia = next, (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
8875
8884
  }), stateRef.current.setStateShallow = function(nextOrGetNext) {
8876
- var prev = NextState.get(stateRef) || state, next = typeof nextOrGetNext == "function" ? nextOrGetNext(prev) : nextOrGetNext;
8885
+ var prev = stateRef.current.nextState || state, next = typeof nextOrGetNext == "function" ? nextOrGetNext(prev) : nextOrGetNext;
8877
8886
  if (!(next === prev || (0, import_is_equal_shallow.isEqualShallow)(prev, next))) {
8878
8887
  var canAvoidReRender = Object.keys(next).every(function(key3) {
8879
8888
  return avoidReRenderKeys.has(key3);
8880
- });
8881
- if (canAvoidReRender) {
8882
- var _stateRef_current_updateStyleListener, _stateRef_current, updatedState = {
8883
- ...prev,
8884
- ...next
8885
- };
8886
- NextState.set(stateRef, updatedState), process.env.NODE_ENV === "development" && debugProp && debugProp !== "profile" && (console.groupCollapsed("[\u26A1\uFE0F] avoid setState", next, {
8889
+ }), updatedState = {
8890
+ ...prev,
8891
+ ...next
8892
+ };
8893
+ if (stateRef.current.nextState = updatedState, canAvoidReRender) {
8894
+ var _stateRef_current_updateStyleListener, _stateRef_current;
8895
+ process.env.NODE_ENV === "development" && debugProp && debugProp !== "profile" && (console.groupCollapsed("[\u26A1\uFE0F] avoid setState", componentName2, next, {
8887
8896
  updatedState,
8888
8897
  props
8889
- }), console.info(stateRef.current.host), console.groupEnd()), (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
8898
+ }), console.info(stateRef.current.host), console.groupEnd()), updateGroupListeners2(), (_stateRef_current_updateStyleListener = (_stateRef_current = stateRef.current).updateStyleListener) === null || _stateRef_current_updateStyleListener === void 0 || _stateRef_current_updateStyleListener.call(_stateRef_current);
8890
8899
  } else process.env.NODE_ENV === "development" && debugProp && debugProp !== "profile" && console.info("[\u{1F40C}] re-render", {
8891
8900
  canAvoidReRender,
8892
8901
  next
@@ -8959,7 +8968,7 @@ var require_createComponent_native = __commonJS({
8959
8968
  }
8960
8969
  process.env.NODE_ENV === "development" && props.untilMeasured && !props.group && console.warn(`You set the untilMeasured prop without setting group. This doesn't work, be sure to set untilMeasured on the parent that sets group, not the children that use the $group- prop.
8961
8970
 
8962
- If you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`), process.env.NODE_ENV === "development" && time2 && time2`destructure`, splitStyles && groupContext && // avoids onLayout if we don't need it
8971
+ If you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`), process.env.NODE_ENV === "development" && time2 && time2`destructure`, !isPassthrough && groupContext && // avoids onLayout if we don't need it
8963
8972
  props.containerType !== "normal" && (nonTamaguiProps.onLayout = (0, import_helpers.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
8964
8973
  var _stateRef_current_group, layout = e.nativeEvent.layout;
8965
8974
  groupContext.state.layout = layout, (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.emit({
@@ -9029,12 +9038,8 @@ If you meant to do this, you can disable this warning - either change untilMeasu
9029
9038
  }, [
9030
9039
  allGroupContexts,
9031
9040
  disabled,
9032
- pseudoGroups ? Object.keys([
9033
- ...pseudoGroups
9034
- ]).join("") : 0,
9035
- mediaGroups ? Object.keys([
9036
- ...mediaGroups
9037
- ]).join("") : 0
9041
+ pseudoGroups ? (0, import_objectIdentityKey.objectIdentityKey)(pseudoGroups) : 0,
9042
+ mediaGroups ? (0, import_objectIdentityKey.objectIdentityKey)(mediaGroups) : 0
9038
9043
  ]);
9039
9044
  var groupEmitter = stateRef.current.group;
9040
9045
  (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -9134,7 +9139,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
9134
9139
  onPress,
9135
9140
  onLongPress
9136
9141
  });
9137
- process.env.NODE_ENV === "development" && time2 && time2`spaced-as-child`, splitStyles || (content = propsIn.children, elementType = BaseViewComponent, viewProps = {
9142
+ process.env.NODE_ENV === "development" && time2 && time2`spaced-as-child`, isPassthrough && (content = propsIn.children, elementType = BaseViewComponent, viewProps = {
9138
9143
  style: {
9139
9144
  display: "contents"
9140
9145
  }
@@ -9206,7 +9211,8 @@ If you meant to do this, you can disable this warning - either change untilMeasu
9206
9211
  styleProps,
9207
9212
  themeState,
9208
9213
  viewProps,
9209
- willBeAnimated
9214
+ willBeAnimated,
9215
+ startedUnhydrated
9210
9216
  });
9211
9217
  } catch {
9212
9218
  } finally {
@@ -9524,7 +9530,7 @@ var require_createVariables_native = __commonJS({
9524
9530
  }
9525
9531
  });
9526
9532
  module2.exports = __toCommonJS2(createVariables_exports);
9527
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_createVariable = require_createVariable_native(), cache = /* @__PURE__ */ new WeakMap(), createVariables = function(tokens) {
9533
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_createVariable = require_createVariable_native(), cache = /* @__PURE__ */ new WeakMap(), createVariables = function(tokens) {
9528
9534
  var parentPath = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", isFont = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
9529
9535
  if (cache.has(tokens)) return tokens;
9530
9536
  var res = {}, i = 0;
@@ -10073,7 +10079,7 @@ var require_createTamagui_native = __commonJS({
10073
10079
  }
10074
10080
  });
10075
10081
  module2.exports = __toCommonJS2(createTamagui_exports);
10076
- var import_constants4 = require_index_native6(), import_config = require_config_native(), import_createVariables = require_createVariables_native(), import_getThemeCSSRules = require_getThemeCSSRules_native(), import_insertStyleRule = require_insertStyleRule_native(), import_proxyThemeToParents = require_proxyThemeToParents_native(), import_registerCSSVariable = require_registerCSSVariable_native(), import_themes = require_themes_native(), import_useMedia = require_useMedia_native(), import_insertFont = require_insertFont_native(), import_loadDuplicatedConfig = require_loadDuplicatedConfig_native(), import_Tamagui = require_Tamagui_native();
10082
+ var import_constants4 = require_index_native(), import_config = require_config_native(), import_createVariables = require_createVariables_native(), import_getThemeCSSRules = require_getThemeCSSRules_native(), import_insertStyleRule = require_insertStyleRule_native(), import_proxyThemeToParents = require_proxyThemeToParents_native(), import_registerCSSVariable = require_registerCSSVariable_native(), import_themes = require_themes_native(), import_useMedia = require_useMedia_native(), import_insertFont = require_insertFont_native(), import_loadDuplicatedConfig = require_loadDuplicatedConfig_native(), import_Tamagui = require_Tamagui_native();
10077
10083
  function shouldTokenCategoryHaveUnits(category) {
10078
10084
  var UNIT_CATEGORIES = /* @__PURE__ */ new Set([
10079
10085
  "size",
@@ -11052,7 +11058,7 @@ var require_useIsTouchDevice_native = __commonJS({
11052
11058
  }
11053
11059
  });
11054
11060
  module2.exports = __toCommonJS2(useIsTouchDevice_exports);
11055
- var import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), useIsTouchDevice2 = function() {
11061
+ var import_constants4 = require_index_native(), import_use_did_finish_ssr = require_index_native14(), useIsTouchDevice2 = function() {
11056
11062
  return import_constants4.isWeb ? (0, import_use_did_finish_ssr.useDidFinishSSR)() ? import_constants4.isTouchable : !1 : !0;
11057
11063
  };
11058
11064
  }
@@ -11171,7 +11177,7 @@ var require_useProps_native = __commonJS({
11171
11177
  }
11172
11178
  });
11173
11179
  module2.exports = __toCommonJS2(useProps_exports);
11174
- var import_constants4 = require_index_native6(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_GroupContext = require_GroupContext_native(), import_getSplitStyles = require_getSplitStyles_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_Stack = require_Stack_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native();
11180
+ var import_constants4 = require_index_native(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_GroupContext = require_GroupContext_native(), import_getSplitStyles = require_getSplitStyles_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_Stack = require_Stack_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native();
11175
11181
  function useProps2(props, opts) {
11176
11182
  var [propsOut, styleOut] = usePropsAndStyle2(props, {
11177
11183
  ...opts,
@@ -11411,7 +11417,7 @@ var require_ThemeProvider_native = __commonJS({
11411
11417
  }
11412
11418
  });
11413
11419
  module2.exports = __toCommonJS2(ThemeProvider_exports);
11414
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_react3 = require("react"), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_Theme = require_Theme_native(), ThemeProvider = function(props) {
11420
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_react3 = require("react"), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_Theme = require_Theme_native(), ThemeProvider = function(props) {
11415
11421
  var _props_disableRootThemeClass, disableRootThemeClass = (_props_disableRootThemeClass = props.disableRootThemeClass) !== null && _props_disableRootThemeClass !== void 0 ? _props_disableRootThemeClass : (0, import_config.getSetting)("disableRootThemeClass"), _props_themeClassNameOnRoot, themeClassNameOnRoot = (_props_themeClassNameOnRoot = props.themeClassNameOnRoot) !== null && _props_themeClassNameOnRoot !== void 0 ? _props_themeClassNameOnRoot : (0, import_config.getSetting)("themeClassNameOnRoot");
11416
11422
  return import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
11417
11423
  if (!disableRootThemeClass) {
@@ -11562,7 +11568,7 @@ var require_TamaguiProvider_native = __commonJS({
11562
11568
  }
11563
11569
  });
11564
11570
  module2.exports = __toCommonJS2(TamaguiProvider_exports);
11565
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_insertStyleRule = require_insertStyleRule_native(), import_useMedia = require_useMedia_native(), import_ThemeProvider = require_ThemeProvider_native();
11571
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_use_did_finish_ssr = require_index_native14(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_insertStyleRule = require_insertStyleRule_native(), import_useMedia = require_useMedia_native(), import_ThemeProvider = require_ThemeProvider_native();
11566
11572
  function TamaguiProvider2(param) {
11567
11573
  var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
11568
11574
  import_constants4.IS_REACT_19 || import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -11592,6 +11598,7 @@ var require_TamaguiProvider_native = __commonJS({
11592
11598
  })
11593
11599
  });
11594
11600
  return (0, import_config.getSetting)("disableSSR") && (contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_use_did_finish_ssr.ClientOnly, {
11601
+ enabled: !0,
11595
11602
  children: contents
11596
11603
  })), /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, {
11597
11604
  children: [
@@ -11672,16 +11679,15 @@ var require_Configuration_native = __commonJS({
11672
11679
  });
11673
11680
  module2.exports = __toCommonJS2(Configuration_exports);
11674
11681
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_use_did_finish_ssr = require_index_native14(), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), Configuration2 = function(props) {
11675
- var current = import_react3.default.useContext(import_ComponentContext.ComponentContext);
11682
+ var current = import_react3.default.useContext(import_ComponentContext.ComponentContext), _props_disableSSR;
11676
11683
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_use_did_finish_ssr.ClientOnly, {
11677
- value: typeof props.disableSSR == "boolean" && props.disableSSR !== current.disableSSR ? props.disableSSR : current.disableSSR,
11684
+ enabled: (_props_disableSSR = props.disableSSR) !== null && _props_disableSSR !== void 0 ? _props_disableSSR : current.disableSSR,
11678
11685
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
11679
11686
  ...current,
11680
11687
  ...props
11681
11688
  })
11682
11689
  });
11683
11690
  };
11684
- Configuration2.displayName = "Configuration";
11685
11691
  }
11686
11692
  });
11687
11693
 
@@ -11853,7 +11859,7 @@ var require_index_native15 = __commonJS({
11853
11859
  __reExport2(index_exports2, require_index_native8(), module2.exports);
11854
11860
  __reExport2(index_exports2, require_index_native11(), module2.exports);
11855
11861
  __reExport2(index_exports2, require_index_native7(), module2.exports);
11856
- __reExport2(index_exports2, require_index_native6(), module2.exports);
11862
+ __reExport2(index_exports2, require_index_native(), module2.exports);
11857
11863
  __reExport2(index_exports2, require_setupHooks_native(), module2.exports);
11858
11864
  }
11859
11865
  });
@@ -11925,7 +11931,7 @@ var require_Collapsible_native = __commonJS({
11925
11931
  }
11926
11932
  });
11927
11933
  module2.exports = __toCommonJS2(Collapsible_exports);
11928
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_animate_presence = require_index_native4(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), import_web = require_index_native15(), React4 = __toESM2(require("react")), COLLAPSIBLE_NAME = "Collapsible", { Provider: CollapsibleProvider, useStyledContext: useCollapsibleContext } = (0, import_web.createStyledContext)(), _Collapsible = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
11934
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_animate_presence = require_index_native5(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), import_web = require_index_native15(), React4 = __toESM2(require("react")), COLLAPSIBLE_NAME = "Collapsible", { Provider: CollapsibleProvider, useStyledContext: useCollapsibleContext } = (0, import_web.createStyledContext)(), _Collapsible = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
11929
11935
  var { __scopeCollapsible, open: openProp, defaultOpen, disabled, onOpenChange, ...collapsibleProps } = props, [open = !1, setOpen] = (0, import_use_controllable_state.useControllableState)({
11930
11936
  prop: openProp,
11931
11937
  defaultProp: defaultOpen,
@@ -13500,7 +13506,7 @@ var require_index_native19 = __commonJS({
13500
13506
  }
13501
13507
  });
13502
13508
  module2.exports = __toCommonJS2(index_exports2);
13503
- var import_constants4 = require_index_native6(), import_is_equal_shallow = require_index_native12(), LayoutHandlers = /* @__PURE__ */ new WeakMap(), Nodes = /* @__PURE__ */ new Set(), IntersectionState = /* @__PURE__ */ new WeakMap(), globalIntersectionObserver = null, strategy = "async";
13509
+ var import_constants4 = require_index_native(), import_is_equal_shallow = require_index_native12(), LayoutHandlers = /* @__PURE__ */ new WeakMap(), Nodes = /* @__PURE__ */ new Set(), IntersectionState = /* @__PURE__ */ new WeakMap(), globalIntersectionObserver = null, strategy = "async";
13504
13510
  function setOnLayoutStrategy3(state) {
13505
13511
  strategy = state;
13506
13512
  }
@@ -14347,7 +14353,7 @@ var require_Collection_native = __commonJS({
14347
14353
  }
14348
14354
  });
14349
14355
  module2.exports = __toCommonJS2(Collection_exports);
14350
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_react3 = __toESM2(require("react"));
14356
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_react3 = __toESM2(require("react"));
14351
14357
  function createCollection(name) {
14352
14358
  var { Provider: CollectionProviderImpl, useStyledContext: useCollectionContext } = (0, import_core12.createStyledContext)({
14353
14359
  collectionRef: {
@@ -15261,7 +15267,7 @@ var require_index_native25 = __commonJS({
15261
15267
  }
15262
15268
  });
15263
15269
  module2.exports = __toCommonJS2(index_exports2);
15264
- var import_constants4 = require_index_native6(), import_web = require_index_native15(), getFontSized2 = function() {
15270
+ var import_constants4 = require_index_native(), import_web = require_index_native15(), getFontSized2 = function() {
15265
15271
  var sizeTokenIn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "$true", { font, fontFamily, props } = arguments.length > 1 ? arguments[1] : void 0, _font_lineHeight, _font_weight, _font_letterSpacing, _font_transform, _font_style, _font_color;
15266
15272
  if (!font) return {
15267
15273
  fontSize: sizeTokenIn
@@ -15896,7 +15902,7 @@ var require_Accordion_native = __commonJS({
15896
15902
  }
15897
15903
  });
15898
15904
  module2.exports = __toCommonJS2(Accordion_exports);
15899
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_collapsible = require_index_native16(), import_collection = require_index_native21(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), React4 = __toESM2(require("react")), ACCORDION_NAME = "Accordion", ACCORDION_KEYS = [
15905
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_collapsible = require_index_native16(), import_collection = require_index_native21(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), React4 = __toESM2(require("react")), ACCORDION_NAME = "Accordion", ACCORDION_KEYS = [
15900
15906
  "Home",
15901
15907
  "End",
15902
15908
  "ArrowDown",
@@ -16508,7 +16514,7 @@ var require_constants_native3 = __commonJS({
16508
16514
  }
16509
16515
  });
16510
16516
  module2.exports = __toCommonJS2(constants_exports);
16511
- var import_constants4 = require_index_native6(), _global__IS_FABRIC, IS_FABRIC = typeof global < "u" && !!((_global__IS_FABRIC = global._IS_FABRIC) !== null && _global__IS_FABRIC !== void 0 ? _global__IS_FABRIC : global.nativeFabricUIManager), USE_NATIVE_PORTAL = process.env.TAMAGUI_USE_NATIVE_PORTAL && process.env.TAMAGUI_USE_NATIVE_PORTAL !== "false" ? !0 : !import_constants4.isAndroid && !IS_FABRIC, allPortalHosts = /* @__PURE__ */ new Map(), portalListeners = {};
16517
+ var import_constants4 = require_index_native(), _global__IS_FABRIC, IS_FABRIC = typeof global < "u" && !!((_global__IS_FABRIC = global._IS_FABRIC) !== null && _global__IS_FABRIC !== void 0 ? _global__IS_FABRIC : global.nativeFabricUIManager), USE_NATIVE_PORTAL = process.env.TAMAGUI_USE_NATIVE_PORTAL && process.env.TAMAGUI_USE_NATIVE_PORTAL !== "false" ? !0 : !import_constants4.isAndroid && !IS_FABRIC, allPortalHosts = /* @__PURE__ */ new Map(), portalListeners = {};
16512
16518
  }
16513
16519
  });
16514
16520
 
@@ -16579,7 +16585,7 @@ var require_GorhomPortal_native = __commonJS({
16579
16585
  }
16580
16586
  });
16581
16587
  module2.exports = __toCommonJS2(GorhomPortal_exports);
16582
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_start_transition = require_index_native9(), import_react3 = __toESM2(require("react")), import_constants22 = require_constants_native3(), ACTIONS = /* @__PURE__ */ function(ACTIONS2) {
16588
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_start_transition = require_index_native9(), import_react3 = __toESM2(require("react")), import_constants22 = require_constants_native3(), ACTIONS = /* @__PURE__ */ function(ACTIONS2) {
16583
16589
  return ACTIONS2[ACTIONS2.REGISTER_HOST = 0] = "REGISTER_HOST", ACTIONS2[ACTIONS2.DEREGISTER_HOST = 1] = "DEREGISTER_HOST", ACTIONS2[ACTIONS2.ADD_UPDATE_PORTAL = 2] = "ADD_UPDATE_PORTAL", ACTIONS2[ACTIONS2.REMOVE_PORTAL = 3] = "REMOVE_PORTAL", ACTIONS2;
16584
16590
  }(ACTIONS || {}), INITIAL_STATE = {}, registerHost = function(state, hostName) {
16585
16591
  return hostName in state || (state[hostName] = []), state;
@@ -16781,7 +16787,7 @@ var require_GorhomPortalItem_native = __commonJS({
16781
16787
  }
16782
16788
  });
16783
16789
  module2.exports = __toCommonJS2(GorhomPortalItem_native_exports);
16784
- var import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_react3 = require("react"), import_GorhomPortal = require_GorhomPortal_native(), GorhomPortalItem = function(props) {
16790
+ var import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_react3 = require("react"), import_GorhomPortal = require_GorhomPortal_native(), GorhomPortalItem = function(props) {
16785
16791
  var { name: _providedName, hostName, handleOnMount: _providedHandleOnMount, handleOnUnmount: _providedHandleOnUnmount, handleOnUpdate: _providedHandleOnUpdate, children, passThrough } = props, { addPortal: addUpdatePortal, removePortal } = (0, import_GorhomPortal.usePortal)(hostName), id = (0, import_react3.useId)(), name = _providedName || id, handleOnMount = (0, import_core12.useEvent)(function() {
16786
16792
  _providedHandleOnMount ? _providedHandleOnMount(function() {
16787
16793
  return addUpdatePortal(name, children);
@@ -17121,7 +17127,7 @@ var require_Adapt_native = __commonJS({
17121
17127
  }
17122
17128
  });
17123
17129
  module2.exports = __toCommonJS2(Adapt_exports);
17124
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_z_index_stack2 = require_index_native29(), import_react3 = __toESM2(require("react")), AdaptContext = (0, import_core12.createStyledContext)({
17130
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_z_index_stack2 = require_index_native29(), import_react3 = __toESM2(require("react")), AdaptContext = (0, import_core12.createStyledContext)({
17125
17131
  Contents: null,
17126
17132
  scopeName: "",
17127
17133
  portalName: "",
@@ -18182,7 +18188,7 @@ var require_useSheetProviderProps_native = __commonJS({
18182
18188
  }
18183
18189
  });
18184
18190
  module2.exports = __toCommonJS2(useSheetProviderProps_exports);
18185
- var import_react3 = __toESM2(require("react")), import_core12 = require_index_native20(), import_use_constant = require_index_native2(), import_use_controllable_state = require_index_native10();
18191
+ var import_react3 = __toESM2(require("react")), import_core12 = require_index_native20(), import_use_constant = require_index_native3(), import_use_controllable_state = require_index_native10();
18186
18192
  function useSheetProviderProps(props, state) {
18187
18193
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, handleRef = import_react3.default.useRef(null), contentRef = import_react3.default.useRef(null), [frameSize, setFrameSize] = import_react3.default.useState(0), [maxContentSize, setMaxContentSize] = import_react3.default.useState(0), _props_snapPointsMode, snapPointsMode = (_props_snapPointsMode = props.snapPointsMode) !== null && _props_snapPointsMode !== void 0 ? _props_snapPointsMode : "percent", _props_snapPoints, snapPointsProp = (_props_snapPoints = props.snapPoints) !== null && _props_snapPoints !== void 0 ? _props_snapPoints : snapPointsMode === "percent" ? [
18188
18194
  80
@@ -18574,7 +18580,7 @@ var require_SheetImplementationCustom_native = __commonJS({
18574
18580
  }
18575
18581
  });
18576
18582
  module2.exports = __toCommonJS2(SheetImplementationCustom_exports);
18577
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_animate_presence = require_index_native4(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_portal2 = require_index_native30(), import_react3 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), import_contexts = require_contexts_native(), import_helpers = require_helpers_native2(), import_SheetContext = require_SheetContext_native(), import_useSheetOpenState = require_useSheetOpenState_native(), import_useSheetProviderProps = require_useSheetProviderProps_native(), hiddenSize = 10000.1, sheetHiddenStyleSheet = null, relativeDimensionTo = import_constants4.isWeb ? "window" : "screen", SheetImplementationCustom = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
18583
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_animate_presence = require_index_native5(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_portal2 = require_index_native30(), import_react3 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), import_contexts = require_contexts_native(), import_helpers = require_helpers_native2(), import_SheetContext = require_SheetContext_native(), import_useSheetOpenState = require_useSheetOpenState_native(), import_useSheetProviderProps = require_useSheetProviderProps_native(), hiddenSize = 10000.1, sheetHiddenStyleSheet = null, relativeDimensionTo = import_constants4.isWeb ? "window" : "screen", SheetImplementationCustom = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
18578
18584
  var parentSheet = import_react3.default.useContext(import_contexts.ParentSheetContext), { animation, animationConfig: animationConfigProp, modal = !1, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = !1, unmountChildrenWhenHidden = !1, portalProps, containerComponent: ContainerComponent = import_react3.default.Fragment } = props, state = (0, import_useSheetOpenState.useSheetOpenState)(props), [overlayComponent, setOverlayComponent] = import_react3.default.useState(null), providerProps = (0, import_useSheetProviderProps.useSheetProviderProps)(props, state, {
18579
18585
  onOverlayComponent: setOverlayComponent
18580
18586
  }), { frameSize, setFrameSize, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps, { open, controller, isHidden } = state, sheetRef = import_react3.default.useRef(void 0), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = (0, import_core12.useConfiguration)();
@@ -19289,7 +19295,7 @@ var require_createSheet_native = __commonJS({
19289
19295
  }
19290
19296
  });
19291
19297
  module2.exports = __toCommonJS2(createSheet_exports);
19292
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_use_did_finish_ssr = require_index_native14(), import_z_index_stack2 = require_index_native29(), import_react3 = require("react"), import_react_native4 = require_fake_react_native(), import_constants22 = require_constants_native4(), import_nativeSheet = require_nativeSheet_native(), import_SheetContext = require_SheetContext_native(), import_SheetImplementationCustom = require_SheetImplementationCustom_native(), import_SheetScrollView = require_SheetScrollView_native(), import_useSheetController = require_useSheetController_native(), import_useSheetOffscreenSize = require_useSheetOffscreenSize_native();
19298
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_use_did_finish_ssr = require_index_native14(), import_z_index_stack2 = require_index_native29(), import_react3 = require("react"), import_react_native4 = require_fake_react_native(), import_constants22 = require_constants_native4(), import_nativeSheet = require_nativeSheet_native(), import_SheetContext = require_SheetContext_native(), import_SheetImplementationCustom = require_SheetImplementationCustom_native(), import_SheetScrollView = require_SheetScrollView_native(), import_useSheetController = require_useSheetController_native(), import_useSheetOffscreenSize = require_useSheetOffscreenSize_native();
19293
19299
  function createSheet(param) {
19294
19300
  var { Handle, Frame, Overlay } = param, SheetHandle = Handle.styleable(function(param2, forwardedRef) {
19295
19301
  var { __scopeSheet, ...props } = param2, context = (0, import_SheetContext.useSheetContext)(import_constants22.SHEET_HANDLE_NAME, __scopeSheet), composedRef = (0, import_compose_refs.useComposedRefs)(context.handleRef, forwardedRef);
@@ -19861,7 +19867,7 @@ var require_Dialog_native = __commonJS({
19861
19867
  }
19862
19868
  });
19863
19869
  module2.exports = __toCommonJS2(Dialog_exports);
19864
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_animate_presence = require_index_native4(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_create_context = require_index_native32(), import_dismissable = require_index_native33(), import_focus_scope = require_index_native34(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native29(), React4 = __toESM2(require("react")), DialogContext = (0, import_core12.createStyledContext)(
19870
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_animate_presence = require_index_native5(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_create_context = require_index_native32(), import_dismissable = require_index_native33(), import_focus_scope = require_index_native34(), import_helpers = require_index_native7(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native29(), React4 = __toESM2(require("react")), DialogContext = (0, import_core12.createStyledContext)(
19865
19871
  // since we always provide this we can avoid setting here
19866
19872
  {},
19867
19873
  "Dialog__"
@@ -20105,6 +20111,7 @@ var require_Dialog_native = __commonJS({
20105
20111
  children: contentProps.children
20106
20112
  });
20107
20113
  var contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogContentFrame, {
20114
+ ref: composedRefs,
20108
20115
  id: context.contentId,
20109
20116
  "aria-describedby": context.descriptionId,
20110
20117
  "aria-labelledby": context.titleId,
@@ -20120,8 +20127,6 @@ var require_Dialog_native = __commonJS({
20120
20127
  onPointerDownOutside,
20121
20128
  onFocusOutside,
20122
20129
  onInteractOutside,
20123
- // @ts-ignore
20124
- ref: composedRefs,
20125
20130
  onDismiss: function() {
20126
20131
  var _context_onOpenChange;
20127
20132
  return context == null || (_context_onOpenChange = context.onOpenChange) === null || _context_onOpenChange === void 0 ? void 0 : _context_onOpenChange.call(context, !1);
@@ -20418,7 +20423,7 @@ var require_AlertDialog_native = __commonJS({
20418
20423
  }
20419
20424
  });
20420
20425
  module2.exports = __toCommonJS2(AlertDialog_exports);
20421
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_dialog = require_index_native38(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), AlertScopePrefix = "Alert__", getAlertDialogScope = function(scope) {
20426
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_dialog = require_index_native38(), import_helpers = require_index_native7(), import_use_controllable_state = require_index_native10(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), AlertScopePrefix = "Alert__", getAlertDialogScope = function(scope) {
20422
20427
  return AlertScopePrefix + scope;
20423
20428
  }, ROOT_NAME = "AlertDialog", TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
20424
20429
  name: TRIGGER_NAME
@@ -20736,7 +20741,7 @@ var require_Image_native = __commonJS({
20736
20741
  }
20737
20742
  });
20738
20743
  module2.exports = __toCommonJS2(Image_exports);
20739
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_react_native4 = require_fake_react_native(), StyledImage = (0, import_core12.styled)(import_react_native4.Image, {
20744
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_react_native4 = require_fake_react_native(), StyledImage = (0, import_core12.styled)(import_react_native4.Image, {
20740
20745
  name: "Image"
20741
20746
  }), hasWarned = !1, Image = StyledImage.styleable(function(inProps, ref) {
20742
20747
  var [props, style] = (0, import_core12.usePropsAndStyle)(inProps), { src, source, objectFit, ...rest } = props;
@@ -22491,7 +22496,7 @@ var require_Label_native = __commonJS({
22491
22496
  }
22492
22497
  });
22493
22498
  module2.exports = __toCommonJS2(Label_exports);
22494
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_create_context = require_index_native32(), import_focusable2 = require_index_native47(), import_get_button_sized2 = require_index_native23(), import_get_font_sized2 = require_index_native25(), import_text2 = require_index_native26(), import_web = require_index_native15(), React4 = __toESM2(require("react")), NAME = "Label", [LabelProvider, useLabelContextImpl] = (0, import_create_context.createContext)(NAME, {
22499
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_create_context = require_index_native32(), import_focusable2 = require_index_native47(), import_get_button_sized2 = require_index_native23(), import_get_font_sized2 = require_index_native25(), import_text2 = require_index_native26(), import_web = require_index_native15(), React4 = __toESM2(require("react")), NAME = "Label", [LabelProvider, useLabelContextImpl] = (0, import_create_context.createContext)(NAME, {
22495
22500
  id: void 0,
22496
22501
  controlRef: {
22497
22502
  current: null
@@ -22903,7 +22908,7 @@ var require_useCheckbox_native = __commonJS({
22903
22908
  }
22904
22909
  });
22905
22910
  module2.exports = __toCommonJS2(useCheckbox_exports);
22906
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), 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();
22911
+ 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();
22907
22912
  function useCheckbox(props, param, ref) {
22908
22913
  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() {
22909
22914
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
@@ -24140,7 +24145,7 @@ var require_Animate_native = __commonJS({
24140
24145
  }
24141
24146
  });
24142
24147
  module2.exports = __toCommonJS2(Animate_exports);
24143
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_animate_presence = require_index_native4(), import_react3 = require("react");
24148
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_animate_presence = require_index_native5(), import_react3 = require("react");
24144
24149
  function Animate(param) {
24145
24150
  var { children, lazyMount, type, present, passThrough, ...props } = param, [lazyMounted, setLazyMounted] = (0, import_react3.useState)(lazyMount ? !1 : present);
24146
24151
  (0, import_react3.useEffect)(function() {
@@ -24535,7 +24540,7 @@ var require_Popper_native = __commonJS({
24535
24540
  }
24536
24541
  });
24537
24542
  module2.exports = __toCommonJS2(Popper_exports);
24538
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_floating = require_index_native57(), import_get_token2 = require_index_native22(), import_stacks3 = require_index_native24(), import_start_transition = require_index_native9(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), PopperContextFast = (0, import_core12.createStyledContext)(
24543
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_floating = require_index_native57(), import_get_token2 = require_index_native22(), import_stacks3 = require_index_native24(), import_start_transition = require_index_native9(), React4 = __toESM2(require("react")), import_react_native4 = require_fake_react_native(), PopperContextFast = (0, import_core12.createStyledContext)(
24539
24544
  // since we always provide this we can avoid setting here
24540
24545
  {},
24541
24546
  "Popper__"
@@ -25022,7 +25027,7 @@ var require_Popover_native = __commonJS({
25022
25027
  }
25023
25028
  });
25024
25029
  module2.exports = __toCommonJS2(Popover_exports);
25025
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native31(), import_animate = require_index_native56(), import_animate_presence = require_index_native4(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_floating = require_index_native57(), import_focus_scope = require_index_native34(), import_helpers = require_index_native7(), import_popper = require_index_native58(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_scroll_view = require_index_native36(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native29(), React4 = __toESM2(require("react")), import_useFloatingContext = require_useFloatingContext_native(), needsRepropagation = import_constants4.isAndroid || import_constants4.isIos && !import_portal2.USE_NATIVE_PORTAL, PopoverContext = (0, import_core12.createStyledContext)(
25030
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native31(), import_animate = require_index_native56(), import_animate_presence = require_index_native5(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_floating = require_index_native57(), import_focus_scope = require_index_native34(), import_helpers = require_index_native7(), import_popper = require_index_native58(), import_portal2 = require_index_native30(), import_remove_scroll = require_index_native35(), import_scroll_view = require_index_native36(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_z_index_stack2 = require_index_native29(), React4 = __toESM2(require("react")), import_useFloatingContext = require_useFloatingContext_native(), needsRepropagation = import_constants4.isAndroid || import_constants4.isIos && !import_portal2.USE_NATIVE_PORTAL, PopoverContext = (0, import_core12.createStyledContext)(
25026
25031
  // since we always provide this we can avoid setting here
25027
25032
  {},
25028
25033
  "Popover__"
@@ -25988,7 +25993,7 @@ var require_useRadioGroup_native = __commonJS({
25988
25993
  }
25989
25994
  });
25990
25995
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25991
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), 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();
25996
+ 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();
25992
25997
  function useRadioGroup(params) {
25993
25998
  var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25994
25999
  prop: valueProp,
@@ -26577,7 +26582,7 @@ var require_Separator_native = __commonJS({
26577
26582
  }
26578
26583
  });
26579
26584
  module2.exports = __toCommonJS2(Separator_exports);
26580
- var import_constants4 = require_index_native6(), import_core12 = require_index_native20(), Separator = (0, import_core12.styled)(import_core12.Stack, {
26585
+ var import_constants4 = require_index_native(), import_core12 = require_index_native20(), Separator = (0, import_core12.styled)(import_core12.Stack, {
26581
26586
  name: "Separator",
26582
26587
  borderColor: "$borderColor",
26583
26588
  flexShrink: 0,
@@ -26993,7 +26998,7 @@ var require_SelectItem_native = __commonJS({
26993
26998
  }
26994
26999
  });
26995
27000
  module2.exports = __toCommonJS2(SelectItem_exports);
26996
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), 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) {
27001
+ 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) {
26997
27002
  var { scope, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26998
27003
  ...!props.unstyled && {
26999
27004
  ellipse: !0
@@ -27587,7 +27592,7 @@ var require_Select_native = __commonJS({
27587
27592
  }
27588
27593
  });
27589
27594
  module2.exports = __toCommonJS2(Select_exports);
27590
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_focus_scope = require_index_native34(), import_focusable2 = require_index_native47(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_list_item = require_index_native55(), import_separator = require_index_native64(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_use_debounce = require_index_native65(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core12.styled)(import_text2.SizableText, {
27595
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_adapt = require_index_native31(), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_focus_scope = require_index_native34(), import_focusable2 = require_index_native47(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_list_item = require_index_native55(), import_separator = require_index_native64(), import_sheet = require_index_native37(), import_stacks3 = require_index_native24(), import_text2 = require_index_native26(), import_use_controllable_state = require_index_native10(), import_use_debounce = require_index_native65(), React4 = __toESM2(require("react")), import_context = require_context_native2(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core12.styled)(import_text2.SizableText, {
27591
27596
  name: VALUE_NAME,
27592
27597
  userSelect: "none"
27593
27598
  }), SelectValue = SelectValueFrame.styleable(function(param, forwardedRef) {
@@ -28218,7 +28223,7 @@ var require_SliderImpl_native = __commonJS({
28218
28223
  }
28219
28224
  });
28220
28225
  module2.exports = __toCommonJS2(SliderImpl_exports);
28221
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_stacks3 = require_index_native24(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), SliderFrame2 = (0, import_core12.styled)(import_stacks3.YStack, {
28226
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_stacks3 = require_index_native24(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), SliderFrame2 = (0, import_core12.styled)(import_stacks3.YStack, {
28222
28227
  position: "relative",
28223
28228
  variants: {
28224
28229
  orientation: {
@@ -28368,7 +28373,7 @@ var require_Slider_native = __commonJS({
28368
28373
  }
28369
28374
  });
28370
28375
  module2.exports = __toCommonJS2(Slider_exports);
28371
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_core12 = require_index_native20(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_helpers2 = require_index_native7(), import_stacks3 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), import_helpers3 = require_helpers_native3(), import_SliderImpl = require_SliderImpl_native(), activeSliderMeasureListeners = /* @__PURE__ */ new Set();
28376
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_core12 = require_index_native20(), import_get_token2 = require_index_native22(), import_helpers = require_index_native7(), import_helpers2 = require_index_native7(), import_stacks3 = require_index_native24(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), React4 = __toESM2(require("react")), import_constants22 = require_constants_native6(), import_helpers3 = require_helpers_native3(), import_SliderImpl = require_SliderImpl_native(), activeSliderMeasureListeners = /* @__PURE__ */ new Set();
28372
28377
  import_constants4.isWeb && import_constants4.isClient && !process.env.TAMAGUI_DISABLE_SLIDER_INTERVAL && ((_setInterval = setInterval) === null || _setInterval === void 0 || _setInterval(
28373
28378
  function() {
28374
28379
  activeSliderMeasureListeners.forEach(function(cb) {
@@ -28918,7 +28923,7 @@ var require_useSwitch_native = __commonJS({
28918
28923
  }
28919
28924
  });
28920
28925
  module2.exports = __toCommonJS2(useSwitch_exports);
28921
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native48(), import_use_previous = require_index_native49(), React4 = __toESM2(require("react"));
28926
+ 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_use_previous = require_index_native49(), React4 = __toESM2(require("react"));
28922
28927
  function useSwitch(props, param, ref) {
28923
28928
  var [checked, setChecked] = param;
28924
28929
  return {
@@ -29593,7 +29598,7 @@ var require_createTabs_native = __commonJS({
29593
29598
  }
29594
29599
  });
29595
29600
  module2.exports = __toCommonJS2(createTabs_exports);
29596
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_group = require_index_native53(), import_helpers = require_index_native7(), import_roving_focus = require_index_native62(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), import_web = require_index_native15(), React4 = __toESM2(require("react")), import_Tabs = require_Tabs_native(), import_StyledContext = require_StyledContext_native2();
29601
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_group = require_index_native53(), import_helpers = require_index_native7(), import_roving_focus = require_index_native62(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), import_web = require_index_native15(), React4 = __toESM2(require("react")), import_Tabs = require_Tabs_native(), import_StyledContext = require_StyledContext_native2();
29597
29602
  function createTabs(createProps) {
29598
29603
  var { ContentFrame = import_Tabs.DefaultTabsContentFrame, TabFrame = import_Tabs.DefaultTabsTabFrame, TabsFrame = import_Tabs.DefaultTabsFrame } = createProps, TABS_CONTEXT = "TabsContext", TAB_LIST_NAME = "TabsList", TabsList = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
29599
29604
  var { __scopeTabs, loop = !0, children, ...listProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs);
@@ -29878,7 +29883,7 @@ var require_mutateTheme_native = __commonJS({
29878
29883
  }
29879
29884
  });
29880
29885
  module2.exports = __toCommonJS2(mutateTheme_exports);
29881
- var import_constants4 = require_index_native6(), import_start_transition = require_index_native9(), import_web = require_index_native15();
29886
+ var import_constants4 = require_index_native(), import_start_transition = require_index_native9(), import_web = require_index_native15();
29882
29887
  function mutateThemes2(param) {
29883
29888
  var { themes, batch, insertCSS = !0, ...props } = param, allThemesProxied = {}, allThemesRaw = {}, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
29884
29889
  try {
@@ -30406,7 +30411,7 @@ var require_ToggleGroup_native = __commonJS({
30406
30411
  }
30407
30412
  });
30408
30413
  module2.exports = __toCommonJS2(ToggleGroup_exports);
30409
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_focusable2 = require_index_native47(), import_font_size = require_index_native43(), import_get_token2 = require_index_native22(), import_group = require_index_native53(), import_helpers = require_index_native7(), import_helpers_tamagui = require_index_native44(), import_roving_focus = require_index_native62(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_Toggle = require_Toggle_native(), TOGGLE_GROUP_NAME = "ToggleGroup", TOGGLE_GROUP_ITEM_NAME = "ToggleGroupItem", TOGGLE_GROUP_CONTEXT = "ToggleGroup", { Provider: ToggleGroupItemProvider, useStyledContext: useToggleGroupItemContext } = (0, import_web.createStyledContext)(), { Provider: ToggleGroupContext, useStyledContext: useToggleGroupContext } = (0, import_web.createStyledContext)(), ToggleGroupItem = import_Toggle.ToggleFrame.extractable(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30414
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native(), import_focusable2 = require_index_native47(), import_font_size = require_index_native43(), import_get_token2 = require_index_native22(), import_group = require_index_native53(), import_helpers = require_index_native7(), import_helpers_tamagui = require_index_native44(), import_roving_focus = require_index_native62(), import_use_controllable_state = require_index_native10(), import_use_direction = require_index_native27(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_Toggle = require_Toggle_native(), TOGGLE_GROUP_NAME = "ToggleGroup", TOGGLE_GROUP_ITEM_NAME = "ToggleGroupItem", TOGGLE_GROUP_CONTEXT = "ToggleGroup", { Provider: ToggleGroupItemProvider, useStyledContext: useToggleGroupItemContext } = (0, import_web.createStyledContext)(), { Provider: ToggleGroupContext, useStyledContext: useToggleGroupContext } = (0, import_web.createStyledContext)(), ToggleGroupItem = import_Toggle.ToggleFrame.extractable(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30410
30415
  var [_, { color }] = (0, import_web.usePropsAndStyle)(props), { disablePassStyles, ...rest } = props, valueContext = useToggleGroupValueContext(props.__scopeToggleGroup), context = useToggleGroupContext(props.__scopeToggleGroup), pressed = valueContext == null ? void 0 : valueContext.value.includes(props.value), disabled = context.disabled || props.disabled || !1, groupItemProps = (0, import_group.useGroupItem)({
30411
30416
  disabled
30412
30417
  }), _props_size, size2 = (_props_size = props.size) !== null && _props_size !== void 0 ? _props_size : context.size, sizeProps = props.unstyled ? {} : {
@@ -30990,7 +30995,7 @@ var require_index_native74 = __commonJS({
30990
30995
  }
30991
30996
  });
30992
30997
  module2.exports = __toCommonJS2(index_exports2);
30993
- var import_react3 = __toESM2(require("react")), import_constants4 = require_index_native6(), import_helpers = require_helpers_native4(), import_initialValue = require_initialValue_native(), import_initialValue2 = require_initialValue_native();
30998
+ var import_react3 = __toESM2(require("react")), import_constants4 = require_index_native(), import_helpers = require_helpers_native4(), import_initialValue = require_initialValue_native(), import_initialValue2 = require_initialValue_native();
30994
30999
  function useWindowDimensions() {
30995
31000
  var { serverValue = import_initialValue.initialValue } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
30996
31001
  return import_react3.default.useSyncExternalStore(import_helpers.subscribe, import_helpers.getWindowSize, function() {
@@ -31199,7 +31204,7 @@ module.exports = __toCommonJS(index_exports);
31199
31204
  __reExport(index_exports, __toESM(require_index_native28()), module.exports);
31200
31205
  __reExport(index_exports, __toESM(require_index_native31()), module.exports);
31201
31206
  __reExport(index_exports, __toESM(require_index_native39()), module.exports);
31202
- __reExport(index_exports, __toESM(require_index_native4()), module.exports);
31207
+ __reExport(index_exports, __toESM(require_index_native5()), module.exports);
31203
31208
  __reExport(index_exports, __toESM(require_index_native42()), module.exports);
31204
31209
  __reExport(index_exports, __toESM(require_index_native45()), module.exports);
31205
31210
  __reExport(index_exports, __toESM(require_index_native46()), module.exports);
@@ -31236,7 +31241,7 @@ __reExport(index_exports, __toESM(require_index_native72()), module.exports);
31236
31241
  __reExport(index_exports, __toESM(require_index_native73()), module.exports);
31237
31242
  __reExport(index_exports, __toESM(require_index_native10()), module.exports);
31238
31243
  __reExport(index_exports, __toESM(require_index_native65()), module.exports);
31239
- __reExport(index_exports, __toESM(require_index_native()), module.exports);
31244
+ __reExport(index_exports, __toESM(require_index_native2()), module.exports);
31240
31245
  __reExport(index_exports, __toESM(require_index_native74()), module.exports);
31241
31246
  __reExport(index_exports, __toESM(require_index_native75()), module.exports);
31242
31247
 
@@ -31313,7 +31318,7 @@ var import_jsx_runtime = require("react/jsx-runtime"), import_core2 = __toESM(re
31313
31318
  };
31314
31319
 
31315
31320
  // src/views/Anchor.tsx
31316
- var import_jsx_runtime2 = require("react/jsx-runtime"), import_constants = __toESM(require_index_native6()), import_core3 = __toESM(require_index_native20()), import_text = __toESM(require_index_native26()), import_react_native = __toESM(require_fake_react_native()), AnchorFrame = (0, import_core3.styled)(import_text.SizableText, {
31321
+ var import_jsx_runtime2 = require("react/jsx-runtime"), import_constants = __toESM(require_index_native()), import_core3 = __toESM(require_index_native20()), import_text = __toESM(require_index_native26()), import_react_native = __toESM(require_fake_react_native()), AnchorFrame = (0, import_core3.styled)(import_text.SizableText, {
31317
31322
  name: "Anchor",
31318
31323
  tag: "a",
31319
31324
  accessibilityRole: "link"
@@ -31363,7 +31368,7 @@ var import_core5 = __toESM(require_index_native20()), import_stacks = __toESM(re
31363
31368
  });
31364
31369
 
31365
31370
  // src/views/Input.tsx
31366
- var import_jsx_runtime3 = require("react/jsx-runtime"), import_react = __toESM(require("react")), import_constants2 = __toESM(require_index_native6()), import_core7 = __toESM(require_index_native20()), import_focusable = __toESM(require_index_native47()), import_react_native2 = __toESM(require_fake_react_native());
31371
+ var import_jsx_runtime3 = require("react/jsx-runtime"), import_react = __toESM(require("react")), import_constants2 = __toESM(require_index_native()), import_core7 = __toESM(require_index_native20()), import_focusable = __toESM(require_index_native47()), import_react_native2 = __toESM(require_fake_react_native());
31367
31372
 
31368
31373
  // src/helpers/inputHelpers.tsx
31369
31374
  var import_core6 = __toESM(require_index_native20()), import_get_button_sized = __toESM(require_index_native23()), import_get_font_sized = __toESM(require_index_native25()), import_get_token = __toESM(require_index_native22()), inputSizeVariant = function() {
@@ -31502,7 +31507,7 @@ var import_jsx_runtime4 = require("react/jsx-runtime"), import_core8 = __toESM(r
31502
31507
  }));
31503
31508
 
31504
31509
  // src/views/TextArea.tsx
31505
- var import_jsx_runtime5 = require("react/jsx-runtime"), import_react2 = __toESM(require("react")), import_constants3 = __toESM(require_index_native6()), import_core9 = __toESM(require_index_native20());
31510
+ var import_jsx_runtime5 = require("react/jsx-runtime"), import_react2 = __toESM(require("react")), import_constants3 = __toESM(require_index_native()), import_core9 = __toESM(require_index_native20());
31506
31511
  var TextAreaFrame = (0, import_core9.styled)(InputFrame, {
31507
31512
  name: "TextArea",
31508
31513
  multiline: !0,