react-dom 19.3.0-canary-c9ddee7e-20251031 → 19.3.0-canary-561ee24d-20251101
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 +200 -178
- package/cjs/react-dom-client.production.js +260 -225
- package/cjs/react-dom-profiling.development.js +200 -178
- package/cjs/react-dom-profiling.profiling.js +293 -258
- package/cjs/react-dom-server-legacy.browser.development.js +52 -31
- package/cjs/react-dom-server-legacy.browser.production.js +82 -81
- package/cjs/react-dom-server-legacy.node.development.js +52 -31
- package/cjs/react-dom-server-legacy.node.production.js +82 -81
- package/cjs/react-dom-server.browser.development.js +55 -34
- package/cjs/react-dom-server.browser.production.js +65 -64
- package/cjs/react-dom-server.bun.development.js +54 -34
- package/cjs/react-dom-server.bun.production.js +65 -64
- package/cjs/react-dom-server.edge.development.js +55 -34
- package/cjs/react-dom-server.edge.production.js +65 -64
- package/cjs/react-dom-server.node.development.js +55 -34
- package/cjs/react-dom-server.node.production.js +65 -64
- 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
|
@@ -7831,10 +7831,7 @@
|
|
|
7831
7831
|
return node;
|
|
7832
7832
|
} else if (
|
|
7833
7833
|
19 === node.tag &&
|
|
7834
|
-
|
|
7835
|
-
"backwards" === node.memoizedProps.revealOrder ||
|
|
7836
|
-
"unstable_legacy-backwards" === node.memoizedProps.revealOrder ||
|
|
7837
|
-
"together" === node.memoizedProps.revealOrder)
|
|
7834
|
+
"independent" !== node.memoizedProps.revealOrder
|
|
7838
7835
|
) {
|
|
7839
7836
|
if (0 !== (node.flags & 128)) return node;
|
|
7840
7837
|
} else if (null !== node.child) {
|
|
@@ -11132,24 +11129,24 @@
|
|
|
11132
11129
|
return current;
|
|
11133
11130
|
}
|
|
11134
11131
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
11135
|
-
var
|
|
11136
|
-
var
|
|
11132
|
+
var JSCompiler_object_inline_digest_2977;
|
|
11133
|
+
var JSCompiler_object_inline_stack_2978 = workInProgress.pendingProps;
|
|
11137
11134
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
11138
|
-
var
|
|
11135
|
+
var JSCompiler_object_inline_message_2976 = !1;
|
|
11139
11136
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
11140
|
-
(
|
|
11141
|
-
(
|
|
11137
|
+
(JSCompiler_object_inline_digest_2977 = didSuspend) ||
|
|
11138
|
+
(JSCompiler_object_inline_digest_2977 =
|
|
11142
11139
|
null !== current && null === current.memoizedState
|
|
11143
11140
|
? !1
|
|
11144
11141
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
11145
|
-
|
|
11146
|
-
((
|
|
11142
|
+
JSCompiler_object_inline_digest_2977 &&
|
|
11143
|
+
((JSCompiler_object_inline_message_2976 = !0),
|
|
11147
11144
|
(workInProgress.flags &= -129));
|
|
11148
|
-
|
|
11145
|
+
JSCompiler_object_inline_digest_2977 = 0 !== (workInProgress.flags & 32);
|
|
11149
11146
|
workInProgress.flags &= -33;
|
|
11150
11147
|
if (null === current) {
|
|
11151
11148
|
if (isHydrating) {
|
|
11152
|
-
|
|
11149
|
+
JSCompiler_object_inline_message_2976
|
|
11153
11150
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
11154
11151
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
11155
11152
|
(current = nextHydratableInstance)
|
|
@@ -11162,18 +11159,18 @@
|
|
|
11162
11159
|
? renderLanes
|
|
11163
11160
|
: null),
|
|
11164
11161
|
null !== renderLanes &&
|
|
11165
|
-
((
|
|
11162
|
+
((JSCompiler_object_inline_digest_2977 = {
|
|
11166
11163
|
dehydrated: renderLanes,
|
|
11167
11164
|
treeContext: getSuspendedTreeContext(),
|
|
11168
11165
|
retryLane: 536870912,
|
|
11169
11166
|
hydrationErrors: null
|
|
11170
11167
|
}),
|
|
11171
11168
|
(workInProgress.memoizedState =
|
|
11172
|
-
|
|
11173
|
-
(
|
|
11169
|
+
JSCompiler_object_inline_digest_2977),
|
|
11170
|
+
(JSCompiler_object_inline_digest_2977 =
|
|
11174
11171
|
createFiberFromDehydratedFragment(renderLanes)),
|
|
11175
|
-
(
|
|
11176
|
-
(workInProgress.child =
|
|
11172
|
+
(JSCompiler_object_inline_digest_2977.return = workInProgress),
|
|
11173
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2977),
|
|
11177
11174
|
(hydrationParentFiber = workInProgress),
|
|
11178
11175
|
(nextHydratableInstance = null)))
|
|
11179
11176
|
: (renderLanes = null);
|
|
@@ -11187,39 +11184,39 @@
|
|
|
11187
11184
|
: (workInProgress.lanes = 536870912);
|
|
11188
11185
|
return null;
|
|
11189
11186
|
}
|
|
11190
|
-
var nextPrimaryChildren =
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
if (
|
|
11187
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2978.children;
|
|
11188
|
+
JSCompiler_object_inline_stack_2978 =
|
|
11189
|
+
JSCompiler_object_inline_stack_2978.fallback;
|
|
11190
|
+
if (JSCompiler_object_inline_message_2976) {
|
|
11194
11191
|
reuseSuspenseHandlerOnStack(workInProgress);
|
|
11195
11192
|
var mode = workInProgress.mode;
|
|
11196
11193
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
|
11197
11194
|
{ mode: "hidden", children: nextPrimaryChildren },
|
|
11198
11195
|
mode
|
|
11199
11196
|
);
|
|
11200
|
-
|
|
11201
|
-
|
|
11197
|
+
JSCompiler_object_inline_stack_2978 = createFiberFromFragment(
|
|
11198
|
+
JSCompiler_object_inline_stack_2978,
|
|
11202
11199
|
mode,
|
|
11203
11200
|
renderLanes,
|
|
11204
11201
|
null
|
|
11205
11202
|
);
|
|
11206
11203
|
nextPrimaryChildren.return = workInProgress;
|
|
11207
|
-
|
|
11208
|
-
nextPrimaryChildren.sibling =
|
|
11204
|
+
JSCompiler_object_inline_stack_2978.return = workInProgress;
|
|
11205
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2978;
|
|
11209
11206
|
workInProgress.child = nextPrimaryChildren;
|
|
11210
|
-
|
|
11211
|
-
|
|
11207
|
+
JSCompiler_object_inline_stack_2978 = workInProgress.child;
|
|
11208
|
+
JSCompiler_object_inline_stack_2978.memoizedState =
|
|
11212
11209
|
mountSuspenseOffscreenState(renderLanes);
|
|
11213
|
-
|
|
11210
|
+
JSCompiler_object_inline_stack_2978.childLanes =
|
|
11214
11211
|
getRemainingWorkInPrimaryTree(
|
|
11215
11212
|
current,
|
|
11216
|
-
|
|
11213
|
+
JSCompiler_object_inline_digest_2977,
|
|
11217
11214
|
renderLanes
|
|
11218
11215
|
);
|
|
11219
11216
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
|
11220
11217
|
return bailoutOffscreenComponent(
|
|
11221
11218
|
null,
|
|
11222
|
-
|
|
11219
|
+
JSCompiler_object_inline_stack_2978
|
|
11223
11220
|
);
|
|
11224
11221
|
}
|
|
11225
11222
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -11230,8 +11227,8 @@
|
|
|
11230
11227
|
}
|
|
11231
11228
|
var prevState = current.memoizedState;
|
|
11232
11229
|
if (null !== prevState) {
|
|
11233
|
-
var
|
|
11234
|
-
if (null !==
|
|
11230
|
+
var JSCompiler_object_inline_componentStack_2979 = prevState.dehydrated;
|
|
11231
|
+
if (null !== JSCompiler_object_inline_componentStack_2979) {
|
|
11235
11232
|
if (didSuspend)
|
|
11236
11233
|
workInProgress.flags & 256
|
|
11237
11234
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11248,13 +11245,13 @@
|
|
|
11248
11245
|
(workInProgress = null))
|
|
11249
11246
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
11250
11247
|
(nextPrimaryChildren =
|
|
11251
|
-
|
|
11248
|
+
JSCompiler_object_inline_stack_2978.fallback),
|
|
11252
11249
|
(mode = workInProgress.mode),
|
|
11253
|
-
(
|
|
11250
|
+
(JSCompiler_object_inline_stack_2978 =
|
|
11254
11251
|
mountWorkInProgressOffscreenFiber(
|
|
11255
11252
|
{
|
|
11256
11253
|
mode: "visible",
|
|
11257
|
-
children:
|
|
11254
|
+
children: JSCompiler_object_inline_stack_2978.children
|
|
11258
11255
|
},
|
|
11259
11256
|
mode
|
|
11260
11257
|
)),
|
|
@@ -11265,30 +11262,30 @@
|
|
|
11265
11262
|
null
|
|
11266
11263
|
)),
|
|
11267
11264
|
(nextPrimaryChildren.flags |= 2),
|
|
11268
|
-
(
|
|
11265
|
+
(JSCompiler_object_inline_stack_2978.return = workInProgress),
|
|
11269
11266
|
(nextPrimaryChildren.return = workInProgress),
|
|
11270
|
-
(
|
|
11267
|
+
(JSCompiler_object_inline_stack_2978.sibling =
|
|
11271
11268
|
nextPrimaryChildren),
|
|
11272
|
-
(workInProgress.child =
|
|
11269
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2978),
|
|
11273
11270
|
reconcileChildFibers(
|
|
11274
11271
|
workInProgress,
|
|
11275
11272
|
current.child,
|
|
11276
11273
|
null,
|
|
11277
11274
|
renderLanes
|
|
11278
11275
|
),
|
|
11279
|
-
(
|
|
11280
|
-
(
|
|
11276
|
+
(JSCompiler_object_inline_stack_2978 = workInProgress.child),
|
|
11277
|
+
(JSCompiler_object_inline_stack_2978.memoizedState =
|
|
11281
11278
|
mountSuspenseOffscreenState(renderLanes)),
|
|
11282
|
-
(
|
|
11279
|
+
(JSCompiler_object_inline_stack_2978.childLanes =
|
|
11283
11280
|
getRemainingWorkInPrimaryTree(
|
|
11284
11281
|
current,
|
|
11285
|
-
|
|
11282
|
+
JSCompiler_object_inline_digest_2977,
|
|
11286
11283
|
renderLanes
|
|
11287
11284
|
)),
|
|
11288
11285
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11289
11286
|
(workInProgress = bailoutOffscreenComponent(
|
|
11290
11287
|
null,
|
|
11291
|
-
|
|
11288
|
+
JSCompiler_object_inline_stack_2978
|
|
11292
11289
|
)));
|
|
11293
11290
|
else if (
|
|
11294
11291
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11296,45 +11293,45 @@
|
|
|
11296
11293
|
0 !== (renderLanes & 536870912) &&
|
|
11297
11294
|
markRenderDerivedCause(workInProgress),
|
|
11298
11295
|
isSuspenseInstanceFallback(
|
|
11299
|
-
|
|
11296
|
+
JSCompiler_object_inline_componentStack_2979
|
|
11300
11297
|
))
|
|
11301
11298
|
) {
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
if (
|
|
11306
|
-
nextPrimaryChildren =
|
|
11307
|
-
var message =
|
|
11308
|
-
mode =
|
|
11309
|
-
var componentStack =
|
|
11299
|
+
JSCompiler_object_inline_digest_2977 =
|
|
11300
|
+
JSCompiler_object_inline_componentStack_2979.nextSibling &&
|
|
11301
|
+
JSCompiler_object_inline_componentStack_2979.nextSibling.dataset;
|
|
11302
|
+
if (JSCompiler_object_inline_digest_2977) {
|
|
11303
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2977.dgst;
|
|
11304
|
+
var message = JSCompiler_object_inline_digest_2977.msg;
|
|
11305
|
+
mode = JSCompiler_object_inline_digest_2977.stck;
|
|
11306
|
+
var componentStack = JSCompiler_object_inline_digest_2977.cstck;
|
|
11310
11307
|
}
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
nextPrimaryChildren =
|
|
11316
|
-
mode =
|
|
11308
|
+
JSCompiler_object_inline_message_2976 = message;
|
|
11309
|
+
JSCompiler_object_inline_digest_2977 = nextPrimaryChildren;
|
|
11310
|
+
JSCompiler_object_inline_stack_2978 = mode;
|
|
11311
|
+
JSCompiler_object_inline_componentStack_2979 = componentStack;
|
|
11312
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2976;
|
|
11313
|
+
mode = JSCompiler_object_inline_componentStack_2979;
|
|
11317
11314
|
nextPrimaryChildren = nextPrimaryChildren
|
|
11318
11315
|
? Error(nextPrimaryChildren)
|
|
11319
11316
|
: Error(
|
|
11320
11317
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
11321
11318
|
);
|
|
11322
11319
|
nextPrimaryChildren.stack =
|
|
11323
|
-
|
|
11324
|
-
nextPrimaryChildren.digest =
|
|
11325
|
-
|
|
11320
|
+
JSCompiler_object_inline_stack_2978 || "";
|
|
11321
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2977;
|
|
11322
|
+
JSCompiler_object_inline_digest_2977 =
|
|
11326
11323
|
void 0 === mode ? null : mode;
|
|
11327
|
-
|
|
11324
|
+
JSCompiler_object_inline_stack_2978 = {
|
|
11328
11325
|
value: nextPrimaryChildren,
|
|
11329
11326
|
source: null,
|
|
11330
|
-
stack:
|
|
11327
|
+
stack: JSCompiler_object_inline_digest_2977
|
|
11331
11328
|
};
|
|
11332
|
-
"string" === typeof
|
|
11329
|
+
"string" === typeof JSCompiler_object_inline_digest_2977 &&
|
|
11333
11330
|
CapturedStacks.set(
|
|
11334
11331
|
nextPrimaryChildren,
|
|
11335
|
-
|
|
11332
|
+
JSCompiler_object_inline_stack_2978
|
|
11336
11333
|
);
|
|
11337
|
-
queueHydrationError(
|
|
11334
|
+
queueHydrationError(JSCompiler_object_inline_stack_2978);
|
|
11338
11335
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11339
11336
|
current,
|
|
11340
11337
|
workInProgress,
|
|
@@ -11348,35 +11345,35 @@
|
|
|
11348
11345
|
renderLanes,
|
|
11349
11346
|
!1
|
|
11350
11347
|
),
|
|
11351
|
-
(
|
|
11348
|
+
(JSCompiler_object_inline_digest_2977 =
|
|
11352
11349
|
0 !== (renderLanes & current.childLanes)),
|
|
11353
|
-
didReceiveUpdate ||
|
|
11350
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2977)
|
|
11354
11351
|
) {
|
|
11355
|
-
|
|
11352
|
+
JSCompiler_object_inline_digest_2977 = workInProgressRoot;
|
|
11356
11353
|
if (
|
|
11357
|
-
null !==
|
|
11358
|
-
((
|
|
11359
|
-
|
|
11354
|
+
null !== JSCompiler_object_inline_digest_2977 &&
|
|
11355
|
+
((JSCompiler_object_inline_stack_2978 = getBumpedLaneForHydration(
|
|
11356
|
+
JSCompiler_object_inline_digest_2977,
|
|
11360
11357
|
renderLanes
|
|
11361
11358
|
)),
|
|
11362
|
-
0 !==
|
|
11363
|
-
|
|
11359
|
+
0 !== JSCompiler_object_inline_stack_2978 &&
|
|
11360
|
+
JSCompiler_object_inline_stack_2978 !== prevState.retryLane)
|
|
11364
11361
|
)
|
|
11365
11362
|
throw (
|
|
11366
|
-
((prevState.retryLane =
|
|
11363
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2978),
|
|
11367
11364
|
enqueueConcurrentRenderForLane(
|
|
11368
11365
|
current,
|
|
11369
|
-
|
|
11366
|
+
JSCompiler_object_inline_stack_2978
|
|
11370
11367
|
),
|
|
11371
11368
|
scheduleUpdateOnFiber(
|
|
11372
|
-
|
|
11369
|
+
JSCompiler_object_inline_digest_2977,
|
|
11373
11370
|
current,
|
|
11374
|
-
|
|
11371
|
+
JSCompiler_object_inline_stack_2978
|
|
11375
11372
|
),
|
|
11376
11373
|
SelectiveHydrationException)
|
|
11377
11374
|
);
|
|
11378
11375
|
isSuspenseInstancePending(
|
|
11379
|
-
|
|
11376
|
+
JSCompiler_object_inline_componentStack_2979
|
|
11380
11377
|
) || renderDidSuspendDelayIfPossible();
|
|
11381
11378
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11382
11379
|
current,
|
|
@@ -11385,14 +11382,14 @@
|
|
|
11385
11382
|
);
|
|
11386
11383
|
} else
|
|
11387
11384
|
isSuspenseInstancePending(
|
|
11388
|
-
|
|
11385
|
+
JSCompiler_object_inline_componentStack_2979
|
|
11389
11386
|
)
|
|
11390
11387
|
? ((workInProgress.flags |= 192),
|
|
11391
11388
|
(workInProgress.child = current.child),
|
|
11392
11389
|
(workInProgress = null))
|
|
11393
11390
|
: ((current = prevState.treeContext),
|
|
11394
11391
|
(nextHydratableInstance = getNextHydratable(
|
|
11395
|
-
|
|
11392
|
+
JSCompiler_object_inline_componentStack_2979.nextSibling
|
|
11396
11393
|
)),
|
|
11397
11394
|
(hydrationParentFiber = workInProgress),
|
|
11398
11395
|
(isHydrating = !0),
|
|
@@ -11404,32 +11401,32 @@
|
|
|
11404
11401
|
restoreSuspendedTreeContext(workInProgress, current),
|
|
11405
11402
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
11406
11403
|
workInProgress,
|
|
11407
|
-
|
|
11404
|
+
JSCompiler_object_inline_stack_2978.children
|
|
11408
11405
|
)),
|
|
11409
11406
|
(workInProgress.flags |= 4096));
|
|
11410
11407
|
return workInProgress;
|
|
11411
11408
|
}
|
|
11412
11409
|
}
|
|
11413
|
-
if (
|
|
11410
|
+
if (JSCompiler_object_inline_message_2976)
|
|
11414
11411
|
return (
|
|
11415
11412
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
11416
|
-
(nextPrimaryChildren =
|
|
11413
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2978.fallback),
|
|
11417
11414
|
(mode = workInProgress.mode),
|
|
11418
11415
|
(componentStack = current.child),
|
|
11419
|
-
(
|
|
11416
|
+
(JSCompiler_object_inline_componentStack_2979 =
|
|
11420
11417
|
componentStack.sibling),
|
|
11421
|
-
(
|
|
11418
|
+
(JSCompiler_object_inline_stack_2978 = createWorkInProgress(
|
|
11422
11419
|
componentStack,
|
|
11423
11420
|
{
|
|
11424
11421
|
mode: "hidden",
|
|
11425
|
-
children:
|
|
11422
|
+
children: JSCompiler_object_inline_stack_2978.children
|
|
11426
11423
|
}
|
|
11427
11424
|
)),
|
|
11428
|
-
(
|
|
11425
|
+
(JSCompiler_object_inline_stack_2978.subtreeFlags =
|
|
11429
11426
|
componentStack.subtreeFlags & 65011712),
|
|
11430
|
-
null !==
|
|
11427
|
+
null !== JSCompiler_object_inline_componentStack_2979
|
|
11431
11428
|
? (nextPrimaryChildren = createWorkInProgress(
|
|
11432
|
-
|
|
11429
|
+
JSCompiler_object_inline_componentStack_2979,
|
|
11433
11430
|
nextPrimaryChildren
|
|
11434
11431
|
))
|
|
11435
11432
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
|
@@ -11440,11 +11437,11 @@
|
|
|
11440
11437
|
)),
|
|
11441
11438
|
(nextPrimaryChildren.flags |= 2)),
|
|
11442
11439
|
(nextPrimaryChildren.return = workInProgress),
|
|
11443
|
-
(
|
|
11444
|
-
(
|
|
11445
|
-
(workInProgress.child =
|
|
11446
|
-
bailoutOffscreenComponent(null,
|
|
11447
|
-
(
|
|
11440
|
+
(JSCompiler_object_inline_stack_2978.return = workInProgress),
|
|
11441
|
+
(JSCompiler_object_inline_stack_2978.sibling = nextPrimaryChildren),
|
|
11442
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2978),
|
|
11443
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2978),
|
|
11444
|
+
(JSCompiler_object_inline_stack_2978 = workInProgress.child),
|
|
11448
11445
|
(nextPrimaryChildren = current.child.memoizedState),
|
|
11449
11446
|
null === nextPrimaryChildren
|
|
11450
11447
|
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
|
@@ -11460,18 +11457,18 @@
|
|
|
11460
11457
|
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
|
11461
11458
|
cachePool: mode
|
|
11462
11459
|
})),
|
|
11463
|
-
(
|
|
11460
|
+
(JSCompiler_object_inline_stack_2978.memoizedState =
|
|
11464
11461
|
nextPrimaryChildren),
|
|
11465
|
-
(
|
|
11462
|
+
(JSCompiler_object_inline_stack_2978.childLanes =
|
|
11466
11463
|
getRemainingWorkInPrimaryTree(
|
|
11467
11464
|
current,
|
|
11468
|
-
|
|
11465
|
+
JSCompiler_object_inline_digest_2977,
|
|
11469
11466
|
renderLanes
|
|
11470
11467
|
)),
|
|
11471
11468
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11472
11469
|
bailoutOffscreenComponent(
|
|
11473
11470
|
current.child,
|
|
11474
|
-
|
|
11471
|
+
JSCompiler_object_inline_stack_2978
|
|
11475
11472
|
)
|
|
11476
11473
|
);
|
|
11477
11474
|
null !== prevState &&
|
|
@@ -11483,16 +11480,16 @@
|
|
|
11483
11480
|
current = renderLanes.sibling;
|
|
11484
11481
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
11485
11482
|
mode: "visible",
|
|
11486
|
-
children:
|
|
11483
|
+
children: JSCompiler_object_inline_stack_2978.children
|
|
11487
11484
|
});
|
|
11488
11485
|
renderLanes.return = workInProgress;
|
|
11489
11486
|
renderLanes.sibling = null;
|
|
11490
11487
|
null !== current &&
|
|
11491
|
-
((
|
|
11492
|
-
null ===
|
|
11488
|
+
((JSCompiler_object_inline_digest_2977 = workInProgress.deletions),
|
|
11489
|
+
null === JSCompiler_object_inline_digest_2977
|
|
11493
11490
|
? ((workInProgress.deletions = [current]),
|
|
11494
11491
|
(workInProgress.flags |= 16))
|
|
11495
|
-
:
|
|
11492
|
+
: JSCompiler_object_inline_digest_2977.push(current));
|
|
11496
11493
|
workInProgress.child = renderLanes;
|
|
11497
11494
|
workInProgress.memoizedState = null;
|
|
11498
11495
|
return renderLanes;
|
|
@@ -11534,6 +11531,16 @@
|
|
|
11534
11531
|
propagationRoot
|
|
11535
11532
|
);
|
|
11536
11533
|
}
|
|
11534
|
+
function findLastContentRow(firstChild) {
|
|
11535
|
+
for (var lastContentRow = null; null !== firstChild; ) {
|
|
11536
|
+
var currentRow = firstChild.alternate;
|
|
11537
|
+
null !== currentRow &&
|
|
11538
|
+
null === findFirstSuspended(currentRow) &&
|
|
11539
|
+
(lastContentRow = firstChild);
|
|
11540
|
+
firstChild = firstChild.sibling;
|
|
11541
|
+
}
|
|
11542
|
+
return lastContentRow;
|
|
11543
|
+
}
|
|
11537
11544
|
function initSuspenseListRenderState(
|
|
11538
11545
|
workInProgress,
|
|
11539
11546
|
isBackwards,
|
|
@@ -11561,6 +11568,15 @@
|
|
|
11561
11568
|
(renderState.tailMode = tailMode),
|
|
11562
11569
|
(renderState.treeForkCount = treeForkCount));
|
|
11563
11570
|
}
|
|
11571
|
+
function reverseChildren(fiber) {
|
|
11572
|
+
var row = fiber.child;
|
|
11573
|
+
for (fiber.child = null; null !== row; ) {
|
|
11574
|
+
var nextRow = row.sibling;
|
|
11575
|
+
row.sibling = fiber.child;
|
|
11576
|
+
fiber.child = row;
|
|
11577
|
+
row = nextRow;
|
|
11578
|
+
}
|
|
11579
|
+
}
|
|
11564
11580
|
function updateSuspenseListComponent(current, workInProgress, renderLanes) {
|
|
11565
11581
|
var nextProps = workInProgress.pendingProps,
|
|
11566
11582
|
revealOrder = nextProps.revealOrder,
|
|
@@ -11576,23 +11592,18 @@
|
|
|
11576
11592
|
push(suspenseStackCursor, suspenseContext, workInProgress);
|
|
11577
11593
|
suspenseContext = null == revealOrder ? "null" : revealOrder;
|
|
11578
11594
|
if (
|
|
11595
|
+
null != revealOrder &&
|
|
11579
11596
|
"forwards" !== revealOrder &&
|
|
11597
|
+
"backwards" !== revealOrder &&
|
|
11580
11598
|
"unstable_legacy-backwards" !== revealOrder &&
|
|
11581
11599
|
"together" !== revealOrder &&
|
|
11582
11600
|
"independent" !== revealOrder &&
|
|
11583
11601
|
!didWarnAboutRevealOrder[suspenseContext]
|
|
11584
11602
|
)
|
|
11585
11603
|
if (
|
|
11586
|
-
((didWarnAboutRevealOrder[suspenseContext] = !0),
|
|
11604
|
+
((didWarnAboutRevealOrder[suspenseContext] = !0),
|
|
11605
|
+
"string" === typeof revealOrder)
|
|
11587
11606
|
)
|
|
11588
|
-
console.error(
|
|
11589
|
-
'The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".'
|
|
11590
|
-
);
|
|
11591
|
-
else if ("backwards" === revealOrder)
|
|
11592
|
-
console.error(
|
|
11593
|
-
'The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.'
|
|
11594
|
-
);
|
|
11595
|
-
else if ("string" === typeof revealOrder)
|
|
11596
11607
|
switch (revealOrder.toLowerCase()) {
|
|
11597
11608
|
case "together":
|
|
11598
11609
|
case "forwards":
|
|
@@ -11624,36 +11635,28 @@
|
|
|
11624
11635
|
revealOrder
|
|
11625
11636
|
);
|
|
11626
11637
|
suspenseContext = null == tailMode ? "null" : tailMode;
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
))
|
|
11647
|
-
: "forwards" !== revealOrder &&
|
|
11648
|
-
"backwards" !== revealOrder &&
|
|
11649
|
-
"unstable_legacy-backwards" !== revealOrder &&
|
|
11650
|
-
((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11651
|
-
console.error(
|
|
11652
|
-
'<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
|
|
11653
|
-
tailMode
|
|
11654
|
-
));
|
|
11638
|
+
didWarnAboutTailOptions[suspenseContext] ||
|
|
11639
|
+
null == tailMode ||
|
|
11640
|
+
("visible" !== tailMode &&
|
|
11641
|
+
"collapsed" !== tailMode &&
|
|
11642
|
+
"hidden" !== tailMode
|
|
11643
|
+
? ((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11644
|
+
console.error(
|
|
11645
|
+
'"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',
|
|
11646
|
+
tailMode
|
|
11647
|
+
))
|
|
11648
|
+
: null != revealOrder &&
|
|
11649
|
+
"forwards" !== revealOrder &&
|
|
11650
|
+
"backwards" !== revealOrder &&
|
|
11651
|
+
"unstable_legacy-backwards" !== revealOrder &&
|
|
11652
|
+
((didWarnAboutTailOptions[suspenseContext] = !0),
|
|
11653
|
+
console.error(
|
|
11654
|
+
'<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',
|
|
11655
|
+
tailMode
|
|
11656
|
+
)));
|
|
11655
11657
|
a: if (
|
|
11656
|
-
(
|
|
11658
|
+
(null == revealOrder ||
|
|
11659
|
+
"forwards" === revealOrder ||
|
|
11657
11660
|
"backwards" === revealOrder ||
|
|
11658
11661
|
"unstable_legacy-backwards" === revealOrder) &&
|
|
11659
11662
|
void 0 !== newChildren &&
|
|
@@ -11692,7 +11695,11 @@
|
|
|
11692
11695
|
'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
|
|
11693
11696
|
revealOrder
|
|
11694
11697
|
);
|
|
11695
|
-
|
|
11698
|
+
"backwards" === revealOrder && null !== current
|
|
11699
|
+
? (reverseChildren(current),
|
|
11700
|
+
reconcileChildren(current, workInProgress, newChildren, renderLanes),
|
|
11701
|
+
reverseChildren(current))
|
|
11702
|
+
: reconcileChildren(current, workInProgress, newChildren, renderLanes);
|
|
11696
11703
|
isHydrating
|
|
11697
11704
|
? (warnIfNotHydrating(), (newChildren = treeForkCount))
|
|
11698
11705
|
: (newChildren = 0);
|
|
@@ -11718,30 +11725,23 @@
|
|
|
11718
11725
|
current = current.sibling;
|
|
11719
11726
|
}
|
|
11720
11727
|
switch (revealOrder) {
|
|
11721
|
-
case "
|
|
11722
|
-
renderLanes = workInProgress.child;
|
|
11723
|
-
for (revealOrder = null; null !== renderLanes; )
|
|
11724
|
-
(current = renderLanes.alternate),
|
|
11725
|
-
null !== current &&
|
|
11726
|
-
null === findFirstSuspended(current) &&
|
|
11727
|
-
(revealOrder = renderLanes),
|
|
11728
|
-
(renderLanes = renderLanes.sibling);
|
|
11729
|
-
renderLanes = revealOrder;
|
|
11728
|
+
case "backwards":
|
|
11729
|
+
renderLanes = findLastContentRow(workInProgress.child);
|
|
11730
11730
|
null === renderLanes
|
|
11731
11731
|
? ((revealOrder = workInProgress.child),
|
|
11732
11732
|
(workInProgress.child = null))
|
|
11733
11733
|
: ((revealOrder = renderLanes.sibling),
|
|
11734
|
-
(renderLanes.sibling = null)
|
|
11734
|
+
(renderLanes.sibling = null),
|
|
11735
|
+
reverseChildren(workInProgress));
|
|
11735
11736
|
initSuspenseListRenderState(
|
|
11736
11737
|
workInProgress,
|
|
11737
|
-
!
|
|
11738
|
+
!0,
|
|
11738
11739
|
revealOrder,
|
|
11739
|
-
|
|
11740
|
+
null,
|
|
11740
11741
|
tailMode,
|
|
11741
11742
|
newChildren
|
|
11742
11743
|
);
|
|
11743
11744
|
break;
|
|
11744
|
-
case "backwards":
|
|
11745
11745
|
case "unstable_legacy-backwards":
|
|
11746
11746
|
renderLanes = null;
|
|
11747
11747
|
revealOrder = workInProgress.child;
|
|
@@ -11775,8 +11775,24 @@
|
|
|
11775
11775
|
newChildren
|
|
11776
11776
|
);
|
|
11777
11777
|
break;
|
|
11778
|
-
|
|
11778
|
+
case "independent":
|
|
11779
11779
|
workInProgress.memoizedState = null;
|
|
11780
|
+
break;
|
|
11781
|
+
default:
|
|
11782
|
+
(renderLanes = findLastContentRow(workInProgress.child)),
|
|
11783
|
+
null === renderLanes
|
|
11784
|
+
? ((revealOrder = workInProgress.child),
|
|
11785
|
+
(workInProgress.child = null))
|
|
11786
|
+
: ((revealOrder = renderLanes.sibling),
|
|
11787
|
+
(renderLanes.sibling = null)),
|
|
11788
|
+
initSuspenseListRenderState(
|
|
11789
|
+
workInProgress,
|
|
11790
|
+
!1,
|
|
11791
|
+
revealOrder,
|
|
11792
|
+
renderLanes,
|
|
11793
|
+
tailMode,
|
|
11794
|
+
newChildren
|
|
11795
|
+
);
|
|
11780
11796
|
}
|
|
11781
11797
|
return workInProgress.child;
|
|
11782
11798
|
}
|
|
@@ -12707,26 +12723,31 @@
|
|
|
12707
12723
|
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
|
12708
12724
|
if (!isHydrating)
|
|
12709
12725
|
switch (renderState.tailMode) {
|
|
12710
|
-
case "
|
|
12711
|
-
hasRenderedATailFallback = renderState.tail;
|
|
12712
|
-
for (var lastTailNode = null; null !== hasRenderedATailFallback; )
|
|
12713
|
-
null !== hasRenderedATailFallback.alternate &&
|
|
12714
|
-
(lastTailNode = hasRenderedATailFallback),
|
|
12715
|
-
(hasRenderedATailFallback = hasRenderedATailFallback.sibling);
|
|
12716
|
-
null === lastTailNode
|
|
12717
|
-
? (renderState.tail = null)
|
|
12718
|
-
: (lastTailNode.sibling = null);
|
|
12726
|
+
case "visible":
|
|
12719
12727
|
break;
|
|
12720
12728
|
case "collapsed":
|
|
12721
|
-
|
|
12722
|
-
|
|
12723
|
-
null !==
|
|
12724
|
-
|
|
12725
|
-
|
|
12729
|
+
for (
|
|
12730
|
+
var tailNode = renderState.tail, lastTailNode = null;
|
|
12731
|
+
null !== tailNode;
|
|
12732
|
+
|
|
12733
|
+
)
|
|
12734
|
+
null !== tailNode.alternate && (lastTailNode = tailNode),
|
|
12735
|
+
(tailNode = tailNode.sibling);
|
|
12736
|
+
null === lastTailNode
|
|
12726
12737
|
? hasRenderedATailFallback || null === renderState.tail
|
|
12727
12738
|
? (renderState.tail = null)
|
|
12728
12739
|
: (renderState.tail.sibling = null)
|
|
12729
|
-
: (
|
|
12740
|
+
: (lastTailNode.sibling = null);
|
|
12741
|
+
break;
|
|
12742
|
+
default:
|
|
12743
|
+
hasRenderedATailFallback = renderState.tail;
|
|
12744
|
+
for (tailNode = null; null !== hasRenderedATailFallback; )
|
|
12745
|
+
null !== hasRenderedATailFallback.alternate &&
|
|
12746
|
+
(tailNode = hasRenderedATailFallback),
|
|
12747
|
+
(hasRenderedATailFallback = hasRenderedATailFallback.sibling);
|
|
12748
|
+
null === tailNode
|
|
12749
|
+
? (renderState.tail = null)
|
|
12750
|
+
: (tailNode.sibling = null);
|
|
12730
12751
|
}
|
|
12731
12752
|
}
|
|
12732
12753
|
function bubbleProperties(completedWork) {
|
|
@@ -13349,7 +13370,8 @@
|
|
|
13349
13370
|
scheduleRetryEffect(workInProgress, current),
|
|
13350
13371
|
cutOffTailIfNeeded(newProps, !0),
|
|
13351
13372
|
null === newProps.tail &&
|
|
13352
|
-
"
|
|
13373
|
+
"collapsed" !== newProps.tailMode &&
|
|
13374
|
+
"visible" !== newProps.tailMode &&
|
|
13353
13375
|
!nextResource.alternate &&
|
|
13354
13376
|
!isHydrating)
|
|
13355
13377
|
)
|
|
@@ -30355,11 +30377,11 @@
|
|
|
30355
30377
|
};
|
|
30356
30378
|
(function () {
|
|
30357
30379
|
var isomorphicReactPackageVersion = React.version;
|
|
30358
|
-
if ("19.3.0-canary-
|
|
30380
|
+
if ("19.3.0-canary-561ee24d-20251101" !== isomorphicReactPackageVersion)
|
|
30359
30381
|
throw Error(
|
|
30360
30382
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
30361
30383
|
(isomorphicReactPackageVersion +
|
|
30362
|
-
"\n - react-dom: 19.3.0-canary-
|
|
30384
|
+
"\n - react-dom: 19.3.0-canary-561ee24d-20251101\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
30363
30385
|
);
|
|
30364
30386
|
})();
|
|
30365
30387
|
("function" === typeof Map &&
|
|
@@ -30396,10 +30418,10 @@
|
|
|
30396
30418
|
!(function () {
|
|
30397
30419
|
var internals = {
|
|
30398
30420
|
bundleType: 1,
|
|
30399
|
-
version: "19.3.0-canary-
|
|
30421
|
+
version: "19.3.0-canary-561ee24d-20251101",
|
|
30400
30422
|
rendererPackageName: "react-dom",
|
|
30401
30423
|
currentDispatcherRef: ReactSharedInternals,
|
|
30402
|
-
reconcilerVersion: "19.3.0-canary-
|
|
30424
|
+
reconcilerVersion: "19.3.0-canary-561ee24d-20251101"
|
|
30403
30425
|
};
|
|
30404
30426
|
internals.overrideHookState = overrideHookState;
|
|
30405
30427
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -30867,7 +30889,7 @@
|
|
|
30867
30889
|
exports.useFormStatus = function () {
|
|
30868
30890
|
return resolveDispatcher().useHostTransitionStatus();
|
|
30869
30891
|
};
|
|
30870
|
-
exports.version = "19.3.0-canary-
|
|
30892
|
+
exports.version = "19.3.0-canary-561ee24d-20251101";
|
|
30871
30893
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
30872
30894
|
"function" ===
|
|
30873
30895
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|