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.
@@ -2340,6 +2340,8 @@
2340
2340
  "hr" === tag ||
2341
2341
  "option" === tag ||
2342
2342
  "optgroup" === tag ||
2343
+ "script" === tag ||
2344
+ "template" === tag ||
2343
2345
  "#text" === tag
2344
2346
  );
2345
2347
  case "optgroup":
@@ -5049,6 +5051,18 @@
5049
5051
  nextHydratableInstance = hydrationParentFiber = null;
5050
5052
  didSuspendOrErrorDEV = isHydrating = !1;
5051
5053
  }
5054
+ function upgradeHydrationErrorsToRecoverable() {
5055
+ var queuedErrors = hydrationErrors;
5056
+ null !== queuedErrors &&
5057
+ (null === workInProgressRootRecoverableErrors
5058
+ ? (workInProgressRootRecoverableErrors = queuedErrors)
5059
+ : workInProgressRootRecoverableErrors.push.apply(
5060
+ workInProgressRootRecoverableErrors,
5061
+ queuedErrors
5062
+ ),
5063
+ (hydrationErrors = null));
5064
+ return queuedErrors;
5065
+ }
5052
5066
  function queueHydrationError(error) {
5053
5067
  null === hydrationErrors
5054
5068
  ? (hydrationErrors = [error])
@@ -9216,32 +9230,32 @@
9216
9230
  return current;
9217
9231
  }
9218
9232
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9219
- var JSCompiler_object_inline_digest_2313;
9220
- var JSCompiler_object_inline_stack_2314 = workInProgress.pendingProps;
9233
+ var JSCompiler_object_inline_digest_2318;
9234
+ var JSCompiler_object_inline_stack_2319 = workInProgress.pendingProps;
9221
9235
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9222
- var JSCompiler_object_inline_componentStack_2315 = !1;
9236
+ var JSCompiler_object_inline_componentStack_2320 = !1;
9223
9237
  var didSuspend = 0 !== (workInProgress.flags & 128);
9224
- (JSCompiler_object_inline_digest_2313 = didSuspend) ||
9225
- (JSCompiler_object_inline_digest_2313 =
9238
+ (JSCompiler_object_inline_digest_2318 = didSuspend) ||
9239
+ (JSCompiler_object_inline_digest_2318 =
9226
9240
  null !== current && null === current.memoizedState
9227
9241
  ? !1
9228
9242
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9229
- JSCompiler_object_inline_digest_2313 &&
9230
- ((JSCompiler_object_inline_componentStack_2315 = !0),
9243
+ JSCompiler_object_inline_digest_2318 &&
9244
+ ((JSCompiler_object_inline_componentStack_2320 = !0),
9231
9245
  (workInProgress.flags &= -129));
9232
- JSCompiler_object_inline_digest_2313 = 0 !== (workInProgress.flags & 32);
9246
+ JSCompiler_object_inline_digest_2318 = 0 !== (workInProgress.flags & 32);
9233
9247
  workInProgress.flags &= -33;
9234
9248
  if (null === current) {
9235
9249
  if (isHydrating) {
9236
- JSCompiler_object_inline_componentStack_2315
9250
+ JSCompiler_object_inline_componentStack_2320
9237
9251
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9238
9252
  : reuseSuspenseHandlerOnStack(workInProgress);
9239
9253
  if (isHydrating) {
9240
- var JSCompiler_object_inline_message_2312 = nextHydratableInstance;
9254
+ var JSCompiler_object_inline_message_2317 = nextHydratableInstance;
9241
9255
  var JSCompiler_temp;
9242
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2312)) {
9256
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2317)) {
9243
9257
  c: {
9244
- var instance = JSCompiler_object_inline_message_2312;
9258
+ var instance = JSCompiler_object_inline_message_2317;
9245
9259
  for (
9246
9260
  JSCompiler_temp = rootOrSingletonContext;
9247
9261
  8 !== instance.nodeType;
@@ -9267,7 +9281,8 @@
9267
9281
  null !== treeContextProvider
9268
9282
  ? { id: treeContextId, overflow: treeContextOverflow }
9269
9283
  : null,
9270
- retryLane: 536870912
9284
+ retryLane: 536870912,
9285
+ hydrationErrors: null
9271
9286
  }),
9272
9287
  (instance = createFiber(18, null, null, NoMode)),
9273
9288
  (instance.stateNode = JSCompiler_temp),
@@ -9282,77 +9297,77 @@
9282
9297
  JSCompiler_temp &&
9283
9298
  (warnNonHydratedInstance(
9284
9299
  workInProgress,
9285
- JSCompiler_object_inline_message_2312
9300
+ JSCompiler_object_inline_message_2317
9286
9301
  ),
9287
9302
  throwOnHydrationMismatch(workInProgress));
9288
9303
  }
9289
- JSCompiler_object_inline_message_2312 = workInProgress.memoizedState;
9304
+ JSCompiler_object_inline_message_2317 = workInProgress.memoizedState;
9290
9305
  if (
9291
- null !== JSCompiler_object_inline_message_2312 &&
9292
- ((JSCompiler_object_inline_message_2312 =
9293
- JSCompiler_object_inline_message_2312.dehydrated),
9294
- null !== JSCompiler_object_inline_message_2312)
9306
+ null !== JSCompiler_object_inline_message_2317 &&
9307
+ ((JSCompiler_object_inline_message_2317 =
9308
+ JSCompiler_object_inline_message_2317.dehydrated),
9309
+ null !== JSCompiler_object_inline_message_2317)
9295
9310
  )
9296
9311
  return (
9297
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2312)
9312
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2317)
9298
9313
  ? (workInProgress.lanes = 32)
9299
9314
  : (workInProgress.lanes = 536870912),
9300
9315
  null
9301
9316
  );
9302
9317
  popSuspenseHandler(workInProgress);
9303
9318
  }
