react-dom 19.2.0-canary-c44e4a25-20250409 → 19.2.0-canary-1d6c8168-20250411

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.
@@ -9586,141 +9586,129 @@
9586
9586
  var JSCompiler_object_inline_digest_2447;
9587
9587
  var JSCompiler_object_inline_stack_2448 = workInProgress.pendingProps;
9588
9588
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9589
- var JSCompiler_object_inline_componentStack_2449 = !1;
9590
- var didSuspend = 0 !== (workInProgress.flags & 128);
9589
+ var showFallback = !1,
9590
+ didSuspend = 0 !== (workInProgress.flags & 128);
9591
9591
  (JSCompiler_object_inline_digest_2447 = didSuspend) ||
9592
9592
  (JSCompiler_object_inline_digest_2447 =
9593
9593
  null !== current && null === current.memoizedState
9594
9594
  ? !1
9595
9595
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9596
9596
  JSCompiler_object_inline_digest_2447 &&
9597
- ((JSCompiler_object_inline_componentStack_2449 = !0),
9598
- (workInProgress.flags &= -129));
9597
+ ((showFallback = !0), (workInProgress.flags &= -129));
9599
9598
  JSCompiler_object_inline_digest_2447 = 0 !== (workInProgress.flags & 32);
9600
9599
  workInProgress.flags &= -33;
9601
9600
  if (null === current) {
9602
9601
  if (isHydrating) {
9603
- JSCompiler_object_inline_componentStack_2449
9602
+ showFallback
9604
9603
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9605
9604
  : reuseSuspenseHandlerOnStack(workInProgress);
9606
- if (isHydrating) {
9607
- var JSCompiler_object_inline_message_2446 = nextHydratableInstance;
9608
- var JSCompiler_temp;
9609
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2446)) {
9610
- c: {
9611
- var instance = JSCompiler_object_inline_message_2446;
9612
- for (
9613
- JSCompiler_temp = rootOrSingletonContext;
9614
- 8 !== instance.nodeType;
9605
+ if ((current = nextHydratableInstance)) {
9606
+ a: {
9607
+ JSCompiler_object_inline_digest_2447 = current;
9608
+ for (
9609
+ renderLanes = rootOrSingletonContext;
9610
+ 8 !== JSCompiler_object_inline_digest_2447.nodeType;
9615
9611
 
9616
- ) {
9617
- if (!JSCompiler_temp) {
9618
- JSCompiler_temp = null;
9619
- break c;
9620
- }
9621
- instance = getNextHydratable(instance.nextSibling);
9622
- if (null === instance) {
9623
- JSCompiler_temp = null;
9624
- break c;
9625
- }
9612
+ ) {
9613
+ if (!renderLanes) {
9614
+ renderLanes = null;
9615
+ break a;
9616
+ }
9617
+ JSCompiler_object_inline_digest_2447 = getNextHydratable(
9618
+ JSCompiler_object_inline_digest_2447.nextSibling
9619
+ );
9620
+ if (null === JSCompiler_object_inline_digest_2447) {
9621
+ renderLanes = null;
9622
+ break a;
9626
9623
  }
9627
- JSCompiler_temp = instance;
9628
9624
  }
9629
- null !== JSCompiler_temp
9630
- ? (warnIfNotHydrating(),
9631
- (workInProgress.memoizedState = {
9632
- dehydrated: JSCompiler_temp,
9633
- treeContext:
9634
- null !== treeContextProvider
9635
- ? { id: treeContextId, overflow: treeContextOverflow }
9636
- : null,
9637
- retryLane: 536870912,
9638
- hydrationErrors: null
9639
- }),
9640
- (instance = createFiber(18, null, null, NoMode)),
9641
- (instance.stateNode = JSCompiler_temp),
9642
- (instance.return = workInProgress),
9643
- (workInProgress.child = instance),
9644
- (hydrationParentFiber = workInProgress),
9645
- (nextHydratableInstance = null),
9646
- (JSCompiler_temp = !0))
9647
- : (JSCompiler_temp = !1);
9648
- JSCompiler_temp = !JSCompiler_temp;
9625
+ renderLanes = JSCompiler_object_inline_digest_2447;
9649
9626
  }
9650
- JSCompiler_temp &&
9651
- (warnNonHydratedInstance(
9652
- workInProgress,
9653
- JSCompiler_object_inline_message_2446
9654
- ),
9655
- throwOnHydrationMismatch(workInProgress));
9656
- }
9657
- JSCompiler_object_inline_message_2446 = workInProgress.memoizedState;
9658
- if (
9659
- null !== JSCompiler_object_inline_message_2446 &&
9660
- ((JSCompiler_object_inline_message_2446 =
9661
- JSCompiler_object_inline_message_2446.dehydrated),
9662
- null !== JSCompiler_object_inline_message_2446)
9663
- )
9664
- return (
9665
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2446)
9666
- ? (workInProgress.lanes = 32)
9667
- : (workInProgress.lanes = 536870912),
9668
- null
9627
+ null !== renderLanes &&
9628
+ (warnIfNotHydrating(),
9629
+ (workInProgress.memoizedState = {
9630
+ dehydrated: renderLanes,
9631
+ treeContext:
9632
+ null !== treeContextProvider
9633
+ ? { id: treeContextId, overflow: treeContextOverflow }
9634
+ : null,
9635
+ retryLane: 536870912,
9636
+ hydrationErrors: null
9637
+ }),
9638
+ (JSCompiler_object_inline_digest_2447 = renderLanes),
9639
+ (JSCompiler_object_inline_stack_2448 = createFiber(
9640
+ 18,
9641
+ null,
9642
+ null,
9643
+ NoMode
9644
+ )),
9645
+ (JSCompiler_object_inline_stack_2448.stateNode =
9646
+ JSCompiler_object_inline_digest_2447),
9647
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9648
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9649
+ (hydrationParentFiber = workInProgress),
9650
+ (nextHydratableInstance = null));
9651
+ } else renderLanes = null;
9652
+ if (null === renderLanes)
9653
+ throw (
9654
+ (warnNonHydratedInstance(workInProgress, current),
9655
+ throwOnHydrationMismatch(workInProgress))
9669
9656
  );
9670
- popSuspenseHandler(workInProgress);
9657
+ isSuspenseInstanceFallback(renderLanes)
9658
+ ? (workInProgress.lanes = 32)
9659
+ : (workInProgress.lanes = 536870912);
9660
+ return null;
9671
9661
  }
9672
- JSCompiler_object_inline_message_2446 =
9662
+ var JSCompiler_object_inline_componentStack_2449 =
9673
9663
  JSCompiler_object_inline_stack_2448.children;
9674
9664
  JSCompiler_object_inline_stack_2448 =
9675
9665
  JSCompiler_object_inline_stack_2448.fallback;
9676
- if (JSCompiler_object_inline_componentStack_2449)
9677
- return (
9678
- reuseSuspenseHandlerOnStack(workInProgress),
9679
- (JSCompiler_object_inline_componentStack_2449 =
9680
- workInProgress.mode),
9681
- (JSCompiler_object_inline_message_2446 =
9682
- mountWorkInProgressOffscreenFiber(
9683
- {
9684
- mode: "hidden",
9685
- children: JSCompiler_object_inline_message_2446
9686
- },
9687
- JSCompiler_object_inline_componentStack_2449
9688
- )),
9689
- (JSCompiler_object_inline_stack_2448 = createFiberFromFragment(
9690
- JSCompiler_object_inline_stack_2448,
9691
- JSCompiler_object_inline_componentStack_2449,
9692
- renderLanes,
9693
- null
9694
- )),
9695
- (JSCompiler_object_inline_message_2446.return = workInProgress),
9696
- (JSCompiler_object_inline_stack_2448.return = workInProgress),
9697
- (JSCompiler_object_inline_message_2446.sibling =
9698
- JSCompiler_object_inline_stack_2448),
9699
- (workInProgress.child = JSCompiler_object_inline_message_2446),
9700
- (JSCompiler_object_inline_componentStack_2449 =
9701
- workInProgress.child),
9702
- (JSCompiler_object_inline_componentStack_2449.memoizedState =
9703
- mountSuspenseOffscreenState(renderLanes)),
9704
- (JSCompiler_object_inline_componentStack_2449.childLanes =
9705
- getRemainingWorkInPrimaryTree(
9706
- current,
9707
- JSCompiler_object_inline_digest_2447,
9708
- renderLanes
9709
- )),
9710
- (workInProgress.memoizedState = SUSPENDED_MARKER),
9711
- JSCompiler_object_inline_stack_2448
9666
+ if (showFallback) {
9667
+ reuseSuspenseHandlerOnStack(workInProgress);
9668
+ var mode = workInProgress.mode;
9669
+ JSCompiler_object_inline_componentStack_2449 =
9670
+ mountWorkInProgressOffscreenFiber(
9671
+ {
9672
+ mode: "hidden",
9673
+ children: JSCompiler_object_inline_componentStack_2449
9674
+ },
9675
+ mode
9676
+ );
9677
+ JSCompiler_object_inline_stack_2448 = createFiberFromFragment(
9678
+ JSCompiler_object_inline_stack_2448,
9679
+ mode,
9680
+ renderLanes,
9681
+ null
9712
9682
  );
9683
+ JSCompiler_object_inline_componentStack_2449.return = workInProgress;
9684
+ JSCompiler_object_inline_stack_2448.return = workInProgress;
9685
+ JSCompiler_object_inline_componentStack_2449.sibling =
9686
+ JSCompiler_object_inline_stack_2448;
9687
+ workInProgress.child = JSCompiler_object_inline_componentStack_2449;
9688
+ JSCompiler_object_inline_componentStack_2449 = workInProgress.child;
9689
+ JSCompiler_object_inline_componentStack_2449.memoizedState =
9690
+ mountSuspenseOffscreenState(renderLanes);
9691
+ JSCompiler_object_inline_componentStack_2449.childLanes =
9692
+ getRemainingWorkInPrimaryTree(
9693
+ current,
9694
+ JSCompiler_object_inline_digest_2447,
9695
+ renderLanes
9696
+ );
9697
+ workInProgress.memoizedState = SUSPENDED_MARKER;
9698
+ return JSCompiler_object_inline_stack_2448;
9699
+ }
9713
9700
  pushPrimaryTreeSuspenseHandler(workInProgress);
9714
9701
  return mountSuspensePrimaryChildren(
9715
9702
  workInProgress,
9716
- JSCompiler_object_inline_message_2446
9703
+ JSCompiler_object_inline_componentStack_2449
9717
9704
  );
9718
9705
  }
9719
- var prevState = current.memoizedState;
9706
+ var JSCompiler_object_inline_message_2446 = current.memoizedState;
9720
9707
  if (
9721
- null !== prevState &&
9722
- ((JSCompiler_object_inline_message_2446 = prevState.dehydrated),
9723
- null !== JSCompiler_object_inline_message_2446)
9708
+ null !== JSCompiler_object_inline_message_2446 &&
9709
+ ((JSCompiler_object_inline_componentStack_2449 =
9710
+ JSCompiler_object_inline_message_2446.dehydrated),
9711
+ null !== JSCompiler_object_inline_componentStack_2449)
9724
9712
  ) {
9725
9713
  if (didSuspend)
9726
9714
  workInProgress.flags & 256
@@ -9739,19 +9727,19 @@
9739
9727
  : (reuseSuspenseHandlerOnStack(workInProgress),
9740
9728
  (JSCompiler_object_inline_componentStack_2449 =
9741
9729
  JSCompiler_object_inline_stack_2448.fallback),
9742
- (JSCompiler_object_inline_message_2446 = workInProgress.mode),
9730
+ (mode = workInProgress.mode),
9743
9731
  (JSCompiler_object_inline_stack_2448 =
9744
9732
  mountWorkInProgressOffscreenFiber(
9745
9733
  {
9746
9734
  mode: "visible",
9747
9735
  children: JSCompiler_object_inline_stack_2448.children
9748
9736
  },
9749
- JSCompiler_object_inline_message_2446
9737
+ mode
9750
9738
  )),
9751
9739
  (JSCompiler_object_inline_componentStack_2449 =
9752
9740
  createFiberFromFragment(
9753
9741
  JSCompiler_object_inline_componentStack_2449,
9754
- JSCompiler_object_inline_message_2446,
9742
+ mode,
9755
9743
  renderLanes,
9756
9744
  null
9757
9745
  )),
@@ -9786,34 +9774,38 @@
9786
9774
  console.error(
9787
9775
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9788
9776
  ),
9789
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2446))
9777
+ isSuspenseInstanceFallback(
9778
+ JSCompiler_object_inline_componentStack_2449
9779
+ ))
9790
9780
  ) {
9791
9781
  JSCompiler_object_inline_digest_2447 =
9792
- JSCompiler_object_inline_message_2446.nextSibling &&
9793
- JSCompiler_object_inline_message_2446.nextSibling.dataset;
9782
+ JSCompiler_object_inline_componentStack_2449.nextSibling &&
9783
+ JSCompiler_object_inline_componentStack_2449.nextSibling.dataset;
9794
9784
  if (JSCompiler_object_inline_digest_2447) {
9795
- JSCompiler_temp = JSCompiler_object_inline_digest_2447.dgst;
9785
+ mode = JSCompiler_object_inline_digest_2447.dgst;
9796
9786
  var message = JSCompiler_object_inline_digest_2447.msg;
9797
- instance = JSCompiler_object_inline_digest_2447.stck;
9798
- var componentStack = JSCompiler_object_inline_digest_2447.cstck;
9787
+ var componentStack = JSCompiler_object_inline_digest_2447.stck;
9788
+ var componentStack$jscomp$0 =
9789
+ JSCompiler_object_inline_digest_2447.cstck;
9799
9790
  }
9800
9791
  JSCompiler_object_inline_message_2446 = message;
9801
- JSCompiler_object_inline_digest_2447 = JSCompiler_temp;
9802
- JSCompiler_object_inline_stack_2448 = instance;
9803
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2449 =
9804
- componentStack;
9792
+ JSCompiler_object_inline_digest_2447 = mode;
9793
+ JSCompiler_object_inline_stack_2448 = componentStack;
9805
9794
  JSCompiler_object_inline_componentStack_2449 =
9806
- JSCompiler_object_inline_message_2446
9807
- ? Error(JSCompiler_object_inline_message_2446)
9808
- : Error(
9809
- "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9810
- );
9795
+ componentStack$jscomp$0;
9796
+ mode = JSCompiler_object_inline_message_2446;
9797
+ componentStack = JSCompiler_object_inline_componentStack_2449;
9798
+ JSCompiler_object_inline_componentStack_2449 = mode
9799
+ ? Error(mode)
9800
+ : Error(
9801
+ "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9802
+ );
9811
9803
  JSCompiler_object_inline_componentStack_2449.stack =
9812
9804
  JSCompiler_object_inline_stack_2448 || "";
9813
9805
  JSCompiler_object_inline_componentStack_2449.digest =
9814
9806
  JSCompiler_object_inline_digest_2447;
9815
9807
  JSCompiler_object_inline_digest_2447 =
9816
- void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9808
+ void 0 === componentStack ? null : componentStack;
9817
9809
  JSCompiler_object_inline_stack_2448 = {
9818
9810
  value: JSCompiler_object_inline_componentStack_2449,
9819
9811
  source: null,
@@ -9860,10 +9852,12 @@
9860
9852
  ? 0
9861
9853
  : JSCompiler_object_inline_stack_2448),
9862
9854
  0 !== JSCompiler_object_inline_stack_2448 &&
9863
- JSCompiler_object_inline_stack_2448 !== prevState.retryLane)
9855
+ JSCompiler_object_inline_stack_2448 !==
9856
+ JSCompiler_object_inline_message_2446.retryLane)
9864
9857
  )
