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