react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-20250409

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.
@@ -9587,32 +9587,32 @@
9587
9587
  return current;
9588
9588
  }
9589
9589
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9590
- var JSCompiler_object_inline_digest_2471;
9591
- var JSCompiler_object_inline_stack_2472 = workInProgress.pendingProps;
9590
+ var JSCompiler_object_inline_digest_2451;
9591
+ var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps;
9592
9592
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9593
- var JSCompiler_object_inline_componentStack_2473 = !1;
9593
+ var JSCompiler_object_inline_componentStack_2453 = !1;
9594
9594
  var didSuspend = 0 !== (workInProgress.flags & 128);
9595
- (JSCompiler_object_inline_digest_2471 = didSuspend) ||
9596
- (JSCompiler_object_inline_digest_2471 =
9595
+ (JSCompiler_object_inline_digest_2451 = didSuspend) ||
9596
+ (JSCompiler_object_inline_digest_2451 =
9597
9597
  null !== current && null === current.memoizedState
9598
9598
  ? !1
9599
9599
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9600
- JSCompiler_object_inline_digest_2471 &&
9601
- ((JSCompiler_object_inline_componentStack_2473 = !0),
9600
+ JSCompiler_object_inline_digest_2451 &&
9601
+ ((JSCompiler_object_inline_componentStack_2453 = !0),
9602
9602
  (workInProgress.flags &= -129));
9603
- JSCompiler_object_inline_digest_2471 = 0 !== (workInProgress.flags & 32);
9603
+ JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32);
9604
9604
  workInProgress.flags &= -33;
9605
9605
  if (null === current) {
9606
9606
  if (isHydrating) {
9607
- JSCompiler_object_inline_componentStack_2473
9607
+ JSCompiler_object_inline_componentStack_2453
9608
9608
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9609
9609
  : reuseSuspenseHandlerOnStack(workInProgress);
9610
9610
  if (isHydrating) {
9611
- var JSCompiler_object_inline_message_2470 = nextHydratableInstance;
9611
+ var JSCompiler_object_inline_message_2450 = nextHydratableInstance;
9612
9612
  var JSCompiler_temp;
9613
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2470)) {
9613
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) {
9614
9614
  c: {
9615
- var instance = JSCompiler_object_inline_message_2470;
9615
+ var instance = JSCompiler_object_inline_message_2450;
9616
9616
  for (
9617
9617
  JSCompiler_temp = rootOrSingletonContext;
9618
9618
  8 !== instance.nodeType;
@@ -9654,77 +9654,77 @@
9654
9654
  JSCompiler_temp &&
9655
9655
  (warnNonHydratedInstance(
9656
9656
  workInProgress,
9657
- JSCompiler_object_inline_message_2470
9657
+ JSCompiler_object_inline_message_2450
9658
9658
  ),
9659
9659
  throwOnHydrationMismatch(workInProgress));
9660
9660
  }
9661
- JSCompiler_object_inline_message_2470 = workInProgress.memoizedState;
9661
+ JSCompiler_object_inline_message_2450 = workInProgress.memoizedState;
9662
9662
  if (
9663
- null !== JSCompiler_object_inline_message_2470 &&
9664
- ((JSCompiler_object_inline_message_2470 =
9665
- JSCompiler_object_inline_message_2470.dehydrated),
9666
- null !== JSCompiler_object_inline_message_2470)
9663
+ null !== JSCompiler_object_inline_message_2450 &&
9664
+ ((JSCompiler_object_inline_message_2450 =
9665
+ JSCompiler_object_inline_message_2450.dehydrated),
9666
+ null !== JSCompiler_object_inline_message_2450)
9667
9667
  )
9668
9668
  return (
9669
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470)
9669
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450)
9670
9670
  ? (workInProgress.lanes = 32)
9671
9671
  : (workInProgress.lanes = 536870912),
9672
9672
  null
9673
9673
  );
9674
9674
  popSuspenseHandler(workInProgress);
9675
9675
  }
9676
- JSCompiler_object_inline_message_2470 =
9677
- JSCompiler_object_inline_stack_2472.children;
9678
- JSCompiler_object_inline_stack_2472 =
9679
- JSCompiler_object_inline_stack_2472.fallback;
9680
- if (JSCompiler_object_inline_componentStack_2473)
9676
+ JSCompiler_object_inline_message_2450 =
9677
+ JSCompiler_object_inline_stack_2452.children;
9678
+ JSCompiler_object_inline_stack_2452 =
9679
+ JSCompiler_object_inline_stack_2452.fallback;
9680
+ if (JSCompiler_object_inline_componentStack_2453)
9681
9681
  return (
9682
9682
  reuseSuspenseHandlerOnStack(workInProgress),
9683
- (JSCompiler_object_inline_componentStack_2473 =
9683
+ (JSCompiler_object_inline_componentStack_2453 =
9684
9684
  workInProgress.mode),
9685
- (JSCompiler_object_inline_message_2470 =
9685
+ (JSCompiler_object_inline_message_2450 =
9686
9686
  mountWorkInProgressOffscreenFiber(
9687
9687
  {
9688
9688
  mode: "hidden",
9689
- children: JSCompiler_object_inline_message_2470
9689
+ children: JSCompiler_object_inline_message_2450
9690
9690
  },
9691
- JSCompiler_object_inline_componentStack_2473
9691
+ JSCompiler_object_inline_componentStack_2453
9692
9692
  )),
9693
- (JSCompiler_object_inline_stack_2472 = createFiberFromFragment(
9694
- JSCompiler_object_inline_stack_2472,
9695
- JSCompiler_object_inline_componentStack_2473,
9693
+ (JSCompiler_object_inline_stack_2452 = createFiberFromFragment(
9694
+ JSCompiler_object_inline_stack_2452,
9695
+ JSCompiler_object_inline_componentStack_2453,
9696
9696
  renderLanes,
9697
9697
  null
9698
9698
  )),
9699
- (JSCompiler_object_inline_message_2470.return = workInProgress),
9700
- (JSCompiler_object_inline_stack_2472.return = workInProgress),
9701
- (JSCompiler_object_inline_message_2470.sibling =
9702
- JSCompiler_object_inline_stack_2472),
9703
- (workInProgress.child = JSCompiler_object_inline_message_2470),
9704
- (JSCompiler_object_inline_componentStack_2473 =
9699
+ (JSCompiler_object_inline_message_2450.return = workInProgress),
9700
+ (JSCompiler_object_inline_stack_2452.return = workInProgress),
9701
+ (JSCompiler_object_inline_message_2450.sibling =
9702
+ JSCompiler_object_inline_stack_2452),
9703
+ (workInProgress.child = JSCompiler_object_inline_message_2450),
9704
+ (JSCompiler_object_inline_componentStack_2453 =
9705
9705
  workInProgress.child),
9706
- (JSCompiler_object_inline_componentStack_2473.memoizedState =
9706
+ (JSCompiler_object_inline_componentStack_2453.memoizedState =
9707
9707
  mountSuspenseOffscreenState(renderLanes)),
9708
- (JSCompiler_object_inline_componentStack_2473.childLanes =
9708
+ (JSCompiler_object_inline_componentStack_2453.childLanes =
9709
9709
  getRemainingWorkInPrimaryTree(
9710
9710
  current,
9711
- JSCompiler_object_inline_digest_2471,
9711
+ JSCompiler_object_inline_digest_2451,
9712
9712
  renderLanes
9713
9713
  )),
9714
9714
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9715
- JSCompiler_object_inline_stack_2472
9715
+ JSCompiler_object_inline_stack_2452
9716
9716
  );
9717
9717
  pushPrimaryTreeSuspenseHandler(workInProgress);
9718
9718
  return mountSuspensePrimaryChildren(
9719
9719
  workInProgress,
9720
- JSCompiler_object_inline_message_2470
9720
+ JSCompiler_object_inline_message_2450
9721
9721
  );
9722
9722
  }
9723
9723
  var prevState = current.memoizedState;
9724
9724
  if (
9725
9725
  null !== prevState &&
9726
- ((JSCompiler_object_inline_message_2470 = prevState.dehydrated),
9727
- null !== JSCompiler_object_inline_message_2470)
9726
+ ((JSCompiler_object_inline_message_2450 = prevState.dehydrated),
9727
+ null !== JSCompiler_object_inline_message_2450)
9728
9728
  ) {
9729
9729
  if (didSuspend)
9730
9730
  workInProgress.flags & 256
@@ -9741,94 +9741,94 @@
9741
9741
  (workInProgress.flags |= 128),
9742
9742
  (workInProgress = null))
9743
9743
  : (reuseSuspenseHandlerOnStack(workInProgress),
9744
- (JSCompiler_object_inline_componentStack_2473 =
9745
- JSCompiler_object_inline_stack_2472.fallback),
9746
- (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9747
- (JSCompiler_object_inline_stack_2472 =
9744
+ (JSCompiler_object_inline_componentStack_2453 =
9745
+ JSCompiler_object_inline_stack_2452.fallback),
9746
+ (JSCompiler_object_inline_message_2450 = workInProgress.mode),
9747
+ (JSCompiler_object_inline_stack_2452 =
9748
9748
  mountWorkInProgressOffscreenFiber(
9749
9749
  {
9750
9750
  mode: "visible",
9751
- children: JSCompiler_object_inline_stack_2472.children
9751
+ children: JSCompiler_object_inline_stack_2452.children
9752
9752
  },
9753
- JSCompiler_object_inline_message_2470
9753
+ JSCompiler_object_inline_message_2450
9754
9754
  )),
9755
- (JSCompiler_object_inline_componentStack_2473 =
9755
+ (JSCompiler_object_inline_componentStack_2453 =
9756
9756
  createFiberFromFragment(
9757
- JSCompiler_object_inline_componentStack_2473,
9758
- JSCompiler_object_inline_message_2470,
9757
+ JSCompiler_object_inline_componentStack_2453,
9758
+ JSCompiler_object_inline_message_2450,
9759
9759
  renderLanes,
9760
9760
  null
9761
9761
  )),
9762
- (JSCompiler_object_inline_componentStack_2473.flags |= 2),
9763
- (JSCompiler_object_inline_stack_2472.return = workInProgress),
9764
- (JSCompiler_object_inline_componentStack_2473.return =
9762
+ (JSCompiler_object_inline_componentStack_2453.flags |= 2),
9763
+ (JSCompiler_object_inline_stack_2452.return = workInProgress),
9764
+ (JSCompiler_object_inline_componentStack_2453.return =
9765
9765
  workInProgress),
9766
- (JSCompiler_object_inline_stack_2472.sibling =
9767
- JSCompiler_object_inline_componentStack_2473),
9768
- (workInProgress.child = JSCompiler_object_inline_stack_2472),
9766
+ (JSCompiler_object_inline_stack_2452.sibling =
9767
+ JSCompiler_object_inline_componentStack_2453),
9768
+ (workInProgress.child = JSCompiler_object_inline_stack_2452),
9769
9769
  reconcileChildFibers(
9770
9770
  workInProgress,
9771
9771
  current.child,
9772
9772
  null,
9773
9773
  renderLanes
9774
9774
  ),
9775
- (JSCompiler_object_inline_stack_2472 = workInProgress.child),
9776
- (JSCompiler_object_inline_stack_2472.memoizedState =
9775
+ (JSCompiler_object_inline_stack_2452 = workInProgress.child),
9776
+ (JSCompiler_object_inline_stack_2452.memoizedState =
9777
9777
  mountSuspenseOffscreenState(renderLanes)),
9778
- (JSCompiler_object_inline_stack_2472.childLanes =
9778
+ (JSCompiler_object_inline_stack_2452.childLanes =
9779
9779
  getRemainingWorkInPrimaryTree(
9780
9780
  current,
9781
- JSCompiler_object_inline_digest_2471,
9781
+ JSCompiler_object_inline_digest_2451,
9782
9782
  renderLanes
9783
9783
  )),
9784
9784
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9785
9785
  (workInProgress =
9786
- JSCompiler_object_inline_componentStack_2473));
9786
+ JSCompiler_object_inline_componentStack_2453));
9787
9787
  else if (
9788
9788
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9789
9789
  isHydrating &&
9790
9790
  console.error(
9791
9791
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9792
9792
  ),
9793
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470))
9793
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450))
9794
9794
  ) {
9795
- JSCompiler_object_inline_digest_2471 =
9796
- JSCompiler_object_inline_message_2470.nextSibling &&
9797
- JSCompiler_object_inline_message_2470.nextSibling.dataset;
9798
- if (JSCompiler_object_inline_digest_2471) {
9799
- JSCompiler_temp = JSCompiler_object_inline_digest_2471.dgst;
9800
- var message = JSCompiler_object_inline_digest_2471.msg;
9801
- instance = JSCompiler_object_inline_digest_2471.stck;
9802
- var componentStack = JSCompiler_object_inline_digest_2471.cstck;
9795
+ JSCompiler_object_inline_digest_2451 =
9796
+ JSCompiler_object_inline_message_2450.nextSibling &&
9797
+ JSCompiler_object_inline_message_2450.nextSibling.dataset;
9798
+ if (JSCompiler_object_inline_digest_2451) {
9799
+ JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst;
9800
+ var message = JSCompiler_object_inline_digest_2451.msg;
9801
+ instance = JSCompiler_object_inline_digest_2451.stck;
9802
+ var componentStack = JSCompiler_object_inline_digest_2451.cstck;
9803
9803
  }
9804
- JSCompiler_object_inline_message_2470 = message;
9805
- JSCompiler_object_inline_digest_2471 = JSCompiler_temp;
9806
- JSCompiler_object_inline_stack_2472 = instance;
9807
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2473 =
9804
+ JSCompiler_object_inline_message_2450 = message;
9805
+ JSCompiler_object_inline_digest_2451 = JSCompiler_temp;
9806
+ JSCompiler_object_inline_stack_2452 = instance;
9807
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2453 =
9808
9808
  componentStack;
9809
- JSCompiler_object_inline_componentStack_2473 =
9810
- JSCompiler_object_inline_message_2470
9811
- ? Error(JSCompiler_object_inline_message_2470)
9809
+ JSCompiler_object_inline_componentStack_2453 =
9810
+ JSCompiler_object_inline_message_2450
9811
+ ? Error(JSCompiler_object_inline_message_2450)
9812
9812
  : Error(
9813
9813
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9814
9814
  );
9815
- JSCompiler_object_inline_componentStack_2473.stack =
9816
- JSCompiler_object_inline_stack_2472 || "";
9817
- JSCompiler_object_inline_componentStack_2473.digest =
9818
- JSCompiler_object_inline_digest_2471;
9819
- JSCompiler_object_inline_digest_2471 =
9815
+ JSCompiler_object_inline_componentStack_2453.stack =
9816
+ JSCompiler_object_inline_stack_2452 || "";
9817
+ JSCompiler_object_inline_componentStack_2453.digest =
9818
+ JSCompiler_object_inline_digest_2451;
9819
+ JSCompiler_object_inline_digest_2451 =
9820
9820
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9821
- JSCompiler_object_inline_stack_2472 = {
9822
- value: JSCompiler_object_inline_componentStack_2473,
9821
+ JSCompiler_object_inline_stack_2452 = {
9822
+ value: JSCompiler_object_inline_componentStack_2453,
9823
9823
  source: null,
9824
- stack: JSCompiler_object_inline_digest_2471
9824
+ stack: JSCompiler_object_inline_digest_2451
9825
9825
  };
9826
- "string" === typeof JSCompiler_object_inline_digest_2471 &&
9826
+ "string" === typeof JSCompiler_object_inline_digest_2451 &&
9827
9827
  CapturedStacks.set(
9828
- JSCompiler_object_inline_componentStack_2473,
9829
- JSCompiler_object_inline_stack_2472
9828
+ JSCompiler_object_inline_componentStack_2453,
9829
+ JSCompiler_object_inline_stack_2452
9830
9830
  );
9831
- queueHydrationError(JSCompiler_object_inline_stack_2472);
9831
+ queueHydrationError(JSCompiler_object_inline_stack_2452);
9832
9832
  workInProgress = retrySuspenseComponentWithoutHydrating(
9833
9833
  current,
9834
9834
  workInProgress,
@@ -9842,44 +9842,44 @@
9842
9842
  renderLanes,
9843
9843
  !1
9844
9844
  ),
9845
- (JSCompiler_object_inline_digest_2471 =
9845
+ (JSCompiler_object_inline_digest_2451 =
9846
9846
  0 !== (renderLanes & current.childLanes)),
9847
- didReceiveUpdate || JSCompiler_object_inline_digest_2471)
9847
+ didReceiveUpdate || JSCompiler_object_inline_digest_2451)
9848
9848
  ) {
9849
- JSCompiler_object_inline_digest_2471 = workInProgressRoot;
9849
+ JSCompiler_object_inline_digest_2451 = workInProgressRoot;
9850
9850
  if (
9851
- null !== JSCompiler_object_inline_digest_2471 &&
9852
- ((JSCompiler_object_inline_stack_2472 = renderLanes & -renderLanes),
9853
- (JSCompiler_object_inline_stack_2472 =
9854
- 0 !== (JSCompiler_object_inline_stack_2472 & 42)
9851
+ null !== JSCompiler_object_inline_digest_2451 &&
9852
+ ((JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes),
9853
+ (JSCompiler_object_inline_stack_2452 =
9854
+ 0 !== (JSCompiler_object_inline_stack_2452 & 42)
9855
9855
  ? 1
9856
9856
  : getBumpedLaneForHydrationByLane(
9857
- JSCompiler_object_inline_stack_2472
9857
+ JSCompiler_object_inline_stack_2452
9858
9858
  )),
9859
- (JSCompiler_object_inline_stack_2472 =
9859
+ (JSCompiler_object_inline_stack_2452 =
9860
9860
  0 !==
9861
- (JSCompiler_object_inline_stack_2472 &
9862
- (JSCompiler_object_inline_digest_2471.suspendedLanes |
9861
+ (JSCompiler_object_inline_stack_2452 &
9862
+ (JSCompiler_object_inline_digest_2451.suspendedLanes |
9863
9863
  renderLanes))
9864
9864
  ? 0
9865
- : JSCompiler_object_inline_stack_2472),
9866
- 0 !== JSCompiler_object_inline_stack_2472 &&
9867
- JSCompiler_object_inline_stack_2472 !== prevState.retryLane)
9865
+ : JSCompiler_object_inline_stack_2452),
9866
+ 0 !== JSCompiler_object_inline_stack_2452 &&
9867
+ JSCompiler_object_inline_stack_2452 !== prevState.retryLane)
9868
9868
  )
9869
9869
  throw (
9870
- ((prevState.retryLane = JSCompiler_object_inline_stack_2472),
9870
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2452),
9871
9871
  enqueueConcurrentRenderForLane(
9872
9872
  current,
9873
- JSCompiler_object_inline_stack_2472
9873
+ JSCompiler_object_inline_stack_2452
9874
9874
  ),
9875
9875
  scheduleUpdateOnFiber(
9876
- JSCompiler_object_inline_digest_2471,
9876
+ JSCompiler_object_inline_digest_2451,
9877
9877
  current,
9878
- JSCompiler_object_inline_stack_2472
9878
+ JSCompiler_object_inline_stack_2452
9879
9879
  ),
9880
9880
  SelectiveHydrationException)
9881
9881
  );
9882
- JSCompiler_object_inline_message_2470.data ===
9882
+ JSCompiler_object_inline_message_2450.data ===
9883
9883
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9884
9884
  workInProgress = retrySuspenseComponentWithoutHydrating(
9885
9885
  current,
@@ -9887,14 +9887,14 @@
9887
9887
  renderLanes
9888
9888
  );
9889
9889
  } else
9890
- JSCompiler_object_inline_message_2470.data ===
9890
+ JSCompiler_object_inline_message_2450.data ===
9891
9891
  SUSPENSE_PENDING_START_DATA
9892
9892
  ? ((workInProgress.flags |= 192),
9893
9893
  (workInProgress.child = current.child),
9894
9894
  (workInProgress = null))
9895
9895
  : ((current = prevState.treeContext),
9896
9896
  (nextHydratableInstance = getNextHydratable(
9897
- JSCompiler_object_inline_message_2470.nextSibling
9897
+ JSCompiler_object_inline_message_2450.nextSibling
9898
9898
  )),
9899
9899
  (hydrationParentFiber = workInProgress),
9900
9900
  (isHydrating = !0),
@@ -9912,57 +9912,57 @@
9912
9912
  (treeContextProvider = workInProgress)),
9913
9913
  (workInProgress = mountSuspensePrimaryChildren(
9914
9914
  workInProgress,
9915
- JSCompiler_object_inline_stack_2472.children
9915
+ JSCompiler_object_inline_stack_2452.children
9916
9916
  )),
9917
9917
  (workInProgress.flags |= 4096));
9918
9918
  return workInProgress;
9919
9919
  }
9920
- if (JSCompiler_object_inline_componentStack_2473)
9920
+ if (JSCompiler_object_inline_componentStack_2453)
9921
9921
  return (
9922
9922
  reuseSuspenseHandlerOnStack(workInProgress),
9923
- (JSCompiler_object_inline_componentStack_2473 =
9924
- JSCompiler_object_inline_stack_2472.fallback),
9925
- (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9923
+ (JSCompiler_object_inline_componentStack_2453 =
9924
+ JSCompiler_object_inline_stack_2452.fallback),
9925
+ (JSCompiler_object_inline_message_2450 = workInProgress.mode),
9926
9926
  (JSCompiler_temp = current.child),
9927
9927
  (instance = JSCompiler_temp.sibling),
9928
- (JSCompiler_object_inline_stack_2472 = createWorkInProgress(
9928
+ (JSCompiler_object_inline_stack_2452 = createWorkInProgress(
9929
9929
  JSCompiler_temp,
9930
9930
  {
9931
9931
  mode: "hidden",
9932
- children: JSCompiler_object_inline_stack_2472.children
9932
+ children: JSCompiler_object_inline_stack_2452.children
9933
9933
  }
9934
9934
  )),
9935
- (JSCompiler_object_inline_stack_2472.subtreeFlags =
9935
+ (JSCompiler_object_inline_stack_2452.subtreeFlags =
9936
9936
  JSCompiler_temp.subtreeFlags & 65011712),
9937
9937
  null !== instance
9938
- ? (JSCompiler_object_inline_componentStack_2473 =
9938
+ ? (JSCompiler_object_inline_componentStack_2453 =
9939
9939
  createWorkInProgress(
9940
9940
  instance,
9941
- JSCompiler_object_inline_componentStack_2473
9941
+ JSCompiler_object_inline_componentStack_2453
9942
9942
  ))
9943
- : ((JSCompiler_object_inline_componentStack_2473 =
9943
+ : ((JSCompiler_object_inline_componentStack_2453 =
9944
9944
  createFiberFromFragment(
9945
- JSCompiler_object_inline_componentStack_2473,
9946
- JSCompiler_object_inline_message_2470,
9945
+ JSCompiler_object_inline_componentStack_2453,
9946
+ JSCompiler_object_inline_message_2450,
9947
9947
  renderLanes,
9948
9948
  null
9949
9949
  )),
9950
- (JSCompiler_object_inline_componentStack_2473.flags |= 2)),
9951
- (JSCompiler_object_inline_componentStack_2473.return =
9950
+ (JSCompiler_object_inline_componentStack_2453.flags |= 2)),
9951
+ (JSCompiler_object_inline_componentStack_2453.return =
9952
9952
  workInProgress),
9953
- (JSCompiler_object_inline_stack_2472.return = workInProgress),
9954
- (JSCompiler_object_inline_stack_2472.sibling =
9955
- JSCompiler_object_inline_componentStack_2473),
9956
- (workInProgress.child = JSCompiler_object_inline_stack_2472),
9957
- (JSCompiler_object_inline_stack_2472 =
9958
- JSCompiler_object_inline_componentStack_2473),
9959
- (JSCompiler_object_inline_componentStack_2473 = workInProgress.child),
9960
- (JSCompiler_object_inline_message_2470 = current.child.memoizedState),
9961
- null === JSCompiler_object_inline_message_2470
9962
- ? (JSCompiler_object_inline_message_2470 =
9953
+ (JSCompiler_object_inline_stack_2452.return = workInProgress),
9954
+ (JSCompiler_object_inline_stack_2452.sibling =
9955
+ JSCompiler_object_inline_componentStack_2453),
9956
+ (workInProgress.child = JSCompiler_object_inline_stack_2452),
9957
+ (JSCompiler_object_inline_stack_2452 =
9958
+ JSCompiler_object_inline_componentStack_2453),
9959
+ (JSCompiler_object_inline_componentStack_2453 = workInProgress.child),
9960
+ (JSCompiler_object_inline_message_2450 = current.child.memoizedState),
9961
+ null === JSCompiler_object_inline_message_2450
9962
+ ? (JSCompiler_object_inline_message_2450 =
9963
9963
  mountSuspenseOffscreenState(renderLanes))
9964
9964
  : ((JSCompiler_temp =
9965
- JSCompiler_object_inline_message_2470.cachePool),
9965
+ JSCompiler_object_inline_message_2450.cachePool),
9966
9966
  null !== JSCompiler_temp
9967
9967
  ? ((instance = CacheContext._currentValue),
9968
9968
  (JSCompiler_temp =
@@ -9970,37 +9970,37 @@
9970
9970
  ? { parent: instance, pool: instance }
9971
9971
  : JSCompiler_temp))
9972
9972
  : (JSCompiler_temp = getSuspendedCache()),
9973
- (JSCompiler_object_inline_message_2470 = {
9973
+ (JSCompiler_object_inline_message_2450 = {
9974
9974
  baseLanes:
9975
- JSCompiler_object_inline_message_2470.baseLanes | renderLanes,
9975
+ JSCompiler_object_inline_message_2450.baseLanes | renderLanes,
9976
9976
  cachePool: JSCompiler_temp
9977
9977
  })),
9978
- (JSCompiler_object_inline_componentStack_2473.memoizedState =
9979
- JSCompiler_object_inline_message_2470),
9980
- (JSCompiler_object_inline_componentStack_2473.childLanes =
9978
+ (JSCompiler_object_inline_componentStack_2453.memoizedState =
9979
+ JSCompiler_object_inline_message_2450),
9980
+ (JSCompiler_object_inline_componentStack_2453.childLanes =
9981
9981
  getRemainingWorkInPrimaryTree(
9982
9982
  current,
9983
- JSCompiler_object_inline_digest_2471,
9983
+ JSCompiler_object_inline_digest_2451,
9984
9984
  renderLanes
9985
9985
  )),
9986
9986
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9987
- JSCompiler_object_inline_stack_2472
9987
+ JSCompiler_object_inline_stack_2452
9988
9988
  );
9989
9989
  pushPrimaryTreeSuspenseHandler(workInProgress);
9990
9990
  renderLanes = current.child;
9991
9991
  current = renderLanes.sibling;
9992
9992
  renderLanes = createWorkInProgress(renderLanes, {
9993
9993
  mode: "visible",
9994
- children: JSCompiler_object_inline_stack_2472.children
9994
+ children: JSCompiler_object_inline_stack_2452.children
9995
9995
  });
9996
9996
  renderLanes.return = workInProgress;
9997
9997
  renderLanes.sibling = null;
9998
9998
  null !== current &&
9999
- ((JSCompiler_object_inline_digest_2471 = workInProgress.deletions),
10000
- null === JSCompiler_object_inline_digest_2471
9999
+ ((JSCompiler_object_inline_digest_2451 = workInProgress.deletions),
10000
+ null === JSCompiler_object_inline_digest_2451
10001
10001
  ? ((workInProgress.deletions = [current]),
10002
10002
  (workInProgress.flags |= 16))
10003
- : JSCompiler_object_inline_digest_2471.push(current));
10003
+ : JSCompiler_object_inline_digest_2451.push(current));
10004
10004
  workInProgress.child = renderLanes;
10005
10005
  workInProgress.memoizedState = null;
10006
10006
  return renderLanes;
@@ -11101,32 +11101,42 @@
11101
11101
  function markUpdate(workInProgress) {
11102
11102
  workInProgress.flags |= 4;
11103
11103
  }
11104
+ function preloadInstanceAndSuspendIfNeeded(
11105
+ workInProgress,
11106
+ type,
11107
+ oldProps,
11108
+ newProps,
11109
+ renderLanes
11110
+ ) {
11111
+ if ((type = (workInProgress.mode & SuspenseyImagesMode) !== NoMode))
11112
+ type = !1;
11113
+ if (type) {
11114
+ if (
11115
+ ((workInProgress.flags |= 16777216),
11116
+ (renderLanes & 335544128) === renderLanes)
11117
+ )
11118
+ if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
11119
+ else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
11120
+ else
11121
+ throw (
11122
+ ((suspendedThenable = noopSuspenseyCommitThenable),
11123
+ SuspenseyCommitException)
11124
+ );
11125
+ } else workInProgress.flags &= -16777217;
11126
+ }
11104
11127
  function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
11105
11128
  if (
11106
11129
  "stylesheet" !== resource.type ||
11107
11130
  (resource.state.loading & Inserted) !== NotLoaded
11108
11131
  )
11109
11132
  workInProgress.flags &= -16777217;
11110
- else if (
11111
- ((workInProgress.flags |= 16777216), !preloadResource(resource))
11112
- ) {
11113
- resource = suspenseHandlerStackCursor.current;
11114
- if (
11115
- null !== resource &&
11116
- ((workInProgressRootRenderLanes & 4194048) ===
11117
- workInProgressRootRenderLanes
11118
- ? null !== shellBoundary
11119
- : ((workInProgressRootRenderLanes & 62914560) !==
11120
- workInProgressRootRenderLanes &&
11121
- 0 === (workInProgressRootRenderLanes & 536870912)) ||
11122
- resource !== shellBoundary)
11123
- )
11133
+ else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
11134
+ if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
11135
+ else
11124
11136
  throw (
11125
11137
  ((suspendedThenable = noopSuspenseyCommitThenable),
11126
11138
  SuspenseyCommitException)
11127
11139
  );
11128
- workInProgress.flags |= 8192;
11129
- }
11130
11140
  }
11131
11141
  function scheduleRetryEffect(workInProgress, retryQueue) {
11132
11142
  null !== retryQueue && (workInProgress.flags |= 4);
@@ -11260,38 +11270,49 @@
11260
11270
  bubbleProperties(workInProgress);
11261
11271
  return null;
11262
11272
  case 26:
11263
- return (
11264
- (renderLanes = workInProgress.memoizedState),
11265
- null === current
11266
- ? (markUpdate(workInProgress),
11267
- null !== renderLanes
11268
- ? (bubbleProperties(workInProgress),
11269
- preloadResourceAndSuspendIfNeeded(
11270
- workInProgress,
11271
- renderLanes
11272
- ))
11273
- : (bubbleProperties(workInProgress),
11274
- (workInProgress.flags &= -16777217)))
11275
- : renderLanes
11276
- ? renderLanes !== current.memoizedState
11277
- ? (markUpdate(workInProgress),
11278
- bubbleProperties(workInProgress),
11279
- preloadResourceAndSuspendIfNeeded(
11280
- workInProgress,
11281
- renderLanes
11282
- ))
11283
- : (bubbleProperties(workInProgress),
11284
- (workInProgress.flags &= -16777217))
11285
- : (current.memoizedProps !== newProps &&
11286
- markUpdate(workInProgress),
11273
+ var type = workInProgress.type,
11274
+ nextResource = workInProgress.memoizedState;
11275
+ null === current
11276
+ ? (markUpdate(workInProgress),
11277
+ null !== nextResource
11278
+ ? (bubbleProperties(workInProgress),
11279
+ preloadResourceAndSuspendIfNeeded(
11280
+ workInProgress,
11281
+ nextResource
11282
+ ))
11283
+ : (bubbleProperties(workInProgress),
11284
+ preloadInstanceAndSuspendIfNeeded(
11285
+ workInProgress,
11286
+ type,
11287
+ null,
11288
+ newProps,
11289
+ renderLanes
11290
+ )))
11291
+ : nextResource
11292
+ ? nextResource !== current.memoizedState
11293
+ ? (markUpdate(workInProgress),
11287
11294
  bubbleProperties(workInProgress),
11288
- (workInProgress.flags &= -16777217)),
11289
- null
11290
- );
11295
+ preloadResourceAndSuspendIfNeeded(
11296
+ workInProgress,
11297
+ nextResource
11298
+ ))
11299
+ : (bubbleProperties(workInProgress),
11300
+ (workInProgress.flags &= -16777217))
11301
+ : ((current = current.memoizedProps),
11302
+ current !== newProps && markUpdate(workInProgress),
11303
+ bubbleProperties(workInProgress),
11304
+ preloadInstanceAndSuspendIfNeeded(
11305
+ workInProgress,
11306
+ type,
11307
+ current,
11308
+ newProps,
11309
+ renderLanes
11310
+ ));
11311
+ return null;
11291
11312
  case 27:
11292
11313
  popHostContext(workInProgress);
11293
11314
  renderLanes = requiredContext(rootInstanceStackCursor.current);
11294
- var _type = workInProgress.type;
11315
+ type = workInProgress.type;
11295
11316
  if (null !== current && null != workInProgress.stateNode)
11296
11317
  current.memoizedProps !== newProps && markUpdate(workInProgress);
11297
11318
  else {
@@ -11307,7 +11328,7 @@
11307
11328
  popHydrationState(workInProgress)
11308
11329
  ? prepareToHydrateHostInstance(workInProgress, current)
11309
11330
  : ((current = resolveSingletonInstance(
11310
- _type,
11331
+ type,
11311
11332
  newProps,
11312
11333
  renderLanes,
11313
11334
  current,
@@ -11320,7 +11341,7 @@
11320
11341
  return null;
11321
11342
  case 5:
11322
11343
  popHostContext(workInProgress);
11323
- renderLanes = workInProgress.type;
11344
+ type = workInProgress.type;
11324
11345
  if (null !== current && null != workInProgress.stateNode)
11325
11346
  current.memoizedProps !== newProps && markUpdate(workInProgress);
11326
11347
  else {
@@ -11332,123 +11353,142 @@
11332
11353
  bubbleProperties(workInProgress);
11333
11354
  return null;
11334
11355
  }
11335
- _type = getHostContext();
11356
+ var _currentHostContext = getHostContext();
11336
11357
  if (popHydrationState(workInProgress))
11337
- prepareToHydrateHostInstance(workInProgress, _type);
11358
+ prepareToHydrateHostInstance(workInProgress, _currentHostContext);
11338
11359
  else {
11339
- current = requiredContext(rootInstanceStackCursor.current);
11340
- validateDOMNesting(renderLanes, _type.ancestorInfo);
11341
- _type = _type.context;
11342
- current = getOwnerDocumentFromRootContainer(current);
11343
- switch (_type) {
11360
+ nextResource = requiredContext(rootInstanceStackCursor.current);
11361
+ validateDOMNesting(type, _currentHostContext.ancestorInfo);
11362
+ _currentHostContext = _currentHostContext.context;
11363
+ nextResource = getOwnerDocumentFromRootContainer(nextResource);
11364
+ switch (_currentHostContext) {
11344
11365
  case HostContextNamespaceSvg:
11345
- current = current.createElementNS(SVG_NAMESPACE, renderLanes);
11366
+ nextResource = nextResource.createElementNS(
11367
+ SVG_NAMESPACE,
11368
+ type
11369
+ );
11346
11370
  break;
11347
11371
  case HostContextNamespaceMath:
11348
- current = current.createElementNS(
11372
+ nextResource = nextResource.createElementNS(
11349
11373
  MATH_NAMESPACE,
11350
- renderLanes
11374
+ type
11351
11375
  );
11352
11376
  break;
11353
11377
  default:
11354
- switch (renderLanes) {
11378
+ switch (type) {
11355
11379
  case "svg":
11356
- current = current.createElementNS(
11380
+ nextResource = nextResource.createElementNS(
11357
11381
  SVG_NAMESPACE,
11358
- renderLanes
11382
+ type
11359
11383
  );
11360
11384
  break;
11361
11385
  case "math":
11362
- current = current.createElementNS(
11386
+ nextResource = nextResource.createElementNS(
11363
11387
  MATH_NAMESPACE,
11364
- renderLanes
11388
+ type
11365
11389
  );
11366
11390
  break;
11367
11391
  case "script":
11368
- current = current.createElement("div");
11369
- current.innerHTML = "<script>\x3c/script>";
11370
- current = current.removeChild(current.firstChild);
11392
+ nextResource = nextResource.createElement("div");
11393
+ nextResource.innerHTML = "<script>\x3c/script>";
11394
+ nextResource = nextResource.removeChild(
11395
+ nextResource.firstChild
11396
+ );
11371
11397
  break;
11372
11398
  case "select":
11373
- current =
11399
+ nextResource =
11374
11400
  "string" === typeof newProps.is
11375
- ? current.createElement("select", { is: newProps.is })
11376
- : current.createElement("select");
11401
+ ? nextResource.createElement("select", {
11402
+ is: newProps.is
11403
+ })
11404
+ : nextResource.createElement("select");
11377
11405
  newProps.multiple
11378
- ? (current.multiple = !0)
11379
- : newProps.size && (current.size = newProps.size);
11406
+ ? (nextResource.multiple = !0)
11407
+ : newProps.size && (nextResource.size = newProps.size);
11380
11408
  break;
11381
11409
  default:
11382
- (current =
11410
+ (nextResource =
11383
11411
  "string" === typeof newProps.is
11384
- ? current.createElement(renderLanes, {
11412
+ ? nextResource.createElement(type, {
11385
11413
  is: newProps.is
11386
11414
  })
11387
- : current.createElement(renderLanes)),
11388
- -1 === renderLanes.indexOf("-") &&
11389
- (renderLanes !== renderLanes.toLowerCase() &&
11415
+ : nextResource.createElement(type)),
11416
+ -1 === type.indexOf("-") &&
11417
+ (type !== type.toLowerCase() &&
11390
11418
  console.error(
11391
11419
  "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
11392
- renderLanes
11420
+ type
11393
11421
  ),
11394
11422
  "[object HTMLUnknownElement]" !==
11395
- Object.prototype.toString.call(current) ||
11396
- hasOwnProperty.call(
11397
- warnedUnknownTags,
11398
- renderLanes
11399
- ) ||
11400
- ((warnedUnknownTags[renderLanes] = !0),
11423
+ Object.prototype.toString.call(nextResource) ||
11424
+ hasOwnProperty.call(warnedUnknownTags, type) ||
11425
+ ((warnedUnknownTags[type] = !0),
11401
11426
  console.error(
11402
11427
  "The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
11403
- renderLanes
11428
+ type
11404
11429
  )));
11405
11430
  }
11406
11431
  }
11407
- current[internalInstanceKey] = workInProgress;
11408
- current[internalPropsKey] = newProps;
11409
- a: for (_type = workInProgress.child; null !== _type; ) {
11410
- if (5 === _type.tag || 6 === _type.tag)
11411
- current.appendChild(_type.stateNode);
11432
+ nextResource[internalInstanceKey] = workInProgress;
11433
+ nextResource[internalPropsKey] = newProps;
11434
+ a: for (
11435
+ _currentHostContext = workInProgress.child;
11436
+ null !== _currentHostContext;
11437
+
11438
+ ) {
11439
+ if (
11440
+ 5 === _currentHostContext.tag ||
11441
+ 6 === _currentHostContext.tag
11442
+ )
11443
+ nextResource.appendChild(_currentHostContext.stateNode);
11412
11444
  else if (
11413
- 4 !== _type.tag &&
11414
- 27 !== _type.tag &&
11415
- null !== _type.child
11445
+ 4 !== _currentHostContext.tag &&
11446
+ 27 !== _currentHostContext.tag &&
11447
+ null !== _currentHostContext.child
11416
11448
  ) {
11417
- _type.child.return = _type;
11418
- _type = _type.child;
11449
+ _currentHostContext.child.return = _currentHostContext;
11450
+ _currentHostContext = _currentHostContext.child;
11419
11451
  continue;
11420
11452
  }
11421
- if (_type === workInProgress) break a;
11422
- for (; null === _type.sibling; ) {
11423
- if (null === _type.return || _type.return === workInProgress)
11453
+ if (_currentHostContext === workInProgress) break a;
11454
+ for (; null === _currentHostContext.sibling; ) {
11455
+ if (
11456
+ null === _currentHostContext.return ||
11457
+ _currentHostContext.return === workInProgress
11458
+ )
11424
11459
  break a;
11425
- _type = _type.return;
11460
+ _currentHostContext = _currentHostContext.return;
11426
11461
  }
11427
- _type.sibling.return = _type.return;
11428
- _type = _type.sibling;
11462
+ _currentHostContext.sibling.return = _currentHostContext.return;
11463
+ _currentHostContext = _currentHostContext.sibling;
11429
11464
  }
11430
- workInProgress.stateNode = current;
11465
+ workInProgress.stateNode = nextResource;
11431
11466
  a: switch (
11432
- (setInitialProperties(current, renderLanes, newProps),
11433
- renderLanes)
11467
+ (setInitialProperties(nextResource, type, newProps), type)
11434
11468
  ) {
11435
11469
  case "button":
11436
11470
  case "input":
11437
11471
  case "select":
11438
11472
  case "textarea":
11439
- current = !!newProps.autoFocus;
11473
+ newProps = !!newProps.autoFocus;
11440
11474
  break a;
11441
11475
  case "img":
11442
- current = !0;
11476
+ newProps = !0;
11443
11477
  break a;
11444
11478
  default:
11445
- current = !1;
11479
+ newProps = !1;
11446
11480
  }
11447
- current && markUpdate(workInProgress);
11481
+ newProps && markUpdate(workInProgress);
11448
11482
  }
11449
11483
  }
11450
11484
  bubbleProperties(workInProgress);
11451
- workInProgress.flags &= -16777217;
11485
+ preloadInstanceAndSuspendIfNeeded(
11486
+ workInProgress,
11487
+ workInProgress.type,
11488
+ null === current ? null : current.memoizedProps,
11489
+ workInProgress.pendingProps,
11490
+ renderLanes
11491
+ );
11452
11492
  return null;
11453
11493
  case 6:
11454
11494
  if (current && null != workInProgress.stateNode)
@@ -11466,36 +11506,36 @@
11466
11506
  if (popHydrationState(workInProgress)) {
11467
11507
  current = workInProgress.stateNode;
11468
11508
  renderLanes = workInProgress.memoizedProps;
11469
- _type = !didSuspendOrErrorDEV;
11509
+ type = !didSuspendOrErrorDEV;
11470
11510
  newProps = null;
11471
- var returnFiber = hydrationParentFiber;
11472
- if (null !== returnFiber)
11473
- switch (returnFiber.tag) {
11511
+ nextResource = hydrationParentFiber;
11512
+ if (null !== nextResource)
11513
+ switch (nextResource.tag) {
11474
11514
  case 3:
11475
- _type &&
11476
- ((_type = diffHydratedTextForDevWarnings(
11515
+ type &&
11516
+ ((type = diffHydratedTextForDevWarnings(
11477
11517
  current,
11478
11518
  renderLanes,
11479
11519
  newProps
11480
11520
  )),
11481
- null !== _type &&
11521
+ null !== type &&
11482
11522
  (buildHydrationDiffNode(workInProgress, 0).serverProps =
11483
- _type));
11523
+ type));
11484
11524
  break;
11485
11525
  case 27:
11486
11526
  case 5:
11487
- (newProps = returnFiber.memoizedProps),
11488
- _type &&
11489
- ((_type = diffHydratedTextForDevWarnings(
11527
+ (newProps = nextResource.memoizedProps),
11528
+ type &&
11529
+ ((type = diffHydratedTextForDevWarnings(
11490
11530
  current,
11491
11531
  renderLanes,
11492
11532
  newProps
11493
11533
  )),
11494
- null !== _type &&
11534
+ null !== type &&
11495
11535
  (buildHydrationDiffNode(
11496
11536
  workInProgress,
11497
11537
  0
11498
- ).serverProps = _type));
11538
+ ).serverProps = type));
11499
11539
  }
11500
11540
  current[internalInstanceKey] = workInProgress;
11501
11541
  current =
@@ -11507,11 +11547,11 @@
11507
11547
  : !1;
11508
11548
  current || throwOnHydrationMismatch(workInProgress, !0);
11509
11549
  } else
11510
- (_type = renderLanes.ancestorInfo.current),
11511
- null != _type &&
11550
+ (type = renderLanes.ancestorInfo.current),
11551
+ null != type &&
11512
11552
  validateTextNesting(
11513
11553
  newProps,
11514
- _type.tag,
11554
+ type.tag,
11515
11555
  renderLanes.ancestorInfo.implicitRootScope
11516
11556
  ),
11517
11557
  (current =
@@ -11530,27 +11570,26 @@
11530
11570
  (null !== current.memoizedState &&
11531
11571
  null !== current.memoizedState.dehydrated)
11532
11572
  ) {
11533
- _type = popHydrationState(workInProgress);
11573
+ type = popHydrationState(workInProgress);
11534
11574
  if (null !== newProps && null !== newProps.dehydrated) {
11535
11575
  if (null === current) {
11536
- if (!_type)
11576
+ if (!type)
11537
11577
  throw Error(
11538
11578
  "A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
11539
11579
  );
11540
- _type = workInProgress.memoizedState;
11541
- _type = null !== _type ? _type.dehydrated : null;
11542
- if (!_type)
11580
+ type = workInProgress.memoizedState;
11581
+ type = null !== type ? type.dehydrated : null;
11582
+ if (!type)
11543
11583
  throw Error(
11544
11584
  "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
11545
11585
  );
11546
- _type[internalInstanceKey] = workInProgress;
11586
+ type[internalInstanceKey] = workInProgress;
11547
11587
  bubbleProperties(workInProgress);
11548
11588
  (workInProgress.mode & ProfileMode) !== NoMode &&
11549
11589
  null !== newProps &&
11550
- ((_type = workInProgress.child),
11551
- null !== _type &&
11552
- (workInProgress.treeBaseDuration -=
11553
- _type.treeBaseDuration));
11590
+ ((type = workInProgress.child),
11591
+ null !== type &&
11592
+ (workInProgress.treeBaseDuration -= type.treeBaseDuration));
11554
11593
  } else
11555
11594
  emitPendingHydrationWarnings(),
11556
11595
  resetHydrationState(),
@@ -11560,18 +11599,18 @@
11560
11599
  bubbleProperties(workInProgress),
11561
11600
  (workInProgress.mode & ProfileMode) !== NoMode &&
11562
11601
  null !== newProps &&
11563
- ((_type = workInProgress.child),
11564
- null !== _type &&
11602
+ ((type = workInProgress.child),
11603
+ null !== type &&
11565
11604
  (workInProgress.treeBaseDuration -=
11566
- _type.treeBaseDuration));
11567
- _type = !1;
11605
+ type.treeBaseDuration));
11606
+ type = !1;
11568
11607
  } else
11569
- (_type = upgradeHydrationErrorsToRecoverable()),
11608
+ (type = upgradeHydrationErrorsToRecoverable()),
11570
11609
  null !== current &&
11571
11610
  null !== current.memoizedState &&
11572
- (current.memoizedState.hydrationErrors = _type),
11573
- (_type = !0);
11574
- if (!_type) {
11611
+ (current.memoizedState.hydrationErrors = type),
11612
+ (type = !0);
11613
+ if (!type) {
11575
11614
  if (workInProgress.flags & 256)
11576
11615
  return popSuspenseHandler(workInProgress), workInProgress;
11577
11616
  popSuspenseHandler(workInProgress);
@@ -11590,16 +11629,16 @@
11590
11629
  current = null !== current && null !== current.memoizedState;
11591
11630
  renderLanes &&
11592
11631
  ((newProps = workInProgress.child),
11593
- (_type = null),
11632
+ (type = null),
11594
11633
  null !== newProps.alternate &&
11595
11634
  null !== newProps.alternate.memoizedState &&
11596
11635
  null !== newProps.alternate.memoizedState.cachePool &&
11597
- (_type = newProps.alternate.memoizedState.cachePool.pool),
11598
- (returnFiber = null),
11636
+ (type = newProps.alternate.memoizedState.cachePool.pool),
11637
+ (nextResource = null),
11599
11638
  null !== newProps.memoizedState &&
11600
11639
  null !== newProps.memoizedState.cachePool &&
11601
- (returnFiber = newProps.memoizedState.cachePool.pool),
11602
- returnFiber !== _type && (newProps.flags |= 2048));
11640
+ (nextResource = newProps.memoizedState.cachePool.pool),
11641
+ nextResource !== type && (newProps.flags |= 2048));
11603
11642
  renderLanes !== current &&
11604
11643
  renderLanes &&
11605
11644
  (workInProgress.child.flags |= 8192);
@@ -11629,23 +11668,23 @@
11629
11668
  );
11630
11669
  case 19:
11631
11670
  pop(suspenseStackCursor, workInProgress);
11632
- _type = workInProgress.memoizedState;
11633
- if (null === _type) return bubbleProperties(workInProgress), null;
11671
+ type = workInProgress.memoizedState;
11672
+ if (null === type) return bubbleProperties(workInProgress), null;
11634
11673
  newProps = 0 !== (workInProgress.flags & 128);
11635
- returnFiber = _type.rendering;
11636
- if (null === returnFiber)
11637
- if (newProps) cutOffTailIfNeeded(_type, !1);
11674
+ nextResource = type.rendering;
11675
+ if (null === nextResource)
11676
+ if (newProps) cutOffTailIfNeeded(type, !1);
11638
11677
  else {
11639
11678
  if (
11640
11679
  workInProgressRootExitStatus !== RootInProgress ||
11641
11680
  (null !== current && 0 !== (current.flags & 128))
11642
11681
  )
11643
11682
  for (current = workInProgress.child; null !== current; ) {
11644
- returnFiber = findFirstSuspended(current);
11645
- if (null !== returnFiber) {
11683
+ nextResource = findFirstSuspended(current);
11684
+ if (null !== nextResource) {
11646
11685
  workInProgress.flags |= 128;
11647
- cutOffTailIfNeeded(_type, !1);
11648
- current = returnFiber.updateQueue;
11686
+ cutOffTailIfNeeded(type, !1);
11687
+ current = nextResource.updateQueue;
11649
11688
  workInProgress.updateQueue = current;
11650
11689
  scheduleRetryEffect(workInProgress, current);
11651
11690
  workInProgress.subtreeFlags = 0;
@@ -11668,17 +11707,17 @@
11668
11707
  }
11669
11708
  current = current.sibling;
11670
11709
  }
11671
- null !== _type.tail &&
11710
+ null !== type.tail &&
11672
11711
  now$1() > workInProgressRootRenderTargetTime &&
11673
11712
  ((workInProgress.flags |= 128),
11674
11713
  (newProps = !0),
11675
- cutOffTailIfNeeded(_type, !1),
11714
+ cutOffTailIfNeeded(type, !1),
11676
11715
  (workInProgress.lanes = 4194304));
11677
11716
  }
11678
11717
  else {
11679
11718
  if (!newProps)
11680
11719
  if (
11681
- ((current = findFirstSuspended(returnFiber)), null !== current)
11720
+ ((current = findFirstSuspended(nextResource)), null !== current)
11682
11721
  ) {
11683
11722
  if (
11684
11723
  ((workInProgress.flags |= 128),
@@ -11686,36 +11725,36 @@
11686
11725
  (current = current.updateQueue),
11687
11726
  (workInProgress.updateQueue = current),
11688
11727
  scheduleRetryEffect(workInProgress, current),
11689
- cutOffTailIfNeeded(_type, !0),
11690
- null === _type.tail &&
11691
- "hidden" === _type.tailMode &&
11692
- !returnFiber.alternate &&
11728
+ cutOffTailIfNeeded(type, !0),
11729
+ null === type.tail &&
11730
+ "hidden" === type.tailMode &&
11731
+ !nextResource.alternate &&
11693
11732
  !isHydrating)
11694
11733
  )
11695
11734
  return bubbleProperties(workInProgress), null;
11696
11735
  } else
11697
- 2 * now$1() - _type.renderingStartTime >
11736
+ 2 * now$1() - type.renderingStartTime >
11698
11737
  workInProgressRootRenderTargetTime &&
11699
11738
  536870912 !== renderLanes &&
11700
11739
  ((workInProgress.flags |= 128),
11701
11740
  (newProps = !0),
11702
- cutOffTailIfNeeded(_type, !1),
11741
+ cutOffTailIfNeeded(type, !1),
11703
11742
  (workInProgress.lanes = 4194304));
11704
- _type.isBackwards
11705
- ? ((returnFiber.sibling = workInProgress.child),
11706
- (workInProgress.child = returnFiber))
11707
- : ((current = _type.last),
11743
+ type.isBackwards
11744
+ ? ((nextResource.sibling = workInProgress.child),
11745
+ (workInProgress.child = nextResource))
11746
+ : ((current = type.last),
11708
11747
  null !== current
11709
- ? (current.sibling = returnFiber)
11710
- : (workInProgress.child = returnFiber),
11711
- (_type.last = returnFiber));
11748
+ ? (current.sibling = nextResource)
11749
+ : (workInProgress.child = nextResource),
11750
+ (type.last = nextResource));
11712
11751
  }
11713
- if (null !== _type.tail)
11752
+ if (null !== type.tail)
11714
11753
  return (
11715
- (current = _type.tail),
11716
- (_type.rendering = current),
11717
- (_type.tail = current.sibling),
11718
- (_type.renderingStartTime = now$1()),
11754
+ (current = type.tail),
11755
+ (type.rendering = current),
11756
+ (type.tail = current.sibling),
11757
+ (type.renderingStartTime = now$1()),
11719
11758
  (current.sibling = null),
11720
11759
  (renderLanes = suspenseStackCursor.current),
11721
11760
  (renderLanes = newProps
@@ -14926,6 +14965,21 @@
14926
14965
  );
14927
14966
  }
14928
14967
  }
14968
+ function shouldRemainOnPreviousScreen() {
14969
+ var handler = suspenseHandlerStackCursor.current;
14970
+ return null === handler
14971
+ ? !0
14972
+ : (workInProgressRootRenderLanes & 4194048) ===
14973
+ workInProgressRootRenderLanes
14974
+ ? null === shellBoundary
14975
+ ? !0
14976
+ : !1
14977
+ : (workInProgressRootRenderLanes & 62914560) ===
14978
+ workInProgressRootRenderLanes ||
14979
+ 0 !== (workInProgressRootRenderLanes & 536870912)
14980
+ ? handler === shellBoundary
14981
+ : !1;
14982
+ }
14929
14983
  function pushDispatcher() {
14930
14984
  var prevDispatcher = ReactSharedInternals.H;
14931
14985
  ReactSharedInternals.H = ContextOnlyDispatcher;
@@ -22654,7 +22708,8 @@
22654
22708
  ProfileMode = 2,
22655
22709
  StrictLegacyMode = 8,
22656
22710
  StrictEffectsMode = 16,
22657
- NoStrictPassiveEffectsMode = 64;
22711
+ NoStrictPassiveEffectsMode = 64,
22712
+ SuspenseyImagesMode = 32;
22658
22713
  var hasBadMapPolyfill = !1;
22659
22714
  try {
22660
22715
  var nonExtensibleObject = Object.preventExtensions({});
@@ -24950,11 +25005,11 @@
24950
25005
  };
24951
25006
  (function () {
24952
25007
  var isomorphicReactPackageVersion = React.version;
24953
- if ("19.2.0-canary-33661467-20250407" !== isomorphicReactPackageVersion)
25008
+ if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
24954
25009
  throw Error(
24955
25010
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24956
25011
  (isomorphicReactPackageVersion +
24957
- "\n - react-dom: 19.2.0-canary-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
25012
+ "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
24958
25013
  );
24959
25014
  })();
24960
25015
  ("function" === typeof Map &&
@@ -24991,10 +25046,10 @@
24991
25046
  !(function () {
24992
25047
  var internals = {
24993
25048
  bundleType: 1,
24994
- version: "19.2.0-canary-33661467-20250407",
25049
+ version: "19.2.0-canary-3fbfb9ba-20250409",
24995
25050
  rendererPackageName: "react-dom",
24996
25051
  currentDispatcherRef: ReactSharedInternals,
24997
- reconcilerVersion: "19.2.0-canary-33661467-20250407"
25052
+ reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
24998
25053
  };
24999
25054
  internals.overrideHookState = overrideHookState;
25000
25055
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25468,7 +25523,7 @@
25468
25523
  exports.useFormStatus = function () {
25469
25524
  return resolveDispatcher().useHostTransitionStatus();
25470
25525
  };
25471
- exports.version = "19.2.0-canary-33661467-20250407";
25526
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";
25472
25527
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25473
25528
  "function" ===
25474
25529
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&