9865
9858
  throw (
9866
- ((prevState.retryLane = JSCompiler_object_inline_stack_2448),
9859
+ ((JSCompiler_object_inline_message_2446.retryLane =
9860
+ JSCompiler_object_inline_stack_2448),
9867
9861
  enqueueConcurrentRenderForLane(
9868
9862
  current,
9869
9863
  JSCompiler_object_inline_stack_2448
@@ -9875,7 +9869,7 @@
9875
9869
  ),
9876
9870
  SelectiveHydrationException)
9877
9871
  );
9878
- JSCompiler_object_inline_message_2446.data ===
9872
+ JSCompiler_object_inline_componentStack_2449.data ===
9879
9873
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9880
9874
  workInProgress = retrySuspenseComponentWithoutHydrating(
9881
9875
  current,
@@ -9883,14 +9877,14 @@
9883
9877
  renderLanes
9884
9878
  );
9885
9879
  } else
9886
- JSCompiler_object_inline_message_2446.data ===
9880
+ JSCompiler_object_inline_componentStack_2449.data ===
9887
9881
  SUSPENSE_PENDING_START_DATA
9888
9882
  ? ((workInProgress.flags |= 192),
9889
9883
  (workInProgress.child = current.child),
9890
9884
  (workInProgress = null))
9891
- : ((current = prevState.treeContext),
9885
+ : ((current = JSCompiler_object_inline_message_2446.treeContext),
9892
9886
  (nextHydratableInstance = getNextHydratable(
9893
- JSCompiler_object_inline_message_2446.nextSibling
9887
+ JSCompiler_object_inline_componentStack_2449.nextSibling
9894
9888
  )),
9895
9889
  (hydrationParentFiber = workInProgress),
9896
9890
  (isHydrating = !0),
@@ -9913,33 +9907,33 @@
9913
9907
  (workInProgress.flags |= 4096));
9914
9908
  return workInProgress;
9915
9909
  }
