@expo/cli 54.1.0-canary-20251023-4c86f95 → 54.1.0-canary-20260119-17896bf

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.
Files changed (186) hide show
  1. package/add-module.js +4 -1
  2. package/build/bin/cli +3 -1
  3. package/build/bin/cli.map +1 -1
  4. package/build/src/export/embed/exportEmbedAsync.js +1 -2
  5. package/build/src/export/embed/exportEmbedAsync.js.map +1 -1
  6. package/build/src/install/applyPlugins.js +2 -1
  7. package/build/src/install/applyPlugins.js.map +1 -1
  8. package/build/src/install/fixPackages.js +1 -1
  9. package/build/src/install/fixPackages.js.map +1 -1
  10. package/build/src/install/installAsync.js +1 -1
  11. package/build/src/install/installAsync.js.map +1 -1
  12. package/build/src/install/utils/parsePackageSpecifier.js +24 -0
  13. package/build/src/install/utils/parsePackageSpecifier.js.map +1 -0
  14. package/build/src/run/ios/runIosAsync.js +8 -0
  15. package/build/src/run/ios/runIosAsync.js.map +1 -1
  16. package/build/src/start/interface/commandsTable.js.map +1 -1
  17. package/build/src/start/interface/interactiveActions.js +14 -9
  18. package/build/src/start/interface/interactiveActions.js.map +1 -1
  19. package/build/src/start/interface/startInterface.js +3 -0
  20. package/build/src/start/interface/startInterface.js.map +1 -1
  21. package/build/src/start/platforms/android/adb.js +1 -1
  22. package/build/src/start/platforms/android/adb.js.map +1 -1
  23. package/build/src/start/server/DevToolsPluginManager.js +8 -4
  24. package/build/src/start/server/DevToolsPluginManager.js.map +1 -1
  25. package/build/src/start/server/MCP.js +28 -5
  26. package/build/src/start/server/MCP.js.map +1 -1
  27. package/build/src/start/server/UrlCreator.js +1 -1
  28. package/build/src/start/server/UrlCreator.js.map +1 -1
  29. package/build/src/start/server/metro/DevToolsPluginWebsocketEndpoint.js +10 -2
  30. package/build/src/start/server/metro/DevToolsPluginWebsocketEndpoint.js.map +1 -1
  31. package/build/src/start/server/metro/MetroBundlerDevServer.js +29 -155
  32. package/build/src/start/server/metro/MetroBundlerDevServer.js.map +1 -1
  33. package/build/src/start/server/metro/MetroTerminalReporter.js +151 -33
  34. package/build/src/start/server/metro/MetroTerminalReporter.js.map +1 -1
  35. package/build/src/start/server/metro/createExpoAutolinkingResolver.js +1 -3
  36. package/build/src/start/server/metro/createExpoAutolinkingResolver.js.map +1 -1
  37. package/build/src/start/server/metro/createExpoFallbackResolver.js +1 -3
  38. package/build/src/start/server/metro/createExpoFallbackResolver.js.map +1 -1
  39. package/build/src/start/server/metro/createServerComponentsMiddleware.js +1 -2
  40. package/build/src/start/server/metro/createServerComponentsMiddleware.js.map +1 -1
  41. package/build/src/start/server/metro/createServerRouteMiddleware.js +2 -2
  42. package/build/src/start/server/metro/createServerRouteMiddleware.js.map +1 -1
  43. package/build/src/start/server/metro/debugging/createDebugMiddleware.js +23 -9
  44. package/build/src/start/server/metro/debugging/createDebugMiddleware.js.map +1 -1
  45. package/build/src/start/server/metro/dev-server/compression.js +45 -0
  46. package/build/src/start/server/metro/dev-server/compression.js.map +1 -0
  47. package/build/src/start/server/metro/dev-server/createMetroMiddleware.js +2 -2
  48. package/build/src/start/server/metro/dev-server/createMetroMiddleware.js.map +1 -1
  49. package/build/src/start/server/metro/externals.js +11 -0
  50. package/build/src/start/server/metro/externals.js.map +1 -1
  51. package/build/src/start/server/metro/fetchRouterManifest.js +1 -1
  52. package/build/src/start/server/metro/fetchRouterManifest.js.map +1 -1
  53. package/build/src/start/server/metro/instantiateMetro.js +98 -27
  54. package/build/src/start/server/metro/instantiateMetro.js.map +1 -1
  55. package/build/src/start/server/metro/log-box/LogBoxLog.js +7 -11
  56. package/build/src/start/server/metro/log-box/LogBoxLog.js.map +1 -1
  57. package/build/src/start/server/metro/log-box/LogBoxSymbolication.js.map +1 -1
  58. package/build/src/start/server/metro/metroErrorInterface.js +43 -14
  59. package/build/src/start/server/metro/metroErrorInterface.js.map +1 -1
  60. package/build/src/start/server/metro/withMetroMultiPlatform.js +74 -57
  61. package/build/src/start/server/metro/withMetroMultiPlatform.js.map +1 -1
  62. package/build/src/start/server/middleware/CorsMiddleware.js +43 -12
  63. package/build/src/start/server/middleware/CorsMiddleware.js.map +1 -1
  64. package/build/src/start/server/middleware/CreateFileMiddleware.js +63 -24
  65. package/build/src/start/server/middleware/CreateFileMiddleware.js.map +1 -1
  66. package/build/src/start/server/middleware/ExpoGoManifestHandlerMiddleware.js +3 -1
  67. package/build/src/start/server/middleware/ExpoGoManifestHandlerMiddleware.js.map +1 -1
  68. package/build/src/start/server/middleware/ManifestMiddleware.js +14 -9
  69. package/build/src/start/server/middleware/ManifestMiddleware.js.map +1 -1
  70. package/build/src/start/startAsync.js +12 -9
  71. package/build/src/start/startAsync.js.map +1 -1
  72. package/build/src/utils/env.js +36 -2
  73. package/build/src/utils/env.js.map +1 -1
  74. package/build/src/utils/interactive.js +1 -1
  75. package/build/src/utils/interactive.js.map +1 -1
  76. package/build/src/utils/jsonl.js +243 -0
  77. package/build/src/utils/jsonl.js.map +1 -0
  78. package/build/src/utils/net.js +43 -0
  79. package/build/src/utils/net.js.map +1 -0
  80. package/build/src/utils/progress.js +5 -0
  81. package/build/src/utils/progress.js.map +1 -1
  82. package/build/src/utils/telemetry/clients/FetchClient.js +1 -1
  83. package/build/src/utils/telemetry/utils/context.js +1 -1
  84. package/build/src/utils/url.js +4 -8
  85. package/build/src/utils/url.js.map +1 -1
  86. package/package.json +25 -28
  87. package/static/canary/react-is/cjs/react-is.development.js +133 -0
  88. package/static/canary/react-is/cjs/react-is.production.js +130 -0
  89. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js +16820 -0
  90. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js +10552 -0
  91. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js +11255 -0
  92. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +17064 -0
  93. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +10742 -0
  94. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +11450 -0
  95. package/static/canary/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
  96. package/static/canary/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
  97. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
  98. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
  99. package/static/canary/scheduler/cjs/scheduler.development.js +364 -0
  100. package/static/canary/scheduler/cjs/scheduler.native.development.js +350 -0
  101. package/static/canary/scheduler/cjs/scheduler.native.production.js +330 -0
  102. package/static/canary/scheduler/cjs/scheduler.production.js +340 -0
  103. package/static/canary-full/node_modules/react/LICENSE +21 -0
  104. package/static/canary-full/node_modules/react/README.md +37 -0
  105. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.development.js +24 -0
  106. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  107. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.profiling.js +16 -0
  108. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.development.js +349 -0
  109. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  110. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
  111. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +385 -0
  112. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
  113. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.development.js +358 -0
  114. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  115. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.profiling.js +34 -0
  116. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +385 -0
  117. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
  118. package/static/canary-full/node_modules/react/cjs/react.development.js +1250 -0
  119. package/static/canary-full/node_modules/react/cjs/react.production.js +544 -0
  120. package/static/canary-full/node_modules/react/cjs/react.react-server.development.js +815 -0
  121. package/static/canary-full/node_modules/react/cjs/react.react-server.production.js +429 -0
  122. package/static/canary-full/node_modules/react/compiler-runtime.js +14 -0
  123. package/static/canary-full/node_modules/react/index.js +7 -0
  124. package/static/canary-full/node_modules/react/jsx-dev-runtime.js +7 -0
  125. package/static/canary-full/node_modules/react/jsx-dev-runtime.react-server.js +7 -0
  126. package/static/canary-full/node_modules/react/jsx-runtime.js +7 -0
  127. package/static/canary-full/node_modules/react/jsx-runtime.react-server.js +7 -0
  128. package/static/canary-full/node_modules/react/package.json +51 -0
  129. package/static/canary-full/node_modules/react/react.react-server.js +7 -0
  130. package/static/canary-full/node_modules/react-dom/LICENSE +21 -0
  131. package/static/canary-full/node_modules/react-dom/README.md +60 -0
  132. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.development.js +25089 -0
  133. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.production.js +15426 -0
  134. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.development.js +25476 -0
  135. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.profiling.js +16296 -0
  136. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +9035 -0
  137. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +5892 -0
  138. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +9035 -0
  139. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +5972 -0
  140. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.development.js +9424 -0
  141. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.production.js +6384 -0
  142. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.development.js +8739 -0
  143. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.production.js +5967 -0
  144. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.development.js +9443 -0
  145. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.production.js +6477 -0
  146. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.development.js +9317 -0
  147. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.production.js +6372 -0
  148. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.development.js +24 -0
  149. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.production.js +21 -0
  150. package/static/canary-full/node_modules/react-dom/cjs/react-dom.development.js +424 -0
  151. package/static/canary-full/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  152. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.development.js +340 -0
  153. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.production.js +152 -0
  154. package/static/canary-full/node_modules/react-dom/client.js +38 -0
  155. package/static/canary-full/node_modules/react-dom/client.react-server.js +5 -0
  156. package/static/canary-full/node_modules/react-dom/index.js +38 -0
  157. package/static/canary-full/node_modules/react-dom/package.json +117 -0
  158. package/static/canary-full/node_modules/react-dom/profiling.js +38 -0
  159. package/static/canary-full/node_modules/react-dom/profiling.react-server.js +5 -0
  160. package/static/canary-full/node_modules/react-dom/react-dom.react-server.js +7 -0
  161. package/static/canary-full/node_modules/react-dom/server.browser.js +18 -0
  162. package/static/canary-full/node_modules/react-dom/server.bun.js +19 -0
  163. package/static/canary-full/node_modules/react-dom/server.edge.js +19 -0
  164. package/static/canary-full/node_modules/react-dom/server.js +3 -0
  165. package/static/canary-full/node_modules/react-dom/server.node.js +18 -0
  166. package/static/canary-full/node_modules/react-dom/server.react-server.js +5 -0
  167. package/static/canary-full/node_modules/react-dom/static.browser.js +12 -0
  168. package/static/canary-full/node_modules/react-dom/static.edge.js +12 -0
  169. package/static/canary-full/node_modules/react-dom/static.js +3 -0
  170. package/static/canary-full/node_modules/react-dom/static.node.js +12 -0
  171. package/static/canary-full/node_modules/react-dom/static.react-server.js +5 -0
  172. package/static/canary-full/node_modules/react-dom/test-utils.js +7 -0
  173. package/build/src/start/interface/cliExtensionMenuItemHandler.js +0 -173
  174. package/build/src/start/interface/cliExtensionMenuItemHandler.js.map +0 -1
  175. package/build/src/start/interface/createDevToolsMenuItems.js +0 -159
  176. package/build/src/start/interface/createDevToolsMenuItems.js.map +0 -1
  177. package/build/src/start/server/DevToolsPlugin.js +0 -60
  178. package/build/src/start/server/DevToolsPlugin.js.map +0 -1
  179. package/build/src/start/server/DevToolsPlugin.schema.js +0 -79
  180. package/build/src/start/server/DevToolsPlugin.schema.js.map +0 -1
  181. package/build/src/start/server/DevToolsPluginCliExtensionExecutor.js +0 -119
  182. package/build/src/start/server/DevToolsPluginCliExtensionExecutor.js.map +0 -1
  183. package/build/src/start/server/DevToolsPluginCliExtensionResults.js +0 -61
  184. package/build/src/start/server/DevToolsPluginCliExtensionResults.js.map +0 -1
  185. package/build/src/start/server/middleware/DataLoaderModuleMiddleware.js +0 -75
  186. package/build/src/start/server/middleware/DataLoaderModuleMiddleware.js.map +0 -1
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-test-utils.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ "production" !== process.env.NODE_ENV &&
13
+ (function () {
14
+ var React = require("react"),
15
+ didWarnAboutUsingAct = !1;
16
+ exports.act = function (callback) {
17
+ !1 === didWarnAboutUsingAct &&
18
+ ((didWarnAboutUsingAct = !0),
19
+ console.error(
20
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
21
+ ));
22
+ return React.act(callback);
23
+ };
24
+ })();
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-test-utils.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ var React = require("react"),
13
+ didWarnAboutUsingAct = !1;
14
+ exports.act = function (callback) {
15
+ !1 === didWarnAboutUsingAct &&
16
+ ((didWarnAboutUsingAct = !0),
17
+ console.error(
18
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
19
+ ));
20
+ return React.act(callback);
21
+ };
@@ -0,0 +1,424 @@
1
+ /**
2
+ * @license React
3
+ * react-dom.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ "production" !== process.env.NODE_ENV &&
13
+ (function () {
14
+ function noop() {}
15
+ function testStringCoercion(value) {
16
+ return "" + value;
17
+ }
18
+ function createPortal$1(children, containerInfo, implementation) {
19
+ var key =
20
+ 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
21
+ try {
22
+ testStringCoercion(key);
23
+ var JSCompiler_inline_result = !1;
24
+ } catch (e) {
25
+ JSCompiler_inline_result = !0;
26
+ }
27
+ JSCompiler_inline_result &&
28
+ (console.error(
29
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
30
+ ("function" === typeof Symbol &&
31
+ Symbol.toStringTag &&
32
+ key[Symbol.toStringTag]) ||
33
+ key.constructor.name ||
34
+ "Object"
35
+ ),
36
+ testStringCoercion(key));
37
+ return {
38
+ $$typeof: REACT_PORTAL_TYPE,
39
+ key: null == key ? null : "" + key,
40
+ children: children,
41
+ containerInfo: containerInfo,
42
+ implementation: implementation
43
+ };
44
+ }
45
+ function getCrossOriginStringAs(as, input) {
46
+ if ("font" === as) return "";
47
+ if ("string" === typeof input)
48
+ return "use-credentials" === input ? input : "";
49
+ }
50
+ function getValueDescriptorExpectingObjectForWarning(thing) {
51
+ return null === thing
52
+ ? "`null`"
53
+ : void 0 === thing
54
+ ? "`undefined`"
55
+ : "" === thing
56
+ ? "an empty string"
57
+ : 'something with type "' + typeof thing + '"';
58
+ }
59
+ function getValueDescriptorExpectingEnumForWarning(thing) {
60
+ return null === thing
61
+ ? "`null`"
62
+ : void 0 === thing
63
+ ? "`undefined`"
64
+ : "" === thing
65
+ ? "an empty string"
66
+ : "string" === typeof thing
67
+ ? JSON.stringify(thing)
68
+ : "number" === typeof thing
69
+ ? "`" + thing + "`"
70
+ : 'something with type "' + typeof thing + '"';
71
+ }
72
+ function resolveDispatcher() {
73
+ var dispatcher = ReactSharedInternals.H;
74
+ null === dispatcher &&
75
+ console.error(
76
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
77
+ );
78
+ return dispatcher;
79
+ }
80
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
81
+ "function" ===
82
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
83
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
84
+ var React = require("react"),
85
+ Internals = {
86
+ d: {
87
+ f: noop,
88
+ r: function () {
89
+ throw Error(
90
+ "Invalid form element. requestFormReset must be passed a form that was rendered by React."
91
+ );
92
+ },
93
+ D: noop,
94
+ C: noop,
95
+ L: noop,
96
+ m: noop,
97
+ X: noop,
98
+ S: noop,
99
+ M: noop
100
+ },
101
+ p: 0,
102
+ findDOMNode: null
103
+ },
104
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
105
+ ReactSharedInternals =
106
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
107
+ ("function" === typeof Map &&
108
+ null != Map.prototype &&
109
+ "function" === typeof Map.prototype.forEach &&
110
+ "function" === typeof Set &&
111
+ null != Set.prototype &&
112
+ "function" === typeof Set.prototype.clear &&
113
+ "function" === typeof Set.prototype.forEach) ||
114
+ console.error(
115
+ "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
116
+ );
117
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
118
+ Internals;
119
+ exports.createPortal = function (children, container) {
120
+ var key =
121
+ 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
122
+ if (
123
+ !container ||
124
+ (1 !== container.nodeType &&
125
+ 9 !== container.nodeType &&
126
+ 11 !== container.nodeType)
127
+ )
128
+ throw Error("Target container is not a DOM element.");
129
+ return createPortal$1(children, container, null, key);
130
+ };
131
+ exports.flushSync = function (fn) {
132
+ var previousTransition = ReactSharedInternals.T,
133
+ previousUpdatePriority = Internals.p;
134
+ try {
135
+ if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))
136
+ return fn();
137
+ } finally {
138
+ (ReactSharedInternals.T = previousTransition),
139
+ (Internals.p = previousUpdatePriority),
140
+ Internals.d.f() &&
141
+ console.error(
142
+ "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
143
+ );
144
+ }
145
+ };
146
+ exports.preconnect = function (href, options) {
147
+ "string" === typeof href && href
148
+ ? null != options && "object" !== typeof options
149
+ ? console.error(
150
+ "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
151
+ getValueDescriptorExpectingEnumForWarning(options)
152
+ )
153
+ : null != options &&
154
+ "string" !== typeof options.crossOrigin &&
155
+ console.error(
156
+ "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
157
+ getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
158
+ )
159
+ : console.error(
160
+ "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
161
+ getValueDescriptorExpectingObjectForWarning(href)
162
+ );
163
+ "string" === typeof href &&
164
+ (options
165
+ ? ((options = options.crossOrigin),
166
+ (options =
167
+ "string" === typeof options
168
+ ? "use-credentials" === options
169
+ ? options
170
+ : ""
171
+ : void 0))
172
+ : (options = null),
173
+ Internals.d.C(href, options));
174
+ };
175
+ exports.prefetchDNS = function (href) {
176
+ if ("string" !== typeof href || !href)
177
+ console.error(
178
+ "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
179
+ getValueDescriptorExpectingObjectForWarning(href)
180
+ );
181
+ else if (1 < arguments.length) {
182
+ var options = arguments[1];
183
+ "object" === typeof options && options.hasOwnProperty("crossOrigin")
184
+ ? console.error(
185
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
186
+ getValueDescriptorExpectingEnumForWarning(options)
187
+ )
188
+ : console.error(
189
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
190
+ getValueDescriptorExpectingEnumForWarning(options)
191
+ );
192
+ }
193
+ "string" === typeof href && Internals.d.D(href);
194
+ };
195
+ exports.preinit = function (href, options) {
196
+ "string" === typeof href && href
197
+ ? null == options || "object" !== typeof options
198
+ ? console.error(
199
+ "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
200
+ getValueDescriptorExpectingEnumForWarning(options)
201
+ )
202
+ : "style" !== options.as &&
203
+ "script" !== options.as &&
204
+ console.error(
205
+ 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
206
+ getValueDescriptorExpectingEnumForWarning(options.as)
207
+ )
208
+ : console.error(
209
+ "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
210
+ getValueDescriptorExpectingObjectForWarning(href)
211
+ );
212
+ if (
213
+ "string" === typeof href &&
214
+ options &&
215
+ "string" === typeof options.as
216
+ ) {
217
+ var as = options.as,
218
+ crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
219
+ integrity =
220
+ "string" === typeof options.integrity ? options.integrity : void 0,
221
+ fetchPriority =
222
+ "string" === typeof options.fetchPriority
223
+ ? options.fetchPriority
224
+ : void 0;
225
+ "style" === as
226
+ ? Internals.d.S(
227
+ href,
228
+ "string" === typeof options.precedence
229
+ ? options.precedence
230
+ : void 0,
231
+ {
232
+ crossOrigin: crossOrigin,
233
+ integrity: integrity,
234
+ fetchPriority: fetchPriority
235
+ }
236
+ )
237
+ : "script" === as &&
238
+ Internals.d.X(href, {
239
+ crossOrigin: crossOrigin,
240
+ integrity: integrity,
241
+ fetchPriority: fetchPriority,
242
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
243
+ });
244
+ }
245
+ };
246
+ exports.preinitModule = function (href, options) {
247
+ var encountered = "";
248
+ ("string" === typeof href && href) ||
249
+ (encountered +=
250
+ " The `href` argument encountered was " +
251
+ getValueDescriptorExpectingObjectForWarning(href) +
252
+ ".");
253
+ void 0 !== options && "object" !== typeof options
254
+ ? (encountered +=
255
+ " The `options` argument encountered was " +
256
+ getValueDescriptorExpectingObjectForWarning(options) +
257
+ ".")
258
+ : options &&
259
+ "as" in options &&
260
+ "script" !== options.as &&
261
+ (encountered +=
262
+ " The `as` option encountered was " +
263
+ getValueDescriptorExpectingEnumForWarning(options.as) +
264
+ ".");
265
+ if (encountered)
266
+ console.error(
267
+ "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
268
+ encountered
269
+ );
270
+ else
271
+ switch (
272
+ ((encountered =
273
+ options && "string" === typeof options.as ? options.as : "script"),
274
+ encountered)
275
+ ) {
276
+ case "script":
277
+ break;
278
+ default:
279
+ (encountered =
280
+ getValueDescriptorExpectingEnumForWarning(encountered)),
281
+ console.error(
282
+ 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
283
+ encountered,
284
+ href
285
+ );
286
+ }
287
+ if ("string" === typeof href)
288
+ if ("object" === typeof options && null !== options) {
289
+ if (null == options.as || "script" === options.as)
290
+ (encountered = getCrossOriginStringAs(
291
+ options.as,
292
+ options.crossOrigin
293
+ )),
294
+ Internals.d.M(href, {
295
+ crossOrigin: encountered,
296
+ integrity:
297
+ "string" === typeof options.integrity
298
+ ? options.integrity
299
+ : void 0,
300
+ nonce:
301
+ "string" === typeof options.nonce ? options.nonce : void 0
302
+ });
303
+ } else null == options && Internals.d.M(href);
304
+ };
305
+ exports.preload = function (href, options) {
306
+ var encountered = "";
307
+ ("string" === typeof href && href) ||
308
+ (encountered +=
309
+ " The `href` argument encountered was " +
310
+ getValueDescriptorExpectingObjectForWarning(href) +
311
+ ".");
312
+ null == options || "object" !== typeof options
313
+ ? (encountered +=
314
+ " The `options` argument encountered was " +
315
+ getValueDescriptorExpectingObjectForWarning(options) +
316
+ ".")
317
+ : ("string" === typeof options.as && options.as) ||
318
+ (encountered +=
319
+ " The `as` option encountered was " +
320
+ getValueDescriptorExpectingObjectForWarning(options.as) +
321
+ ".");
322
+ encountered &&
323
+ console.error(
324
+ 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
325
+ encountered
326
+ );
327
+ if (
328
+ "string" === typeof href &&
329
+ "object" === typeof options &&
330
+ null !== options &&
331
+ "string" === typeof options.as
332
+ ) {
333
+ encountered = options.as;
334
+ var crossOrigin = getCrossOriginStringAs(
335
+ encountered,
336
+ options.crossOrigin
337
+ );
338
+ Internals.d.L(href, encountered, {
339
+ crossOrigin: crossOrigin,
340
+ integrity:
341
+ "string" === typeof options.integrity ? options.integrity : void 0,
342
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0,
343
+ type: "string" === typeof options.type ? options.type : void 0,
344
+ fetchPriority:
345
+ "string" === typeof options.fetchPriority
346
+ ? options.fetchPriority
347
+ : void 0,
348
+ referrerPolicy:
349
+ "string" === typeof options.referrerPolicy
350
+ ? options.referrerPolicy
351
+ : void 0,
352
+ imageSrcSet:
353
+ "string" === typeof options.imageSrcSet
354
+ ? options.imageSrcSet
355
+ : void 0,
356
+ imageSizes:
357
+ "string" === typeof options.imageSizes
358
+ ? options.imageSizes
359
+ : void 0,
360
+ media: "string" === typeof options.media ? options.media : void 0
361
+ });
362
+ }
363
+ };
364
+ exports.preloadModule = function (href, options) {
365
+ var encountered = "";
366
+ ("string" === typeof href && href) ||
367
+ (encountered +=
368
+ " The `href` argument encountered was " +
369
+ getValueDescriptorExpectingObjectForWarning(href) +
370
+ ".");
371
+ void 0 !== options && "object" !== typeof options
372
+ ? (encountered +=
373
+ " The `options` argument encountered was " +
374
+ getValueDescriptorExpectingObjectForWarning(options) +
375
+ ".")
376
+ : options &&
377
+ "as" in options &&
378
+ "string" !== typeof options.as &&
379
+ (encountered +=
380
+ " The `as` option encountered was " +
381
+ getValueDescriptorExpectingObjectForWarning(options.as) +
382
+ ".");
383
+ encountered &&
384
+ console.error(
385
+ 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
386
+ encountered
387
+ );
388
+ "string" === typeof href &&
389
+ (options
390
+ ? ((encountered = getCrossOriginStringAs(
391
+ options.as,
392
+ options.crossOrigin
393
+ )),
394
+ Internals.d.m(href, {
395
+ as:
396
+ "string" === typeof options.as && "script" !== options.as
397
+ ? options.as
398
+ : void 0,
399
+ crossOrigin: encountered,
400
+ integrity:
401
+ "string" === typeof options.integrity
402
+ ? options.integrity
403
+ : void 0
404
+ }))
405
+ : Internals.d.m(href));
406
+ };
407
+ exports.requestFormReset = function (form) {
408
+ Internals.d.r(form);
409
+ };
410
+ exports.unstable_batchedUpdates = function (fn, a) {
411
+ return fn(a);
412
+ };
413
+ exports.useFormState = function (action, initialState, permalink) {
414
+ return resolveDispatcher().useFormState(action, initialState, permalink);
415
+ };
416
+ exports.useFormStatus = function () {
417
+ return resolveDispatcher().useHostTransitionStatus();
418
+ };
419
+ exports.version = "19.2.0-canary-5252281c-20250408";
420
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
421
+ "function" ===
422
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
423
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
424
+ })();
@@ -0,0 +1,210 @@
1
+ /**
2
+ * @license React
3
+ * react-dom.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ var React = require("react");
13
+ function formatProdErrorMessage(code) {
14
+ var url = "https://react.dev/errors/" + code;
15
+ if (1 < arguments.length) {
16
+ url += "?args[]=" + encodeURIComponent(arguments[1]);
17
+ for (var i = 2; i < arguments.length; i++)
18
+ url += "&args[]=" + encodeURIComponent(arguments[i]);
19
+ }
20
+ return (
21
+ "Minified React error #" +
22
+ code +
23
+ "; visit " +
24
+ url +
25
+ " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
26
+ );
27
+ }
28
+ function noop() {}
29
+ var Internals = {
30
+ d: {
31
+ f: noop,
32
+ r: function () {
33
+ throw Error(formatProdErrorMessage(522));
34
+ },
35
+ D: noop,
36
+ C: noop,
37
+ L: noop,
38
+ m: noop,
39
+ X: noop,
40
+ S: noop,
41
+ M: noop
42
+ },
43
+ p: 0,
44
+ findDOMNode: null
45
+ },
46
+ REACT_PORTAL_TYPE = Symbol.for("react.portal");
47
+ function createPortal$1(children, containerInfo, implementation) {
48
+ var key =
49
+ 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
50
+ return {
51
+ $$typeof: REACT_PORTAL_TYPE,
52
+ key: null == key ? null : "" + key,
53
+ children: children,
54
+ containerInfo: containerInfo,
55
+ implementation: implementation
56
+ };
57
+ }
58
+ var ReactSharedInternals =
59
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
60
+ function getCrossOriginStringAs(as, input) {
61
+ if ("font" === as) return "";
62
+ if ("string" === typeof input)
63
+ return "use-credentials" === input ? input : "";
64
+ }
65
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
66
+ Internals;
67
+ exports.createPortal = function (children, container) {
68
+ var key =
69
+ 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
70
+ if (
71
+ !container ||
72
+ (1 !== container.nodeType &&
73
+ 9 !== container.nodeType &&
74
+ 11 !== container.nodeType)
75
+ )
76
+ throw Error(formatProdErrorMessage(299));
77
+ return createPortal$1(children, container, null, key);
78
+ };
79
+ exports.flushSync = function (fn) {
80
+ var previousTransition = ReactSharedInternals.T,
81
+ previousUpdatePriority = Internals.p;
82
+ try {
83
+ if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn();
84
+ } finally {
85
+ (ReactSharedInternals.T = previousTransition),
86
+ (Internals.p = previousUpdatePriority),
87
+ Internals.d.f();
88
+ }
89
+ };
90
+ exports.preconnect = function (href, options) {
91
+ "string" === typeof href &&
92
+ (options
93
+ ? ((options = options.crossOrigin),
94
+ (options =
95
+ "string" === typeof options
96
+ ? "use-credentials" === options
97
+ ? options
98
+ : ""
99
+ : void 0))
100
+ : (options = null),
101
+ Internals.d.C(href, options));
102
+ };
103
+ exports.prefetchDNS = function (href) {
104
+ "string" === typeof href && Internals.d.D(href);
105
+ };
106
+ exports.preinit = function (href, options) {
107
+ if ("string" === typeof href && options && "string" === typeof options.as) {
108
+ var as = options.as,
109
+ crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
110
+ integrity =
111
+ "string" === typeof options.integrity ? options.integrity : void 0,
112
+ fetchPriority =
113
+ "string" === typeof options.fetchPriority
114
+ ? options.fetchPriority
115
+ : void 0;
116
+ "style" === as
117
+ ? Internals.d.S(
118
+ href,
119
+ "string" === typeof options.precedence ? options.precedence : void 0,
120
+ {
121
+ crossOrigin: crossOrigin,
122
+ integrity: integrity,
123
+ fetchPriority: fetchPriority
124
+ }
125
+ )
126
+ : "script" === as &&
127
+ Internals.d.X(href, {
128
+ crossOrigin: crossOrigin,
129
+ integrity: integrity,
130
+ fetchPriority: fetchPriority,
131
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
132
+ });
133
+ }
134
+ };
135
+ exports.preinitModule = function (href, options) {
136
+ if ("string" === typeof href)
137
+ if ("object" === typeof options && null !== options) {
138
+ if (null == options.as || "script" === options.as) {
139
+ var crossOrigin = getCrossOriginStringAs(
140
+ options.as,
141
+ options.crossOrigin
142
+ );
143
+ Internals.d.M(href, {
144
+ crossOrigin: crossOrigin,
145
+ integrity:
146
+ "string" === typeof options.integrity ? options.integrity : void 0,
147
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
148
+ });
149
+ }
150
+ } else null == options && Internals.d.M(href);
151
+ };
152
+ exports.preload = function (href, options) {
153
+ if (
154
+ "string" === typeof href &&
155
+ "object" === typeof options &&
156
+ null !== options &&
157
+ "string" === typeof options.as
158
+ ) {
159
+ var as = options.as,
160
+ crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
161
+ Internals.d.L(href, as, {
162
+ crossOrigin: crossOrigin,
163
+ integrity:
164
+ "string" === typeof options.integrity ? options.integrity : void 0,
165
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0,
166
+ type: "string" === typeof options.type ? options.type : void 0,
167
+ fetchPriority:
168
+ "string" === typeof options.fetchPriority
169
+ ? options.fetchPriority
170
+ : void 0,
171
+ referrerPolicy:
172
+ "string" === typeof options.referrerPolicy
173
+ ? options.referrerPolicy
174
+ : void 0,
175
+ imageSrcSet:
176
+ "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
177
+ imageSizes:
178
+ "string" === typeof options.imageSizes ? options.imageSizes : void 0,
179
+ media: "string" === typeof options.media ? options.media : void 0
180
+ });
181
+ }
182
+ };
183
+ exports.preloadModule = function (href, options) {
184
+ if ("string" === typeof href)
185
+ if (options) {
186
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
187
+ Internals.d.m(href, {
188
+ as:
189
+ "string" === typeof options.as && "script" !== options.as
190
+ ? options.as
191
+ : void 0,
192
+ crossOrigin: crossOrigin,
193
+ integrity:
194
+ "string" === typeof options.integrity ? options.integrity : void 0
195
+ });
196
+ } else Internals.d.m(href);
197
+ };
198
+ exports.requestFormReset = function (form) {
199
+ Internals.d.r(form);
200
+ };
201
+ exports.unstable_batchedUpdates = function (fn, a) {
202
+ return fn(a);
203
+ };
204
+ exports.useFormState = function (action, initialState, permalink) {
205
+ return ReactSharedInternals.H.useFormState(action, initialState, permalink);
206
+ };
207
+ exports.useFormStatus = function () {
208
+ return ReactSharedInternals.H.useHostTransitionStatus();
209
+ };
210
+ exports.version = "19.2.0-canary-5252281c-20250408";