react-dom 19.3.0-canary-67f7d47a-20251103 → 19.3.0-canary-dd048c3b-20251105
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 +194 -140
- package/cjs/react-dom-client.production.js +250 -205
- package/cjs/react-dom-profiling.development.js +194 -140
- package/cjs/react-dom-profiling.profiling.js +274 -229
- package/cjs/react-dom-server-legacy.browser.development.js +147 -149
- package/cjs/react-dom-server-legacy.browser.production.js +70 -92
- package/cjs/react-dom-server-legacy.node.development.js +147 -149
- package/cjs/react-dom-server-legacy.node.production.js +70 -92
- package/cjs/react-dom-server.browser.development.js +159 -171
- package/cjs/react-dom-server.browser.production.js +80 -112
- package/cjs/react-dom-server.bun.development.js +150 -176
- package/cjs/react-dom-server.bun.production.js +83 -119
- package/cjs/react-dom-server.edge.development.js +159 -171
- package/cjs/react-dom-server.edge.production.js +80 -112
- package/cjs/react-dom-server.node.development.js +162 -178
- package/cjs/react-dom-server.node.production.js +83 -119
- 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
|
@@ -7809,6 +7809,19 @@
|
|
|
7809
7809
|
shellBoundary === fiber && (shellBoundary = null);
|
|
7810
7810
|
pop(suspenseStackCursor, fiber);
|
|
7811
7811
|
}
|
|
7812
|
+
function pushSuspenseListContext(fiber, newContext) {
|
|
7813
|
+
push(
|
|
7814
|
+
suspenseHandlerStackCursor,
|
|
7815
|
+
suspenseHandlerStackCursor.current,
|
|
7816
|
+
fiber
|
|
7817
|
+
);
|
|
7818
|
+
push(suspenseStackCursor, newContext, fiber);
|
|
7819
|
+
}
|
|
7820
|
+
function popSuspenseListContext(fiber) {
|
|
7821
|
+
pop(suspenseStackCursor, fiber);
|
|
7822
|
+
pop(suspenseHandlerStackCursor, fiber);
|
|
7823
|
+
shellBoundary === fiber && (shellBoundary = null);
|
|
7824
|
+
}
|
|
7812
7825
|
function findFirstSuspended(row) {
|
|
7813
7826
|
for (var node = row; null !== node; ) {
|
|
7814
7827
|
if (13 === node.tag) {
|
|
@@ -9849,6 +9862,7 @@
|
|
|
9849
9862
|
switch (sourceFiber.tag) {
|
|
9850
9863
|
case 31:
|
|
9851
9864
|
case 13:
|
|
9865
|
+
case 19:
|
|
9852
9866
|
return (
|
|
9853
9867
|
null === shellBoundary
|
|
9854
9868
|
? renderDidSuspendDelayIfPossible()
|
|
@@ -9903,7 +9917,11 @@
|
|
|
9903
9917
|
(didSuspendOrErrorDEV = !0),
|
|
9904
9918
|
(returnFiber = suspenseHandlerStackCursor.current),
|
|
9905
9919
|
null !== returnFiber
|
|
9906
|
-
? (
|
|
9920
|
+
? (19 === returnFiber.tag &&
|
|
9921
|
+
console.error(
|
|
9922
|
+
"SuspenseList should never catch while hydrating. This is a bug in React."
|
|
9923
|
+
),
|
|
9924
|
+
0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),
|
|
9907
9925
|
(returnFiber.flags |= 65536),
|
|
9908
9926
|
(returnFiber.lanes = rootRenderLanes),
|
|
9909
9927
|
value !== HydrationMismatchException &&
|
|
@@ -11121,24 +11139,24 @@
|
|
|
11121
11139
|
return current;
|
|
11122
11140
|
}
|
|
11123
11141
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
11124
|
-
var
|
|
11125
|
-
var
|
|
11142
|
+
var JSCompiler_object_inline_digest_2950;
|
|
11143
|
+
var JSCompiler_object_inline_stack_2951 = workInProgress.pendingProps;
|
|
11126
11144
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
11127
|
-
var
|
|
11145
|
+
var JSCompiler_object_inline_message_2949 = !1;
|
|
11128
11146
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
11129
|
-
(
|
|
11130
|
-
(
|
|
11147
|
+
(JSCompiler_object_inline_digest_2950 = didSuspend) ||
|
|
11148
|
+
(JSCompiler_object_inline_digest_2950 =
|
|
11131
11149
|
null !== current && null === current.memoizedState
|
|
11132
11150
|
? !1
|
|
11133
11151
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
11134
|
-
|
|
11135
|
-
((
|
|
11152
|
+
JSCompiler_object_inline_digest_2950 &&
|
|
11153
|
+
((JSCompiler_object_inline_message_2949 = !0),
|
|
11136
11154
|
(workInProgress.flags &= -129));
|
|
11137
|
-
|
|
11155
|
+
JSCompiler_object_inline_digest_2950 = 0 !== (workInProgress.flags & 32);
|
|
11138
11156
|
workInProgress.flags &= -33;
|
|
11139
11157
|
if (null === current) {
|
|
11140
11158
|
if (isHydrating) {
|
|
11141
|
-
|
|
11159
|
+
JSCompiler_object_inline_message_2949
|
|
11142
11160
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
11143
11161
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
11144
11162
|
(current = nextHydratableInstance)
|
|
@@ -11151,18 +11169,18 @@
|
|
|
11151
11169
|
? renderLanes
|
|
11152
11170
|
: null),
|
|
11153
11171
|
null !== renderLanes &&
|
|
11154
|
-
((
|
|
11172
|
+
((JSCompiler_object_inline_digest_2950 = {
|
|
11155
11173
|
dehydrated: renderLanes,
|
|
11156
11174
|
treeContext: getSuspendedTreeContext(),
|
|
11157
11175
|
retryLane: 536870912,
|
|
11158
11176
|
hydrationErrors: null
|
|
11159
11177
|
}),
|
|
11160
11178
|
(workInProgress.memoizedState =
|
|
11161
|
-
|
|
11162
|
-
(
|
|
11179
|
+
JSCompiler_object_inline_digest_2950),
|
|
11180
|
+
(JSCompiler_object_inline_digest_2950 =
|
|
11163
11181
|
createFiberFromDehydratedFragment(renderLanes)),
|
|
11164
|
-
(
|
|
11165
|
-
(workInProgress.child =
|
|
11182
|
+
(JSCompiler_object_inline_digest_2950.return = workInProgress),
|
|
11183
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2950),
|
|
11166
11184
|
(hydrationParentFiber = workInProgress),
|
|
11167
11185
|
(nextHydratableInstance = null)))
|
|
11168
11186
|
: (renderLanes = null);
|
|
@@ -11176,39 +11194,39 @@
|
|
|
11176
11194
|
: (workInProgress.lanes = 536870912);
|
|
11177
11195
|
return null;
|
|
11178
11196
|
}
|
|
11179
|
-
var nextPrimaryChildren =
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
if (
|
|
11197
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2951.children;
|
|
11198
|
+
JSCompiler_object_inline_stack_2951 =
|
|
11199
|
+
JSCompiler_object_inline_stack_2951.fallback;
|
|
11200
|
+
if (JSCompiler_object_inline_message_2949) {
|
|
11183
11201
|
reuseSuspenseHandlerOnStack(workInProgress);
|
|
11184
11202
|
var mode = workInProgress.mode;
|
|
11185
11203
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
|
11186
11204
|
{ mode: "hidden", children: nextPrimaryChildren },
|
|
11187
11205
|
mode
|
|
11188
11206
|
);
|
|
11189
|
-
|
|
11190
|
-
|
|
11207
|
+
JSCompiler_object_inline_stack_2951 = createFiberFromFragment(
|
|
11208
|
+
JSCompiler_object_inline_stack_2951,
|
|
11191
11209
|
mode,
|
|
11192
11210
|
renderLanes,
|
|
11193
11211
|
null
|
|
11194
11212
|
);
|
|
11195
11213
|
nextPrimaryChildren.return = workInProgress;
|
|
11196
|
-
|
|
11197
|
-
nextPrimaryChildren.sibling =
|
|
11214
|
+
JSCompiler_object_inline_stack_2951.return = workInProgress;
|
|
11215
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2951;
|
|
11198
11216
|
workInProgress.child = nextPrimaryChildren;
|
|
11199
|
-
|
|
11200
|
-
|
|
11217
|
+
JSCompiler_object_inline_stack_2951 = workInProgress.child;
|
|
11218
|
+
JSCompiler_object_inline_stack_2951.memoizedState =
|
|
11201
11219
|
mountSuspenseOffscreenState(renderLanes);
|
|
11202
|
-
|
|
11220
|
+
JSCompiler_object_inline_stack_2951.childLanes =
|
|
11203
11221
|
getRemainingWorkInPrimaryTree(
|
|
11204
11222
|
current,
|
|
11205
|
-
|
|
11223
|
+
JSCompiler_object_inline_digest_2950,
|
|
11206
11224
|
renderLanes
|
|
11207
11225
|
);
|
|
11208
11226
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
|
11209
11227
|
return bailoutOffscreenComponent(
|
|
11210
11228
|
null,
|
|
11211
|
-
|
|
11229
|
+
JSCompiler_object_inline_stack_2951
|
|
11212
11230
|
);
|
|
11213
11231
|
}
|
|
11214
11232
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -11219,8 +11237,8 @@
|
|
|
11219
11237
|
}
|
|
11220
11238
|
var prevState = current.memoizedState;
|
|
11221
11239
|
if (null !== prevState) {
|
|
11222
|
-
var
|
|
11223
|
-
if (null !==
|
|
11240
|
+
var JSCompiler_object_inline_componentStack_2952 = prevState.dehydrated;
|
|
11241
|
+
if (null !== JSCompiler_object_inline_componentStack_2952) {
|
|
11224
11242
|
if (didSuspend)
|
|
11225
11243
|
workInProgress.flags & 256
|
|
11226
11244
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11237,13 +11255,13 @@
|
|
|
11237
11255
|
(workInProgress = null))
|
|
11238
11256
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
11239
11257
|
(nextPrimaryChildren =
|
|
11240
|
-
|
|
11258
|
+
JSCompiler_object_inline_stack_2951.fallback),
|
|
11241
11259
|
(mode = workInProgress.mode),
|
|
11242
|
-
(
|
|
11260
|
+
(JSCompiler_object_inline_stack_2951 =
|
|
11243
11261
|
mountWorkInProgressOffscreenFiber(
|
|
11244
11262
|
{
|
|
11245
11263
|
mode: "visible",
|
|
11246
|
-
children:
|
|
11264
|
+
children: JSCompiler_object_inline_stack_2951.children
|
|
11247
11265
|
},
|
|
11248
11266
|
mode
|
|
11249
11267
|
)),
|
|
@@ -11254,30 +11272,30 @@
|
|
|
11254
11272
|
null
|
|
11255
11273
|
)),
|
|
11256
11274
|
(nextPrimaryChildren.flags |= 2),
|
|
11257
|
-
(
|
|
11275
|
+
(JSCompiler_object_inline_stack_2951.return = workInProgress),
|
|
11258
11276
|
(nextPrimaryChildren.return = workInProgress),
|
|
11259
|
-
(
|
|
11277
|
+
(JSCompiler_object_inline_stack_2951.sibling =
|
|
11260
11278
|
nextPrimaryChildren),
|
|
11261
|
-
(workInProgress.child =
|
|
11279
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2951),
|
|
11262
11280
|
reconcileChildFibers(
|
|
11263
11281
|
workInProgress,
|
|
11264
11282
|
current.child,
|
|
11265
11283
|
null,
|
|
11266
11284
|
renderLanes
|
|
11267
11285
|
),
|
|
11268
|
-
(
|
|
11269
|
-
(
|
|
11286
|
+
(JSCompiler_object_inline_stack_2951 = workInProgress.child),
|
|
11287
|
+
(JSCompiler_object_inline_stack_2951.memoizedState =
|
|
11270
11288
|
mountSuspenseOffscreenState(renderLanes)),
|
|
11271
|
-
(
|
|
11289
|
+
(JSCompiler_object_inline_stack_2951.childLanes =
|
|
11272
11290
|
getRemainingWorkInPrimaryTree(
|
|
11273
11291
|
current,
|
|
11274
|
-
|
|
11292
|
+
JSCompiler_object_inline_digest_2950,
|
|
11275
11293
|
renderLanes
|
|
11276
11294
|
)),
|
|
11277
11295
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11278
11296
|
(workInProgress = bailoutOffscreenComponent(
|
|
11279
11297
|
null,
|
|
11280
|
-
|
|
11298
|
+
JSCompiler_object_inline_stack_2951
|
|
11281
11299
|
)));
|
|
11282
11300
|
else if (
|
|
11283
11301
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11285,45 +11303,45 @@
|
|
|
11285
11303
|
0 !== (renderLanes & 536870912) &&
|
|
11286
11304
|
markRenderDerivedCause(workInProgress),
|
|
11287
11305
|
isSuspenseInstanceFallback(
|
|
11288
|
-
|
|
11306
|
+
JSCompiler_object_inline_componentStack_2952
|
|
11289
11307
|
))
|
|
11290
11308
|
) {
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
if (
|
|
11295
|
-
nextPrimaryChildren =
|
|
11296
|
-
var message =
|
|
11297
|
-
mode =
|
|
11298
|
-
var componentStack =
|
|
11309
|
+
JSCompiler_object_inline_digest_2950 =
|
|
11310
|
+
JSCompiler_object_inline_componentStack_2952.nextSibling &&
|
|
11311
|
+
JSCompiler_object_inline_componentStack_2952.nextSibling.dataset;
|
|
11312
|
+
if (JSCompiler_object_inline_digest_2950) {
|
|
11313
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2950.dgst;
|
|
11314
|
+
var message = JSCompiler_object_inline_digest_2950.msg;
|
|
11315
|
+
mode = JSCompiler_object_inline_digest_2950.stck;
|
|
11316
|
+
var componentStack = JSCompiler_object_inline_digest_2950.cstck;
|
|
11299
11317
|
}
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
nextPrimaryChildren =
|
|
11305
|
-
mode =
|
|
11318
|
+
JSCompiler_object_inline_message_2949 = message;
|
|
11319
|
+
JSCompiler_object_inline_digest_2950 = nextPrimaryChildren;
|
|
11320
|
+
JSCompiler_object_inline_stack_2951 = mode;
|
|
11321
|
+
JSCompiler_object_inline_componentStack_2952 = componentStack;
|
|
11322
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2949;
|
|
11323
|
+
mode = JSCompiler_object_inline_componentStack_2952;
|
|
11306
11324
|
nextPrimaryChildren = nextPrimaryChildren
|
|
11307
11325
|
? Error(nextPrimaryChildren)
|
|
11308
11326
|
: Error(
|
|
11309
11327
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
11310
11328
|
);
|
|
11311
11329
|
nextPrimaryChildren.stack =
|
|
11312
|
-
|
|
11313
|
-
nextPrimaryChildren.digest =
|
|
11314
|
-
|
|
11330
|
+
JSCompiler_object_inline_stack_2951 || "";
|
|
11331
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2950;
|
|
11332
|
+
JSCompiler_object_inline_digest_2950 =
|
|
11315
11333
|
void 0 === mode ? null : mode;
|
|
11316
|
-
|
|
11334
|
+
JSCompiler_object_inline_stack_2951 = {
|
|
11317
11335
|
value: nextPrimaryChildren,
|
|
11318
11336
|
source: null,
|
|
11319
|
-
stack:
|
|
11337
|
+
stack: JSCompiler_object_inline_digest_2950
|
|
11320
11338
|
};
|
|
11321
|
-
"string" === typeof
|
|
11339
|
+
"string" === typeof JSCompiler_object_inline_digest_2950 &&
|
|
11322
11340
|
CapturedStacks.set(
|
|
11323
11341
|
nextPrimaryChildren,
|
|
11324
|
-
|
|
11342
|
+
JSCompiler_object_inline_stack_2951
|
|
11325
11343
|
);
|
|
11326
|
-
queueHydrationError(
|
|
11344
|
+
queueHydrationError(JSCompiler_object_inline_stack_2951);
|
|
11327
11345
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11328
11346
|
current,
|
|
11329
11347
|
workInProgress,
|
|
@@ -11337,35 +11355,35 @@
|
|
|
11337
11355
|
renderLanes,
|
|
11338
11356
|
!1
|
|
11339
11357
|
),
|
|
11340
|
-
(
|
|
11358
|
+
(JSCompiler_object_inline_digest_2950 =
|
|
11341
11359
|
0 !== (renderLanes & current.childLanes)),
|
|
11342
|
-
didReceiveUpdate ||
|
|
11360
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2950)
|
|
11343
11361
|
) {
|
|
11344
|
-
|
|
11362
|
+
JSCompiler_object_inline_digest_2950 = workInProgressRoot;
|
|
11345
11363
|
if (
|
|
11346
|
-
null !==
|
|
11347
|
-
((
|
|
11348
|
-
|
|
11364
|
+
null !== JSCompiler_object_inline_digest_2950 &&
|
|
11365
|
+
((JSCompiler_object_inline_stack_2951 = getBumpedLaneForHydration(
|
|
11366
|
+
JSCompiler_object_inline_digest_2950,
|
|
11349
11367
|
renderLanes
|
|
11350
11368
|
)),
|
|
11351
|
-
0 !==
|
|
11352
|
-
|
|
11369
|
+
0 !== JSCompiler_object_inline_stack_2951 &&
|
|
11370
|
+
JSCompiler_object_inline_stack_2951 !== prevState.retryLane)
|
|
11353
11371
|
)
|
|
11354
11372
|
throw (
|
|
11355
|
-
((prevState.retryLane =
|
|
11373
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2951),
|
|
11356
11374
|
enqueueConcurrentRenderForLane(
|
|
11357
11375
|
current,
|
|
11358
|
-
|
|
11376
|
+
JSCompiler_object_inline_stack_2951
|
|
11359
11377
|
),
|
|
11360
11378
|
scheduleUpdateOnFiber(
|
|
11361
|
-
|
|
11379
|
+
JSCompiler_object_inline_digest_2950,
|
|
11362
11380
|
current,
|
|
11363
|
-
|
|
11381
|
+
JSCompiler_object_inline_stack_2951
|
|
11364
11382
|
),
|
|
11365
11383
|
SelectiveHydrationException)
|
|
11366
11384
|
);
|
|
11367
11385
|
isSuspenseInstancePending(
|
|
11368
|
-
|
|
11386
|
+
JSCompiler_object_inline_componentStack_2952
|
|
11369
11387
|
) || renderDidSuspendDelayIfPossible();
|
|
11370
11388
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11371
11389
|
current,
|
|
@@ -11374,14 +11392,14 @@
|
|
|
11374
11392
|
);
|
|
11375
11393
|
} else
|
|
11376
11394
|
isSuspenseInstancePending(
|
|
11377
|
-
|
|
11395
|
+
JSCompiler_object_inline_componentStack_2952
|
|
11378
11396
|
)
|
|
11379
11397
|
? ((workInProgress.flags |= 192),
|
|
11380
11398
|
(workInProgress.child = current.child),
|
|
11381
11399
|
(workInProgress = null))
|
|
11382
11400
|
: ((current = prevState.treeContext),
|
|
11383
11401
|
(nextHydratableInstance = getNextHydratable(
|
|
11384
|
-
|
|
11402
|
+
JSCompiler_object_inline_componentStack_2952.nextSibling
|
|
11385
11403
|
)),
|
|
11386
11404
|
(hydrationParentFiber = workInProgress),
|
|
11387
11405
|
(isHydrating = !0),
|
|
@@ -11393,32 +11411,32 @@
|
|
|
11393
11411
|
restoreSuspendedTreeContext(workInProgress, current),
|
|
11394
11412
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
11395
11413
|
workInProgress,
|
|
11396
|
-
|
|
11414
|
+
JSCompiler_object_inline_stack_2951.children
|
|
11397
11415
|
)),
|
|
11398
11416
|
(workInProgress.flags |= 4096));
|
|
11399
11417
|
return workInProgress;
|
|
11400
11418
|
}
|
|
11401
11419
|
}
|
|
11402
|
-
if (
|
|
11420
|
+
if (JSCompiler_object_inline_message_2949)
|
|
11403
11421
|
return (
|
|
11404
11422
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
11405
|
-
(nextPrimaryChildren =
|
|
11423
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2951.fallback),
|
|
11406
11424
|
(mode = workInProgress.mode),
|
|
11407
11425
|
(componentStack = current.child),
|
|
11408
|
-
(
|
|
11426
|
+
(JSCompiler_object_inline_componentStack_2952 =
|
|
11409
11427
|
componentStack.sibling),
|
|
11410
|
-
(
|
|
11428
|
+
(JSCompiler_object_inline_stack_2951 = createWorkInProgress(
|
|
11411
11429
|
componentStack,
|
|
11412
11430
|
{
|
|
11413
11431
|
mode: "hidden",
|
|
11414
|
-
children:
|
|
11432
|
+
children: JSCompiler_object_inline_stack_2951.children
|
|
11415
11433
|
}
|
|
11416
11434
|
)),
|
|
11417
|
-
(
|
|
11435
|
+
(JSCompiler_object_inline_stack_2951.subtreeFlags =
|
|
11418
11436
|
componentStack.subtreeFlags & 65011712),
|
|
11419
|
-
null !==
|
|
11437
|
+
null !== JSCompiler_object_inline_componentStack_2952
|
|
11420
11438
|
? (nextPrimaryChildren = createWorkInProgress(
|
|
11421
|
-
|
|
11439
|
+
JSCompiler_object_inline_componentStack_2952,
|
|
11422
11440
|
nextPrimaryChildren
|
|
11423
11441
|
))
|
|
11424
11442
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
|
@@ -11429,11 +11447,11 @@
|
|
|
11429
11447
|
)),
|
|
11430
11448
|
(nextPrimaryChildren.flags |= 2)),
|
|
11431
11449
|
(nextPrimaryChildren.return = workInProgress),
|
|
11432
|
-
(
|
|
11433
|
-
(
|
|
11434
|
-
(workInProgress.child =
|
|
11435
|
-
bailoutOffscreenComponent(null,
|
|
11436
|
-
(
|
|
11450
|
+
(JSCompiler_object_inline_stack_2951.return = workInProgress),
|
|
11451
|
+
(JSCompiler_object_inline_stack_2951.sibling = nextPrimaryChildren),
|
|
11452
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2951),
|
|
11453
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2951),
|
|
11454
|
+
(JSCompiler_object_inline_stack_2951 = workInProgress.child),
|
|
11437
11455
|
(nextPrimaryChildren = current.child.memoizedState),
|
|
11438
11456
|
null === nextPrimaryChildren
|
|
11439
11457
|
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
|
@@ -11449,18 +11467,18 @@
|
|
|
11449
11467
|
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
|
11450
11468
|
cachePool: mode
|
|
11451
11469
|
})),
|
|
11452
|
-
(
|
|
11470
|
+
(JSCompiler_object_inline_stack_2951.memoizedState =
|
|
11453
11471
|
nextPrimaryChildren),
|
|
11454
|
-
(
|
|
11472
|
+
(JSCompiler_object_inline_stack_2951.childLanes =
|
|
11455
11473
|
getRemainingWorkInPrimaryTree(
|
|
11456
11474
|
current,
|
|
11457
|
-
|
|
11475
|
+
JSCompiler_object_inline_digest_2950,
|
|
11458
11476
|
renderLanes
|
|
11459
11477
|
)),
|
|
11460
11478
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11461
11479
|
bailoutOffscreenComponent(
|
|
11462
11480
|
current.child,
|
|
11463
|
-
|
|
11481
|
+
JSCompiler_object_inline_stack_2951
|
|
11464
11482
|
)
|
|
11465
11483
|
);
|
|
11466
11484
|
null !== prevState &&
|
|
@@ -11472,16 +11490,16 @@
|
|
|
11472
11490
|
current = renderLanes.sibling;
|
|
11473
11491
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
11474
11492
|
mode: "visible",
|
|
11475
|
-
children:
|
|
11493
|
+
children: JSCompiler_object_inline_stack_2951.children
|
|
11476
11494
|
});
|
|
11477
11495
|
renderLanes.return = workInProgress;
|
|
11478
11496
|
renderLanes.sibling = null;
|
|
11479
11497
|
null !== current &&
|
|
11480
|
-
((
|
|
11481
|
-
null ===
|
|
11498
|
+
((JSCompiler_object_inline_digest_2950 = workInProgress.deletions),
|
|
11499
|
+
null === JSCompiler_object_inline_digest_2950
|
|
11482
11500
|
? ((workInProgress.deletions = [current]),
|
|
11483
11501
|
(workInProgress.flags |= 16))
|
|
11484
|
-
:
|
|
11502
|
+
: JSCompiler_object_inline_digest_2950.push(current));
|
|
11485
11503
|
workInProgress.child = renderLanes;
|
|
11486
11504
|
workInProgress.memoizedState = null;
|
|
11487
11505
|
return renderLanes;
|
|
@@ -11575,13 +11593,15 @@
|
|
|
11575
11593
|
tailMode = nextProps.tail,
|
|
11576
11594
|
newChildren = nextProps.children,
|
|
11577
11595
|
suspenseContext = suspenseStackCursor.current;
|
|
11596
|
+
if (workInProgress.flags & 128)
|
|
11597
|
+
return pushSuspenseListContext(workInProgress, suspenseContext), null;
|
|
11578
11598
|
(nextProps = 0 !== (suspenseContext & ForceSuspenseFallback))
|
|
11579
11599
|
? ((suspenseContext =
|
|
11580
11600
|
(suspenseContext & SubtreeSuspenseContextMask) |
|
|
11581
11601
|
ForceSuspenseFallback),
|
|
11582
11602
|
(workInProgress.flags |= 128))
|
|
11583
11603
|
: (suspenseContext &= SubtreeSuspenseContextMask);
|
|
11584
|
-
|
|
11604
|
+
pushSuspenseListContext(workInProgress, suspenseContext);
|
|
11585
11605
|
suspenseContext = null == revealOrder ? "null" : revealOrder;
|
|
11586
11606
|
if (
|
|
11587
11607
|
null != revealOrder &&
|
|
@@ -11906,6 +11926,12 @@
|
|
|
11906
11926
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
11907
11927
|
break;
|
|
11908
11928
|
case 19:
|
|
11929
|
+
if (workInProgress.flags & 128)
|
|
11930
|
+
return updateSuspenseListComponent(
|
|
11931
|
+
current,
|
|
11932
|
+
workInProgress,
|
|
11933
|
+
renderLanes
|
|
11934
|
+
);
|
|
11909
11935
|
var didSuspendBefore = 0 !== (current.flags & 128);
|
|
11910
11936
|
stateNode = 0 !== (renderLanes & workInProgress.childLanes);
|
|
11911
11937
|
stateNode ||
|
|
@@ -11930,11 +11956,7 @@
|
|
|
11930
11956
|
((didSuspendBefore.rendering = null),
|
|
11931
11957
|
(didSuspendBefore.tail = null),
|
|
11932
11958
|
(didSuspendBefore.lastEffect = null));
|
|
11933
|
-
|
|
11934
|
-
suspenseStackCursor,
|
|
11935
|
-
suspenseStackCursor.current,
|
|
11936
|
-
workInProgress
|
|
11937
|
-
);
|
|
11959
|
+
pushSuspenseListContext(workInProgress, suspenseStackCursor.current);
|
|
11938
11960
|
if (stateNode) break;
|
|
11939
11961
|
else return null;
|
|
11940
11962
|
case 22:
|
|
@@ -13300,7 +13322,7 @@
|
|
|
13300
13322
|
null
|
|
13301
13323
|
);
|
|
13302
13324
|
case 19:
|
|
13303
|
-
|
|
13325
|
+
popSuspenseListContext(workInProgress);
|
|
13304
13326
|
newProps = workInProgress.memoizedState;
|
|
13305
13327
|
if (null === newProps) return bubbleProperties(workInProgress), null;
|
|
13306
13328
|
type = 0 !== (workInProgress.flags & 128);
|
|
@@ -13329,12 +13351,11 @@
|
|
|
13329
13351
|
)
|
|
13330
13352
|
resetWorkInProgress(renderLanes, current),
|
|
13331
13353
|
(renderLanes = renderLanes.sibling);
|
|
13332
|
-
|
|
13333
|
-
|
|
13354
|
+
pushSuspenseListContext(
|
|
13355
|
+
workInProgress,
|
|
13334
13356
|
(suspenseStackCursor.current &
|
|
13335
13357
|
SubtreeSuspenseContextMask) |
|
|
13336
|
-
ForceSuspenseFallback
|
|
13337
|
-
workInProgress
|
|
13358
|
+
ForceSuspenseFallback
|
|
13338
13359
|
);
|
|
13339
13360
|
isHydrating &&
|
|
13340
13361
|
pushTreeFork(workInProgress, newProps.treeForkCount);
|
|
@@ -13385,23 +13406,43 @@
|
|
|
13385
13406
|
: (workInProgress.child = nextResource),
|
|
13386
13407
|
(newProps.last = nextResource));
|
|
13387
13408
|
}
|
|
13388
|
-
if (null !== newProps.tail)
|
|
13389
|
-
|
|
13390
|
-
|
|
13391
|
-
(
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
|
|
13409
|
+
if (null !== newProps.tail) {
|
|
13410
|
+
current = newProps.tail;
|
|
13411
|
+
a: {
|
|
13412
|
+
for (renderLanes = current; null !== renderLanes; ) {
|
|
13413
|
+
if (null !== renderLanes.alternate) {
|
|
13414
|
+
renderLanes = !1;
|
|
13415
|
+
break a;
|
|
13416
|
+
}
|
|
13417
|
+
renderLanes = renderLanes.sibling;
|
|
13418
|
+
}
|
|
13419
|
+
renderLanes = !0;
|
|
13420
|
+
}
|
|
13421
|
+
newProps.rendering = current;
|
|
13422
|
+
newProps.tail = current.sibling;
|
|
13423
|
+
newProps.renderingStartTime = now$1();
|
|
13424
|
+
current.sibling = null;
|
|
13425
|
+
nextResource = suspenseStackCursor.current;
|
|
13426
|
+
nextResource = type
|
|
13427
|
+
? (nextResource & SubtreeSuspenseContextMask) |
|
|
13428
|
+
ForceSuspenseFallback
|
|
13429
|
+
: nextResource & SubtreeSuspenseContextMask;
|
|
13430
|
+
"visible" === newProps.tailMode ||
|
|
13431
|
+
"collapsed" === newProps.tailMode ||
|
|
13432
|
+
!renderLanes ||
|
|
13433
|
+
isHydrating
|
|
13434
|
+
? pushSuspenseListContext(workInProgress, nextResource)
|
|
13435
|
+
: ((renderLanes = nextResource),
|
|
13436
|
+
push(
|
|
13437
|
+
suspenseHandlerStackCursor,
|
|
13438
|
+
workInProgress,
|
|
13439
|
+
workInProgress
|
|
13440
|
+
),
|
|
13441
|
+
push(suspenseStackCursor, renderLanes, workInProgress),
|
|
13442
|
+
null === shellBoundary && (shellBoundary = workInProgress));
|
|
13443
|
+
isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount);
|
|
13444
|
+
return current;
|
|
13445
|
+
}
|
|
13405
13446
|
bubbleProperties(workInProgress);
|
|
13406
13447
|
return null;
|
|
13407
13448
|
case 22:
|
|
@@ -13523,7 +13564,18 @@
|
|
|
13523
13564
|
workInProgress)
|
|
13524
13565
|
: null;
|
|
13525
13566
|
case 19:
|
|
13526
|
-
return
|
|
13567
|
+
return (
|
|
13568
|
+
popSuspenseListContext(workInProgress),
|
|
13569
|
+
(current = workInProgress.flags),
|
|
13570
|
+
current & 65536
|
|
13571
|
+
? ((workInProgress.flags = (current & -65537) | 128),
|
|
13572
|
+
(current = workInProgress.memoizedState),
|
|
13573
|
+
null !== current &&
|
|
13574
|
+
((current.rendering = null), (current.tail = null)),
|
|
13575
|
+
(workInProgress.flags |= 4),
|
|
13576
|
+
workInProgress)
|
|
13577
|
+
: null
|
|
13578
|
+
);
|
|
13527
13579
|
case 4:
|
|
13528
13580
|
return popHostContainer(workInProgress), null;
|
|
13529
13581
|
case 10:
|
|
@@ -13573,7 +13625,7 @@
|
|
|
13573
13625
|
popSuspenseHandler(interruptedWork);
|
|
13574
13626
|
break;
|
|
13575
13627
|
case 19:
|
|
13576
|
-
|
|
13628
|
+
popSuspenseListContext(interruptedWork);
|
|
13577
13629
|
break;
|
|
13578
13630
|
case 10:
|
|
13579
13631
|
popProvider(interruptedWork.type, interruptedWork);
|
|
@@ -13865,7 +13917,8 @@
|
|
|
13865
13917
|
break;
|
|
13866
13918
|
case 7:
|
|
13867
13919
|
null === finishedWork.stateNode &&
|
|
13868
|
-
(
|
|
13920
|
+
((instanceToUse = new FragmentInstance(finishedWork)),
|
|
13921
|
+
(finishedWork.stateNode = instanceToUse));
|
|
13869
13922
|
instanceToUse = finishedWork.stateNode;
|
|
13870
13923
|
break;
|
|
13871
13924
|
default:
|
|
@@ -14022,12 +14075,12 @@
|
|
|
14022
14075
|
function commitFragmentInstanceDeletionEffects(fiber) {
|
|
14023
14076
|
for (var parent = fiber.return; null !== parent; ) {
|
|
14024
14077
|
if (isFragmentInstanceParent(parent)) {
|
|
14025
|
-
var
|
|
14078
|
+
var childInstance = fiber.stateNode,
|
|
14026
14079
|
eventListeners = parent.stateNode._eventListeners;
|
|
14027
14080
|
if (null !== eventListeners)
|
|
14028
14081
|
for (var i = 0; i < eventListeners.length; i++) {
|
|
14029
14082
|
var _eventListeners$i3 = eventListeners[i];
|
|
14030
|
-
|
|
14083
|
+
childInstance.removeEventListener(
|
|
14031
14084
|
_eventListeners$i3.type,
|
|
14032
14085
|
_eventListeners$i3.listener,
|
|
14033
14086
|
_eventListeners$i3.optionsOrUseCapture
|
|
@@ -17890,7 +17943,8 @@
|
|
|
17890
17943
|
case RootFatalErrored:
|
|
17891
17944
|
throw Error("Root did not complete. This is a bug in React.");
|
|
17892
17945
|
case RootSuspendedWithDelay:
|
|
17893
|
-
if ((lanes & 4194048) !== lanes)
|
|
17946
|
+
if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)
|
|
17947
|
+
break;
|
|
17894
17948
|
case RootSuspendedAtTheShell:
|
|
17895
17949
|
setCurrentTrackFromLanes(lanes);
|
|
17896
17950
|
logSuspendedRenderPhase(
|
|
@@ -30325,11 +30379,11 @@
|
|
|
30325
30379
|
};
|
|
30326
30380
|
(function () {
|
|
30327
30381
|
var isomorphicReactPackageVersion = React.version;
|
|
30328
|
-
if ("19.3.0-canary-
|
|
30382
|
+
if ("19.3.0-canary-dd048c3b-20251105" !== isomorphicReactPackageVersion)
|
|
30329
30383
|
throw Error(
|
|
30330
30384
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
30331
30385
|
(isomorphicReactPackageVersion +
|
|
30332
|
-
"\n - react-dom: 19.3.0-canary-
|
|
30386
|
+
"\n - react-dom: 19.3.0-canary-dd048c3b-20251105\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
30333
30387
|
);
|
|
30334
30388
|
})();
|
|
30335
30389
|
("function" === typeof Map &&
|
|
@@ -30366,10 +30420,10 @@
|
|
|
30366
30420
|
!(function () {
|
|
30367
30421
|
var internals = {
|
|
30368
30422
|
bundleType: 1,
|
|
30369
|
-
version: "19.3.0-canary-
|
|
30423
|
+
version: "19.3.0-canary-dd048c3b-20251105",
|
|
30370
30424
|
rendererPackageName: "react-dom",
|
|
30371
30425
|
currentDispatcherRef: ReactSharedInternals,
|
|
30372
|
-
reconcilerVersion: "19.3.0-canary-
|
|
30426
|
+
reconcilerVersion: "19.3.0-canary-dd048c3b-20251105"
|
|
30373
30427
|
};
|
|
30374
30428
|
internals.overrideHookState = overrideHookState;
|
|
30375
30429
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -30507,7 +30561,7 @@
|
|
|
30507
30561
|
listenToAllSupportedEvents(container);
|
|
30508
30562
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
30509
30563
|
};
|
|
30510
|
-
exports.version = "19.3.0-canary-
|
|
30564
|
+
exports.version = "19.3.0-canary-dd048c3b-20251105";
|
|
30511
30565
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
30512
30566
|
"function" ===
|
|
30513
30567
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|