9916
- if (JSCompiler_object_inline_componentStack_2449)
9910
+ if (showFallback)
9917
9911
  return (
9918
9912
  reuseSuspenseHandlerOnStack(workInProgress),
9919
9913
  (JSCompiler_object_inline_componentStack_2449 =
9920
9914
  JSCompiler_object_inline_stack_2448.fallback),
9921
- (JSCompiler_object_inline_message_2446 = workInProgress.mode),
9922
- (JSCompiler_temp = current.child),
9923
- (instance = JSCompiler_temp.sibling),
9915
+ (mode = workInProgress.mode),
9916
+ (componentStack = current.child),
9917
+ (componentStack$jscomp$0 = componentStack.sibling),
9924
9918
  (JSCompiler_object_inline_stack_2448 = createWorkInProgress(
9925
- JSCompiler_temp,
9919
+ componentStack,
9926
9920
  {
9927
9921
  mode: "hidden",
9928
9922
  children: JSCompiler_object_inline_stack_2448.children
9929
9923
  }
9930
9924
  )),
9931
9925
  (JSCompiler_object_inline_stack_2448.subtreeFlags =
9932
- JSCompiler_temp.subtreeFlags & 65011712),
9933
- null !== instance
9926
+ componentStack.subtreeFlags & 65011712),
9927
+ null !== componentStack$jscomp$0
9934
9928
  ? (JSCompiler_object_inline_componentStack_2449 =
9935
9929
  createWorkInProgress(
9936
- instance,
9930
+ componentStack$jscomp$0,
9937
9931
  JSCompiler_object_inline_componentStack_2449
9938
9932
  ))
