react-dom 19.1.0-canary-5398b711-20250314 → 19.1.0-canary-fbcda19a-20250317
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/cjs/react-dom-client.development.js +223 -258
- package/cjs/react-dom-client.production.js +235 -270
- package/cjs/react-dom-profiling.development.js +223 -258
- package/cjs/react-dom-profiling.profiling.js +262 -297
- package/cjs/react-dom-server-legacy.browser.development.js +7 -5
- package/cjs/react-dom-server-legacy.browser.production.js +7 -5
- package/cjs/react-dom-server-legacy.node.development.js +7 -5
- package/cjs/react-dom-server-legacy.node.production.js +7 -5
- package/cjs/react-dom-server.browser.development.js +9 -7
- package/cjs/react-dom-server.browser.production.js +9 -7
- package/cjs/react-dom-server.bun.development.js +9 -7
- package/cjs/react-dom-server.bun.production.js +9 -7
- package/cjs/react-dom-server.edge.development.js +9 -7
- package/cjs/react-dom-server.edge.production.js +9 -7
- package/cjs/react-dom-server.node.development.js +9 -7
- package/cjs/react-dom-server.node.production.js +9 -7
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -254,8 +254,6 @@
|
|
254
254
|
switch (type) {
|
255
255
|
case REACT_FRAGMENT_TYPE:
|
256
256
|
return "Fragment";
|
257
|
-
case REACT_PORTAL_TYPE:
|
258
|
-
return "Portal";
|
259
257
|
case REACT_PROFILER_TYPE:
|
260
258
|
return "Profiler";
|
261
259
|
case REACT_STRICT_MODE_TYPE:
|
@@ -264,6 +262,8 @@
|
|
264
262
|
return "Suspense";
|
265
263
|
case REACT_SUSPENSE_LIST_TYPE:
|
266
264
|
return "SuspenseList";
|
265
|
+
case REACT_ACTIVITY_TYPE:
|
266
|
+
return "Activity";
|
267
267
|
}
|
268
268
|
if ("object" === typeof type)
|
269
269
|
switch (
|
@@ -273,6 +273,8 @@
|
|
273
273
|
),
|
274
274
|
type.$$typeof)
|
275
275
|
) {
|
276
|
+
case REACT_PORTAL_TYPE:
|
277
|
+
return "Portal";
|
276
278
|
case REACT_CONTEXT_TYPE:
|
277
279
|
return (type.displayName || "Context") + ".Provider";
|
278
280
|
case REACT_CONSUMER_TYPE:
|
@@ -310,6 +312,8 @@
|
|
310
312
|
function getComponentNameFromFiber(fiber) {
|
311
313
|
var type = fiber.type;
|
312
314
|
switch (fiber.tag) {
|
315
|
+
case 31:
|
316
|
+
return "Activity";
|
313
317
|
case 24:
|
314
318
|
return "Cache";
|
315
319
|
case 9:
|
@@ -1405,6 +1409,8 @@
|
|
1405
1409
|
return describeNativeComponentFrame(fiber.type.render, !1);
|
1406
1410
|
case 1:
|
1407
1411
|
return describeNativeComponentFrame(fiber.type, !0);
|
1412
|
+
case 31:
|
1413
|
+
return describeBuiltInComponentFrame("Activity");
|
1408
1414
|
default:
|
1409
1415
|
return "";
|
1410
1416
|
}
|
@@ -1462,6 +1468,9 @@
|
|
1462
1468
|
case 19:
|
1463
1469
|
info += describeBuiltInComponentFrame("SuspenseList");
|
1464
1470
|
break;
|
1471
|
+
case 31:
|
1472
|
+
info += describeBuiltInComponentFrame("Activity");
|
1473
|
+
break;
|
1465
1474
|
case 30:
|
1466
1475
|
case 0:
|
1467
1476
|
case 15:
|
@@ -8976,32 +8985,32 @@
|
|
8976
8985
|
return current;
|
8977
8986
|
}
|
8978
8987
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8979
|
-
var
|
8980
|
-
var
|
8988
|
+
var JSCompiler_object_inline_digest_2465;
|
8989
|
+
var JSCompiler_object_inline_stack_2466 = workInProgress.pendingProps;
|
8981
8990
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8982
|
-
var
|
8991
|
+
var JSCompiler_object_inline_componentStack_2467 = !1;
|
8983
8992
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8984
|
-
(
|
8985
|
-
(
|
8993
|
+
(JSCompiler_object_inline_digest_2465 = didSuspend) ||
|
8994
|
+
(JSCompiler_object_inline_digest_2465 =
|
8986
8995
|
null !== current && null === current.memoizedState
|
8987
8996
|
? !1
|
8988
8997
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8989
|
-
|
8990
|
-
((
|
8998
|
+
JSCompiler_object_inline_digest_2465 &&
|
8999
|
+
((JSCompiler_object_inline_componentStack_2467 = !0),
|
8991
9000
|
(workInProgress.flags &= -129));
|
8992
|
-
|
9001
|
+
JSCompiler_object_inline_digest_2465 = 0 !== (workInProgress.flags & 32);
|
8993
9002
|
workInProgress.flags &= -33;
|
8994
9003
|
if (null === current) {
|
8995
9004
|
if (isHydrating) {
|
8996
|
-
|
9005
|
+
JSCompiler_object_inline_componentStack_2467
|
8997
9006
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8998
9007
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8999
9008
|
if (isHydrating) {
|
9000
|
-
var
|
9009
|
+
var JSCompiler_object_inline_message_2464 = nextHydratableInstance;
|
9001
9010
|
var JSCompiler_temp;
|
9002
|
-
if (!(JSCompiler_temp = !
|
9011
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2464)) {
|
9003
9012
|
c: {
|
9004
|
-
var instance =
|
9013
|
+
var instance = JSCompiler_object_inline_message_2464;
|
9005
9014
|
for (
|
9006
9015
|
JSCompiler_temp = rootOrSingletonContext;
|
9007
9016
|
8 !== instance.nodeType;
|
@@ -9043,77 +9052,77 @@
|
|
9043
9052
|
JSCompiler_temp &&
|
9044
9053
|
(warnNonHydratedInstance(
|
9045
9054
|
workInProgress,
|
9046
|
-
|
9055
|
+
JSCompiler_object_inline_message_2464
|
9047
9056
|
),
|
9048
9057
|
throwOnHydrationMismatch(workInProgress));
|
9049
9058
|
}
|
9050
|
-
|
9059
|
+
JSCompiler_object_inline_message_2464 = workInProgress.memoizedState;
|
9051
9060
|
if (
|
9052
|
-
null !==
|
9053
|
-
((
|
9054
|
-
|
9055
|
-
null !==
|
9061
|
+
null !== JSCompiler_object_inline_message_2464 &&
|
9062
|
+
((JSCompiler_object_inline_message_2464 =
|
9063
|
+
JSCompiler_object_inline_message_2464.dehydrated),
|
9064
|
+
null !== JSCompiler_object_inline_message_2464)
|
9056
9065
|
)
|
9057
9066
|
return (
|
9058
|
-
isSuspenseInstanceFallback(
|
9067
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2464)
|
9059
9068
|
? (workInProgress.lanes = 32)
|
9060
9069
|
: (workInProgress.lanes = 536870912),
|
9061
9070
|
null
|
9062
9071
|
);
|
9063
9072
|
popSuspenseHandler(workInProgress);
|
9064
9073
|
}
|
9065
|
-
|
9066
|
-
|
9067
|
-
|
9068
|
-
|
9069
|
-
if (
|
9074
|
+
JSCompiler_object_inline_message_2464 =
|
9075
|
+
JSCompiler_object_inline_stack_2466.children;
|
9076
|
+
JSCompiler_object_inline_stack_2466 =
|
9077
|
+
JSCompiler_object_inline_stack_2466.fallback;
|
9078
|
+
if (JSCompiler_object_inline_componentStack_2467)
|
9070
9079
|
return (
|
9071
9080
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9072
|
-
(
|
9081
|
+
(JSCompiler_object_inline_componentStack_2467 =
|
9073
9082
|
workInProgress.mode),
|
9074
|
-
(
|
9083
|
+
(JSCompiler_object_inline_message_2464 =
|
9075
9084
|
mountWorkInProgressOffscreenFiber(
|
9076
9085
|
{
|
9077
9086
|
mode: "hidden",
|
9078
|
-
children:
|
9087
|
+
children: JSCompiler_object_inline_message_2464
|
9079
9088
|
},
|
9080
|
-
|
9089
|
+
JSCompiler_object_inline_componentStack_2467
|
9081
9090
|
)),
|
9082
|
-
(
|
9083
|
-
|
9084
|
-
|
9091
|
+
(JSCompiler_object_inline_stack_2466 = createFiberFromFragment(
|
9092
|
+
JSCompiler_object_inline_stack_2466,
|
9093
|
+
JSCompiler_object_inline_componentStack_2467,
|
9085
9094
|
renderLanes,
|
9086
9095
|
null
|
9087
9096
|
)),
|
9088
|
-
(
|
9089
|
-
(
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
(workInProgress.child =
|
9093
|
-
(
|
9097
|
+
(JSCompiler_object_inline_message_2464.return = workInProgress),
|
9098
|
+
(JSCompiler_object_inline_stack_2466.return = workInProgress),
|
9099
|
+
(JSCompiler_object_inline_message_2464.sibling =
|
9100
|
+
JSCompiler_object_inline_stack_2466),
|
9101
|
+
(workInProgress.child = JSCompiler_object_inline_message_2464),
|
9102
|
+
(JSCompiler_object_inline_componentStack_2467 =
|
9094
9103
|
workInProgress.child),
|
9095
|
-
(
|
9104
|
+
(JSCompiler_object_inline_componentStack_2467.memoizedState =
|
9096
9105
|
mountSuspenseOffscreenState(renderLanes)),
|
9097
|
-
(
|
9106
|
+
(JSCompiler_object_inline_componentStack_2467.childLanes =
|
9098
9107
|
getRemainingWorkInPrimaryTree(
|
9099
9108
|
current,
|
9100
|
-
|
9109
|
+
JSCompiler_object_inline_digest_2465,
|
9101
9110
|
renderLanes
|
9102
9111
|
)),
|
9103
9112
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9104
|
-
|
9113
|
+
JSCompiler_object_inline_stack_2466
|
9105
9114
|
);
|
9106
9115
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9107
9116
|
return mountSuspensePrimaryChildren(
|
9108
9117
|
workInProgress,
|
9109
|
-
|
9118
|
+
JSCompiler_object_inline_message_2464
|
9110
9119
|
);
|
9111
9120
|
}
|
9112
9121
|
var prevState = current.memoizedState;
|
9113
9122
|
if (
|
9114
9123
|
null !== prevState &&
|
9115
|
-
((
|
9116
|
-
null !==
|
9124
|
+
((JSCompiler_object_inline_message_2464 = prevState.dehydrated),
|
9125
|
+
null !== JSCompiler_object_inline_message_2464)
|
9117
9126
|
) {
|
9118
9127
|
if (didSuspend)
|
9119
9128
|
workInProgress.flags & 256
|
@@ -9130,94 +9139,94 @@
|
|
9130
9139
|
(workInProgress.flags |= 128),
|
9131
9140
|
(workInProgress = null))
|
9132
9141
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9133
|
-
(
|
9134
|
-
|
9135
|
-
(
|
9136
|
-
(
|
9142
|
+
(JSCompiler_object_inline_componentStack_2467 =
|
9143
|
+
JSCompiler_object_inline_stack_2466.fallback),
|
9144
|
+
(JSCompiler_object_inline_message_2464 = workInProgress.mode),
|
9145
|
+
(JSCompiler_object_inline_stack_2466 =
|
9137
9146
|
mountWorkInProgressOffscreenFiber(
|
9138
9147
|
{
|
9139
9148
|
mode: "visible",
|
9140
|
-
children:
|
9149
|
+
children: JSCompiler_object_inline_stack_2466.children
|
9141
9150
|
},
|
9142
|
-
|
9151
|
+
JSCompiler_object_inline_message_2464
|
9143
9152
|
)),
|
9144
|
-
(
|
9153
|
+
(JSCompiler_object_inline_componentStack_2467 =
|
9145
9154
|
createFiberFromFragment(
|
9146
|
-
|
9147
|
-
|
9155
|
+
JSCompiler_object_inline_componentStack_2467,
|
9156
|
+
JSCompiler_object_inline_message_2464,
|
9148
9157
|
renderLanes,
|
9149
9158
|
null
|
9150
9159
|
)),
|
9151
|
-
(
|
9152
|
-
(
|
9153
|
-
(
|
9160
|
+
(JSCompiler_object_inline_componentStack_2467.flags |= 2),
|
9161
|
+
(JSCompiler_object_inline_stack_2466.return = workInProgress),
|
9162
|
+
(JSCompiler_object_inline_componentStack_2467.return =
|
9154
9163
|
workInProgress),
|
9155
|
-
(
|
9156
|
-
|
9157
|
-
(workInProgress.child =
|
9164
|
+
(JSCompiler_object_inline_stack_2466.sibling =
|
9165
|
+
JSCompiler_object_inline_componentStack_2467),
|
9166
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2466),
|
9158
9167
|
reconcileChildFibers(
|
9159
9168
|
workInProgress,
|
9160
9169
|
current.child,
|
9161
9170
|
null,
|
9162
9171
|
renderLanes
|
9163
9172
|
),
|
9164
|
-
(
|
9165
|
-
(
|
9173
|
+
(JSCompiler_object_inline_stack_2466 = workInProgress.child),
|
9174
|
+
(JSCompiler_object_inline_stack_2466.memoizedState =
|
9166
9175
|
mountSuspenseOffscreenState(renderLanes)),
|
9167
|
-
(
|
9176
|
+
(JSCompiler_object_inline_stack_2466.childLanes =
|
9168
9177
|
getRemainingWorkInPrimaryTree(
|
9169
9178
|
current,
|
9170
|
-
|
9179
|
+
JSCompiler_object_inline_digest_2465,
|
9171
9180
|
renderLanes
|
9172
9181
|
)),
|
9173
9182
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9174
9183
|
(workInProgress =
|
9175
|
-
|
9184
|
+
JSCompiler_object_inline_componentStack_2467));
|
9176
9185
|
else if (
|
9177
9186
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9178
9187
|
isHydrating &&
|
9179
9188
|
console.error(
|
9180
9189
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9181
9190
|
),
|
9182
|
-
isSuspenseInstanceFallback(
|
9191
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2464))
|
9183
9192
|
) {
|
9184
|
-
|
9185
|
-
|
9186
|
-
|
9187
|
-
if (
|
9188
|
-
JSCompiler_temp =
|
9189
|
-
var message =
|
9190
|
-
instance =
|
9191
|
-
var componentStack =
|
9193
|
+
JSCompiler_object_inline_digest_2465 =
|
9194
|
+
JSCompiler_object_inline_message_2464.nextSibling &&
|
9195
|
+
JSCompiler_object_inline_message_2464.nextSibling.dataset;
|
9196
|
+
if (JSCompiler_object_inline_digest_2465) {
|
9197
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2465.dgst;
|
9198
|
+
var message = JSCompiler_object_inline_digest_2465.msg;
|
9199
|
+
instance = JSCompiler_object_inline_digest_2465.stck;
|
9200
|
+
var componentStack = JSCompiler_object_inline_digest_2465.cstck;
|
9192
9201
|
}
|
9193
|
-
|
9194
|
-
|
9195
|
-
|
9196
|
-
JSCompiler_temp =
|
9202
|
+
JSCompiler_object_inline_message_2464 = message;
|
9203
|
+
JSCompiler_object_inline_digest_2465 = JSCompiler_temp;
|
9204
|
+
JSCompiler_object_inline_stack_2466 = instance;
|
9205
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2467 =
|
9197
9206
|
componentStack;
|
9198
|
-
|
9199
|
-
|
9200
|
-
? Error(
|
9207
|
+
JSCompiler_object_inline_componentStack_2467 =
|
9208
|
+
JSCompiler_object_inline_message_2464
|
9209
|
+
? Error(JSCompiler_object_inline_message_2464)
|
9201
9210
|
: Error(
|
9202
9211
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9203
9212
|
);
|
9204
|
-
|
9205
|
-
|
9206
|
-
|
9207
|
-
|
9208
|
-
|
9213
|
+
JSCompiler_object_inline_componentStack_2467.stack =
|
9214
|
+
JSCompiler_object_inline_stack_2466 || "";
|
9215
|
+
JSCompiler_object_inline_componentStack_2467.digest =
|
9216
|
+
JSCompiler_object_inline_digest_2465;
|
9217
|
+
JSCompiler_object_inline_digest_2465 =
|
9209
9218
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9210
|
-
|
9211
|
-
value:
|
9219
|
+
JSCompiler_object_inline_stack_2466 = {
|
9220
|
+
value: JSCompiler_object_inline_componentStack_2467,
|
9212
9221
|
source: null,
|
9213
|
-
stack:
|
9222
|
+
stack: JSCompiler_object_inline_digest_2465
|
9214
9223
|
};
|
9215
|
-
"string" === typeof
|
9224
|
+
"string" === typeof JSCompiler_object_inline_digest_2465 &&
|
9216
9225
|
CapturedStacks.set(
|
9217
|
-
|
9218
|
-
|
9226
|
+
JSCompiler_object_inline_componentStack_2467,
|
9227
|
+
JSCompiler_object_inline_stack_2466
|
9219
9228
|
);
|
9220
|
-
queueHydrationError(
|
9229
|
+
queueHydrationError(JSCompiler_object_inline_stack_2466);
|
9221
9230
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9222
9231
|
current,
|
9223
9232
|
workInProgress,
|
@@ -9231,44 +9240,44 @@
|
|
9231
9240
|
renderLanes,
|
9232
9241
|
!1
|
9233
9242
|
),
|
9234
|
-
(
|
9243
|
+
(JSCompiler_object_inline_digest_2465 =
|
9235
9244
|
0 !== (renderLanes & current.childLanes)),
|
9236
|
-
didReceiveUpdate ||
|
9245
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2465)
|
9237
9246
|
) {
|
9238
|
-
|
9247
|
+
JSCompiler_object_inline_digest_2465 = workInProgressRoot;
|
9239
9248
|
if (
|
9240
|
-
null !==
|
9241
|
-
((
|
9242
|
-
(
|
9243
|
-
0 !== (
|
9249
|
+
null !== JSCompiler_object_inline_digest_2465 &&
|
9250
|
+
((JSCompiler_object_inline_stack_2466 = renderLanes & -renderLanes),
|
9251
|
+
(JSCompiler_object_inline_stack_2466 =
|
9252
|
+
0 !== (JSCompiler_object_inline_stack_2466 & 42)
|
9244
9253
|
? 1
|
9245
9254
|
: getBumpedLaneForHydrationByLane(
|
9246
|
-
|
9255
|
+
JSCompiler_object_inline_stack_2466
|
9247
9256
|
)),
|
9248
|
-
(
|
9257
|
+
(JSCompiler_object_inline_stack_2466 =
|
9249
9258
|
0 !==
|
9250
|
-
(
|
9251
|
-
(
|
9259
|
+
(JSCompiler_object_inline_stack_2466 &
|
9260
|
+
(JSCompiler_object_inline_digest_2465.suspendedLanes |
|
9252
9261
|
renderLanes))
|
9253
9262
|
? 0
|
9254
|
-
:
|
9255
|
-
0 !==
|
9256
|
-
|
9263
|
+
: JSCompiler_object_inline_stack_2466),
|
9264
|
+
0 !== JSCompiler_object_inline_stack_2466 &&
|
9265
|
+
JSCompiler_object_inline_stack_2466 !== prevState.retryLane)
|
9257
9266
|
)
|
9258
9267
|
throw (
|
9259
|
-
((prevState.retryLane =
|
9268
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2466),
|
9260
9269
|
enqueueConcurrentRenderForLane(
|
9261
9270
|
current,
|
9262
|
-
|
9271
|
+
JSCompiler_object_inline_stack_2466
|
9263
9272
|
),
|
9264
9273
|
scheduleUpdateOnFiber(
|
9265
|
-
|
9274
|
+
JSCompiler_object_inline_digest_2465,
|
9266
9275
|
current,
|
9267
|
-
|
9276
|
+
JSCompiler_object_inline_stack_2466
|
9268
9277
|
),
|
9269
9278
|
SelectiveHydrationException)
|
9270
9279
|
);
|
9271
|
-
|
9280
|
+
JSCompiler_object_inline_message_2464.data ===
|
9272
9281
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9273
9282
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9274
9283
|
current,
|
@@ -9276,14 +9285,14 @@
|
|
9276
9285
|
renderLanes
|
9277
9286
|
);
|
9278
9287
|
} else
|
9279
|
-
|
9288
|
+
JSCompiler_object_inline_message_2464.data ===
|
9280
9289
|
SUSPENSE_PENDING_START_DATA
|
9281
9290
|
? ((workInProgress.flags |= 192),
|
9282
9291
|
(workInProgress.child = current.child),
|
9283
9292
|
(workInProgress = null))
|
9284
9293
|
: ((current = prevState.treeContext),
|
9285
9294
|
(nextHydratableInstance = getNextHydratable(
|
9286
|
-
|
9295
|
+
JSCompiler_object_inline_message_2464.nextSibling
|
9287
9296
|
)),
|
9288
9297
|
(hydrationParentFiber = workInProgress),
|
9289
9298
|
(isHydrating = !0),
|
@@ -9301,57 +9310,57 @@
|
|
9301
9310
|
(treeContextProvider = workInProgress)),
|
9302
9311
|
(workInProgress = mountSuspensePrimaryChildren(
|
9303
9312
|
workInProgress,
|
9304
|
-
|
9313
|
+
JSCompiler_object_inline_stack_2466.children
|
9305
9314
|
)),
|
9306
9315
|
(workInProgress.flags |= 4096));
|
9307
9316
|
return workInProgress;
|
9308
9317
|
}
|
9309
|
-
if (
|
9318
|
+
if (JSCompiler_object_inline_componentStack_2467)
|
9310
9319
|
return (
|
9311
9320
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9312
|
-
(
|
9313
|
-
|
9314
|
-
(
|
9321
|
+
(JSCompiler_object_inline_componentStack_2467 =
|
9322
|
+
JSCompiler_object_inline_stack_2466.fallback),
|
9323
|
+
(JSCompiler_object_inline_message_2464 = workInProgress.mode),
|
9315
9324
|
(JSCompiler_temp = current.child),
|
9316
9325
|
(instance = JSCompiler_temp.sibling),
|
9317
|
-
(
|
9326
|
+
(JSCompiler_object_inline_stack_2466 = createWorkInProgress(
|
9318
9327
|
JSCompiler_temp,
|
9319
9328
|
{
|
9320
9329
|
mode: "hidden",
|
9321
|
-
children:
|
9330
|
+
children: JSCompiler_object_inline_stack_2466.children
|
9322
9331
|
}
|
9323
9332
|
)),
|
9324
|
-
(
|
9333
|
+
(JSCompiler_object_inline_stack_2466.subtreeFlags =
|
9325
9334
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9326
9335
|
null !== instance
|
9327
|
-
? (
|
9336
|
+
? (JSCompiler_object_inline_componentStack_2467 =
|
9328
9337
|
createWorkInProgress(
|
9329
9338
|
instance,
|
9330
|
-
|
9339
|
+
JSCompiler_object_inline_componentStack_2467
|
9331
9340
|
))
|
9332
|
-
: ((
|
9341
|
+
: ((JSCompiler_object_inline_componentStack_2467 =
|
9333
9342
|
createFiberFromFragment(
|
9334
|
-
|
9335
|
-
|
9343
|
+
JSCompiler_object_inline_componentStack_2467,
|
9344
|
+
JSCompiler_object_inline_message_2464,
|
9336
9345
|
renderLanes,
|
9337
9346
|
null
|
9338
9347
|
)),
|
9339
|
-
(
|
9340
|
-
(
|
9348
|
+
(JSCompiler_object_inline_componentStack_2467.flags |= 2)),
|
9349
|
+
(JSCompiler_object_inline_componentStack_2467.return =
|
9341
9350
|
workInProgress),
|
9342
|
-
(
|
9343
|
-
(
|
9344
|
-
|
9345
|
-
(workInProgress.child =
|
9346
|
-
(
|
9347
|
-
|
9348
|
-
(
|
9349
|
-
(
|
9350
|
-
null ===
|
9351
|
-
? (
|
9351
|
+
(JSCompiler_object_inline_stack_2466.return = workInProgress),
|
9352
|
+
(JSCompiler_object_inline_stack_2466.sibling =
|
9353
|
+
JSCompiler_object_inline_componentStack_2467),
|
9354
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2466),
|
9355
|
+
(JSCompiler_object_inline_stack_2466 =
|
9356
|
+
JSCompiler_object_inline_componentStack_2467),
|
9357
|
+
(JSCompiler_object_inline_componentStack_2467 = workInProgress.child),
|
9358
|
+
(JSCompiler_object_inline_message_2464 = current.child.memoizedState),
|
9359
|
+
null === JSCompiler_object_inline_message_2464
|
9360
|
+
? (JSCompiler_object_inline_message_2464 =
|
9352
9361
|
mountSuspenseOffscreenState(renderLanes))
|
9353
9362
|
: ((JSCompiler_temp =
|
9354
|
-
|
9363
|
+
JSCompiler_object_inline_message_2464.cachePool),
|
9355
9364
|
null !== JSCompiler_temp
|
9356
9365
|
? ((instance = CacheContext._currentValue),
|
9357
9366
|
(JSCompiler_temp =
|
@@ -9359,37 +9368,37 @@
|
|
9359
9368
|
? { parent: instance, pool: instance }
|
9360
9369
|
: JSCompiler_temp))
|
9361
9370
|
: (JSCompiler_temp = getSuspendedCache()),
|
9362
|
-
(
|
9371
|
+
(JSCompiler_object_inline_message_2464 = {
|
9363
9372
|
baseLanes:
|
9364
|
-
|
9373
|
+
JSCompiler_object_inline_message_2464.baseLanes | renderLanes,
|
9365
9374
|
cachePool: JSCompiler_temp
|
9366
9375
|
})),
|
9367
|
-
(
|
9368
|
-
|
9369
|
-
(
|
9376
|
+
(JSCompiler_object_inline_componentStack_2467.memoizedState =
|
9377
|
+
JSCompiler_object_inline_message_2464),
|
9378
|
+
(JSCompiler_object_inline_componentStack_2467.childLanes =
|
9370
9379
|
getRemainingWorkInPrimaryTree(
|
9371
9380
|
current,
|
9372
|
-
|
9381
|
+
JSCompiler_object_inline_digest_2465,
|
9373
9382
|
renderLanes
|
9374
9383
|
)),
|
9375
9384
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9376
|
-
|
9385
|
+
JSCompiler_object_inline_stack_2466
|
9377
9386
|
);
|
9378
9387
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9379
9388
|
renderLanes = current.child;
|
9380
9389
|
current = renderLanes.sibling;
|
9381
9390
|
renderLanes = createWorkInProgress(renderLanes, {
|
9382
9391
|
mode: "visible",
|
9383
|
-
children:
|
9392
|
+
children: JSCompiler_object_inline_stack_2466.children
|
9384
9393
|
});
|
9385
9394
|
renderLanes.return = workInProgress;
|
9386
9395
|
renderLanes.sibling = null;
|
9387
9396
|
null !== current &&
|
9388
|
-
((
|
9389
|
-
null ===
|
9397
|
+
((JSCompiler_object_inline_digest_2465 = workInProgress.deletions),
|
9398
|
+
null === JSCompiler_object_inline_digest_2465
|
9390
9399
|
? ((workInProgress.deletions = [current]),
|
9391
9400
|
(workInProgress.flags |= 16))
|
9392
|
-
:
|
9401
|
+
: JSCompiler_object_inline_digest_2465.push(current));
|
9393
9402
|
workInProgress.child = renderLanes;
|
9394
9403
|
workInProgress.memoizedState = null;
|
9395
9404
|
return renderLanes;
|
@@ -9931,10 +9940,10 @@
|
|
9931
9940
|
current.$$typeof === REACT_LAZY_TYPE &&
|
9932
9941
|
(workInProgress =
|
9933
9942
|
" Did you wrap a component in React.lazy() more than once?");
|
9934
|
-
|
9943
|
+
current = getComponentNameFromType(current) || current;
|
9935
9944
|
throw Error(
|
9936
9945
|
"Element type is invalid. Received a promise that resolves to: " +
|
9937
|
-
|
9946
|
+
current +
|
9938
9947
|
". Lazy element type must resolve to a class or function." +
|
9939
9948
|
workInProgress
|
9940
9949
|
);
|
@@ -10042,15 +10051,15 @@
|
|
10042
10051
|
didSuspendOrErrorDEV = !1;
|
10043
10052
|
hydrationDiffRootDEV = null;
|
10044
10053
|
rootOrSingletonContext = !0;
|
10045
|
-
|
10054
|
+
current = mountChildFibers(
|
10046
10055
|
workInProgress,
|
10047
10056
|
null,
|
10048
10057
|
returnFiber,
|
10049
10058
|
renderLanes
|
10050
10059
|
);
|
10051
|
-
for (workInProgress.child =
|
10052
|
-
(
|
10053
|
-
(
|
10060
|
+
for (workInProgress.child = current; current; )
|
10061
|
+
(current.flags = (current.flags & -3) | 4096),
|
10062
|
+
(current = current.sibling);
|
10054
10063
|
}
|
10055
10064
|
else {
|
10056
10065
|
resetHydrationState();
|
@@ -10076,26 +10085,26 @@
|
|
10076
10085
|
return (
|
10077
10086
|
markRef(current, workInProgress),
|
10078
10087
|
null === current
|
10079
|
-
? (
|
10088
|
+
? (current = getResource(
|
10080
10089
|
workInProgress.type,
|
10081
10090
|
null,
|
10082
10091
|
workInProgress.pendingProps,
|
10083
10092
|
null
|
10084
10093
|
))
|
10085
|
-
? (workInProgress.memoizedState =
|
10094
|
+
? (workInProgress.memoizedState = current)
|
10086
10095
|
: isHydrating ||
|
10087
|
-
((
|
10088
|
-
(
|
10096
|
+
((current = workInProgress.type),
|
10097
|
+
(renderLanes = workInProgress.pendingProps),
|
10089
10098
|
(returnFiber = requiredContext(
|
10090
10099
|
rootInstanceStackCursor.current
|
10091
10100
|
)),
|
10092
10101
|
(returnFiber =
|
10093
10102
|
getOwnerDocumentFromRootContainer(
|
10094
10103
|
returnFiber
|
10095
|
-
).createElement(
|
10104
|
+
).createElement(current)),
|
10096
10105
|
(returnFiber[internalInstanceKey] = workInProgress),
|
10097
|
-
(returnFiber[internalPropsKey] =
|
10098
|
-
setInitialProperties(returnFiber,
|
10106
|
+
(returnFiber[internalPropsKey] = renderLanes),
|
10107
|
+
setInitialProperties(returnFiber, current, renderLanes),
|
10099
10108
|
markNodeAsHoistable(returnFiber),
|
10100
10109
|
(workInProgress.stateNode = returnFiber))
|
10101
10110
|
: (workInProgress.memoizedState = getResource(
|
@@ -10224,21 +10233,21 @@
|
|
10224
10233
|
return (
|
10225
10234
|
null === current &&
|
10226
10235
|
isHydrating &&
|
10227
|
-
((
|
10228
|
-
(
|
10229
|
-
(returnFiber =
|
10230
|
-
(
|
10236
|
+
((current = workInProgress.pendingProps),
|
10237
|
+
(renderLanes = getHostContext()),
|
10238
|
+
(returnFiber = renderLanes.ancestorInfo.current),
|
10239
|
+
(current =
|
10231
10240
|
null != returnFiber
|
10232
10241
|
? validateTextNesting(
|
10233
|
-
|
10242
|
+
current,
|
10234
10243
|
returnFiber.tag,
|
10235
|
-
|
10244
|
+
renderLanes.ancestorInfo.implicitRootScope
|
10236
10245
|
)
|
10237
10246
|
: !0),
|
10238
|
-
(
|
10239
|
-
(returnFiber = !
|
10247
|
+
(renderLanes = nextHydratableInstance),
|
10248
|
+
(returnFiber = !renderLanes) ||
|
10240
10249
|
((returnFiber = canHydrateTextInstance(
|
10241
|
-
|
10250
|
+
renderLanes,
|
10242
10251
|
workInProgress.pendingProps,
|
10243
10252
|
rootOrSingletonContext
|
10244
10253
|
)),
|
@@ -10250,8 +10259,8 @@
|
|
10250
10259
|
: (returnFiber = !1),
|
10251
10260
|
(returnFiber = !returnFiber)),
|
10252
10261
|
returnFiber &&
|
10253
|
-
(
|
10254
|
-
warnNonHydratedInstance(workInProgress,
|
10262
|
+
(current &&
|
10263
|
+
warnNonHydratedInstance(workInProgress, renderLanes),
|
10255
10264
|
throwOnHydrationMismatch(workInProgress))),
|
10256
10265
|
null
|
10257
10266
|
);
|
@@ -10390,6 +10399,30 @@
|
|
10390
10399
|
workInProgress,
|
10391
10400
|
renderLanes
|
10392
10401
|
);
|
10402
|
+
case 31:
|
10403
|
+
return (
|
10404
|
+
(returnFiber = workInProgress.pendingProps),
|
10405
|
+
(renderLanes = workInProgress.mode),
|
10406
|
+
(returnFiber = {
|
10407
|
+
mode: returnFiber.mode,
|
10408
|
+
children: returnFiber.children
|
10409
|
+
}),
|
10410
|
+
null === current
|
10411
|
+
? ((current = mountWorkInProgressOffscreenFiber(
|
10412
|
+
returnFiber,
|
10413
|
+
renderLanes
|
10414
|
+
)),
|
10415
|
+
(current.ref = workInProgress.ref),
|
10416
|
+
(workInProgress.child = current),
|
10417
|
+
(current.return = workInProgress),
|
10418
|
+
(workInProgress = current))
|
10419
|
+
: ((current = createWorkInProgress(current.child, returnFiber)),
|
10420
|
+
(current.ref = workInProgress.ref),
|
10421
|
+
(workInProgress.child = current),
|
10422
|
+
(current.return = workInProgress),
|
10423
|
+
(workInProgress = current)),
|
10424
|
+
workInProgress
|
10425
|
+
);
|
10393
10426
|
case 22:
|
10394
10427
|
return updateOffscreenComponent(current, workInProgress, renderLanes);
|
10395
10428
|
case 24:
|
@@ -13087,6 +13120,13 @@
|
|
13087
13120
|
: 5);
|
13088
13121
|
else
|
13089
13122
|
a: switch (type) {
|
13123
|
+
case REACT_ACTIVITY_TYPE:
|
13124
|
+
return (
|
13125
|
+
(key = createFiber(31, pendingProps, key, mode)),
|
13126
|
+
(key.elementType = REACT_ACTIVITY_TYPE),
|
13127
|
+
(key.lanes = lanes),
|
13128
|
+
key
|
13129
|
+
);
|
13090
13130
|
case REACT_FRAGMENT_TYPE:
|
13091
13131
|
return createFiberFromFragment(
|
13092
13132
|
pendingProps.children,
|
@@ -13128,8 +13168,6 @@
|
|
13128
13168
|
(key.lanes = lanes),
|
13129
13169
|
key
|
13130
13170
|
);
|
13131
|
-
case REACT_OFFSCREEN_TYPE:
|
13132
|
-
return createFiberFromOffscreen(pendingProps, mode, lanes, key);
|
13133
13171
|
default:
|
13134
13172
|
if ("object" === typeof type && null !== type)
|
13135
13173
|
switch (type.$$typeof) {
|
@@ -13211,7 +13249,6 @@
|
|
13211
13249
|
}
|
13212
13250
|
function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
|
13213
13251
|
pendingProps = createFiber(22, pendingProps, key, mode);
|
13214
|
-
pendingProps.elementType = REACT_OFFSCREEN_TYPE;
|
13215
13252
|
pendingProps.lanes = lanes;
|
13216
13253
|
var primaryChildInstance = {
|
13217
13254
|
_visibility: OffscreenVisible,
|
@@ -13655,6 +13692,7 @@
|
|
13655
13692
|
var newProps = workInProgress.pendingProps;
|
13656
13693
|
popTreeContext(workInProgress);
|
13657
13694
|
switch (workInProgress.tag) {
|
13695
|
+
case 31:
|
13658
13696
|
case 16:
|
13659
13697
|
case 15:
|
13660
13698
|
case 0:
|
@@ -15687,43 +15725,6 @@
|
|
15687
15725
|
markCommitStopped();
|
15688
15726
|
}
|
15689
15727
|
}
|
15690
|
-
function flushGestureMutations() {
|
15691
|
-
if (pendingEffectsStatus === PENDING_GESTURE_MUTATION_PHASE) {
|
15692
|
-
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15693
|
-
var root = pendingEffectsRoot,
|
15694
|
-
prevTransition = ReactSharedInternals.T;
|
15695
|
-
ReactSharedInternals.T = null;
|
15696
|
-
var previousPriority = ReactDOMSharedInternals.p;
|
15697
|
-
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15698
|
-
var prevExecutionContext = executionContext;
|
15699
|
-
executionContext |= CommitContext;
|
15700
|
-
try {
|
15701
|
-
var rootClone = root.gestureClone;
|
15702
|
-
if (null !== rootClone) {
|
15703
|
-
root.gestureClone = null;
|
15704
|
-
var rootContainer = root.containerInfo;
|
15705
|
-
var containerInstance =
|
15706
|
-
9 === rootContainer.nodeType
|
15707
|
-
? rootContainer.body
|
15708
|
-
: "HTML" === rootContainer.nodeName
|
15709
|
-
? rootContainer.ownerDocument.body
|
15710
|
-
: rootContainer;
|
15711
|
-
var containerParent = containerInstance.parentNode;
|
15712
|
-
if (null === containerParent)
|
15713
|
-
throw Error(
|
15714
|
-
"Cannot use a useSwipeTransition() in a detached root."
|
15715
|
-
);
|
15716
|
-
containerParent.removeChild(rootClone);
|
15717
|
-
containerInstance.style.viewTransitionName = "root";
|
15718
|
-
}
|
15719
|
-
} finally {
|
15720
|
-
(executionContext = prevExecutionContext),
|
15721
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
15722
|
-
(ReactSharedInternals.T = prevTransition);
|
15723
|
-
}
|
15724
|
-
pendingEffectsStatus = PENDING_GESTURE_ANIMATION_PHASE;
|
15725
|
-
}
|
15726
|
-
}
|
15727
15728
|
function makeErrorInfo(componentStack) {
|
15728
15729
|
componentStack = { componentStack: componentStack };
|
15729
15730
|
Object.defineProperty(componentStack, "digest", {
|
@@ -15742,40 +15743,6 @@
|
|
15742
15743
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
15743
15744
|
}
|
15744
15745
|
function flushPendingEffects(wasDelayedCommit) {
|
15745
|
-
flushGestureMutations();
|
15746
|
-
flushGestureMutations();
|
15747
|
-
if (pendingEffectsStatus === PENDING_GESTURE_ANIMATION_PHASE) {
|
15748
|
-
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15749
|
-
var root = pendingEffectsRoot;
|
15750
|
-
pendingFinishedWork = pendingEffectsRoot = null;
|
15751
|
-
pendingEffectsLanes = 0;
|
15752
|
-
var prevTransition = ReactSharedInternals.T;
|
15753
|
-
ReactSharedInternals.T = null;
|
15754
|
-
var previousPriority = ReactDOMSharedInternals.p;
|
15755
|
-
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15756
|
-
var prevExecutionContext = executionContext;
|
15757
|
-
executionContext |= CommitContext;
|
15758
|
-
try {
|
15759
|
-
var rootContainer = root.containerInfo;
|
15760
|
-
var containerInstance =
|
15761
|
-
9 === rootContainer.nodeType
|
15762
|
-
? rootContainer.body
|
15763
|
-
: "HTML" === rootContainer.nodeName
|
15764
|
-
? rootContainer.ownerDocument.body
|
15765
|
-
: rootContainer;
|
15766
|
-
"root" === containerInstance.style.viewTransitionName &&
|
15767
|
-
(containerInstance.style.viewTransitionName = "");
|
15768
|
-
var documentElement = containerInstance.ownerDocument.documentElement;
|
15769
|
-
null !== documentElement &&
|
15770
|
-
"none" === documentElement.style.viewTransitionName &&
|
15771
|
-
(documentElement.style.viewTransitionName = "");
|
15772
|
-
} finally {
|
15773
|
-
(executionContext = prevExecutionContext),
|
15774
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
15775
|
-
(ReactSharedInternals.T = prevTransition);
|
15776
|
-
}
|
15777
|
-
ensureRootIsScheduled(root);
|
15778
|
-
}
|
15779
15746
|
flushMutationEffects();
|
15780
15747
|
flushLayoutEffects();
|
15781
15748
|
flushSpawnedWork();
|
@@ -21300,7 +21267,7 @@
|
|
21300
21267
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
21301
21268
|
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
21302
21269
|
Symbol.for("react.scope");
|
21303
|
-
var
|
21270
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
21304
21271
|
Symbol.for("react.legacy_hidden");
|
21305
21272
|
Symbol.for("react.tracing_marker");
|
21306
21273
|
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
|
@@ -24305,8 +24272,6 @@
|
|
24305
24272
|
PENDING_AFTER_MUTATION_PHASE = 3,
|
24306
24273
|
PENDING_SPAWNED_WORK = 4,
|
24307
24274
|
PENDING_PASSIVE_PHASE = 5,
|
24308
|
-
PENDING_GESTURE_MUTATION_PHASE = 6,
|
24309
|
-
PENDING_GESTURE_ANIMATION_PHASE = 7,
|
24310
24275
|
pendingEffectsStatus = 0,
|
24311
24276
|
pendingEffectsRoot = null,
|
24312
24277
|
pendingFinishedWork = null,
|
@@ -24862,11 +24827,11 @@
|
|
24862
24827
|
};
|
24863
24828
|
(function () {
|
24864
24829
|
var isomorphicReactPackageVersion = React.version;
|
24865
|
-
if ("19.1.0-canary-
|
24830
|
+
if ("19.1.0-canary-fbcda19a-20250317" !== isomorphicReactPackageVersion)
|
24866
24831
|
throw Error(
|
24867
24832
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24868
24833
|
(isomorphicReactPackageVersion +
|
24869
|
-
"\n - react-dom: 19.1.0-canary-
|
24834
|
+
"\n - react-dom: 19.1.0-canary-fbcda19a-20250317\nLearn more: https://react.dev/warnings/version-mismatch")
|
24870
24835
|
);
|
24871
24836
|
})();
|
24872
24837
|
("function" === typeof Map &&
|
@@ -24903,10 +24868,10 @@
|
|
24903
24868
|
!(function () {
|
24904
24869
|
var internals = {
|
24905
24870
|
bundleType: 1,
|
24906
|
-
version: "19.1.0-canary-
|
24871
|
+
version: "19.1.0-canary-fbcda19a-20250317",
|
24907
24872
|
rendererPackageName: "react-dom",
|
24908
24873
|
currentDispatcherRef: ReactSharedInternals,
|
24909
|
-
reconcilerVersion: "19.1.0-canary-
|
24874
|
+
reconcilerVersion: "19.1.0-canary-fbcda19a-20250317"
|
24910
24875
|
};
|
24911
24876
|
internals.overrideHookState = overrideHookState;
|
24912
24877
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25050,7 +25015,7 @@
|
|
25050
25015
|
listenToAllSupportedEvents(container);
|
25051
25016
|
return new ReactDOMHydrationRoot(initialChildren);
|
25052
25017
|
};
|
25053
|
-
exports.version = "19.1.0-canary-
|
25018
|
+
exports.version = "19.1.0-canary-fbcda19a-20250317";
|
25054
25019
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25055
25020
|
"function" ===
|
25056
25021
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|