react-dom 19.2.0-canary-ea05b750-20250408 → 19.2.0-canary-c44e4a25-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.
@@ -8790,9 +8790,13 @@
8790
8790
  renderLanes
8791
8791
  );
8792
8792
  }
8793
- function updateOffscreenComponent(current, workInProgress, renderLanes) {
8794
- var nextProps = workInProgress.pendingProps,
8795
- nextChildren = nextProps.children,
8793
+ function updateOffscreenComponent(
8794
+ current,
8795
+ workInProgress,
8796
+ renderLanes,
8797
+ nextProps
8798
+ ) {
8799
+ var nextChildren = nextProps.children,
8796
8800
  prevState = null !== current ? current.memoizedState : null;
8797
8801
  if ("hidden" === nextProps.mode) {
8798
8802
  if (0 !== (workInProgress.flags & 128)) {
@@ -9579,32 +9583,32 @@
9579
9583
  return current;
9580
9584
  }
9581
9585
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9582
- var JSCompiler_object_inline_digest_2466;
9583
- var JSCompiler_object_inline_stack_2467 = workInProgress.pendingProps;
9586
+ var JSCompiler_object_inline_digest_2447;
9587
+ var JSCompiler_object_inline_stack_2448 = workInProgress.pendingProps;
9584
9588
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9585
- var JSCompiler_object_inline_componentStack_2468 = !1;
9589
+ var JSCompiler_object_inline_componentStack_2449 = !1;
9586
9590
  var didSuspend = 0 !== (workInProgress.flags & 128);
9587
- (JSCompiler_object_inline_digest_2466 = didSuspend) ||
9588
- (JSCompiler_object_inline_digest_2466 =
9591
+ (JSCompiler_object_inline_digest_2447 = didSuspend) ||
9592
+ (JSCompiler_object_inline_digest_2447 =
9589
9593
  null !== current && null === current.memoizedState
9590
9594
  ? !1
9591
9595
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9592
- JSCompiler_object_inline_digest_2466 &&
9593
- ((JSCompiler_object_inline_componentStack_2468 = !0),
9596
+ JSCompiler_object_inline_digest_2447 &&
9597
+ ((JSCompiler_object_inline_componentStack_2449 = !0),
9594
9598
  (workInProgress.flags &= -129));
9595
- JSCompiler_object_inline_digest_2466 = 0 !== (workInProgress.flags & 32);
9599
+ JSCompiler_object_inline_digest_2447 = 0 !== (workInProgress.flags & 32);
9596
9600
  workInProgress.flags &= -33;
9597
9601
  if (null === current) {
9598
9602
  if (isHydrating) {
9599
- JSCompiler_object_inline_componentStack_2468
9603
+ JSCompiler_object_inline_componentStack_2449
9600
9604
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9601
9605
  : reuseSuspenseHandlerOnStack(workInProgress);
9602
9606
  if (isHydrating) {
9603
- var JSCompiler_object_inline_message_2465 = nextHydratableInstance;
9607
+ var JSCompiler_object_inline_message_2446 = nextHydratableInstance;
9604
9608
  var JSCompiler_temp;
9605
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2465)) {
9609
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2446)) {
9606
9610
  c: {
9607
- var instance = JSCompiler_object_inline_message_2465;
9611
+ var instance = JSCompiler_object_inline_message_2446;
9608
9612
  for (
9609
9613
  JSCompiler_temp = rootOrSingletonContext;
9610
9614
  8 !== instance.nodeType;
@@ -9646,77 +9650,77 @@
9646
9650
  JSCompiler_temp &&
9647
9651
  (warnNonHydratedInstance(
9648
9652
  workInProgress,
9649
- JSCompiler_object_inline_message_2465
9653
+ JSCompiler_object_inline_message_2446
9650
9654
  ),
9651
9655
  throwOnHydrationMismatch(workInProgress));
9652
9656
  }
9653
- JSCompiler_object_inline_message_2465 = workInProgress.memoizedState;
9657
+ JSCompiler_object_inline_message_2446 = workInProgress.memoizedState;
9654
9658
  if (
9655
- null !== JSCompiler_object_inline_message_2465 &&
9656
- ((JSCompiler_object_inline_message_2465 =
9657
- JSCompiler_object_inline_message_2465.dehydrated),
9658
- null !== JSCompiler_object_inline_message_2465)
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)
9659
9663
  )
9660
9664
  return (
9661
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2465)
9665
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2446)
9662
9666
  ? (workInProgress.lanes = 32)
9663
9667
  : (workInProgress.lanes = 536870912),
9664
9668
  null
9665
9669
  );
9666
9670
  popSuspenseHandler(workInProgress);
9667
9671
  }
9668
- JSCompiler_object_inline_message_2465 =
9669
- JSCompiler_object_inline_stack_2467.children;
9670
- JSCompiler_object_inline_stack_2467 =
9671
- JSCompiler_object_inline_stack_2467.fallback;
9672
- if (JSCompiler_object_inline_componentStack_2468)
9672
+ JSCompiler_object_inline_message_2446 =
9673
+ JSCompiler_object_inline_stack_2448.children;
9674
+ JSCompiler_object_inline_stack_2448 =
9675
+ JSCompiler_object_inline_stack_2448.fallback;
9676
+ if (JSCompiler_object_inline_componentStack_2449)
9673
9677
  return (
9674
9678
  reuseSuspenseHandlerOnStack(workInProgress),
9675
- (JSCompiler_object_inline_componentStack_2468 =
9679
+ (JSCompiler_object_inline_componentStack_2449 =
9676
9680
  workInProgress.mode),
9677
- (JSCompiler_object_inline_message_2465 =
9681
+ (JSCompiler_object_inline_message_2446 =
9678
9682
  mountWorkInProgressOffscreenFiber(
9679
9683
  {
9680
9684
  mode: "hidden",
9681
- children: JSCompiler_object_inline_message_2465
9685
+ children: JSCompiler_object_inline_message_2446
9682
9686
  },
9683
- JSCompiler_object_inline_componentStack_2468
9687
+ JSCompiler_object_inline_componentStack_2449
9684
9688
  )),
9685
- (JSCompiler_object_inline_stack_2467 = createFiberFromFragment(
9686
- JSCompiler_object_inline_stack_2467,
9687
- JSCompiler_object_inline_componentStack_2468,
9689
+ (JSCompiler_object_inline_stack_2448 = createFiberFromFragment(
9690
+ JSCompiler_object_inline_stack_2448,
9691
+ JSCompiler_object_inline_componentStack_2449,
9688
9692
  renderLanes,
9689
9693
  null
9690
9694
  )),
9691
- (JSCompiler_object_inline_message_2465.return = workInProgress),
9692
- (JSCompiler_object_inline_stack_2467.return = workInProgress),
9693
- (JSCompiler_object_inline_message_2465.sibling =
9694
- JSCompiler_object_inline_stack_2467),
9695
- (workInProgress.child = JSCompiler_object_inline_message_2465),
9696
- (JSCompiler_object_inline_componentStack_2468 =
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 =
9697
9701
  workInProgress.child),
9698
- (JSCompiler_object_inline_componentStack_2468.memoizedState =
9702
+ (JSCompiler_object_inline_componentStack_2449.memoizedState =
9699
9703
  mountSuspenseOffscreenState(renderLanes)),
9700
- (JSCompiler_object_inline_componentStack_2468.childLanes =
9704
+ (JSCompiler_object_inline_componentStack_2449.childLanes =
9701
9705
  getRemainingWorkInPrimaryTree(
9702
9706
  current,
9703
- JSCompiler_object_inline_digest_2466,
9707
+ JSCompiler_object_inline_digest_2447,
9704
9708
  renderLanes
9705
9709
  )),
9706
9710
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9707
- JSCompiler_object_inline_stack_2467
9711
+ JSCompiler_object_inline_stack_2448
9708
9712
  );
9709
9713
  pushPrimaryTreeSuspenseHandler(workInProgress);
9710
9714
  return mountSuspensePrimaryChildren(
9711
9715
  workInProgress,
9712
- JSCompiler_object_inline_message_2465
9716
+ JSCompiler_object_inline_message_2446
9713
9717
  );
9714
9718
  }
9715
9719
  var prevState = current.memoizedState;
9716
9720
  if (
9717
9721
  null !== prevState &&
9718
- ((JSCompiler_object_inline_message_2465 = prevState.dehydrated),
9719
- null !== JSCompiler_object_inline_message_2465)
9722
+ ((JSCompiler_object_inline_message_2446 = prevState.dehydrated),
9723
+ null !== JSCompiler_object_inline_message_2446)
9720
9724
  ) {
9721
9725
  if (didSuspend)
9722
9726
  workInProgress.flags & 256
@@ -9733,94 +9737,94 @@
9733
9737
  (workInProgress.flags |= 128),
9734
9738
  (workInProgress = null))
9735
9739
  : (reuseSuspenseHandlerOnStack(workInProgress),
9736
- (JSCompiler_object_inline_componentStack_2468 =
9737
- JSCompiler_object_inline_stack_2467.fallback),
9738
- (JSCompiler_object_inline_message_2465 = workInProgress.mode),
9739
- (JSCompiler_object_inline_stack_2467 =
9740
+ (JSCompiler_object_inline_componentStack_2449 =
9741
+ JSCompiler_object_inline_stack_2448.fallback),
9742
+ (JSCompiler_object_inline_message_2446 = workInProgress.mode),
9743
+ (JSCompiler_object_inline_stack_2448 =
9740
9744
  mountWorkInProgressOffscreenFiber(
9741
9745
  {
9742
9746
  mode: "visible",
9743
- children: JSCompiler_object_inline_stack_2467.children
9747
+ children: JSCompiler_object_inline_stack_2448.children
9744
9748
  },
9745
- JSCompiler_object_inline_message_2465
9749
+ JSCompiler_object_inline_message_2446
9746
9750
  )),
9747
- (JSCompiler_object_inline_componentStack_2468 =
9751
+ (JSCompiler_object_inline_componentStack_2449 =
9748
9752
  createFiberFromFragment(
9749
- JSCompiler_object_inline_componentStack_2468,
9750
- JSCompiler_object_inline_message_2465,
9753
+ JSCompiler_object_inline_componentStack_2449,
9754
+ JSCompiler_object_inline_message_2446,
9751
9755
  renderLanes,
9752
9756
  null
9753
9757
  )),
9754
- (JSCompiler_object_inline_componentStack_2468.flags |= 2),
9755
- (JSCompiler_object_inline_stack_2467.return = workInProgress),
9756
- (JSCompiler_object_inline_componentStack_2468.return =
9758
+ (JSCompiler_object_inline_componentStack_2449.flags |= 2),
9759
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9760
+ (JSCompiler_object_inline_componentStack_2449.return =
9757
9761
  workInProgress),
9758
- (JSCompiler_object_inline_stack_2467.sibling =
9759
- JSCompiler_object_inline_componentStack_2468),
9760
- (workInProgress.child = JSCompiler_object_inline_stack_2467),
9762
+ (JSCompiler_object_inline_stack_2448.sibling =
9763
+ JSCompiler_object_inline_componentStack_2449),
9764
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9761
9765
  reconcileChildFibers(
9762
9766
  workInProgress,
9763
9767
  current.child,
9764
9768
  null,
9765
9769
  renderLanes
9766
9770
  ),
9767
- (JSCompiler_object_inline_stack_2467 = workInProgress.child),
9768
- (JSCompiler_object_inline_stack_2467.memoizedState =
9771
+ (JSCompiler_object_inline_stack_2448 = workInProgress.child),
9772
+ (JSCompiler_object_inline_stack_2448.memoizedState =
9769
9773
  mountSuspenseOffscreenState(renderLanes)),
9770
- (JSCompiler_object_inline_stack_2467.childLanes =
9774
+ (JSCompiler_object_inline_stack_2448.childLanes =
9771
9775
  getRemainingWorkInPrimaryTree(
9772
9776
  current,
9773
- JSCompiler_object_inline_digest_2466,
9777
+ JSCompiler_object_inline_digest_2447,
9774
9778
  renderLanes
9775
9779
  )),
9776
9780
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9777
9781
  (workInProgress =
9778
- JSCompiler_object_inline_componentStack_2468));
9782
+ JSCompiler_object_inline_componentStack_2449));
9779
9783
  else if (
9780
9784
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9781
9785
  isHydrating &&
9782
9786
  console.error(
9783
9787
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9784
9788
  ),
9785
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2465))
9789
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2446))
9786
9790
  ) {
9787
- JSCompiler_object_inline_digest_2466 =
9788
- JSCompiler_object_inline_message_2465.nextSibling &&
9789
- JSCompiler_object_inline_message_2465.nextSibling.dataset;
9790
- if (JSCompiler_object_inline_digest_2466) {
9791
- JSCompiler_temp = JSCompiler_object_inline_digest_2466.dgst;
9792
- var message = JSCompiler_object_inline_digest_2466.msg;
9793
- instance = JSCompiler_object_inline_digest_2466.stck;
9794
- var componentStack = JSCompiler_object_inline_digest_2466.cstck;
9791
+ JSCompiler_object_inline_digest_2447 =
9792
+ JSCompiler_object_inline_message_2446.nextSibling &&
9793
+ JSCompiler_object_inline_message_2446.nextSibling.dataset;
9794
+ if (JSCompiler_object_inline_digest_2447) {
9795
+ JSCompiler_temp = JSCompiler_object_inline_digest_2447.dgst;
9796
+ 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;
9795
9799
  }
9796
- JSCompiler_object_inline_message_2465 = message;
9797
- JSCompiler_object_inline_digest_2466 = JSCompiler_temp;
9798
- JSCompiler_object_inline_stack_2467 = instance;
9799
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2468 =
9800
+ 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 =
9800
9804
  componentStack;
9801
- JSCompiler_object_inline_componentStack_2468 =
9802
- JSCompiler_object_inline_message_2465
9803
- ? Error(JSCompiler_object_inline_message_2465)
9805
+ JSCompiler_object_inline_componentStack_2449 =
9806
+ JSCompiler_object_inline_message_2446
9807
+ ? Error(JSCompiler_object_inline_message_2446)
9804
9808
  : Error(
9805
9809
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9806
9810
  );
9807
- JSCompiler_object_inline_componentStack_2468.stack =
9808
- JSCompiler_object_inline_stack_2467 || "";
9809
- JSCompiler_object_inline_componentStack_2468.digest =
9810
- JSCompiler_object_inline_digest_2466;
9811
- JSCompiler_object_inline_digest_2466 =
9811
+ JSCompiler_object_inline_componentStack_2449.stack =
9812
+ JSCompiler_object_inline_stack_2448 || "";
9813
+ JSCompiler_object_inline_componentStack_2449.digest =
9814
+ JSCompiler_object_inline_digest_2447;
9815
+ JSCompiler_object_inline_digest_2447 =
9812
9816
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9813
- JSCompiler_object_inline_stack_2467 = {
9814
- value: JSCompiler_object_inline_componentStack_2468,
9817
+ JSCompiler_object_inline_stack_2448 = {
9818
+ value: JSCompiler_object_inline_componentStack_2449,
9815
9819
  source: null,
9816
- stack: JSCompiler_object_inline_digest_2466
9820
+ stack: JSCompiler_object_inline_digest_2447
9817
9821
  };
9818
- "string" === typeof JSCompiler_object_inline_digest_2466 &&
9822
+ "string" === typeof JSCompiler_object_inline_digest_2447 &&
9819
9823
  CapturedStacks.set(
9820
- JSCompiler_object_inline_componentStack_2468,
9821
- JSCompiler_object_inline_stack_2467
9824
+ JSCompiler_object_inline_componentStack_2449,
9825
+ JSCompiler_object_inline_stack_2448
9822
9826
  );
9823
- queueHydrationError(JSCompiler_object_inline_stack_2467);
9827
+ queueHydrationError(JSCompiler_object_inline_stack_2448);
9824
9828
  workInProgress = retrySuspenseComponentWithoutHydrating(
9825
9829
  current,
9826
9830
  workInProgress,
@@ -9834,44 +9838,44 @@
9834
9838
  renderLanes,
9835
9839
  !1
9836
9840
  ),
9837
- (JSCompiler_object_inline_digest_2466 =
9841
+ (JSCompiler_object_inline_digest_2447 =
9838
9842
  0 !== (renderLanes & current.childLanes)),
9839
- didReceiveUpdate || JSCompiler_object_inline_digest_2466)
9843
+ didReceiveUpdate || JSCompiler_object_inline_digest_2447)
9840
9844
  ) {
9841
- JSCompiler_object_inline_digest_2466 = workInProgressRoot;
9845
+ JSCompiler_object_inline_digest_2447 = workInProgressRoot;
9842
9846
  if (
9843
- null !== JSCompiler_object_inline_digest_2466 &&
9844
- ((JSCompiler_object_inline_stack_2467 = renderLanes & -renderLanes),
9845
- (JSCompiler_object_inline_stack_2467 =
9846
- 0 !== (JSCompiler_object_inline_stack_2467 & 42)
9847
+ null !== JSCompiler_object_inline_digest_2447 &&
9848
+ ((JSCompiler_object_inline_stack_2448 = renderLanes & -renderLanes),
9849
+ (JSCompiler_object_inline_stack_2448 =
9850
+ 0 !== (JSCompiler_object_inline_stack_2448 & 42)
9847
9851
  ? 1
9848
9852
  : getBumpedLaneForHydrationByLane(
9849
- JSCompiler_object_inline_stack_2467
9853
+ JSCompiler_object_inline_stack_2448
9850
9854
  )),
9851
- (JSCompiler_object_inline_stack_2467 =
9855
+ (JSCompiler_object_inline_stack_2448 =
9852
9856
  0 !==
9853
- (JSCompiler_object_inline_stack_2467 &
9854
- (JSCompiler_object_inline_digest_2466.suspendedLanes |
9857
+ (JSCompiler_object_inline_stack_2448 &
9858
+ (JSCompiler_object_inline_digest_2447.suspendedLanes |
9855
9859
  renderLanes))
9856
9860
  ? 0
9857
- : JSCompiler_object_inline_stack_2467),
9858
- 0 !== JSCompiler_object_inline_stack_2467 &&
9859
- JSCompiler_object_inline_stack_2467 !== prevState.retryLane)
9861
+ : JSCompiler_object_inline_stack_2448),
9862
+ 0 !== JSCompiler_object_inline_stack_2448 &&
9863
+ JSCompiler_object_inline_stack_2448 !== prevState.retryLane)
9860
9864
  )
9861
9865
  throw (
9862
- ((prevState.retryLane = JSCompiler_object_inline_stack_2467),
9866
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2448),
9863
9867
  enqueueConcurrentRenderForLane(
9864
9868
  current,
9865
- JSCompiler_object_inline_stack_2467
9869
+ JSCompiler_object_inline_stack_2448
9866
9870
  ),
9867
9871
  scheduleUpdateOnFiber(
9868
- JSCompiler_object_inline_digest_2466,
9872
+ JSCompiler_object_inline_digest_2447,
9869
9873
  current,
9870
- JSCompiler_object_inline_stack_2467
9874
+ JSCompiler_object_inline_stack_2448
9871
9875
  ),
9872
9876
  SelectiveHydrationException)
9873
9877
  );
9874
- JSCompiler_object_inline_message_2465.data ===
9878
+ JSCompiler_object_inline_message_2446.data ===
9875
9879
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9876
9880
  workInProgress = retrySuspenseComponentWithoutHydrating(
9877
9881
  current,
@@ -9879,14 +9883,14 @@
9879
9883
  renderLanes
9880
9884
  );
9881
9885
  } else
9882
- JSCompiler_object_inline_message_2465.data ===
9886
+ JSCompiler_object_inline_message_2446.data ===
9883
9887
  SUSPENSE_PENDING_START_DATA
9884
9888
  ? ((workInProgress.flags |= 192),
9885
9889
  (workInProgress.child = current.child),
9886
9890
  (workInProgress = null))
9887
9891
  : ((current = prevState.treeContext),
9888
9892
  (nextHydratableInstance = getNextHydratable(
9889
- JSCompiler_object_inline_message_2465.nextSibling
9893
+ JSCompiler_object_inline_message_2446.nextSibling
9890
9894
  )),
9891
9895
  (hydrationParentFiber = workInProgress),
9892
9896
  (isHydrating = !0),
@@ -9904,57 +9908,57 @@
9904
9908
  (treeContextProvider = workInProgress)),
9905
9909
  (workInProgress = mountSuspensePrimaryChildren(
9906
9910
  workInProgress,
9907
- JSCompiler_object_inline_stack_2467.children
9911
+ JSCompiler_object_inline_stack_2448.children
9908
9912
  )),
9909
9913
  (workInProgress.flags |= 4096));
9910
9914
  return workInProgress;
9911
9915
  }
9912
- if (JSCompiler_object_inline_componentStack_2468)
9916
+ if (JSCompiler_object_inline_componentStack_2449)
9913
9917
  return (
9914
9918
  reuseSuspenseHandlerOnStack(workInProgress),
9915
- (JSCompiler_object_inline_componentStack_2468 =
9916
- JSCompiler_object_inline_stack_2467.fallback),
9917
- (JSCompiler_object_inline_message_2465 = workInProgress.mode),
9919
+ (JSCompiler_object_inline_componentStack_2449 =
9920
+ JSCompiler_object_inline_stack_2448.fallback),
9921
+ (JSCompiler_object_inline_message_2446 = workInProgress.mode),
9918
9922
  (JSCompiler_temp = current.child),
9919
9923
  (instance = JSCompiler_temp.sibling),
9920
- (JSCompiler_object_inline_stack_2467 = createWorkInProgress(
9924
+ (JSCompiler_object_inline_stack_2448 = createWorkInProgress(
9921
9925
  JSCompiler_temp,
9922
9926
  {
9923
9927
  mode: "hidden",
9924
- children: JSCompiler_object_inline_stack_2467.children
9928
+ children: JSCompiler_object_inline_stack_2448.children
9925
9929
  }
9926
9930
  )),
9927
- (JSCompiler_object_inline_stack_2467.subtreeFlags =
9931
+ (JSCompiler_object_inline_stack_2448.subtreeFlags =
9928
9932
  JSCompiler_temp.subtreeFlags & 65011712),
9929
9933
  null !== instance
9930
- ? (JSCompiler_object_inline_componentStack_2468 =
9934
+ ? (JSCompiler_object_inline_componentStack_2449 =
9931
9935
  createWorkInProgress(
9932
9936
  instance,
9933
- JSCompiler_object_inline_componentStack_2468
9937
+ JSCompiler_object_inline_componentStack_2449
9934
9938
  ))
9935
- : ((JSCompiler_object_inline_componentStack_2468 =
9939
+ : ((JSCompiler_object_inline_componentStack_2449 =
9936
9940
  createFiberFromFragment(
9937
- JSCompiler_object_inline_componentStack_2468,
9938
- JSCompiler_object_inline_message_2465,
9941
+ JSCompiler_object_inline_componentStack_2449,
9942
+ JSCompiler_object_inline_message_2446,
9939
9943
  renderLanes,
9940
9944
  null
9941
9945
  )),
9942
- (JSCompiler_object_inline_componentStack_2468.flags |= 2)),
9943
- (JSCompiler_object_inline_componentStack_2468.return =
9946
+ (JSCompiler_object_inline_componentStack_2449.flags |= 2)),
9947
+ (JSCompiler_object_inline_componentStack_2449.return =
9944
9948
  workInProgress),
9945
- (JSCompiler_object_inline_stack_2467.return = workInProgress),
9946
- (JSCompiler_object_inline_stack_2467.sibling =
9947
- JSCompiler_object_inline_componentStack_2468),
9948
- (workInProgress.child = JSCompiler_object_inline_stack_2467),
9949
- (JSCompiler_object_inline_stack_2467 =
9950
- JSCompiler_object_inline_componentStack_2468),
9951
- (JSCompiler_object_inline_componentStack_2468 = workInProgress.child),
9952
- (JSCompiler_object_inline_message_2465 = current.child.memoizedState),
9953
- null === JSCompiler_object_inline_message_2465
9954
- ? (JSCompiler_object_inline_message_2465 =
9949
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9950
+ (JSCompiler_object_inline_stack_2448.sibling =
9951
+ JSCompiler_object_inline_componentStack_2449),
9952
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9953
+ (JSCompiler_object_inline_stack_2448 =
9954
+ JSCompiler_object_inline_componentStack_2449),
9955
+ (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 =
9955
9959
  mountSuspenseOffscreenState(renderLanes))
9956
9960
  : ((JSCompiler_temp =
9957
- JSCompiler_object_inline_message_2465.cachePool),
9961
+ JSCompiler_object_inline_message_2446.cachePool),
9958
9962
  null !== JSCompiler_temp
9959
9963
  ? ((instance = CacheContext._currentValue),
9960
9964
  (JSCompiler_temp =
@@ -9962,37 +9966,37 @@
9962
9966
  ? { parent: instance, pool: instance }
9963
9967
  : JSCompiler_temp))
9964
9968
  : (JSCompiler_temp = getSuspendedCache()),
9965
- (JSCompiler_object_inline_message_2465 = {
9969
+ (JSCompiler_object_inline_message_2446 = {
9966
9970
  baseLanes:
9967
- JSCompiler_object_inline_message_2465.baseLanes | renderLanes,
9971
+ JSCompiler_object_inline_message_2446.baseLanes | renderLanes,
9968
9972
  cachePool: JSCompiler_temp
9969
9973
  })),
9970
- (JSCompiler_object_inline_componentStack_2468.memoizedState =
9971
- JSCompiler_object_inline_message_2465),
9972
- (JSCompiler_object_inline_componentStack_2468.childLanes =
9974
+ (JSCompiler_object_inline_componentStack_2449.memoizedState =
9975
+ JSCompiler_object_inline_message_2446),
9976
+ (JSCompiler_object_inline_componentStack_2449.childLanes =
9973
9977
  getRemainingWorkInPrimaryTree(
9974
9978
  current,
9975
- JSCompiler_object_inline_digest_2466,
9979
+ JSCompiler_object_inline_digest_2447,
9976
9980
  renderLanes
9977
9981
  )),
9978
9982
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9979
- JSCompiler_object_inline_stack_2467
9983
+ JSCompiler_object_inline_stack_2448
9980
9984
  );
9981
9985
  pushPrimaryTreeSuspenseHandler(workInProgress);
9982
9986
  renderLanes = current.child;
9983
9987
  current = renderLanes.sibling;
9984
9988
  renderLanes = createWorkInProgress(renderLanes, {
9985
9989
  mode: "visible",
9986
- children: JSCompiler_object_inline_stack_2467.children
9990
+ children: JSCompiler_object_inline_stack_2448.children
9987
9991
  });
9988
9992
  renderLanes.return = workInProgress;
9989
9993
  renderLanes.sibling = null;
9990
9994
  null !== current &&
9991
- ((JSCompiler_object_inline_digest_2466 = workInProgress.deletions),
9992
- null === JSCompiler_object_inline_digest_2466
9995
+ ((JSCompiler_object_inline_digest_2447 = workInProgress.deletions),
9996
+ null === JSCompiler_object_inline_digest_2447
9993
9997
  ? ((workInProgress.deletions = [current]),
9994
9998
  (workInProgress.flags |= 16))
9995
- : JSCompiler_object_inline_digest_2466.push(current));
9999
+ : JSCompiler_object_inline_digest_2447.push(current));
9996
10000
  workInProgress.child = renderLanes;
9997
10001
  workInProgress.memoizedState = null;
9998
10002
  return renderLanes;
@@ -10389,10 +10393,14 @@
10389
10393
  if (stateNode) break;
10390
10394
  else return null;
10391
10395
  case 22:
10392
- case 23:
10393
10396
  return (
10394
10397
  (workInProgress.lanes = 0),
10395
- updateOffscreenComponent(current, workInProgress, renderLanes)
10398
+ updateOffscreenComponent(
10399
+ current,
10400
+ workInProgress,
10401
+ renderLanes,
10402
+ workInProgress.pendingProps
10403
+ )
10396
10404
  );
10397
10405
  case 24:
10398
10406
  pushProvider(
@@ -11026,7 +11034,12 @@
11026
11034
  workInProgress
11027
11035
  );
11028
11036
  case 22:
11029
- return updateOffscreenComponent(current, workInProgress, renderLanes);
11037
+ return updateOffscreenComponent(
11038
+ current,
11039
+ workInProgress,
11040
+ renderLanes,
11041
+ workInProgress.pendingProps
11042
+ );
11030
11043
  case 24:
11031
11044
  return (
11032
11045
  prepareToReadContext(workInProgress),
@@ -11093,32 +11106,42 @@
11093
11106
  function markUpdate(workInProgress) {
11094
11107
  workInProgress.flags |= 4;
11095
11108
  }
11109
+ function preloadInstanceAndSuspendIfNeeded(
11110
+ workInProgress,
11111
+ type,
11112
+ oldProps,
11113
+ newProps,
11114
+ renderLanes
11115
+ ) {
11116
+ if ((type = (workInProgress.mode & SuspenseyImagesMode) !== NoMode))
11117
+ type = !1;
11118
+ if (type) {
11119
+ if (
11120
+ ((workInProgress.flags |= 16777216),
11121
+ (renderLanes & 335544128) === renderLanes)
11122
+ )
11123
+ if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
11124
+ else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
11125
+ else
11126
+ throw (
11127
+ ((suspendedThenable = noopSuspenseyCommitThenable),
11128
+ SuspenseyCommitException)
11129
+ );
11130
+ } else workInProgress.flags &= -16777217;
11131
+ }
11096
11132
  function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
11097
11133
  if (
11098
11134
  "stylesheet" !== resource.type ||
11099
11135
  (resource.state.loading & Inserted) !== NotLoaded
11100
11136
  )
11101
11137
  workInProgress.flags &= -16777217;
11102
- else if (
11103
- ((workInProgress.flags |= 16777216), !preloadResource(resource))
11104
- ) {
11105
- resource = suspenseHandlerStackCursor.current;
11106
- if (
11107
- null !== resource &&
11108
- ((workInProgressRootRenderLanes & 4194048) ===
11109
- workInProgressRootRenderLanes
11110
- ? null !== shellBoundary
11111
- : ((workInProgressRootRenderLanes & 62914560) !==
11112
- workInProgressRootRenderLanes &&
11113
- 0 === (workInProgressRootRenderLanes & 536870912)) ||
11114
- resource !== shellBoundary)
11115
- )
11138
+ else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
11139
+ if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
11140
+ else
11116
11141
  throw (
11117
11142
  ((suspendedThenable = noopSuspenseyCommitThenable),
11118
11143
  SuspenseyCommitException)
11119
11144
  );
11120
- workInProgress.flags |= 8192;
11121
- }
11122
11145
  }
11123
11146
  function scheduleRetryEffect(workInProgress, retryQueue) {
11124
11147
  null !== retryQueue && (workInProgress.flags |= 4);
@@ -11252,38 +11275,49 @@
11252
11275
  bubbleProperties(workInProgress);
11253
11276
  return null;
11254
11277
  case 26:
11255
- return (
11256
- (renderLanes = workInProgress.memoizedState),
11257
- null === current
11258
- ? (markUpdate(workInProgress),
11259
- null !== renderLanes
11260
- ? (bubbleProperties(workInProgress),
11261
- preloadResourceAndSuspendIfNeeded(
11262
- workInProgress,
11263
- renderLanes
11264
- ))
11265
- : (bubbleProperties(workInProgress),
11266
- (workInProgress.flags &= -16777217)))
11267
- : renderLanes
11268
- ? renderLanes !== current.memoizedState
11269
- ? (markUpdate(workInProgress),
11270
- bubbleProperties(workInProgress),
11271
- preloadResourceAndSuspendIfNeeded(
11272
- workInProgress,
11273
- renderLanes
11274
- ))
11275
- : (bubbleProperties(workInProgress),
11276
- (workInProgress.flags &= -16777217))
11277
- : (current.memoizedProps !== newProps &&
11278
- markUpdate(workInProgress),
11278
+ var type = workInProgress.type,
11279
+ nextResource = workInProgress.memoizedState;
11280
+ null === current
11281
+ ? (markUpdate(workInProgress),
11282
+ null !== nextResource
11283
+ ? (bubbleProperties(workInProgress),
11284
+ preloadResourceAndSuspendIfNeeded(
11285
+ workInProgress,
11286
+ nextResource
11287
+ ))
11288
+ : (bubbleProperties(workInProgress),
11289
+ preloadInstanceAndSuspendIfNeeded(
11290
+ workInProgress,
11291
+ type,
11292
+ null,
11293
+ newProps,
11294
+ renderLanes
11295
+ )))
11296
+ : nextResource
11297
+ ? nextResource !== current.memoizedState
11298
+ ? (markUpdate(workInProgress),
11279
11299
  bubbleProperties(workInProgress),
11280
- (workInProgress.flags &= -16777217)),
11281
- null
11282
- );
11300
+ preloadResourceAndSuspendIfNeeded(
11301
+ workInProgress,
11302
+ nextResource
11303
+ ))
11304
+ : (bubbleProperties(workInProgress),
11305
+ (workInProgress.flags &= -16777217))
11306
+ : ((current = current.memoizedProps),
11307
+ current !== newProps && markUpdate(workInProgress),
11308
+ bubbleProperties(workInProgress),
11309
+ preloadInstanceAndSuspendIfNeeded(
11310
+ workInProgress,
11311
+ type,
11312
+ current,
11313
+ newProps,
11314
+ renderLanes
11315
+ ));
11316
+ return null;
11283
11317
  case 27:
11284
11318
  popHostContext(workInProgress);
11285
11319
  renderLanes = requiredContext(rootInstanceStackCursor.current);
11286
- var _type = workInProgress.type;
11320
+ type = workInProgress.type;
11287
11321
  if (null !== current && null != workInProgress.stateNode)
11288
11322
  current.memoizedProps !== newProps && markUpdate(workInProgress);
11289
11323
  else {
@@ -11299,7 +11333,7 @@
11299
11333
  popHydrationState(workInProgress)
11300
11334
  ? prepareToHydrateHostInstance(workInProgress, current)
11301
11335
  : ((current = resolveSingletonInstance(
11302
- _type,
11336
+ type,
11303
11337
  newProps,
11304
11338
  renderLanes,
11305
11339
  current,
@@ -11312,7 +11346,7 @@
11312
11346
  return null;
11313
11347
  case 5:
11314
11348
  popHostContext(workInProgress);
11315
- renderLanes = workInProgress.type;
11349
+ type = workInProgress.type;
11316
11350
  if (null !== current && null != workInProgress.stateNode)
11317
11351
  current.memoizedProps !== newProps && markUpdate(workInProgress);
11318
11352
  else {
@@ -11324,123 +11358,142 @@
11324
11358
  bubbleProperties(workInProgress);
11325
11359
  return null;
11326
11360
  }
11327
- _type = getHostContext();
11361
+ var _currentHostContext = getHostContext();
11328
11362
  if (popHydrationState(workInProgress))
11329
- prepareToHydrateHostInstance(workInProgress, _type);
11363
+ prepareToHydrateHostInstance(workInProgress, _currentHostContext);
11330
11364
  else {
11331
- current = requiredContext(rootInstanceStackCursor.current);
11332
- validateDOMNesting(renderLanes, _type.ancestorInfo);
11333
- _type = _type.context;
11334
- current = getOwnerDocumentFromRootContainer(current);
11335
- switch (_type) {
11365
+ nextResource = requiredContext(rootInstanceStackCursor.current);
11366
+ validateDOMNesting(type, _currentHostContext.ancestorInfo);
11367
+ _currentHostContext = _currentHostContext.context;
11368
+ nextResource = getOwnerDocumentFromRootContainer(nextResource);
11369
+ switch (_currentHostContext) {
11336
11370
  case HostContextNamespaceSvg:
11337
- current = current.createElementNS(SVG_NAMESPACE, renderLanes);
11371
+ nextResource = nextResource.createElementNS(
11372
+ SVG_NAMESPACE,
11373
+ type
11374
+ );
11338
11375
  break;
11339
11376
  case HostContextNamespaceMath:
11340
- current = current.createElementNS(
11377
+ nextResource = nextResource.createElementNS(
11341
11378
  MATH_NAMESPACE,
11342
- renderLanes
11379
+ type
11343
11380
  );
11344
11381
  break;
11345
11382
  default:
11346
- switch (renderLanes) {
11383
+ switch (type) {
11347
11384
  case "svg":
11348
- current = current.createElementNS(
11385
+ nextResource = nextResource.createElementNS(
11349
11386
  SVG_NAMESPACE,
11350
- renderLanes
11387
+ type
11351
11388
  );
11352
11389
  break;
11353
11390
  case "math":
11354
- current = current.createElementNS(
11391
+ nextResource = nextResource.createElementNS(
11355
11392
  MATH_NAMESPACE,
11356
- renderLanes
11393
+ type
11357
11394
  );
11358
11395
  break;
11359
11396
  case "script":
11360
- current = current.createElement("div");
11361
- current.innerHTML = "<script>\x3c/script>";
11362
- current = current.removeChild(current.firstChild);
11397
+ nextResource = nextResource.createElement("div");
11398
+ nextResource.innerHTML = "<script>\x3c/script>";
11399
+ nextResource = nextResource.removeChild(
11400
+ nextResource.firstChild
11401
+ );
11363
11402
  break;
11364
11403
  case "select":
11365
- current =
11404
+ nextResource =
11366
11405
  "string" === typeof newProps.is
11367
- ? current.createElement("select", { is: newProps.is })
11368
- : current.createElement("select");
11406
+ ? nextResource.createElement("select", {
11407
+ is: newProps.is
11408
+ })
11409
+ : nextResource.createElement("select");
11369
11410
  newProps.multiple
11370
- ? (current.multiple = !0)
11371
- : newProps.size && (current.size = newProps.size);
11411
+ ? (nextResource.multiple = !0)
11412
+ : newProps.size && (nextResource.size = newProps.size);
11372
11413
  break;
11373
11414
  default:
11374
- (current =
11415
+ (nextResource =
11375
11416
  "string" === typeof newProps.is
11376
- ? current.createElement(renderLanes, {
11417
+ ? nextResource.createElement(type, {
11377
11418
  is: newProps.is
11378
11419
  })
11379
- : current.createElement(renderLanes)),
11380
- -1 === renderLanes.indexOf("-") &&
11381
- (renderLanes !== renderLanes.toLowerCase() &&
11420
+ : nextResource.createElement(type)),
11421
+ -1 === type.indexOf("-") &&
11422
+ (type !== type.toLowerCase() &&
11382
11423
  console.error(
11383
11424
  "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
11384
- renderLanes
11425
+ type
11385
11426
  ),
11386
11427
  "[object HTMLUnknownElement]" !==
11387
- Object.prototype.toString.call(current) ||
11388
- hasOwnProperty.call(
11389
- warnedUnknownTags,
11390
- renderLanes
11391
- ) ||
11392
- ((warnedUnknownTags[renderLanes] = !0),
11428
+ Object.prototype.toString.call(nextResource) ||
11429
+ hasOwnProperty.call(warnedUnknownTags, type) ||
11430
+ ((warnedUnknownTags[type] = !0),
11393
11431
  console.error(
11394
11432
  "The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
11395
- renderLanes
11433
+ type
11396
11434
  )));
11397
11435
  }
11398
11436
  }
11399
- current[internalInstanceKey] = workInProgress;
11400
- current[internalPropsKey] = newProps;
11401
- a: for (_type = workInProgress.child; null !== _type; ) {
11402
- if (5 === _type.tag || 6 === _type.tag)
11403
- current.appendChild(_type.stateNode);
11437
+ nextResource[internalInstanceKey] = workInProgress;
11438
+ nextResource[internalPropsKey] = newProps;
11439
+ a: for (
11440
+ _currentHostContext = workInProgress.child;
11441
+ null !== _currentHostContext;
11442
+
11443
+ ) {
11444
+ if (
11445
+ 5 === _currentHostContext.tag ||
11446
+ 6 === _currentHostContext.tag
11447
+ )
11448
+ nextResource.appendChild(_currentHostContext.stateNode);
11404
11449
  else if (
11405
- 4 !== _type.tag &&
11406
- 27 !== _type.tag &&
11407
- null !== _type.child
11450
+ 4 !== _currentHostContext.tag &&
11451
+ 27 !== _currentHostContext.tag &&
11452
+ null !== _currentHostContext.child
11408
11453
  ) {
11409
- _type.child.return = _type;
11410
- _type = _type.child;
11454
+ _currentHostContext.child.return = _currentHostContext;
11455
+ _currentHostContext = _currentHostContext.child;
11411
11456
  continue;
11412
11457
  }
11413
- if (_type === workInProgress) break a;
11414
- for (; null === _type.sibling; ) {
11415
- if (null === _type.return || _type.return === workInProgress)
11458
+ if (_currentHostContext === workInProgress) break a;
11459
+ for (; null === _currentHostContext.sibling; ) {
11460
+ if (
11461
+ null === _currentHostContext.return ||
11462
+ _currentHostContext.return === workInProgress
11463
+ )
11416
11464
  break a;
11417
- _type = _type.return;
11465
+ _currentHostContext = _currentHostContext.return;
11418
11466
  }
11419
- _type.sibling.return = _type.return;
11420
- _type = _type.sibling;
11467
+ _currentHostContext.sibling.return = _currentHostContext.return;
11468
+ _currentHostContext = _currentHostContext.sibling;
11421
11469
  }
11422
- workInProgress.stateNode = current;
11470
+ workInProgress.stateNode = nextResource;
11423
11471
  a: switch (
11424
- (setInitialProperties(current, renderLanes, newProps),
11425
- renderLanes)
11472
+ (setInitialProperties(nextResource, type, newProps), type)
11426
11473
  ) {
11427
11474
  case "button":
11428
11475
  case "input":
11429
11476
  case "select":
11430
11477
  case "textarea":
11431
- current = !!newProps.autoFocus;
11478
+ newProps = !!newProps.autoFocus;
11432
11479
  break a;
11433
11480
  case "img":
11434
- current = !0;
11481
+ newProps = !0;
11435
11482
  break a;
11436
11483
  default:
11437
- current = !1;
11484
+ newProps = !1;
11438
11485
  }
11439
- current && markUpdate(workInProgress);
11486
+ newProps && markUpdate(workInProgress);
11440
11487
  }
11441
11488
  }
11442
11489
  bubbleProperties(workInProgress);
11443
- workInProgress.flags &= -16777217;
11490
+ preloadInstanceAndSuspendIfNeeded(
11491
+ workInProgress,
11492
+ workInProgress.type,
11493
+ null === current ? null : current.memoizedProps,
11494
+ workInProgress.pendingProps,
11495
+ renderLanes
11496
+ );
11444
11497
  return null;
11445
11498
  case 6:
11446
11499
  if (current && null != workInProgress.stateNode)
@@ -11458,36 +11511,36 @@
11458
11511
  if (popHydrationState(workInProgress)) {
11459
11512
  current = workInProgress.stateNode;
11460
11513
  renderLanes = workInProgress.memoizedProps;
11461
- _type = !didSuspendOrErrorDEV;
11514
+ type = !didSuspendOrErrorDEV;
11462
11515
  newProps = null;
11463
- var returnFiber = hydrationParentFiber;
11464
- if (null !== returnFiber)
11465
- switch (returnFiber.tag) {
11516
+ nextResource = hydrationParentFiber;
11517
+ if (null !== nextResource)
11518
+ switch (nextResource.tag) {
11466
11519
  case 3:
11467
- _type &&
11468
- ((_type = diffHydratedTextForDevWarnings(
11520
+ type &&
11521
+ ((type = diffHydratedTextForDevWarnings(
11469
11522
  current,
11470
11523
  renderLanes,
11471
11524
  newProps
11472
11525
  )),
11473
- null !== _type &&
11526
+ null !== type &&
11474
11527
  (buildHydrationDiffNode(workInProgress, 0).serverProps =
11475
- _type));
11528
+ type));
11476
11529
  break;
11477
11530
  case 27:
11478
11531
  case 5:
11479
- (newProps = returnFiber.memoizedProps),
11480
- _type &&
11481
- ((_type = diffHydratedTextForDevWarnings(
11532
+ (newProps = nextResource.memoizedProps),
11533
+ type &&
11534
+ ((type = diffHydratedTextForDevWarnings(
11482
11535
  current,
11483
11536
  renderLanes,
11484
11537
  newProps
11485
11538
  )),
11486
- null !== _type &&
11539
+ null !== type &&
11487
11540
  (buildHydrationDiffNode(
11488
11541
  workInProgress,
11489
11542
  0
11490
- ).serverProps = _type));
11543
+ ).serverProps = type));
11491
11544
  }
11492
11545
  current[internalInstanceKey] = workInProgress;
11493
11546
  current =
@@ -11499,11 +11552,11 @@
11499
11552
  : !1;
11500
11553
  current || throwOnHydrationMismatch(workInProgress, !0);
11501
11554
  } else
11502
- (_type = renderLanes.ancestorInfo.current),
11503
- null != _type &&
11555
+ (type = renderLanes.ancestorInfo.current),
11556
+ null != type &&
11504
11557
  validateTextNesting(
11505
11558
  newProps,
11506
- _type.tag,
11559
+ type.tag,
11507
11560
  renderLanes.ancestorInfo.implicitRootScope
11508
11561
  ),
11509
11562
  (current =
@@ -11522,27 +11575,26 @@
11522
11575
  (null !== current.memoizedState &&
11523
11576
  null !== current.memoizedState.dehydrated)
11524
11577
  ) {
11525
- _type = popHydrationState(workInProgress);
11578
+ type = popHydrationState(workInProgress);
11526
11579
  if (null !== newProps && null !== newProps.dehydrated) {
11527
11580
  if (null === current) {
11528
- if (!_type)
11581
+ if (!type)
11529
11582
  throw Error(
11530
11583
  "A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
11531
11584
  );
11532
- _type = workInProgress.memoizedState;
11533
- _type = null !== _type ? _type.dehydrated : null;
11534
- if (!_type)
11585
+ type = workInProgress.memoizedState;
11586
+ type = null !== type ? type.dehydrated : null;
11587
+ if (!type)
11535
11588
  throw Error(
11536
11589
  "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
11537
11590
  );
11538
- _type[internalInstanceKey] = workInProgress;
11591
+ type[internalInstanceKey] = workInProgress;
11539
11592
  bubbleProperties(workInProgress);
11540
11593
  (workInProgress.mode & ProfileMode) !== NoMode &&
11541
11594
  null !== newProps &&
11542
- ((_type = workInProgress.child),
11543
- null !== _type &&
11544
- (workInProgress.treeBaseDuration -=
11545
- _type.treeBaseDuration));
11595
+ ((type = workInProgress.child),
11596
+ null !== type &&
11597
+ (workInProgress.treeBaseDuration -= type.treeBaseDuration));
11546
11598
  } else
11547
11599
  emitPendingHydrationWarnings(),
11548
11600
  resetHydrationState(),
@@ -11552,18 +11604,18 @@
11552
11604
  bubbleProperties(workInProgress),
11553
11605
  (workInProgress.mode & ProfileMode) !== NoMode &&
11554
11606
  null !== newProps &&
11555
- ((_type = workInProgress.child),
11556
- null !== _type &&
11607
+ ((type = workInProgress.child),
11608
+ null !== type &&
11557
11609
  (workInProgress.treeBaseDuration -=
11558
- _type.treeBaseDuration));
11559
- _type = !1;
11610
+ type.treeBaseDuration));
11611
+ type = !1;
11560
11612
  } else
11561
- (_type = upgradeHydrationErrorsToRecoverable()),
11613
+ (type = upgradeHydrationErrorsToRecoverable()),
11562
11614
  null !== current &&
11563
11615
  null !== current.memoizedState &&
11564
- (current.memoizedState.hydrationErrors = _type),
11565
- (_type = !0);
11566
- if (!_type) {
11616
+ (current.memoizedState.hydrationErrors = type),
11617
+ (type = !0);
11618
+ if (!type) {
11567
11619
  if (workInProgress.flags & 256)
11568
11620
  return popSuspenseHandler(workInProgress), workInProgress;
11569
11621
  popSuspenseHandler(workInProgress);
@@ -11582,16 +11634,16 @@
11582
11634
  current = null !== current && null !== current.memoizedState;
11583
11635
  renderLanes &&
11584
11636
  ((newProps = workInProgress.child),
11585
- (_type = null),
11637
+ (type = null),
11586
11638
  null !== newProps.alternate &&
11587
11639
  null !== newProps.alternate.memoizedState &&
11588
11640
  null !== newProps.alternate.memoizedState.cachePool &&
11589
- (_type = newProps.alternate.memoizedState.cachePool.pool),
11590
- (returnFiber = null),
11641
+ (type = newProps.alternate.memoizedState.cachePool.pool),
11642
+ (nextResource = null),
11591
11643
  null !== newProps.memoizedState &&
11592
11644
  null !== newProps.memoizedState.cachePool &&
11593
- (returnFiber = newProps.memoizedState.cachePool.pool),
11594
- returnFiber !== _type && (newProps.flags |= 2048));
11645
+ (nextResource = newProps.memoizedState.cachePool.pool),
11646
+ nextResource !== type && (newProps.flags |= 2048));
11595
11647
  renderLanes !== current &&
11596
11648
  renderLanes &&
11597
11649
  (workInProgress.child.flags |= 8192);
@@ -11621,23 +11673,23 @@
11621
11673
  );
11622
11674
  case 19:
11623
11675
  pop(suspenseStackCursor, workInProgress);
11624
- _type = workInProgress.memoizedState;
11625
- if (null === _type) return bubbleProperties(workInProgress), null;
11676
+ type = workInProgress.memoizedState;
11677
+ if (null === type) return bubbleProperties(workInProgress), null;
11626
11678
  newProps = 0 !== (workInProgress.flags & 128);
11627
- returnFiber = _type.rendering;
11628
- if (null === returnFiber)
11629
- if (newProps) cutOffTailIfNeeded(_type, !1);
11679
+ nextResource = type.rendering;
11680
+ if (null === nextResource)
11681
+ if (newProps) cutOffTailIfNeeded(type, !1);
11630
11682
  else {
11631
11683
  if (
11632
11684
  workInProgressRootExitStatus !== RootInProgress ||
11633
11685
  (null !== current && 0 !== (current.flags & 128))
11634
11686
  )
11635
11687
  for (current = workInProgress.child; null !== current; ) {
11636
- returnFiber = findFirstSuspended(current);
11637
- if (null !== returnFiber) {
11688
+ nextResource = findFirstSuspended(current);
11689
+ if (null !== nextResource) {
11638
11690
  workInProgress.flags |= 128;
11639
- cutOffTailIfNeeded(_type, !1);
11640
- current = returnFiber.updateQueue;
11691
+ cutOffTailIfNeeded(type, !1);
11692
+ current = nextResource.updateQueue;
11641
11693
  workInProgress.updateQueue = current;
11642
11694
  scheduleRetryEffect(workInProgress, current);
11643
11695
  workInProgress.subtreeFlags = 0;
@@ -11660,17 +11712,17 @@
11660
11712
  }
11661
11713
  current = current.sibling;
11662
11714
  }
11663
- null !== _type.tail &&
11715
+ null !== type.tail &&
11664
11716
  now$1() > workInProgressRootRenderTargetTime &&
11665
11717
  ((workInProgress.flags |= 128),
11666
11718
  (newProps = !0),
11667
- cutOffTailIfNeeded(_type, !1),
11719
+ cutOffTailIfNeeded(type, !1),
11668
11720
  (workInProgress.lanes = 4194304));
11669
11721
  }
11670
11722
  else {
11671
11723
  if (!newProps)
11672
11724
  if (
11673
- ((current = findFirstSuspended(returnFiber)), null !== current)
11725
+ ((current = findFirstSuspended(nextResource)), null !== current)
11674
11726
  ) {
11675
11727
  if (
11676
11728
  ((workInProgress.flags |= 128),
@@ -11678,36 +11730,36 @@
11678
11730
  (current = current.updateQueue),
11679
11731
  (workInProgress.updateQueue = current),
11680
11732
  scheduleRetryEffect(workInProgress, current),
11681
- cutOffTailIfNeeded(_type, !0),
11682
- null === _type.tail &&
11683
- "hidden" === _type.tailMode &&
11684
- !returnFiber.alternate &&
11733
+ cutOffTailIfNeeded(type, !0),
11734
+ null === type.tail &&
11735
+ "hidden" === type.tailMode &&
11736
+ !nextResource.alternate &&
11685
11737
  !isHydrating)
11686
11738
  )
11687
11739
  return bubbleProperties(workInProgress), null;
11688
11740
  } else
11689
- 2 * now$1() - _type.renderingStartTime >
11741
+ 2 * now$1() - type.renderingStartTime >
11690
11742
  workInProgressRootRenderTargetTime &&
11691
11743
  536870912 !== renderLanes &&
11692
11744
  ((workInProgress.flags |= 128),
11693
11745
  (newProps = !0),
11694
- cutOffTailIfNeeded(_type, !1),
11746
+ cutOffTailIfNeeded(type, !1),
11695
11747
  (workInProgress.lanes = 4194304));
11696
- _type.isBackwards
11697
- ? ((returnFiber.sibling = workInProgress.child),
11698
- (workInProgress.child = returnFiber))
11699
- : ((current = _type.last),
11748
+ type.isBackwards
11749
+ ? ((nextResource.sibling = workInProgress.child),
11750
+ (workInProgress.child = nextResource))
11751
+ : ((current = type.last),
11700
11752
  null !== current
11701
- ? (current.sibling = returnFiber)
11702
- : (workInProgress.child = returnFiber),
11703
- (_type.last = returnFiber));
11753
+ ? (current.sibling = nextResource)
11754
+ : (workInProgress.child = nextResource),
11755
+ (type.last = nextResource));
11704
11756
  }
11705
- if (null !== _type.tail)
11757
+ if (null !== type.tail)
11706
11758
  return (
11707
- (current = _type.tail),
11708
- (_type.rendering = current),
11709
- (_type.tail = current.sibling),
11710
- (_type.renderingStartTime = now$1()),
11759
+ (current = type.tail),
11760
+ (type.rendering = current),
11761
+ (type.tail = current.sibling),
11762
+ (type.renderingStartTime = now$1()),
11711
11763
  (current.sibling = null),
11712
11764
  (renderLanes = suspenseStackCursor.current),
11713
11765
  (renderLanes = newProps
@@ -12282,12 +12334,7 @@
12282
12334
  commitStartTime
12283
12335
  );
12284
12336
  "function" === typeof onCommit &&
12285
- onCommit(
12286
- finishedWork.memoizedProps.id,
12287
- current,
12288
- effectDuration,
12289
- commitStartTime
12290
- );
12337
+ onCommit(id, current, effectDuration, commitStartTime);
12291
12338
  }
12292
12339
  function commitProfilerPostCommitImpl(
12293
12340
  finishedWork,
@@ -14914,6 +14961,21 @@
14914
14961
  );
14915
14962
  }
14916
14963
  }
14964
+ function shouldRemainOnPreviousScreen() {
14965
+ var handler = suspenseHandlerStackCursor.current;
14966
+ return null === handler
14967
+ ? !0
14968
+ : (workInProgressRootRenderLanes & 4194048) ===
14969
+ workInProgressRootRenderLanes
14970
+ ? null === shellBoundary
14971
+ ? !0
14972
+ : !1
14973
+ : (workInProgressRootRenderLanes & 62914560) ===
14974
+ workInProgressRootRenderLanes ||
14975
+ 0 !== (workInProgressRootRenderLanes & 536870912)
14976
+ ? handler === shellBoundary
14977
+ : !1;
14978
+ }
14917
14979
  function pushDispatcher() {
14918
14980
  var prevDispatcher = ReactSharedInternals.H;
14919
14981
  ReactSharedInternals.H = ContextOnlyDispatcher;
@@ -22597,7 +22659,8 @@
22597
22659
  ProfileMode = 2,
22598
22660
  StrictLegacyMode = 8,
22599
22661
  StrictEffectsMode = 16,
22600
- NoStrictPassiveEffectsMode = 64;
22662
+ NoStrictPassiveEffectsMode = 64,
22663
+ SuspenseyImagesMode = 32;
22601
22664
  var hasBadMapPolyfill = !1;
22602
22665
  try {
22603
22666
  var nonExtensibleObject = Object.preventExtensions({});
@@ -24893,11 +24956,11 @@
24893
24956
  };
24894
24957
  (function () {
24895
24958
  var isomorphicReactPackageVersion = React.version;
24896
- if ("19.2.0-canary-ea05b750-20250408" !== isomorphicReactPackageVersion)
24959
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
24897
24960
  throw Error(
24898
24961
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24899
24962
  (isomorphicReactPackageVersion +
24900
- "\n - react-dom: 19.2.0-canary-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
24963
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
24901
24964
  );
24902
24965
  })();
24903
24966
  ("function" === typeof Map &&
@@ -24934,10 +24997,10 @@
24934
24997
  !(function () {
24935
24998
  var internals = {
24936
24999
  bundleType: 1,
24937
- version: "19.2.0-canary-ea05b750-20250408",
25000
+ version: "19.2.0-canary-c44e4a25-20250409",
24938
25001
  rendererPackageName: "react-dom",
24939
25002
  currentDispatcherRef: ReactSharedInternals,
24940
- reconcilerVersion: "19.2.0-canary-ea05b750-20250408"
25003
+ reconcilerVersion: "19.2.0-canary-c44e4a25-20250409"
24941
25004
  };
24942
25005
  internals.overrideHookState = overrideHookState;
24943
25006
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25081,7 +25144,7 @@
25081
25144
  listenToAllSupportedEvents(container);
25082
25145
  return new ReactDOMHydrationRoot(initialChildren);
25083
25146
  };
25084
- exports.version = "19.2.0-canary-ea05b750-20250408";
25147
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
25085
25148
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25086
25149
  "function" ===
25087
25150
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&