9939
9933
  : ((JSCompiler_object_inline_componentStack_2449 =
9940
9934
  createFiberFromFragment(
9941
9935
  JSCompiler_object_inline_componentStack_2449,
9942
- JSCompiler_object_inline_message_2446,
9936
+ mode,
9943
9937
  renderLanes,
9944
9938
  null
9945
9939
  )),
@@ -9953,26 +9947,25 @@
9953
9947
  (JSCompiler_object_inline_stack_2448 =
9954
9948
  JSCompiler_object_inline_componentStack_2449),
9955
9949
  (JSCompiler_object_inline_componentStack_2449 = workInProgress.child),
9956
- (JSCompiler_object_inline_message_2446 = current.child.memoizedState),
9957
- null === JSCompiler_object_inline_message_2446
9958
- ? (JSCompiler_object_inline_message_2446 =
9959
- mountSuspenseOffscreenState(renderLanes))
9960
- : ((JSCompiler_temp =
9961
- JSCompiler_object_inline_message_2446.cachePool),
9962
- null !== JSCompiler_temp
9963
- ? ((instance = CacheContext._currentValue),
9964
- (JSCompiler_temp =
9965
- JSCompiler_temp.parent !== instance
9966
- ? { parent: instance, pool: instance }
9967
- : JSCompiler_temp))
9968
- : (JSCompiler_temp = getSuspendedCache()),
9969
- (JSCompiler_object_inline_message_2446 = {
9970
- baseLanes:
9971
- JSCompiler_object_inline_message_2446.baseLanes | renderLanes,
9972
- cachePool: JSCompiler_temp
9950
+ (mode = current.child.memoizedState),
9951
+ null === mode
9952
+ ? (mode = mountSuspenseOffscreenState(renderLanes))
9953
+ : ((componentStack = mode.cachePool),
9954
+ null !== componentStack
9955
+ ? ((componentStack$jscomp$0 = CacheContext._currentValue),
9956
+ (componentStack =
9957
+ componentStack.parent !== componentStack$jscomp$0
9958
+ ? {
9959
+ parent: componentStack$jscomp$0,
9960
+ pool: componentStack$jscomp$0
9961
+ }
9962
+ : componentStack))
9963
+ : (componentStack = getSuspendedCache()),
9964
+ (mode = {
9965
+ baseLanes: mode.baseLanes | renderLanes,
9966
+ cachePool: componentStack
9973
9967
  })),
9974
- (JSCompiler_object_inline_componentStack_2449.memoizedState =
9975
- JSCompiler_object_inline_message_2446),
9968
+ (JSCompiler_object_inline_componentStack_2449.memoizedState = mode),
9976
9969
  (JSCompiler_object_inline_componentStack_2449.childLanes =
9977
9970
  getRemainingWorkInPrimaryTree(
9978
9971
  current,
@@ -19533,55 +19526,45 @@
19533
19526
  }
19534
19527
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
19535
19528
  var node = suspenseInstance,
19536
- possiblePreambleContribution = 0,
19537
19529
  depth = 0;
19538
19530
  do {
19539
19531
  var nextNode = node.nextSibling;
19540
19532
  parentInstance.removeChild(node);
19541
19533
  if (nextNode && 8 === nextNode.nodeType)
19542
19534
  if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
19543
- if (
19544
- 0 < possiblePreambleContribution &&
19545
- 8 > possiblePreambleContribution
19546
- ) {
19547
- node = possiblePreambleContribution;
19548
- var ownerDocument = parentInstance.ownerDocument;
19549
- node & PREAMBLE_CONTRIBUTION_HTML &&
19550
- releaseSingletonInstance(ownerDocument.documentElement);
19551
- node & PREAMBLE_CONTRIBUTION_BODY &&
19552
- releaseSingletonInstance(ownerDocument.body);
19553
- if (node & PREAMBLE_CONTRIBUTION_HEAD)
19554
- for (
19555
- node = ownerDocument.head,
19556
- releaseSingletonInstance(node),
19557
- ownerDocument = node.firstChild;
19558
- ownerDocument;
19559
-
19560
- ) {
19561
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
19562
- nodeName = ownerDocument.nodeName;
19563
- ownerDocument[internalHoistableMarker] ||
19564
- "SCRIPT" === nodeName ||
19565
- "STYLE" === nodeName ||
19566
- ("LINK" === nodeName &&
19567
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
19568
- node.removeChild(ownerDocument);
19569
- ownerDocument = nextNode$jscomp$0;
19570
- }
19571
- }
19572
19535
  if (0 === depth) {
19573
19536
  parentInstance.removeChild(nextNode);
19574
19537
  retryIfBlockedOn(suspenseInstance);
19575
19538
  return;
19576
19539
  }
19577
19540
  depth--;
19578
- } else
19541
+ } else if (
19579
19542
  node === SUSPENSE_START_DATA ||
19580
19543
  node === SUSPENSE_PENDING_START_DATA ||
19581
19544
  node === SUSPENSE_FALLBACK_START_DATA
19582
- ? depth++
19583
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
19584
- else possiblePreambleContribution = 0;
19545
+ )
19546
+ depth++;
19547
+ else if (node === PREAMBLE_CONTRIBUTION_HTML)
19548
+ releaseSingletonInstance(
19549
+ parentInstance.ownerDocument.documentElement
19550
+ );
19551
+ else if (node === PREAMBLE_CONTRIBUTION_HEAD) {
19552
+ node = parentInstance.ownerDocument.head;
19553
+ releaseSingletonInstance(node);
19554
+ for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
19555
+ var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
19556
+ nodeName = node$jscomp$0.nodeName;
19557
+ node$jscomp$0[internalHoistableMarker] ||
19558
+ "SCRIPT" === nodeName ||
19559
+ "STYLE" === nodeName ||
19560
+ ("LINK" === nodeName &&
19561
+ "stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
19562
+ node.removeChild(node$jscomp$0);
19563
+ node$jscomp$0 = nextNode$jscomp$0;
19564
+ }
19565
+ } else
19566
+ node === PREAMBLE_CONTRIBUTION_BODY &&
19567
+ releaseSingletonInstance(parentInstance.ownerDocument.body);
19585
19568
  node = nextNode;
19586
19569
  } while (node);
19587
19570
  retryIfBlockedOn(suspenseInstance);
@@ -24510,9 +24493,9 @@
24510
24493
  SUSPENSE_END_DATA = "/$",
24511
24494
  SUSPENSE_PENDING_START_DATA = "$?",
24512
24495
  SUSPENSE_FALLBACK_START_DATA = "$!",
24513
- PREAMBLE_CONTRIBUTION_HTML = 1,
24514
- PREAMBLE_CONTRIBUTION_BODY = 2,
24515
- PREAMBLE_CONTRIBUTION_HEAD = 4,
24496
+ PREAMBLE_CONTRIBUTION_HTML = "html",
24497
+ PREAMBLE_CONTRIBUTION_BODY = "body",
24498
+ PREAMBLE_CONTRIBUTION_HEAD = "head",
24516
24499
  FORM_STATE_IS_MATCHING = "F!",
24517
24500
  FORM_STATE_IS_NOT_MATCHING = "F",
24518
24501
  DOCUMENT_READY_STATE_COMPLETE = "complete",
@@ -24956,11 +24939,11 @@
24956
24939
  };
24957
24940
  (function () {
24958
24941
  var isomorphicReactPackageVersion = React.version;
24959
- if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
24942
+ if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
24960
24943
  throw Error(
24961
24944
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24962
24945
  (isomorphicReactPackageVersion +
24963
- "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
24946
+ "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
24964
24947
  );
24965
24948
  })();
24966
24949
  ("function" === typeof Map &&
@@ -24997,10 +24980,10 @@
24997
24980
  !(function () {
24998
24981
  var internals = {
24999
24982
  bundleType: 1,
25000
- version: "19.2.0-canary-c44e4a25-20250409",
24983
+ version: "19.2.0-canary-1d6c8168-20250411",
25001
24984
  rendererPackageName: "react-dom",
25002
24985
  currentDispatcherRef: ReactSharedInternals,
25003
- reconcilerVersion: "19.2.0-canary-c44e4a25-20250409"
24986
+ reconcilerVersion: "19.2.0-canary-1d6c8168-20250411"
25004
24987
  };
25005
24988
  internals.overrideHookState = overrideHookState;
25006
24989
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25144,7 +25127,7 @@
25144
25127
  listenToAllSupportedEvents(container);
25145
25128
  return new ReactDOMHydrationRoot(initialChildren);
25146
25129
  };
25147
- exports.version = "19.2.0-canary-c44e4a25-20250409";
25130
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
25148
25131
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25149
25132
  "function" ===
25150
25133
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&