react-dom 19.1.0-canary-7eb8234f-20241218 → 19.1.0-canary-9463d51e-20241219
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 +243 -218
- package/cjs/react-dom-client.production.js +207 -184
- package/cjs/react-dom-profiling.development.js +243 -218
- package/cjs/react-dom-profiling.profiling.js +210 -187
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- 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
@@ -2332,6 +2332,8 @@
|
|
2332
2332
|
"hr" === tag ||
|
2333
2333
|
"option" === tag ||
|
2334
2334
|
"optgroup" === tag ||
|
2335
|
+
"script" === tag ||
|
2336
|
+
"template" === tag ||
|
2335
2337
|
"#text" === tag
|
2336
2338
|
);
|
2337
2339
|
case "optgroup":
|
@@ -5041,6 +5043,18 @@
|
|
5041
5043
|
nextHydratableInstance = hydrationParentFiber = null;
|
5042
5044
|
didSuspendOrErrorDEV = isHydrating = !1;
|
5043
5045
|
}
|
5046
|
+
function upgradeHydrationErrorsToRecoverable() {
|
5047
|
+
var queuedErrors = hydrationErrors;
|
5048
|
+
null !== queuedErrors &&
|
5049
|
+
(null === workInProgressRootRecoverableErrors
|
5050
|
+
? (workInProgressRootRecoverableErrors = queuedErrors)
|
5051
|
+
: workInProgressRootRecoverableErrors.push.apply(
|
5052
|
+
workInProgressRootRecoverableErrors,
|
5053
|
+
queuedErrors
|
5054
|
+
),
|
5055
|
+
(hydrationErrors = null));
|
5056
|
+
return queuedErrors;
|
5057
|
+
}
|
5044
5058
|
function queueHydrationError(error) {
|
5045
5059
|
null === hydrationErrors
|
5046
5060
|
? (hydrationErrors = [error])
|
@@ -9208,32 +9222,32 @@
|
|
9208
9222
|
return current;
|
9209
9223
|
}
|
9210
9224
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9211
|
-
var
|
9212
|
-
var
|
9225
|
+
var JSCompiler_object_inline_digest_2313;
|
9226
|
+
var JSCompiler_object_inline_stack_2314 = workInProgress.pendingProps;
|
9213
9227
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9214
|
-
var
|
9228
|
+
var JSCompiler_object_inline_componentStack_2315 = !1;
|
9215
9229
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9216
|
-
(
|
9217
|
-
(
|
9230
|
+
(JSCompiler_object_inline_digest_2313 = didSuspend) ||
|
9231
|
+
(JSCompiler_object_inline_digest_2313 =
|
9218
9232
|
null !== current && null === current.memoizedState
|
9219
9233
|
? !1
|
9220
9234
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9221
|
-
|
9222
|
-
((
|
9235
|
+
JSCompiler_object_inline_digest_2313 &&
|
9236
|
+
((JSCompiler_object_inline_componentStack_2315 = !0),
|
9223
9237
|
(workInProgress.flags &= -129));
|
9224
|
-
|
9238
|
+
JSCompiler_object_inline_digest_2313 = 0 !== (workInProgress.flags & 32);
|
9225
9239
|
workInProgress.flags &= -33;
|
9226
9240
|
if (null === current) {
|
9227
9241
|
if (isHydrating) {
|
9228
|
-
|
9242
|
+
JSCompiler_object_inline_componentStack_2315
|
9229
9243
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9230
9244
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9231
9245
|
if (isHydrating) {
|
9232
|
-
var
|
9246
|
+
var JSCompiler_object_inline_message_2312 = nextHydratableInstance;
|
9233
9247
|
var JSCompiler_temp;
|
9234
|
-
if (!(JSCompiler_temp = !
|
9248
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2312)) {
|
9235
9249
|
c: {
|
9236
|
-
var instance =
|
9250
|
+
var instance = JSCompiler_object_inline_message_2312;
|
9237
9251
|
for (
|
9238
9252
|
JSCompiler_temp = rootOrSingletonContext;
|
9239
9253
|
8 !== instance.nodeType;
|
@@ -9259,7 +9273,8 @@
|
|
9259
9273
|
null !== treeContextProvider
|
9260
9274
|
? { id: treeContextId, overflow: treeContextOverflow }
|
9261
9275
|
: null,
|
9262
|
-
retryLane: 536870912
|
9276
|
+
retryLane: 536870912,
|
9277
|
+
hydrationErrors: null
|
9263
9278
|
}),
|
9264
9279
|
(instance = createFiber(18, null, null, NoMode)),
|
9265
9280
|
(instance.stateNode = JSCompiler_temp),
|
@@ -9274,77 +9289,77 @@
|
|
9274
9289
|
JSCompiler_temp &&
|
9275
9290
|
(warnNonHydratedInstance(
|
9276
9291
|
workInProgress,
|
9277
|
-
|
9292
|
+
JSCompiler_object_inline_message_2312
|
9278
9293
|
),
|
9279
9294
|
throwOnHydrationMismatch(workInProgress));
|
9280
9295
|
}
|
9281
|
-
|
9296
|
+
JSCompiler_object_inline_message_2312 = workInProgress.memoizedState;
|
9282
9297
|
if (
|
9283
|
-
null !==
|
9284
|
-
((
|
9285
|
-
|
9286
|
-
null !==
|
9298
|
+
null !== JSCompiler_object_inline_message_2312 &&
|
9299
|
+
((JSCompiler_object_inline_message_2312 =
|
9300
|
+
JSCompiler_object_inline_message_2312.dehydrated),
|
9301
|
+
null !== JSCompiler_object_inline_message_2312)
|
9287
9302
|
)
|
9288
9303
|
return (
|
9289
|
-
isSuspenseInstanceFallback(
|
9304
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2312)
|
9290
9305
|
? (workInProgress.lanes = 32)
|
9291
9306
|
: (workInProgress.lanes = 536870912),
|
9292
9307
|
null
|
9293
9308
|
);
|
9294
9309
|
popSuspenseHandler(workInProgress);
|
9295
9310
|
}
|
9296
|
-
|
9297
|
-
|
9298
|
-
|
9299
|
-
|
9300
|
-
if (
|
9311
|
+
JSCompiler_object_inline_message_2312 =
|
9312
|
+
JSCompiler_object_inline_stack_2314.children;
|
9313
|
+
JSCompiler_object_inline_stack_2314 =
|
9314
|
+
JSCompiler_object_inline_stack_2314.fallback;
|
9315
|
+
if (JSCompiler_object_inline_componentStack_2315)
|
9301
9316
|
return (
|
9302
9317
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9303
|
-
(
|
9318
|
+
(JSCompiler_object_inline_componentStack_2315 =
|
9304
9319
|
workInProgress.mode),
|
9305
|
-
(
|
9320
|
+
(JSCompiler_object_inline_message_2312 =
|
9306
9321
|
mountWorkInProgressOffscreenFiber(
|
9307
9322
|
{
|
9308
9323
|
mode: "hidden",
|
9309
|
-
children:
|
9324
|
+
children: JSCompiler_object_inline_message_2312
|
9310
9325
|
},
|
9311
|
-
|
9326
|
+
JSCompiler_object_inline_componentStack_2315
|
9312
9327
|
)),
|
9313
|
-
(
|
9314
|
-
|
9315
|
-
|
9328
|
+
(JSCompiler_object_inline_stack_2314 = createFiberFromFragment(
|
9329
|
+
JSCompiler_object_inline_stack_2314,
|
9330
|
+
JSCompiler_object_inline_componentStack_2315,
|
9316
9331
|
renderLanes,
|
9317
9332
|
null
|
9318
9333
|
)),
|
9319
|
-
(
|
9320
|
-
(
|
9321
|
-
(
|
9322
|
-
|
9323
|
-
(workInProgress.child =
|
9324
|
-
(
|
9334
|
+
(JSCompiler_object_inline_message_2312.return = workInProgress),
|
9335
|
+
(JSCompiler_object_inline_stack_2314.return = workInProgress),
|
9336
|
+
(JSCompiler_object_inline_message_2312.sibling =
|
9337
|
+
JSCompiler_object_inline_stack_2314),
|
9338
|
+
(workInProgress.child = JSCompiler_object_inline_message_2312),
|
9339
|
+
(JSCompiler_object_inline_componentStack_2315 =
|
9325
9340
|
workInProgress.child),
|
9326
|
-
(
|
9341
|
+
(JSCompiler_object_inline_componentStack_2315.memoizedState =
|
9327
9342
|
mountSuspenseOffscreenState(renderLanes)),
|
9328
|
-
(
|
9343
|
+
(JSCompiler_object_inline_componentStack_2315.childLanes =
|
9329
9344
|
getRemainingWorkInPrimaryTree(
|
9330
9345
|
current,
|
9331
|
-
|
9346
|
+
JSCompiler_object_inline_digest_2313,
|
9332
9347
|
renderLanes
|
9333
9348
|
)),
|
9334
9349
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9335
|
-
|
9350
|
+
JSCompiler_object_inline_stack_2314
|
9336
9351
|
);
|
9337
9352
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9338
9353
|
return mountSuspensePrimaryChildren(
|
9339
9354
|
workInProgress,
|
9340
|
-
|
9355
|
+
JSCompiler_object_inline_message_2312
|
9341
9356
|
);
|
9342
9357
|
}
|
9343
9358
|
var prevState = current.memoizedState;
|
9344
9359
|
if (
|
9345
9360
|
null !== prevState &&
|
9346
|
-
((
|
9347
|
-
null !==
|
9361
|
+
((JSCompiler_object_inline_message_2312 = prevState.dehydrated),
|
9362
|
+
null !== JSCompiler_object_inline_message_2312)
|
9348
9363
|
) {
|
9349
9364
|
if (didSuspend)
|
9350
9365
|
workInProgress.flags & 256
|
@@ -9361,94 +9376,94 @@
|
|
9361
9376
|
(workInProgress.flags |= 128),
|
9362
9377
|
(workInProgress = null))
|
9363
9378
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9364
|
-
(
|
9365
|
-
|
9366
|
-
(
|
9367
|
-
(
|
9379
|
+
(JSCompiler_object_inline_componentStack_2315 =
|
9380
|
+
JSCompiler_object_inline_stack_2314.fallback),
|
9381
|
+
(JSCompiler_object_inline_message_2312 = workInProgress.mode),
|
9382
|
+
(JSCompiler_object_inline_stack_2314 =
|
9368
9383
|
mountWorkInProgressOffscreenFiber(
|
9369
9384
|
{
|
9370
9385
|
mode: "visible",
|
9371
|
-
children:
|
9386
|
+
children: JSCompiler_object_inline_stack_2314.children
|
9372
9387
|
},
|
9373
|
-
|
9388
|
+
JSCompiler_object_inline_message_2312
|
9374
9389
|
)),
|
9375
|
-
(
|
9390
|
+
(JSCompiler_object_inline_componentStack_2315 =
|
9376
9391
|
createFiberFromFragment(
|
9377
|
-
|
9378
|
-
|
9392
|
+
JSCompiler_object_inline_componentStack_2315,
|
9393
|
+
JSCompiler_object_inline_message_2312,
|
9379
9394
|
renderLanes,
|
9380
9395
|
null
|
9381
9396
|
)),
|
9382
|
-
(
|
9383
|
-
(
|
9384
|
-
(
|
9397
|
+
(JSCompiler_object_inline_componentStack_2315.flags |= 2),
|
9398
|
+
(JSCompiler_object_inline_stack_2314.return = workInProgress),
|
9399
|
+
(JSCompiler_object_inline_componentStack_2315.return =
|
9385
9400
|
workInProgress),
|
9386
|
-
(
|
9387
|
-
|
9388
|
-
(workInProgress.child =
|
9401
|
+
(JSCompiler_object_inline_stack_2314.sibling =
|
9402
|
+
JSCompiler_object_inline_componentStack_2315),
|
9403
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2314),
|
9389
9404
|
reconcileChildFibers(
|
9390
9405
|
workInProgress,
|
9391
9406
|
current.child,
|
9392
9407
|
null,
|
9393
9408
|
renderLanes
|
9394
9409
|
),
|
9395
|
-
(
|
9396
|
-
(
|
9410
|
+
(JSCompiler_object_inline_stack_2314 = workInProgress.child),
|
9411
|
+
(JSCompiler_object_inline_stack_2314.memoizedState =
|
9397
9412
|
mountSuspenseOffscreenState(renderLanes)),
|
9398
|
-
(
|
9413
|
+
(JSCompiler_object_inline_stack_2314.childLanes =
|
9399
9414
|
getRemainingWorkInPrimaryTree(
|
9400
9415
|
current,
|
9401
|
-
|
9416
|
+
JSCompiler_object_inline_digest_2313,
|
9402
9417
|
renderLanes
|
9403
9418
|
)),
|
9404
9419
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9405
9420
|
(workInProgress =
|
9406
|
-
|
9421
|
+
JSCompiler_object_inline_componentStack_2315));
|
9407
9422
|
else if (
|
9408
9423
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9409
9424
|
isHydrating &&
|
9410
9425
|
console.error(
|
9411
9426
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9412
9427
|
),
|
9413
|
-
isSuspenseInstanceFallback(
|
9428
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2312))
|
9414
9429
|
) {
|
9415
|
-
|
9416
|
-
|
9417
|
-
|
9418
|
-
if (
|
9419
|
-
JSCompiler_temp =
|
9420
|
-
var message =
|
9421
|
-
instance =
|
9422
|
-
var componentStack =
|
9430
|
+
JSCompiler_object_inline_digest_2313 =
|
9431
|
+
JSCompiler_object_inline_message_2312.nextSibling &&
|
9432
|
+
JSCompiler_object_inline_message_2312.nextSibling.dataset;
|
9433
|
+
if (JSCompiler_object_inline_digest_2313) {
|
9434
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2313.dgst;
|
9435
|
+
var message = JSCompiler_object_inline_digest_2313.msg;
|
9436
|
+
instance = JSCompiler_object_inline_digest_2313.stck;
|
9437
|
+
var componentStack = JSCompiler_object_inline_digest_2313.cstck;
|
9423
9438
|
}
|
9424
|
-
|
9425
|
-
|
9426
|
-
|
9427
|
-
JSCompiler_temp =
|
9439
|
+
JSCompiler_object_inline_message_2312 = message;
|
9440
|
+
JSCompiler_object_inline_digest_2313 = JSCompiler_temp;
|
9441
|
+
JSCompiler_object_inline_stack_2314 = instance;
|
9442
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2315 =
|
9428
9443
|
componentStack;
|
9429
|
-
|
9430
|
-
|
9431
|
-
? Error(
|
9444
|
+
JSCompiler_object_inline_componentStack_2315 =
|
9445
|
+
JSCompiler_object_inline_message_2312
|
9446
|
+
? Error(JSCompiler_object_inline_message_2312)
|
9432
9447
|
: Error(
|
9433
9448
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9434
9449
|
);
|
9435
|
-
|
9436
|
-
|
9437
|
-
|
9438
|
-
|
9439
|
-
|
9450
|
+
JSCompiler_object_inline_componentStack_2315.stack =
|
9451
|
+
JSCompiler_object_inline_stack_2314 || "";
|
9452
|
+
JSCompiler_object_inline_componentStack_2315.digest =
|
9453
|
+
JSCompiler_object_inline_digest_2313;
|
9454
|
+
JSCompiler_object_inline_digest_2313 =
|
9440
9455
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9441
|
-
|
9442
|
-
value:
|
9456
|
+
JSCompiler_object_inline_stack_2314 = {
|
9457
|
+
value: JSCompiler_object_inline_componentStack_2315,
|
9443
9458
|
source: null,
|
9444
|
-
stack:
|
9459
|
+
stack: JSCompiler_object_inline_digest_2313
|
9445
9460
|
};
|
9446
|
-
"string" === typeof
|
9461
|
+
"string" === typeof JSCompiler_object_inline_digest_2313 &&
|
9447
9462
|
CapturedStacks.set(
|
9448
|
-
|
9449
|
-
|
9463
|
+
JSCompiler_object_inline_componentStack_2315,
|
9464
|
+
JSCompiler_object_inline_stack_2314
|
9450
9465
|
);
|
9451
|
-
queueHydrationError(
|
9466
|
+
queueHydrationError(JSCompiler_object_inline_stack_2314);
|
9452
9467
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9453
9468
|
current,
|
9454
9469
|
workInProgress,
|
@@ -9462,44 +9477,44 @@
|
|
9462
9477
|
renderLanes,
|
9463
9478
|
!1
|
9464
9479
|
),
|
9465
|
-
(
|
9480
|
+
(JSCompiler_object_inline_digest_2313 =
|
9466
9481
|
0 !== (renderLanes & current.childLanes)),
|
9467
|
-
didReceiveUpdate ||
|
9482
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2313)
|
9468
9483
|
) {
|
9469
|
-
|
9484
|
+
JSCompiler_object_inline_digest_2313 = workInProgressRoot;
|
9470
9485
|
if (
|
9471
|
-
null !==
|
9472
|
-
((
|
9473
|
-
(
|
9474
|
-
0 !== (
|
9486
|
+
null !== JSCompiler_object_inline_digest_2313 &&
|
9487
|
+
((JSCompiler_object_inline_stack_2314 = renderLanes & -renderLanes),
|
9488
|
+
(JSCompiler_object_inline_stack_2314 =
|
9489
|
+
0 !== (JSCompiler_object_inline_stack_2314 & 42)
|
9475
9490
|
? 1
|
9476
9491
|
: getBumpedLaneForHydrationByLane(
|
9477
|
-
|
9492
|
+
JSCompiler_object_inline_stack_2314
|
9478
9493
|
)),
|
9479
|
-
(
|
9494
|
+
(JSCompiler_object_inline_stack_2314 =
|
9480
9495
|
0 !==
|
9481
|
-
(
|
9482
|
-
(
|
9496
|
+
(JSCompiler_object_inline_stack_2314 &
|
9497
|
+
(JSCompiler_object_inline_digest_2313.suspendedLanes |
|
9483
9498
|
renderLanes))
|
9484
9499
|
? 0
|
9485
|
-
:
|
9486
|
-
0 !==
|
9487
|
-
|
9500
|
+
: JSCompiler_object_inline_stack_2314),
|
9501
|
+
0 !== JSCompiler_object_inline_stack_2314 &&
|
9502
|
+
JSCompiler_object_inline_stack_2314 !== prevState.retryLane)
|
9488
9503
|
)
|
9489
9504
|
throw (
|
9490
|
-
((prevState.retryLane =
|
9505
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2314),
|
9491
9506
|
enqueueConcurrentRenderForLane(
|
9492
9507
|
current,
|
9493
|
-
|
9508
|
+
JSCompiler_object_inline_stack_2314
|
9494
9509
|
),
|
9495
9510
|
scheduleUpdateOnFiber(
|
9496
|
-
|
9511
|
+
JSCompiler_object_inline_digest_2313,
|
9497
9512
|
current,
|
9498
|
-
|
9513
|
+
JSCompiler_object_inline_stack_2314
|
9499
9514
|
),
|
9500
9515
|
SelectiveHydrationException)
|
9501
9516
|
);
|
9502
|
-
|
9517
|
+
JSCompiler_object_inline_message_2312.data ===
|
9503
9518
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9504
9519
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9505
9520
|
current,
|
@@ -9507,14 +9522,14 @@
|
|
9507
9522
|
renderLanes
|
9508
9523
|
);
|
9509
9524
|
} else
|
9510
|
-
|
9525
|
+
JSCompiler_object_inline_message_2312.data ===
|
9511
9526
|
SUSPENSE_PENDING_START_DATA
|
9512
9527
|
? ((workInProgress.flags |= 192),
|
9513
9528
|
(workInProgress.child = current.child),
|
9514
9529
|
(workInProgress = null))
|
9515
9530
|
: ((current = prevState.treeContext),
|
9516
9531
|
(nextHydratableInstance = getNextHydratable(
|
9517
|
-
|
9532
|
+
JSCompiler_object_inline_message_2312.nextSibling
|
9518
9533
|
)),
|
9519
9534
|
(hydrationParentFiber = workInProgress),
|
9520
9535
|
(isHydrating = !0),
|
@@ -9532,57 +9547,57 @@
|
|
9532
9547
|
(treeContextProvider = workInProgress)),
|
9533
9548
|
(workInProgress = mountSuspensePrimaryChildren(
|
9534
9549
|
workInProgress,
|
9535
|
-
|
9550
|
+
JSCompiler_object_inline_stack_2314.children
|
9536
9551
|
)),
|
9537
9552
|
(workInProgress.flags |= 4096));
|
9538
9553
|
return workInProgress;
|
9539
9554
|
}
|
9540
|
-
if (
|
9555
|
+
if (JSCompiler_object_inline_componentStack_2315)
|
9541
9556
|
return (
|
9542
9557
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9543
|
-
(
|
9544
|
-
|
9545
|
-
(
|
9558
|
+
(JSCompiler_object_inline_componentStack_2315 =
|
9559
|
+
JSCompiler_object_inline_stack_2314.fallback),
|
9560
|
+
(JSCompiler_object_inline_message_2312 = workInProgress.mode),
|
9546
9561
|
(JSCompiler_temp = current.child),
|
9547
9562
|
(instance = JSCompiler_temp.sibling),
|
9548
|
-
(
|
9563
|
+
(JSCompiler_object_inline_stack_2314 = createWorkInProgress(
|
9549
9564
|
JSCompiler_temp,
|
9550
9565
|
{
|
9551
9566
|
mode: "hidden",
|
9552
|
-
children:
|
9567
|
+
children: JSCompiler_object_inline_stack_2314.children
|
9553
9568
|
}
|
9554
9569
|
)),
|
9555
|
-
(
|
9570
|
+
(JSCompiler_object_inline_stack_2314.subtreeFlags =
|
9556
9571
|
JSCompiler_temp.subtreeFlags & 31457280),
|
9557
9572
|
null !== instance
|
9558
|
-
? (
|
9573
|
+
? (JSCompiler_object_inline_componentStack_2315 =
|
9559
9574
|
createWorkInProgress(
|
9560
9575
|
instance,
|
9561
|
-
|
9576
|
+
JSCompiler_object_inline_componentStack_2315
|
9562
9577
|
))
|
9563
|
-
: ((
|
9578
|
+
: ((JSCompiler_object_inline_componentStack_2315 =
|
9564
9579
|
createFiberFromFragment(
|
9565
|
-
|
9566
|
-
|
9580
|
+
JSCompiler_object_inline_componentStack_2315,
|
9581
|
+
JSCompiler_object_inline_message_2312,
|
9567
9582
|
renderLanes,
|
9568
9583
|
null
|
9569
9584
|
)),
|
9570
|
-
(
|
9571
|
-
(
|
9585
|
+
(JSCompiler_object_inline_componentStack_2315.flags |= 2)),
|
9586
|
+
(JSCompiler_object_inline_componentStack_2315.return =
|
9572
9587
|
workInProgress),
|
9573
|
-
(
|
9574
|
-
(
|
9575
|
-
|
9576
|
-
(workInProgress.child =
|
9577
|
-
(
|
9578
|
-
|
9579
|
-
(
|
9580
|
-
(
|
9581
|
-
null ===
|
9582
|
-
? (
|
9588
|
+
(JSCompiler_object_inline_stack_2314.return = workInProgress),
|
9589
|
+
(JSCompiler_object_inline_stack_2314.sibling =
|
9590
|
+
JSCompiler_object_inline_componentStack_2315),
|
9591
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2314),
|
9592
|
+
(JSCompiler_object_inline_stack_2314 =
|
9593
|
+
JSCompiler_object_inline_componentStack_2315),
|
9594
|
+
(JSCompiler_object_inline_componentStack_2315 = workInProgress.child),
|
9595
|
+
(JSCompiler_object_inline_message_2312 = current.child.memoizedState),
|
9596
|
+
null === JSCompiler_object_inline_message_2312
|
9597
|
+
? (JSCompiler_object_inline_message_2312 =
|
9583
9598
|
mountSuspenseOffscreenState(renderLanes))
|
9584
9599
|
: ((JSCompiler_temp =
|
9585
|
-
|
9600
|
+
JSCompiler_object_inline_message_2312.cachePool),
|
9586
9601
|
null !== JSCompiler_temp
|
9587
9602
|
? ((instance = CacheContext._currentValue),
|
9588
9603
|
(JSCompiler_temp =
|
@@ -9590,37 +9605,37 @@
|
|
9590
9605
|
? { parent: instance, pool: instance }
|
9591
9606
|
: JSCompiler_temp))
|
9592
9607
|
: (JSCompiler_temp = getSuspendedCache()),
|
9593
|
-
(
|
9608
|
+
(JSCompiler_object_inline_message_2312 = {
|
9594
9609
|
baseLanes:
|
9595
|
-
|
9610
|
+
JSCompiler_object_inline_message_2312.baseLanes | renderLanes,
|
9596
9611
|
cachePool: JSCompiler_temp
|
9597
9612
|
})),
|
9598
|
-
(
|
9599
|
-
|
9600
|
-
(
|
9613
|
+
(JSCompiler_object_inline_componentStack_2315.memoizedState =
|
9614
|
+
JSCompiler_object_inline_message_2312),
|
9615
|
+
(JSCompiler_object_inline_componentStack_2315.childLanes =
|
9601
9616
|
getRemainingWorkInPrimaryTree(
|
9602
9617
|
current,
|
9603
|
-
|
9618
|
+
JSCompiler_object_inline_digest_2313,
|
9604
9619
|
renderLanes
|
9605
9620
|
)),
|
9606
9621
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9607
|
-
|
9622
|
+
JSCompiler_object_inline_stack_2314
|
9608
9623
|
);
|
9609
9624
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9610
9625
|
renderLanes = current.child;
|
9611
9626
|
current = renderLanes.sibling;
|
9612
9627
|
renderLanes = createWorkInProgress(renderLanes, {
|
9613
9628
|
mode: "visible",
|
9614
|
-
children:
|
9629
|
+
children: JSCompiler_object_inline_stack_2314.children
|
9615
9630
|
});
|
9616
9631
|
renderLanes.return = workInProgress;
|
9617
9632
|
renderLanes.sibling = null;
|
9618
9633
|
null !== current &&
|
9619
|
-
((
|
9620
|
-
null ===
|
9634
|
+
((JSCompiler_object_inline_digest_2313 = workInProgress.deletions),
|
9635
|
+
null === JSCompiler_object_inline_digest_2313
|
9621
9636
|
? ((workInProgress.deletions = [current]),
|
9622
9637
|
(workInProgress.flags |= 16))
|
9623
|
-
:
|
9638
|
+
: JSCompiler_object_inline_digest_2313.push(current));
|
9624
9639
|
workInProgress.child = renderLanes;
|
9625
9640
|
workInProgress.memoizedState = null;
|
9626
9641
|
return renderLanes;
|
@@ -12690,6 +12705,14 @@
|
|
12690
12705
|
committedTransitions
|
12691
12706
|
);
|
12692
12707
|
break;
|
12708
|
+
case 13:
|
12709
|
+
recursivelyTraversePassiveMountEffects(
|
12710
|
+
finishedRoot,
|
12711
|
+
finishedWork,
|
12712
|
+
committedLanes,
|
12713
|
+
committedTransitions
|
12714
|
+
);
|
12715
|
+
break;
|
12693
12716
|
case 23:
|
12694
12717
|
break;
|
12695
12718
|
case 22:
|
@@ -13567,16 +13590,16 @@
|
|
13567
13590
|
case 1:
|
13568
13591
|
return bubbleProperties(workInProgress), null;
|
13569
13592
|
case 3:
|
13570
|
-
|
13571
|
-
|
13572
|
-
null !== current && (
|
13573
|
-
workInProgress.memoizedState.cache !==
|
13593
|
+
renderLanes = workInProgress.stateNode;
|
13594
|
+
newProps = null;
|
13595
|
+
null !== current && (newProps = current.memoizedState.cache);
|
13596
|
+
workInProgress.memoizedState.cache !== newProps &&
|
13574
13597
|
(workInProgress.flags |= 2048);
|
13575
13598
|
popProvider(CacheContext, workInProgress);
|
13576
13599
|
popHostContainer(workInProgress);
|
13577
|
-
|
13578
|
-
((
|
13579
|
-
(
|
13600
|
+
renderLanes.pendingContext &&
|
13601
|
+
((renderLanes.context = renderLanes.pendingContext),
|
13602
|
+
(renderLanes.pendingContext = null));
|
13580
13603
|
if (null === current || null === current.child)
|
13581
13604
|
popHydrationState(workInProgress)
|
13582
13605
|
? (emitPendingHydrationWarnings(), markUpdate(workInProgress))
|
@@ -13584,9 +13607,7 @@
|
|
13584
13607
|
(current.memoizedState.isDehydrated &&
|
13585
13608
|
0 === (workInProgress.flags & 256)) ||
|
13586
13609
|
((workInProgress.flags |= 1024),
|
13587
|
-
|
13588
|
-
(queueRecoverableErrors(hydrationErrors),
|
13589
|
-
(hydrationErrors = null)));
|
13610
|
+
upgradeHydrationErrorsToRecoverable());
|
13590
13611
|
bubbleProperties(workInProgress);
|
13591
13612
|
return null;
|
13592
13613
|
case 26:
|
@@ -13795,9 +13816,9 @@
|
|
13795
13816
|
renderLanes = getHostContext();
|
13796
13817
|
if (popHydrationState(workInProgress)) {
|
13797
13818
|
current = workInProgress.stateNode;
|
13798
|
-
|
13819
|
+
renderLanes = workInProgress.memoizedProps;
|
13799
13820
|
_type = !didSuspendOrErrorDEV;
|
13800
|
-
|
13821
|
+
newProps = null;
|
13801
13822
|
var returnFiber = hydrationParentFiber;
|
13802
13823
|
if (null !== returnFiber)
|
13803
13824
|
switch (returnFiber.tag) {
|
@@ -13805,8 +13826,8 @@
|
|
13805
13826
|
_type &&
|
13806
13827
|
((_type = diffHydratedTextForDevWarnings(
|
13807
13828
|
current,
|
13808
|
-
|
13809
|
-
|
13829
|
+
renderLanes,
|
13830
|
+
newProps
|
13810
13831
|
)),
|
13811
13832
|
null !== _type &&
|
13812
13833
|
(buildHydrationDiffNode(workInProgress, 0).serverProps =
|
@@ -13814,12 +13835,12 @@
|
|
13814
13835
|
break;
|
13815
13836
|
case 27:
|
13816
13837
|
case 5:
|
13817
|
-
(
|
13838
|
+
(newProps = returnFiber.memoizedProps),
|
13818
13839
|
_type &&
|
13819
13840
|
((_type = diffHydratedTextForDevWarnings(
|
13820
13841
|
current,
|
13821
|
-
|
13822
|
-
|
13842
|
+
renderLanes,
|
13843
|
+
newProps
|
13823
13844
|
)),
|
13824
13845
|
null !== _type &&
|
13825
13846
|
(buildHydrationDiffNode(
|
@@ -13829,10 +13850,10 @@
|
|
13829
13850
|
}
|
13830
13851
|
current[internalInstanceKey] = workInProgress;
|
13831
13852
|
current =
|
13832
|
-
current.nodeValue ===
|
13833
|
-
(null !==
|
13834
|
-
!0 ===
|
13835
|
-
checkForUnmatchedText(current.nodeValue,
|
13853
|
+
current.nodeValue === renderLanes ||
|
13854
|
+
(null !== newProps &&
|
13855
|
+
!0 === newProps.suppressHydrationWarning) ||
|
13856
|
+
checkForUnmatchedText(current.nodeValue, renderLanes)
|
13836
13857
|
? !0
|
13837
13858
|
: !1;
|
13838
13859
|
current || throwOnHydrationMismatch(workInProgress);
|
@@ -13892,9 +13913,10 @@
|
|
13892
13913
|
_type.treeBaseDuration));
|
13893
13914
|
_type = !1;
|
13894
13915
|
} else
|
13895
|
-
|
13896
|
-
|
13897
|
-
|
13916
|
+
(_type = upgradeHydrationErrorsToRecoverable()),
|
13917
|
+
null !== current &&
|
13918
|
+
null !== current.memoizedState &&
|
13919
|
+
(current.memoizedState.hydrationErrors = _type),
|
13898
13920
|
(_type = !0);
|
13899
13921
|
if (!_type) {
|
13900
13922
|
if (workInProgress.flags & 256)
|
@@ -13911,27 +13933,27 @@
|
|
13911
13933
|
transferActualDuration(workInProgress),
|
13912
13934
|
workInProgress
|
13913
13935
|
);
|
13914
|
-
|
13936
|
+
renderLanes = null !== newProps;
|
13915
13937
|
current = null !== current && null !== current.memoizedState;
|
13916
|
-
|
13917
|
-
((
|
13938
|
+
renderLanes &&
|
13939
|
+
((newProps = workInProgress.child),
|
13918
13940
|
(_type = null),
|
13919
|
-
null !==
|
13920
|
-
null !==
|
13921
|
-
null !==
|
13922
|
-
(_type =
|
13941
|
+
null !== newProps.alternate &&
|
13942
|
+
null !== newProps.alternate.memoizedState &&
|
13943
|
+
null !== newProps.alternate.memoizedState.cachePool &&
|
13944
|
+
(_type = newProps.alternate.memoizedState.cachePool.pool),
|
13923
13945
|
(returnFiber = null),
|
13924
|
-
null !==
|
13925
|
-
null !==
|
13926
|
-
(returnFiber =
|
13927
|
-
returnFiber !== _type && (
|
13928
|
-
|
13929
|
-
|
13946
|
+
null !== newProps.memoizedState &&
|
13947
|
+
null !== newProps.memoizedState.cachePool &&
|
13948
|
+
(returnFiber = newProps.memoizedState.cachePool.pool),
|
13949
|
+
returnFiber !== _type && (newProps.flags |= 2048));
|
13950
|
+
renderLanes !== current &&
|
13951
|
+
renderLanes &&
|
13930
13952
|
(workInProgress.child.flags |= 8192);
|
13931
13953
|
scheduleRetryEffect(workInProgress, workInProgress.updateQueue);
|
13932
13954
|
bubbleProperties(workInProgress);
|
13933
13955
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
13934
|
-
|
13956
|
+
renderLanes &&
|
13935
13957
|
((current = workInProgress.child),
|
13936
13958
|
null !== current &&
|
13937
13959
|
(workInProgress.treeBaseDuration -= current.treeBaseDuration));
|
@@ -13975,9 +13997,13 @@
|
|
13975
13997
|
scheduleRetryEffect(workInProgress, current);
|
13976
13998
|
workInProgress.subtreeFlags = 0;
|
13977
13999
|
current = renderLanes;
|
13978
|
-
for (
|
13979
|
-
|
13980
|
-
|
14000
|
+
for (
|
14001
|
+
renderLanes = workInProgress.child;
|
14002
|
+
null !== renderLanes;
|
14003
|
+
|
14004
|
+
)
|
14005
|
+
resetWorkInProgress(renderLanes, current),
|
14006
|
+
(renderLanes = renderLanes.sibling);
|
13981
14007
|
push(
|
13982
14008
|
suspenseStackCursor,
|
13983
14009
|
(suspenseStackCursor.current &
|
@@ -14065,27 +14091,27 @@
|
|
14065
14091
|
workInProgress.subtreeFlags & 6 &&
|
14066
14092
|
(workInProgress.flags |= 8192))
|
14067
14093
|
: bubbleProperties(workInProgress),
|
14068
|
-
(
|
14069
|
-
null !==
|
14070
|
-
scheduleRetryEffect(workInProgress,
|
14071
|
-
(
|
14094
|
+
(renderLanes = workInProgress.updateQueue),
|
14095
|
+
null !== renderLanes &&
|
14096
|
+
scheduleRetryEffect(workInProgress, renderLanes.retryQueue),
|
14097
|
+
(renderLanes = null),
|
14072
14098
|
null !== current &&
|
14073
14099
|
null !== current.memoizedState &&
|
14074
14100
|
null !== current.memoizedState.cachePool &&
|
14075
|
-
(
|
14076
|
-
(
|
14101
|
+
(renderLanes = current.memoizedState.cachePool.pool),
|
14102
|
+
(newProps = null),
|
14077
14103
|
null !== workInProgress.memoizedState &&
|
14078
14104
|
null !== workInProgress.memoizedState.cachePool &&
|
14079
|
-
(
|
14080
|
-
|
14105
|
+
(newProps = workInProgress.memoizedState.cachePool.pool),
|
14106
|
+
newProps !== renderLanes && (workInProgress.flags |= 2048),
|
14081
14107
|
null !== current && pop(resumedCache, workInProgress),
|
14082
14108
|
null
|
14083
14109
|
);
|
14084
14110
|
case 24:
|
14085
14111
|
return (
|
14086
|
-
(
|
14087
|
-
null !== current && (
|
14088
|
-
workInProgress.memoizedState.cache !==
|
14112
|
+
(renderLanes = null),
|
14113
|
+
null !== current && (renderLanes = current.memoizedState.cache),
|
14114
|
+
workInProgress.memoizedState.cache !== renderLanes &&
|
14089
14115
|
(workInProgress.flags |= 2048),
|
14090
14116
|
popProvider(CacheContext, workInProgress),
|
14091
14117
|
bubbleProperties(workInProgress),
|
@@ -14381,7 +14407,13 @@
|
|
14381
14407
|
}
|
14382
14408
|
exitStatus = workInProgressRootRecoverableErrors;
|
14383
14409
|
workInProgressRootRecoverableErrors = errorRetryLanes;
|
14384
|
-
null !== exitStatus &&
|
14410
|
+
null !== exitStatus &&
|
14411
|
+
(null === workInProgressRootRecoverableErrors
|
14412
|
+
? (workInProgressRootRecoverableErrors = exitStatus)
|
14413
|
+
: workInProgressRootRecoverableErrors.push.apply(
|
14414
|
+
workInProgressRootRecoverableErrors,
|
14415
|
+
exitStatus
|
14416
|
+
));
|
14385
14417
|
}
|
14386
14418
|
exitStatus = errorRetryLanes$jscomp$0;
|
14387
14419
|
}
|
@@ -14496,14 +14528,6 @@
|
|
14496
14528
|
} while (1);
|
14497
14529
|
ensureRootIsScheduled(root);
|
14498
14530
|
}
|
14499
|
-
function queueRecoverableErrors(errors) {
|
14500
|
-
null === workInProgressRootRecoverableErrors
|
14501
|
-
? (workInProgressRootRecoverableErrors = errors)
|
14502
|
-
: workInProgressRootRecoverableErrors.push.apply(
|
14503
|
-
workInProgressRootRecoverableErrors,
|
14504
|
-
errors
|
14505
|
-
);
|
14506
|
-
}
|
14507
14531
|
function commitRootWhenReady(
|
14508
14532
|
root,
|
14509
14533
|
finishedWork,
|
@@ -23845,7 +23869,8 @@
|
|
23845
23869
|
var SUSPENDED_MARKER = {
|
23846
23870
|
dehydrated: null,
|
23847
23871
|
treeContext: null,
|
23848
|
-
retryLane: 0
|
23872
|
+
retryLane: 0,
|
23873
|
+
hydrationErrors: null
|
23849
23874
|
},
|
23850
23875
|
hasWarnedAboutUsingNoValuePropOnContextProvider = !1,
|
23851
23876
|
didWarnAboutUndefinedSnapshotBeforeUpdate = null;
|
@@ -24489,11 +24514,11 @@
|
|
24489
24514
|
};
|
24490
24515
|
(function () {
|
24491
24516
|
var isomorphicReactPackageVersion = React.version;
|
24492
|
-
if ("19.1.0-canary-
|
24517
|
+
if ("19.1.0-canary-9463d51e-20241219" !== isomorphicReactPackageVersion)
|
24493
24518
|
throw Error(
|
24494
24519
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24495
24520
|
(isomorphicReactPackageVersion +
|
24496
|
-
"\n - react-dom: 19.1.0-canary-
|
24521
|
+
"\n - react-dom: 19.1.0-canary-9463d51e-20241219\nLearn more: https://react.dev/warnings/version-mismatch")
|
24497
24522
|
);
|
24498
24523
|
})();
|
24499
24524
|
("function" === typeof Map &&
|
@@ -24530,10 +24555,10 @@
|
|
24530
24555
|
!(function () {
|
24531
24556
|
var internals = {
|
24532
24557
|
bundleType: 1,
|
24533
|
-
version: "19.1.0-canary-
|
24558
|
+
version: "19.1.0-canary-9463d51e-20241219",
|
24534
24559
|
rendererPackageName: "react-dom",
|
24535
24560
|
currentDispatcherRef: ReactSharedInternals,
|
24536
|
-
reconcilerVersion: "19.1.0-canary-
|
24561
|
+
reconcilerVersion: "19.1.0-canary-9463d51e-20241219"
|
24537
24562
|
};
|
24538
24563
|
internals.overrideHookState = overrideHookState;
|
24539
24564
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24679,7 +24704,7 @@
|
|
24679
24704
|
listenToAllSupportedEvents(container);
|
24680
24705
|
return new ReactDOMHydrationRoot(initialChildren);
|
24681
24706
|
};
|
24682
|
-
exports.version = "19.1.0-canary-
|
24707
|
+
exports.version = "19.1.0-canary-9463d51e-20241219";
|
24683
24708
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24684
24709
|
"function" ===
|
24685
24710
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|