9304
- JSCompiler_object_inline_message_2312 =
9305
- JSCompiler_object_inline_stack_2314.children;
9306
- JSCompiler_object_inline_stack_2314 =
9307
- JSCompiler_object_inline_stack_2314.fallback;
9308
- if (JSCompiler_object_inline_componentStack_2315)
9319
+ JSCompiler_object_inline_message_2317 =
9320
+ JSCompiler_object_inline_stack_2319.children;
9321
+ JSCompiler_object_inline_stack_2319 =
9322
+ JSCompiler_object_inline_stack_2319.fallback;
9323
+ if (JSCompiler_object_inline_componentStack_2320)
9309
9324
  return (
9310
9325
  reuseSuspenseHandlerOnStack(workInProgress),
9311
- (JSCompiler_object_inline_componentStack_2315 =
9326
+ (JSCompiler_object_inline_componentStack_2320 =
9312
9327
  workInProgress.mode),
9313
- (JSCompiler_object_inline_message_2312 =
9328
+ (JSCompiler_object_inline_message_2317 =
9314
9329
  mountWorkInProgressOffscreenFiber(
9315
9330
  {
9316
9331
  mode: "hidden",
9317
- children: JSCompiler_object_inline_message_2312
9332
+ children: JSCompiler_object_inline_message_2317
9318
9333
  },
9319
- JSCompiler_object_inline_componentStack_2315
9334
+ JSCompiler_object_inline_componentStack_2320
9320
9335
  )),
9321
- (JSCompiler_object_inline_stack_2314 = createFiberFromFragment(
9322
- JSCompiler_object_inline_stack_2314,
9323
- JSCompiler_object_inline_componentStack_2315,
9336
+ (JSCompiler_object_inline_stack_2319 = createFiberFromFragment(
9337
+ JSCompiler_object_inline_stack_2319,
9338
+ JSCompiler_object_inline_componentStack_2320,
9324
9339
  renderLanes,
9325
9340
  null
9326
9341
  )),
9327
- (JSCompiler_object_inline_message_2312.return = workInProgress),
9328
- (JSCompiler_object_inline_stack_2314.return = workInProgress),
9329
- (JSCompiler_object_inline_message_2312.sibling =
9330
- JSCompiler_object_inline_stack_2314),
9331
- (workInProgress.child = JSCompiler_object_inline_message_2312),
9332
- (JSCompiler_object_inline_componentStack_2315 =
9342
+ (JSCompiler_object_inline_message_2317.return = workInProgress),
9343
+ (JSCompiler_object_inline_stack_2319.return = workInProgress),
9344
+ (JSCompiler_object_inline_message_2317.sibling =
9345
+ JSCompiler_object_inline_stack_2319),
9346
+ (workInProgress.child = JSCompiler_object_inline_message_2317),
9347
+ (JSCompiler_object_inline_componentStack_2320 =
9333
9348
  workInProgress.child),
9334
- (JSCompiler_object_inline_componentStack_2315.memoizedState =
9349
+ (JSCompiler_object_inline_componentStack_2320.memoizedState =
9335
9350
  mountSuspenseOffscreenState(renderLanes)),
9336
- (JSCompiler_object_inline_componentStack_2315.childLanes =
9351
+ (JSCompiler_object_inline_componentStack_2320.childLanes =
9337
9352
  getRemainingWorkInPrimaryTree(
9338
9353
  current,
9339
- JSCompiler_object_inline_digest_2313,
9354
+ JSCompiler_object_inline_digest_2318,
9340
9355
  renderLanes
9341
9356
  )),
9342
9357
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9343
- JSCompiler_object_inline_stack_2314
9358
+ JSCompiler_object_inline_stack_2319
9344
9359
  );
9345
9360
  pushPrimaryTreeSuspenseHandler(workInProgress);
9346
9361
  return mountSuspensePrimaryChildren(
9347
9362
  workInProgress,
9348
- JSCompiler_object_inline_message_2312
9363
+ JSCompiler_object_inline_message_2317
9349
9364
  );
9350
9365
  }
9351
9366
  var prevState = current.memoizedState;
9352
9367
  if (
9353
9368
  null !== prevState &&
9354
- ((JSCompiler_object_inline_message_2312 = prevState.dehydrated),
9355
- null !== JSCompiler_object_inline_message_2312)
9369
+ ((JSCompiler_object_inline_message_2317 = prevState.dehydrated),
9370
+ null !== JSCompiler_object_inline_message_2317)
9356
9371
  ) {
9357
9372
  if (didSuspend)
9358
9373
  workInProgress.flags & 256
@@ -9369,94 +9384,94 @@
9369
9384
  (workInProgress.flags |= 128),
9370
9385
  (workInProgress = null))
9371
9386
  : (reuseSuspenseHandlerOnStack(workInProgress),
9372
- (JSCompiler_object_inline_componentStack_2315 =
9373
- JSCompiler_object_inline_stack_2314.fallback),
9374
- (JSCompiler_object_inline_message_2312 = workInProgress.mode),
9375
- (JSCompiler_object_inline_stack_2314 =
9387
+ (JSCompiler_object_inline_componentStack_2320 =
9388
+ JSCompiler_object_inline_stack_2319.fallback),
9389
+ (JSCompiler_object_inline_message_2317 = workInProgress.mode),
9390
+ (JSCompiler_object_inline_stack_2319 =
9376
9391
  mountWorkInProgressOffscreenFiber(
9377
9392
  {
9378
9393
  mode: "visible",
9379
- children: JSCompiler_object_inline_stack_2314.children
9394
+ children: JSCompiler_object_inline_stack_2319.children
9380
9395
  },
9381
- JSCompiler_object_inline_message_2312
9396
+ JSCompiler_object_inline_message_2317
9382
9397
  )),
9383
- (JSCompiler_object_inline_componentStack_2315 =
9398
+ (JSCompiler_object_inline_componentStack_2320 =
9384
9399
  createFiberFromFragment(
9385
- JSCompiler_object_inline_componentStack_2315,
9386
- JSCompiler_object_inline_message_2312,
9400
+ JSCompiler_object_inline_componentStack_2320,
9401
+ JSCompiler_object_inline_message_2317,
9387
9402
  renderLanes,
9388
9403
  null
9389
9404
  )),
9390
- (JSCompiler_object_inline_componentStack_2315.flags |= 2),
9391
- (JSCompiler_object_inline_stack_2314.return = workInProgress),
9392
- (JSCompiler_object_inline_componentStack_2315.return =
9405
+ (JSCompiler_object_inline_componentStack_2320.flags |= 2),
9406
+ (JSCompiler_object_inline_stack_2319.return = workInProgress),
9407
+ (JSCompiler_object_inline_componentStack_2320.return =
9393
9408
  workInProgress),
9394
- (JSCompiler_object_inline_stack_2314.sibling =
9395
- JSCompiler_object_inline_componentStack_2315),
9396
- (workInProgress.child = JSCompiler_object_inline_stack_2314),
9409
+ (JSCompiler_object_inline_stack_2319.sibling =
9410
+ JSCompiler_object_inline_componentStack_2320),
9411
+ (workInProgress.child = JSCompiler_object_inline_stack_2319),
9397
9412
  reconcileChildFibers(
9398
9413
  workInProgress,
9399
9414
  current.child,
9400
9415
  null,
9401
9416
  renderLanes
9402
9417
  ),
9403
- (JSCompiler_object_inline_stack_2314 = workInProgress.child),
9404
- (JSCompiler_object_inline_stack_2314.memoizedState =
9418
+ (JSCompiler_object_inline_stack_2319 = workInProgress.child),
9419
+ (JSCompiler_object_inline_stack_2319.memoizedState =
9405
9420
  mountSuspenseOffscreenState(renderLanes)),
9406
- (JSCompiler_object_inline_stack_2314.childLanes =
9421
+ (JSCompiler_object_inline_stack_2319.childLanes =
9407
9422
  getRemainingWorkInPrimaryTree(
9408
9423
  current,
9409
- JSCompiler_object_inline_digest_2313,
9424
+ JSCompiler_object_inline_digest_2318,
9410
9425
  renderLanes
9411
9426
  )),
9412
9427
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9413
9428
  (workInProgress =
9414
- JSCompiler_object_inline_componentStack_2315));
9429
+ JSCompiler_object_inline_componentStack_2320));
9415
9430
  else if (
9416
9431
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9417
9432
  isHydrating &&
9418
9433
  console.error(
9419
9434
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9420
9435
  ),
9421
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2312))
9436
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2317))
9422
9437
  ) {
9423
- JSCompiler_object_inline_digest_2313 =
9424
- JSCompiler_object_inline_message_2312.nextSibling &&
9425
- JSCompiler_object_inline_message_2312.nextSibling.dataset;
9426
- if (JSCompiler_object_inline_digest_2313) {
9427
- JSCompiler_temp = JSCompiler_object_inline_digest_2313.dgst;
9428
- var message = JSCompiler_object_inline_digest_2313.msg;
9429
- instance = JSCompiler_object_inline_digest_2313.stck;
9430
- var componentStack = JSCompiler_object_inline_digest_2313.cstck;
9438
+ JSCompiler_object_inline_digest_2318 =
9439
+ JSCompiler_object_inline_message_2317.nextSibling &&
9440
+ JSCompiler_object_inline_message_2317.nextSibling.dataset;
9441
+ if (JSCompiler_object_inline_digest_2318) {
9442
+ JSCompiler_temp = JSCompiler_object_inline_digest_2318.dgst;
9443
+ var message = JSCompiler_object_inline_digest_2318.msg;
9444
+ instance = JSCompiler_object_inline_digest_2318.stck;
9445
+ var componentStack = JSCompiler_object_inline_digest_2318.cstck;
9431
9446
  }
9432
- JSCompiler_object_inline_message_2312 = message;
9433
- JSCompiler_object_inline_digest_2313 = JSCompiler_temp;
9434
- JSCompiler_object_inline_stack_2314 = instance;
9435
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2315 =
9447
+ JSCompiler_object_inline_message_2317 = message;
9448
+ JSCompiler_object_inline_digest_2318 = JSCompiler_temp;
9449
+ JSCompiler_object_inline_stack_2319 = instance;
9450
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2320 =
9436
9451
  componentStack;
9437
- JSCompiler_object_inline_componentStack_2315 =
9438
- JSCompiler_object_inline_message_2312
9439
- ? Error(JSCompiler_object_inline_message_2312)
9452
+ JSCompiler_object_inline_componentStack_2320 =
9453
+ JSCompiler_object_inline_message_2317
9454
+ ? Error(JSCompiler_object_inline_message_2317)
9440
9455
  : Error(
9441
9456
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9442
9457
  );
9443
- JSCompiler_object_inline_componentStack_2315.stack =
9444
- JSCompiler_object_inline_stack_2314 || "";
9445
- JSCompiler_object_inline_componentStack_2315.digest =
9446
- JSCompiler_object_inline_digest_2313;
9447
- JSCompiler_object_inline_digest_2313 =
9458
+ JSCompiler_object_inline_componentStack_2320.stack =
9459
+ JSCompiler_object_inline_stack_2319 || "";
9460
+ JSCompiler_object_inline_componentStack_2320.digest =
9461
+ JSCompiler_object_inline_digest_2318;
9462
+ JSCompiler_object_inline_digest_2318 =
9448
9463
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9449
- JSCompiler_object_inline_stack_2314 = {
9450
- value: JSCompiler_object_inline_componentStack_2315,
9464
+ JSCompiler_object_inline_stack_2319 = {
9465
+ value: JSCompiler_object_inline_componentStack_2320,
9451
9466
  source: null,
9452
- stack: JSCompiler_object_inline_digest_2313
9467
+ stack: JSCompiler_object_inline_digest_2318
9453
9468
  };
9454
- "string" === typeof JSCompiler_object_inline_digest_2313 &&
9469
+ "string" === typeof JSCompiler_object_inline_digest_2318 &&
9455
9470
  CapturedStacks.set(
9456
- JSCompiler_object_inline_componentStack_2315,
9457
- JSCompiler_object_inline_stack_2314
9471
+ JSCompiler_object_inline_componentStack_2320,
9472
+ JSCompiler_object_inline_stack_2319
9458
9473
  );
9459
- queueHydrationError(JSCompiler_object_inline_stack_2314);
9474
+ queueHydrationError(JSCompiler_object_inline_stack_2319);
9460
9475
  workInProgress = retrySuspenseComponentWithoutHydrating(
9461
9476
  current,
9462
9477
  workInProgress,
@@ -9470,44 +9485,44 @@
9470
9485
  renderLanes,
9471
9486
  !1
9472
9487
  ),
9473
- (JSCompiler_object_inline_digest_2313 =
9488
+ (JSCompiler_object_inline_digest_2318 =
9474
9489
  0 !== (renderLanes & current.childLanes)),
9475
- didReceiveUpdate || JSCompiler_object_inline_digest_2313)
9490
+ didReceiveUpdate || JSCompiler_object_inline_digest_2318)
9476
9491
  ) {
9477
- JSCompiler_object_inline_digest_2313 = workInProgressRoot;
9492
+ JSCompiler_object_inline_digest_2318 = workInProgressRoot;
9478
9493
  if (
9479
- null !== JSCompiler_object_inline_digest_2313 &&
9480
- ((JSCompiler_object_inline_stack_2314 = renderLanes & -renderLanes),
9481
- (JSCompiler_object_inline_stack_2314 =
9482
- 0 !== (JSCompiler_object_inline_stack_2314 & 42)
9494
+ null !== JSCompiler_object_inline_digest_2318 &&
9495
+ ((JSCompiler_object_inline_stack_2319 = renderLanes & -renderLanes),
9496
+ (JSCompiler_object_inline_stack_2319 =
9497
+ 0 !== (JSCompiler_object_inline_stack_2319 & 42)
9483
9498
  ? 1
9484
9499
  : getBumpedLaneForHydrationByLane(
9485
- JSCompiler_object_inline_stack_2314
9500
+ JSCompiler_object_inline_stack_2319
9486
9501
  )),
9487
- (JSCompiler_object_inline_stack_2314 =
9502
+ (JSCompiler_object_inline_stack_2319 =
9488
9503
  0 !==
9489
- (JSCompiler_object_inline_stack_2314 &
9490
- (JSCompiler_object_inline_digest_2313.suspendedLanes |
9504
+ (JSCompiler_object_inline_stack_2319 &
9505
+ (JSCompiler_object_inline_digest_2318.suspendedLanes |
9491
9506
  renderLanes))
9492
9507
  ? 0
9493
- : JSCompiler_object_inline_stack_2314),
9494
- 0 !== JSCompiler_object_inline_stack_2314 &&
9495
- JSCompiler_object_inline_stack_2314 !== prevState.retryLane)
9508
+ : JSCompiler_object_inline_stack_2319),
9509
+ 0 !== JSCompiler_object_inline_stack_2319 &&
9510
+ JSCompiler_object_inline_stack_2319 !== prevState.retryLane)
9496
9511
  )
9497
9512
  throw (
9498
- ((prevState.retryLane = JSCompiler_object_inline_stack_2314),
9513
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2319),
9499
9514
  enqueueConcurrentRenderForLane(
9500
9515
  current,
9501
- JSCompiler_object_inline_stack_2314
9516
+ JSCompiler_object_inline_stack_2319
9502
9517
  ),
9503
9518
  scheduleUpdateOnFiber(
9504
- JSCompiler_object_inline_digest_2313,
9519
+ JSCompiler_object_inline_digest_2318,
9505
9520
  current,
9506
- JSCompiler_object_inline_stack_2314
9521
+ JSCompiler_object_inline_stack_2319
9507
9522
  ),
9508
9523
  SelectiveHydrationException)
9509
9524
  );
9510
- JSCompiler_object_inline_message_2312.data ===
9525
+ JSCompiler_object_inline_message_2317.data ===
9511
9526
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9512
9527
  workInProgress = retrySuspenseComponentWithoutHydrating(
9513
9528
  current,
@@ -9515,14 +9530,14 @@
9515
9530
  renderLanes
9516
9531
  );
9517
9532
  } else
9518
- JSCompiler_object_inline_message_2312.data ===
9533
+ JSCompiler_object_inline_message_2317.data ===
9519
9534
  SUSPENSE_PENDING_START_DATA
9520
9535
  ? ((workInProgress.flags |= 192),
9521
9536
  (workInProgress.child = current.child),
9522
9537
  (workInProgress = null))
9523
9538
  : ((current = prevState.treeContext),
9524
9539
  (nextHydratableInstance = getNextHydratable(
9525
- JSCompiler_object_inline_message_2312.nextSibling
9540
+ JSCompiler_object_inline_message_2317.nextSibling
9526
9541
  )),
9527
9542
  (hydrationParentFiber = workInProgress),
9528
9543
  (isHydrating = !0),
@@ -9540,57 +9555,57 @@
9540
9555
  (treeContextProvider = workInProgress)),
9541
9556
  (workInProgress = mountSuspensePrimaryChildren(
9542
9557
  workInProgress,
9543
- JSCompiler_object_inline_stack_2314.children
9558
+ JSCompiler_object_inline_stack_2319.children
9544
9559
  )),
9545
9560
  (workInProgress.flags |= 4096));
9546
9561
  return workInProgress;
9547
9562
  }
9548
- if (JSCompiler_object_inline_componentStack_2315)
9563
+ if (JSCompiler_object_inline_componentStack_2320)
9549
9564
  return (
9550
9565
  reuseSuspenseHandlerOnStack(workInProgress),
9551
- (JSCompiler_object_inline_componentStack_2315 =
9552
- JSCompiler_object_inline_stack_2314.fallback),
9553
- (JSCompiler_object_inline_message_2312 = workInProgress.mode),
9566
+ (JSCompiler_object_inline_componentStack_2320 =
9567
+ JSCompiler_object_inline_stack_2319.fallback),
9568
+ (JSCompiler_object_inline_message_2317 = workInProgress.mode),
9554
9569
  (JSCompiler_temp = current.child),
9555
9570
  (instance = JSCompiler_temp.sibling),
9556
- (JSCompiler_object_inline_stack_2314 = createWorkInProgress(
9571
+ (JSCompiler_object_inline_stack_2319 = createWorkInProgress(
9557
9572
  JSCompiler_temp,
9558
9573
  {
9559
9574
  mode: "hidden",
9560
- children: JSCompiler_object_inline_stack_2314.children
9575
+ children: JSCompiler_object_inline_stack_2319.children
9561
9576
  }
9562
9577
  )),
9563
- (JSCompiler_object_inline_stack_2314.subtreeFlags =
9578
+ (JSCompiler_object_inline_stack_2319.subtreeFlags =
9564
9579
  JSCompiler_temp.subtreeFlags & 31457280),
9565
9580
  null !== instance
9566
- ? (JSCompiler_object_inline_componentStack_2315 =
9581
+ ? (JSCompiler_object_inline_componentStack_2320 =
9567
9582
  createWorkInProgress(
9568
9583
  instance,
9569
- JSCompiler_object_inline_componentStack_2315
9584
+ JSCompiler_object_inline_componentStack_2320
9570
9585
  ))
9571
- : ((JSCompiler_object_inline_componentStack_2315 =
9586
+ : ((JSCompiler_object_inline_componentStack_2320 =
9572
9587
  createFiberFromFragment(
9573
- JSCompiler_object_inline_componentStack_2315,
9574
- JSCompiler_object_inline_message_2312,
9588
+ JSCompiler_object_inline_componentStack_2320,
9589
+ JSCompiler_object_inline_message_2317,
9575
9590
  renderLanes,
9576
9591
  null
9577
9592
  )),
9578
- (JSCompiler_object_inline_componentStack_2315.flags |= 2)),
9579
- (JSCompiler_object_inline_componentStack_2315.return =
9593
+ (JSCompiler_object_inline_componentStack_2320.flags |= 2)),
9594
+ (JSCompiler_object_inline_componentStack_2320.return =
9580
9595
  workInProgress),
9581
- (JSCompiler_object_inline_stack_2314.return = workInProgress),
9582
- (JSCompiler_object_inline_stack_2314.sibling =
9583
- JSCompiler_object_inline_componentStack_2315),
9584
- (workInProgress.child = JSCompiler_object_inline_stack_2314),
9585
- (JSCompiler_object_inline_stack_2314 =
9586
- JSCompiler_object_inline_componentStack_2315),
9587
- (JSCompiler_object_inline_componentStack_2315 = workInProgress.child),
9588
- (JSCompiler_object_inline_message_2312 = current.child.memoizedState),
9589
- null === JSCompiler_object_inline_message_2312
9590
- ? (JSCompiler_object_inline_message_2312 =
9596
+ (JSCompiler_object_inline_stack_2319.return = workInProgress),
9597
+ (JSCompiler_object_inline_stack_2319.sibling =
9598
+ JSCompiler_object_inline_componentStack_2320),
9599
+ (workInProgress.child = JSCompiler_object_inline_stack_2319),
9600
+ (JSCompiler_object_inline_stack_2319 =
9601
+ JSCompiler_object_inline_componentStack_2320),
9602
+ (JSCompiler_object_inline_componentStack_2320 = workInProgress.child),
9603
+ (JSCompiler_object_inline_message_2317 = current.child.memoizedState),
9604
+ null === JSCompiler_object_inline_message_2317
9605
+ ? (JSCompiler_object_inline_message_2317 =
9591
9606
  mountSuspenseOffscreenState(renderLanes))
9592
9607
  : ((JSCompiler_temp =
9593
- JSCompiler_object_inline_message_2312.cachePool),
9608
+ JSCompiler_object_inline_message_2317.cachePool),
9594
9609
  null !== JSCompiler_temp
9595
9610
  ? ((instance = CacheContext._currentValue),
9596
9611
  (JSCompiler_temp =
@@ -9598,37 +9613,37 @@
9598
9613
  ? { parent: instance, pool: instance }
9599
9614
  : JSCompiler_temp))
9600
9615
  : (JSCompiler_temp = getSuspendedCache()),
9601
- (JSCompiler_object_inline_message_2312 = {
9616
+ (JSCompiler_object_inline_message_2317 = {
9602
9617
  baseLanes:
9603
- JSCompiler_object_inline_message_2312.baseLanes | renderLanes,
9618
+ JSCompiler_object_inline_message_2317.baseLanes | renderLanes,
9604
9619
  cachePool: JSCompiler_temp
9605
9620
  })),
9606
- (JSCompiler_object_inline_componentStack_2315.memoizedState =
9607
- JSCompiler_object_inline_message_2312),
9608
- (JSCompiler_object_inline_componentStack_2315.childLanes =
9621
+ (JSCompiler_object_inline_componentStack_2320.memoizedState =
9622
+ JSCompiler_object_inline_message_2317),
9623
+ (JSCompiler_object_inline_componentStack_2320.childLanes =
9609
9624
  getRemainingWorkInPrimaryTree(
9610
9625
  current,
9611
- JSCompiler_object_inline_digest_2313,
9626
+ JSCompiler_object_inline_digest_2318,
9612
9627
  renderLanes
9613
9628
  )),
9614
9629
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9615
- JSCompiler_object_inline_stack_2314
9630
+ JSCompiler_object_inline_stack_2319
9616
9631
  );
9617
9632
  pushPrimaryTreeSuspenseHandler(workInProgress);
9618
9633
  renderLanes = current.child;
9619
9634
  current = renderLanes.sibling;
9620
9635
  renderLanes = createWorkInProgress(renderLanes, {
9621
9636
  mode: "visible",
9622
- children: JSCompiler_object_inline_stack_2314.children
9637
+ children: JSCompiler_object_inline_stack_2319.children
9623
9638
  });
9624
9639
  renderLanes.return = workInProgress;
9625
9640
  renderLanes.sibling = null;
9626
9641
  null !== current &&
9627
- ((JSCompiler_object_inline_digest_2313 = workInProgress.deletions),
9628
- null === JSCompiler_object_inline_digest_2313
9642
+ ((JSCompiler_object_inline_digest_2318 = workInProgress.deletions),
9643
+ null === JSCompiler_object_inline_digest_2318
9629
9644
  ? ((workInProgress.deletions = [current]),
9630
9645
  (workInProgress.flags |= 16))
9631
- : JSCompiler_object_inline_digest_2313.push(current));
9646
+ : JSCompiler_object_inline_digest_2318.push(current));
9632
9647
  workInProgress.child = renderLanes;
9633
9648
  workInProgress.memoizedState = null;
9634
9649
  return renderLanes;
@@ -12698,6 +12713,14 @@
12698
12713
  committedTransitions
12699
12714
  );
12700
12715
  break;
12716
+ case 13:
12717
+ recursivelyTraversePassiveMountEffects(
12718
+ finishedRoot,
12719
+ finishedWork,
12720
+ committedLanes,
12721
+ committedTransitions
12722
+ );
12723
+ break;
12701
12724
  case 23:
12702
12725
  break;
12703
12726
  case 22:
@@ -13575,16 +13598,16 @@
13575
13598
  case 1:
13576
13599
  return bubbleProperties(workInProgress), null;
13577
13600
  case 3:
13578
- newProps = workInProgress.stateNode;
13579
- renderLanes = null;
13580
- null !== current && (renderLanes = current.memoizedState.cache);
13581
- workInProgress.memoizedState.cache !== renderLanes &&
13601
+ renderLanes = workInProgress.stateNode;
13602
+ newProps = null;
13603
+ null !== current && (newProps = current.memoizedState.cache);
13604
+ workInProgress.memoizedState.cache !== newProps &&
13582
13605
  (workInProgress.flags |= 2048);
13583
13606
  popProvider(CacheContext, workInProgress);
13584
13607
  popHostContainer(workInProgress);
13585
- newProps.pendingContext &&
13586
- ((newProps.context = newProps.pendingContext),
13587
- (newProps.pendingContext = null));
13608
+ renderLanes.pendingContext &&
13609
+ ((renderLanes.context = renderLanes.pendingContext),
13610
+ (renderLanes.pendingContext = null));
13588
13611
  if (null === current || null === current.child)
13589
13612
  popHydrationState(workInProgress)
13590
13613
  ? (emitPendingHydrationWarnings(), markUpdate(workInProgress))
@@ -13592,9 +13615,7 @@
13592
13615
  (current.memoizedState.isDehydrated &&
13593
13616
  0 === (workInProgress.flags & 256)) ||
13594
13617
  ((workInProgress.flags |= 1024),
13595
- null !== hydrationErrors &&
13596
- (queueRecoverableErrors(hydrationErrors),
13597
- (hydrationErrors = null)));
13618
+ upgradeHydrationErrorsToRecoverable());
13598
13619
  bubbleProperties(workInProgress);
13599
13620
  return null;
13600
13621
  case 26:
@@ -13803,9 +13824,9 @@
13803
13824
  renderLanes = getHostContext();
13804
13825
  if (popHydrationState(workInProgress)) {
13805
13826
  current = workInProgress.stateNode;
13806
- newProps = workInProgress.memoizedProps;
13827
+ renderLanes = workInProgress.memoizedProps;
13807
13828
  _type = !didSuspendOrErrorDEV;
13808
- renderLanes = null;
13829
+ newProps = null;
13809
13830
  var returnFiber = hydrationParentFiber;
13810
13831
  if (null !== returnFiber)
13811
13832
  switch (returnFiber.tag) {
@@ -13813,8 +13834,8 @@
13813
13834
  _type &&
13814
13835
  ((_type = diffHydratedTextForDevWarnings(
13815
13836
  current,
13816
- newProps,
13817
- renderLanes
13837
+ renderLanes,
13838
+ newProps
13818
13839
  )),
13819
13840
  null !== _type &&
13820
13841
  (buildHydrationDiffNode(workInProgress, 0).serverProps =
@@ -13822,12 +13843,12 @@
13822
13843
  break;
13823
13844
  case 27:
13824
13845
  case 5:
13825
- (renderLanes = returnFiber.memoizedProps),
13846
+ (newProps = returnFiber.memoizedProps),
13826
13847
  _type &&
13827
13848
  ((_type = diffHydratedTextForDevWarnings(
13828
13849
  current,
13829
- newProps,
13830
- renderLanes
13850
+ renderLanes,
13851
+ newProps
13831
13852
  )),
13832
13853
  null !== _type &&
13833
13854
  (buildHydrationDiffNode(
@@ -13837,10 +13858,10 @@
13837
13858
  }
13838
13859
  current[internalInstanceKey] = workInProgress;
13839
13860
  current =
13840
- current.nodeValue === newProps ||
13841
- (null !== renderLanes &&
13842
- !0 === renderLanes.suppressHydrationWarning) ||
13843
- checkForUnmatchedText(current.nodeValue, newProps)
13861
+ current.nodeValue === renderLanes ||
13862
+ (null !== newProps &&
13863
+ !0 === newProps.suppressHydrationWarning) ||
13864
+ checkForUnmatchedText(current.nodeValue, renderLanes)
13844
13865
  ? !0
13845
13866
  : !1;
13846
13867
  current || throwOnHydrationMismatch(workInProgress);
@@ -13900,9 +13921,10 @@
13900
13921
  _type.treeBaseDuration));
13901
13922
  _type = !1;
13902
13923
  } else
13903
- null !== hydrationErrors &&
13904
- (queueRecoverableErrors(hydrationErrors),
13905
- (hydrationErrors = null)),
13924
+ (_type = upgradeHydrationErrorsToRecoverable()),
13925
+ null !== current &&
13926
+ null !== current.memoizedState &&
13927
+ (current.memoizedState.hydrationErrors = _type),
13906
13928
  (_type = !0);
13907
13929
  if (!_type) {
13908
13930
  if (workInProgress.flags & 256)
@@ -13919,27 +13941,27 @@
13919
13941
  transferActualDuration(workInProgress),
13920
13942
  workInProgress
13921
13943
  );
13922
- newProps = null !== newProps;
13944
+ renderLanes = null !== newProps;
13923
13945
  current = null !== current && null !== current.memoizedState;
13924
- newProps &&
13925
- ((renderLanes = workInProgress.child),
13946
+ renderLanes &&
13947
+ ((newProps = workInProgress.child),
13926
13948
  (_type = null),
13927
- null !== renderLanes.alternate &&
13928
- null !== renderLanes.alternate.memoizedState &&
13929
- null !== renderLanes.alternate.memoizedState.cachePool &&
13930
- (_type = renderLanes.alternate.memoizedState.cachePool.pool),
13949
+ null !== newProps.alternate &&
13950
+ null !== newProps.alternate.memoizedState &&
13951
+ null !== newProps.alternate.memoizedState.cachePool &&
13952
+ (_type = newProps.alternate.memoizedState.cachePool.pool),
13931
13953
  (returnFiber = null),
13932
- null !== renderLanes.memoizedState &&
13933
- null !== renderLanes.memoizedState.cachePool &&
13934
- (returnFiber = renderLanes.memoizedState.cachePool.pool),
13935
- returnFiber !== _type && (renderLanes.flags |= 2048));
13936
- newProps !== current &&
13937
- newProps &&
13954
+ null !== newProps.memoizedState &&
13955
+ null !== newProps.memoizedState.cachePool &&
13956
+ (returnFiber = newProps.memoizedState.cachePool.pool),
13957
+ returnFiber !== _type && (newProps.flags |= 2048));
13958
+ renderLanes !== current &&
13959
+ renderLanes &&
13938
13960
  (workInProgress.child.flags |= 8192);
13939
13961
  scheduleRetryEffect(workInProgress, workInProgress.updateQueue);
13940
13962
  bubbleProperties(workInProgress);
13941
13963
  (workInProgress.mode & ProfileMode) !== NoMode &&
13942
- newProps &&
13964
+ renderLanes &&
13943
13965
  ((current = workInProgress.child),
13944
13966
  null !== current &&
13945
13967
  (workInProgress.treeBaseDuration -= current.treeBaseDuration));
@@ -13983,9 +14005,13 @@
13983
14005
  scheduleRetryEffect(workInProgress, current);
13984
14006
  workInProgress.subtreeFlags = 0;
13985
14007
  current = renderLanes;
13986
- for (newProps = workInProgress.child; null !== newProps; )
13987
- resetWorkInProgress(newProps, current),
13988
- (newProps = newProps.sibling);
14008
+ for (
14009
+ renderLanes = workInProgress.child;
14010
+ null !== renderLanes;
14011
+
14012
+ )
14013
+ resetWorkInProgress(renderLanes, current),
14014
+ (renderLanes = renderLanes.sibling);
13989
14015
  push(
13990
14016
  suspenseStackCursor,
13991
14017
  (suspenseStackCursor.current &
@@ -14073,27 +14099,27 @@
14073
14099
  workInProgress.subtreeFlags & 6 &&
14074
14100
  (workInProgress.flags |= 8192))
14075
14101
  : bubbleProperties(workInProgress),
14076
- (newProps = workInProgress.updateQueue),
14077
- null !== newProps &&
14078
- scheduleRetryEffect(workInProgress, newProps.retryQueue),
14079
- (newProps = null),
14102
+ (renderLanes = workInProgress.updateQueue),
14103
+ null !== renderLanes &&
14104
+ scheduleRetryEffect(workInProgress, renderLanes.retryQueue),
14105
+ (renderLanes = null),
14080
14106
  null !== current &&
14081
14107
  null !== current.memoizedState &&
14082
14108
  null !== current.memoizedState.cachePool &&
14083
- (newProps = current.memoizedState.cachePool.pool),
14084
- (renderLanes = null),
14109
+ (renderLanes = current.memoizedState.cachePool.pool),
14110
+ (newProps = null),
14085
14111
  null !== workInProgress.memoizedState &&
14086
14112
  null !== workInProgress.memoizedState.cachePool &&
14087
- (renderLanes = workInProgress.memoizedState.cachePool.pool),
14088
- renderLanes !== newProps && (workInProgress.flags |= 2048),
14113
+ (newProps = workInProgress.memoizedState.cachePool.pool),
14114
+ newProps !== renderLanes && (workInProgress.flags |= 2048),
14089
14115
  null !== current && pop(resumedCache, workInProgress),
14090
14116
  null
14091
14117
  );
14092
14118
  case 24:
14093
14119
  return (
14094
- (newProps = null),
14095
- null !== current && (newProps = current.memoizedState.cache),
14096
- workInProgress.memoizedState.cache !== newProps &&
14120
+ (renderLanes = null),
14121
+ null !== current && (renderLanes = current.memoizedState.cache),
14122
+ workInProgress.memoizedState.cache !== renderLanes &&
14097
14123
  (workInProgress.flags |= 2048),
14098
14124
  popProvider(CacheContext, workInProgress),
14099
14125
  bubbleProperties(workInProgress),
@@ -14389,7 +14415,13 @@
14389
14415
  }
14390
14416
  exitStatus = workInProgressRootRecoverableErrors;
14391
14417
  workInProgressRootRecoverableErrors = errorRetryLanes;
14392
- null !== exitStatus && queueRecoverableErrors(exitStatus);
14418
+ null !== exitStatus &&
14419
+ (null === workInProgressRootRecoverableErrors
14420
+ ? (workInProgressRootRecoverableErrors = exitStatus)
14421
+ : workInProgressRootRecoverableErrors.push.apply(
14422
+ workInProgressRootRecoverableErrors,
14423
+ exitStatus
14424
+ ));
14393
14425
  }
14394
14426
  exitStatus = errorRetryLanes$jscomp$0;
14395
14427
  }
@@ -14504,14 +14536,6 @@
14504
14536
  } while (1);
14505
14537
  ensureRootIsScheduled(root);
14506
14538
  }
14507
- function queueRecoverableErrors(errors) {
14508
- null === workInProgressRootRecoverableErrors
14509
- ? (workInProgressRootRecoverableErrors = errors)
14510
- : workInProgressRootRecoverableErrors.push.apply(
14511
- workInProgressRootRecoverableErrors,
14512
- errors
14513
- );
14514
- }
14515
14539
  function commitRootWhenReady(
14516
14540
  root,
14517
14541
  finishedWork,
@@ -23902,7 +23926,8 @@
23902
23926
  var SUSPENDED_MARKER = {
23903
23927
  dehydrated: null,
23904
23928
  treeContext: null,
23905
- retryLane: 0
23929
+ retryLane: 0,
23930
+ hydrationErrors: null
23906
23931
  },
23907
23932
  hasWarnedAboutUsingNoValuePropOnContextProvider = !1,
23908
23933
  didWarnAboutUndefinedSnapshotBeforeUpdate = null;
@@ -24546,11 +24571,11 @@
24546
24571
  };
24547
24572
  (function () {
24548
24573
  var isomorphicReactPackageVersion = React.version;
24549
- if ("19.1.0-canary-7eb8234f-20241218" !== isomorphicReactPackageVersion)
24574
+ if ("19.1.0-canary-9463d51e-20241219" !== isomorphicReactPackageVersion)
24550
24575
  throw Error(
24551
24576
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24552
24577
  (isomorphicReactPackageVersion +
24553
- "\n - react-dom: 19.1.0-canary-7eb8234f-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
24578
+ "\n - react-dom: 19.1.0-canary-9463d51e-20241219\nLearn more: https://react.dev/warnings/version-mismatch")
24554
24579
  );
24555
24580
  })();
24556
24581
  ("function" === typeof Map &&
@@ -24587,10 +24612,10 @@
24587
24612
  !(function () {
24588
24613
  var internals = {
24589
24614
  bundleType: 1,
24590
- version: "19.1.0-canary-7eb8234f-20241218",
24615
+ version: "19.1.0-canary-9463d51e-20241219",
24591
24616
  rendererPackageName: "react-dom",
24592
24617
  currentDispatcherRef: ReactSharedInternals,
24593
- reconcilerVersion: "19.1.0-canary-7eb8234f-20241218"
24618
+ reconcilerVersion: "19.1.0-canary-9463d51e-20241219"
24594
24619
  };
24595
24620
  internals.overrideHookState = overrideHookState;
24596
24621
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25066,7 +25091,7 @@
25066
25091
  exports.useFormStatus = function () {
25067
25092
  return resolveDispatcher().useHostTransitionStatus();
25068
25093
  };
25069
- exports.version = "19.1.0-canary-7eb8234f-20241218";
25094
+ exports.version = "19.1.0-canary-9463d51e-20241219";
25070
25095
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25071
25096
  "function" ===
25072
25097
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&