react-dom 19.2.0-canary-3fbfb9ba-20250409 → 19.2.0-canary-1d6c8168-20250411

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,144 +9583,132 @@
9579
9583
  return current;
9580
9584
  }
9581
9585
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9582
- var JSCompiler_object_inline_digest_2446;
9583
- var JSCompiler_object_inline_stack_2447 = 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_2448 = !1;
9586
- var didSuspend = 0 !== (workInProgress.flags & 128);
9587
- (JSCompiler_object_inline_digest_2446 = didSuspend) ||
9588
- (JSCompiler_object_inline_digest_2446 =
9589
+ var showFallback = !1,
9590
+ didSuspend = 0 !== (workInProgress.flags & 128);
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_2446 &&
9593
- ((JSCompiler_object_inline_componentStack_2448 = !0),
9594
- (workInProgress.flags &= -129));
9595
- JSCompiler_object_inline_digest_2446 = 0 !== (workInProgress.flags & 32);
9596
+ JSCompiler_object_inline_digest_2447 &&
9597
+ ((showFallback = !0), (workInProgress.flags &= -129));
9598
+ JSCompiler_object_inline_digest_2447 = 0 !== (workInProgress.flags & 32);
9596
9599
  workInProgress.flags &= -33;
9597
9600
  if (null === current) {
9598
9601
  if (isHydrating) {
9599
- JSCompiler_object_inline_componentStack_2448
9602
+ showFallback
9600
9603
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9601
9604
  : reuseSuspenseHandlerOnStack(workInProgress);
9602
- if (isHydrating) {
9603
- var JSCompiler_object_inline_message_2445 = nextHydratableInstance;
9604
- var JSCompiler_temp;
9605
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2445)) {
9606
- c: {
9607
- var instance = JSCompiler_object_inline_message_2445;
9608
- for (
9609
- JSCompiler_temp = rootOrSingletonContext;
9610
- 8 !== instance.nodeType;
9605
+ if ((current = nextHydratableInstance)) {
9606
+ a: {
9607
+ JSCompiler_object_inline_digest_2447 = current;
9608
+ for (
9609
+ renderLanes = rootOrSingletonContext;
9610
+ 8 !== JSCompiler_object_inline_digest_2447.nodeType;
9611
9611
 
9612
- ) {
9613
- if (!JSCompiler_temp) {
9614
- JSCompiler_temp = null;
9615
- break c;
9616
- }
9617
- instance = getNextHydratable(instance.nextSibling);
9618
- if (null === instance) {
9619
- JSCompiler_temp = null;
9620
- break c;
9621
- }
9612
+ ) {
9613
+ if (!renderLanes) {
9614
+ renderLanes = null;
9615
+ break a;
9616
+ }
9617
+ JSCompiler_object_inline_digest_2447 = getNextHydratable(
9618
+ JSCompiler_object_inline_digest_2447.nextSibling
9619
+ );
9620
+ if (null === JSCompiler_object_inline_digest_2447) {
9621
+ renderLanes = null;
9622
+ break a;
9622
9623
  }
9623
- JSCompiler_temp = instance;
9624
9624
  }
9625
- null !== JSCompiler_temp
9626
- ? (warnIfNotHydrating(),
9627
- (workInProgress.memoizedState = {
9628
- dehydrated: JSCompiler_temp,
9629
- treeContext:
9630
- null !== treeContextProvider
9631
- ? { id: treeContextId, overflow: treeContextOverflow }
9632
- : null,
9633
- retryLane: 536870912,
9634
- hydrationErrors: null
9635
- }),
9636
- (instance = createFiber(18, null, null, NoMode)),
9637
- (instance.stateNode = JSCompiler_temp),
9638
- (instance.return = workInProgress),
9639
- (workInProgress.child = instance),
9640
- (hydrationParentFiber = workInProgress),
9641
- (nextHydratableInstance = null),
9642
- (JSCompiler_temp = !0))
9643
- : (JSCompiler_temp = !1);
9644
- JSCompiler_temp = !JSCompiler_temp;
9625
+ renderLanes = JSCompiler_object_inline_digest_2447;
9645
9626
  }
9646
- JSCompiler_temp &&
9647
- (warnNonHydratedInstance(
9648
- workInProgress,
9649
- JSCompiler_object_inline_message_2445
9650
- ),
9651
- throwOnHydrationMismatch(workInProgress));
9652
- }
9653
- JSCompiler_object_inline_message_2445 = workInProgress.memoizedState;
9654
- if (
9655
- null !== JSCompiler_object_inline_message_2445 &&
9656
- ((JSCompiler_object_inline_message_2445 =
9657
- JSCompiler_object_inline_message_2445.dehydrated),
9658
- null !== JSCompiler_object_inline_message_2445)
9659
- )
9660
- return (
9661
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2445)
9662
- ? (workInProgress.lanes = 32)
9663
- : (workInProgress.lanes = 536870912),
9664
- null
9627
+ null !== renderLanes &&
9628
+ (warnIfNotHydrating(),
9629
+ (workInProgress.memoizedState = {
9630
+ dehydrated: renderLanes,
9631
+ treeContext:
9632
+ null !== treeContextProvider
9633
+ ? { id: treeContextId, overflow: treeContextOverflow }
9634
+ : null,
9635
+ retryLane: 536870912,
9636
+ hydrationErrors: null
9637
+ }),
9638
+ (JSCompiler_object_inline_digest_2447 = renderLanes),
9639
+ (JSCompiler_object_inline_stack_2448 = createFiber(
9640
+ 18,
9641
+ null,
9642
+ null,
9643
+ NoMode
9644
+ )),
9645
+ (JSCompiler_object_inline_stack_2448.stateNode =
9646
+ JSCompiler_object_inline_digest_2447),
9647
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9648
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9649
+ (hydrationParentFiber = workInProgress),
9650
+ (nextHydratableInstance = null));
9651
+ } else renderLanes = null;
9652
+ if (null === renderLanes)
9653
+ throw (
9654
+ (warnNonHydratedInstance(workInProgress, current),
9655
+ throwOnHydrationMismatch(workInProgress))
9665
9656
  );
9666
- popSuspenseHandler(workInProgress);
9657
+ isSuspenseInstanceFallback(renderLanes)
9658
+ ? (workInProgress.lanes = 32)
9659
+ : (workInProgress.lanes = 536870912);
9660
+ return null;
9667
9661
  }
9668
- JSCompiler_object_inline_message_2445 =
9669
- JSCompiler_object_inline_stack_2447.children;
9670
- JSCompiler_object_inline_stack_2447 =
9671
- JSCompiler_object_inline_stack_2447.fallback;
9672
- if (JSCompiler_object_inline_componentStack_2448)
9673
- return (
9674
- reuseSuspenseHandlerOnStack(workInProgress),
9675
- (JSCompiler_object_inline_componentStack_2448 =
9676
- workInProgress.mode),
9677
- (JSCompiler_object_inline_message_2445 =
9678
- mountWorkInProgressOffscreenFiber(
9679
- {
9680
- mode: "hidden",
9681
- children: JSCompiler_object_inline_message_2445
9682
- },
9683
- JSCompiler_object_inline_componentStack_2448
9684
- )),
9685
- (JSCompiler_object_inline_stack_2447 = createFiberFromFragment(
9686
- JSCompiler_object_inline_stack_2447,
9687
- JSCompiler_object_inline_componentStack_2448,
9688
- renderLanes,
9689
- null
9690
- )),
9691
- (JSCompiler_object_inline_message_2445.return = workInProgress),
9692
- (JSCompiler_object_inline_stack_2447.return = workInProgress),
9693
- (JSCompiler_object_inline_message_2445.sibling =
9694
- JSCompiler_object_inline_stack_2447),
9695
- (workInProgress.child = JSCompiler_object_inline_message_2445),
9696
- (JSCompiler_object_inline_componentStack_2448 =
9697
- workInProgress.child),
9698
- (JSCompiler_object_inline_componentStack_2448.memoizedState =
9699
- mountSuspenseOffscreenState(renderLanes)),
9700
- (JSCompiler_object_inline_componentStack_2448.childLanes =
9701
- getRemainingWorkInPrimaryTree(
9702
- current,
9703
- JSCompiler_object_inline_digest_2446,
9704
- renderLanes
9705
- )),
9706
- (workInProgress.memoizedState = SUSPENDED_MARKER),
9707
- JSCompiler_object_inline_stack_2447
9662
+ var JSCompiler_object_inline_componentStack_2449 =
9663
+ JSCompiler_object_inline_stack_2448.children;
9664
+ JSCompiler_object_inline_stack_2448 =
9665
+ JSCompiler_object_inline_stack_2448.fallback;
9666
+ if (showFallback) {
9667
+ reuseSuspenseHandlerOnStack(workInProgress);
9668
+ var mode = workInProgress.mode;
9669
+ JSCompiler_object_inline_componentStack_2449 =
9670
+ mountWorkInProgressOffscreenFiber(
9671
+ {
9672
+ mode: "hidden",
9673
+ children: JSCompiler_object_inline_componentStack_2449
9674
+ },
9675
+ mode
9676
+ );
9677
+ JSCompiler_object_inline_stack_2448 = createFiberFromFragment(
9678
+ JSCompiler_object_inline_stack_2448,
9679
+ mode,
9680
+ renderLanes,
9681
+ null
9708
9682
  );
9683
+ JSCompiler_object_inline_componentStack_2449.return = workInProgress;
9684
+ JSCompiler_object_inline_stack_2448.return = workInProgress;
9685
+ JSCompiler_object_inline_componentStack_2449.sibling =
9686
+ JSCompiler_object_inline_stack_2448;
9687
+ workInProgress.child = JSCompiler_object_inline_componentStack_2449;
9688
+ JSCompiler_object_inline_componentStack_2449 = workInProgress.child;
9689
+ JSCompiler_object_inline_componentStack_2449.memoizedState =
9690
+ mountSuspenseOffscreenState(renderLanes);
9691
+ JSCompiler_object_inline_componentStack_2449.childLanes =
9692
+ getRemainingWorkInPrimaryTree(
9693
+ current,
9694
+ JSCompiler_object_inline_digest_2447,
9695
+ renderLanes
9696
+ );
9697
+ workInProgress.memoizedState = SUSPENDED_MARKER;
9698
+ return JSCompiler_object_inline_stack_2448;
9699
+ }
9709
9700
  pushPrimaryTreeSuspenseHandler(workInProgress);
9710
9701
  return mountSuspensePrimaryChildren(
9711
9702
  workInProgress,
9712
- JSCompiler_object_inline_message_2445
9703
+ JSCompiler_object_inline_componentStack_2449
9713
9704
  );
9714
9705
  }
9715
- var prevState = current.memoizedState;
9706
+ var JSCompiler_object_inline_message_2446 = current.memoizedState;
9716
9707
  if (
9717
- null !== prevState &&
9718
- ((JSCompiler_object_inline_message_2445 = prevState.dehydrated),
9719
- null !== JSCompiler_object_inline_message_2445)
9708
+ null !== JSCompiler_object_inline_message_2446 &&
9709
+ ((JSCompiler_object_inline_componentStack_2449 =
9710
+ JSCompiler_object_inline_message_2446.dehydrated),
9711
+ null !== JSCompiler_object_inline_componentStack_2449)
9720
9712
  ) {
9721
9713
  if (didSuspend)
9722
9714
  workInProgress.flags & 256
@@ -9733,94 +9725,98 @@
9733
9725
  (workInProgress.flags |= 128),
9734
9726
  (workInProgress = null))
9735
9727
  : (reuseSuspenseHandlerOnStack(workInProgress),
9736
- (JSCompiler_object_inline_componentStack_2448 =
9737
- JSCompiler_object_inline_stack_2447.fallback),
9738
- (JSCompiler_object_inline_message_2445 = workInProgress.mode),
9739
- (JSCompiler_object_inline_stack_2447 =
9728
+ (JSCompiler_object_inline_componentStack_2449 =
9729
+ JSCompiler_object_inline_stack_2448.fallback),
9730
+ (mode = workInProgress.mode),
9731
+ (JSCompiler_object_inline_stack_2448 =
9740
9732
  mountWorkInProgressOffscreenFiber(
9741
9733
  {
9742
9734
  mode: "visible",
9743
- children: JSCompiler_object_inline_stack_2447.children
9735
+ children: JSCompiler_object_inline_stack_2448.children
9744
9736
  },
9745
- JSCompiler_object_inline_message_2445
9737
+ mode
9746
9738
  )),
9747
- (JSCompiler_object_inline_componentStack_2448 =
9739
+ (JSCompiler_object_inline_componentStack_2449 =
9748
9740
  createFiberFromFragment(
9749
- JSCompiler_object_inline_componentStack_2448,
9750
- JSCompiler_object_inline_message_2445,
9741
+ JSCompiler_object_inline_componentStack_2449,
9742
+ mode,
9751
9743
  renderLanes,
9752
9744
  null
9753
9745
  )),
9754
- (JSCompiler_object_inline_componentStack_2448.flags |= 2),
9755
- (JSCompiler_object_inline_stack_2447.return = workInProgress),
9756
- (JSCompiler_object_inline_componentStack_2448.return =
9746
+ (JSCompiler_object_inline_componentStack_2449.flags |= 2),
9747
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9748
+ (JSCompiler_object_inline_componentStack_2449.return =
9757
9749
  workInProgress),
9758
- (JSCompiler_object_inline_stack_2447.sibling =
9759
- JSCompiler_object_inline_componentStack_2448),
9760
- (workInProgress.child = JSCompiler_object_inline_stack_2447),
9750
+ (JSCompiler_object_inline_stack_2448.sibling =
9751
+ JSCompiler_object_inline_componentStack_2449),
9752
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9761
9753
  reconcileChildFibers(
9762
9754
  workInProgress,
9763
9755
  current.child,
9764
9756
  null,
9765
9757
  renderLanes
9766
9758
  ),
9767
- (JSCompiler_object_inline_stack_2447 = workInProgress.child),
9768
- (JSCompiler_object_inline_stack_2447.memoizedState =
9759
+ (JSCompiler_object_inline_stack_2448 = workInProgress.child),
9760
+ (JSCompiler_object_inline_stack_2448.memoizedState =
9769
9761
  mountSuspenseOffscreenState(renderLanes)),
9770
- (JSCompiler_object_inline_stack_2447.childLanes =
9762
+ (JSCompiler_object_inline_stack_2448.childLanes =
9771
9763
  getRemainingWorkInPrimaryTree(
9772
9764
  current,
9773
- JSCompiler_object_inline_digest_2446,
9765
+ JSCompiler_object_inline_digest_2447,
9774
9766
  renderLanes
9775
9767
  )),
9776
9768
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9777
9769
  (workInProgress =
9778
- JSCompiler_object_inline_componentStack_2448));
9770
+ JSCompiler_object_inline_componentStack_2449));
9779
9771
  else if (
9780
9772
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9781
9773
  isHydrating &&
9782
9774
  console.error(
9783
9775
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9784
9776
  ),
9785
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2445))
9777
+ isSuspenseInstanceFallback(
9778
+ JSCompiler_object_inline_componentStack_2449
9779
+ ))
9786
9780
  ) {
9787
- JSCompiler_object_inline_digest_2446 =
9788
- JSCompiler_object_inline_message_2445.nextSibling &&
9789
- JSCompiler_object_inline_message_2445.nextSibling.dataset;
9790
- if (JSCompiler_object_inline_digest_2446) {
9791
- JSCompiler_temp = JSCompiler_object_inline_digest_2446.dgst;
9792
- var message = JSCompiler_object_inline_digest_2446.msg;
9793
- instance = JSCompiler_object_inline_digest_2446.stck;
9794
- var componentStack = JSCompiler_object_inline_digest_2446.cstck;
9781
+ JSCompiler_object_inline_digest_2447 =
9782
+ JSCompiler_object_inline_componentStack_2449.nextSibling &&
9783
+ JSCompiler_object_inline_componentStack_2449.nextSibling.dataset;
9784
+ if (JSCompiler_object_inline_digest_2447) {
9785
+ mode = JSCompiler_object_inline_digest_2447.dgst;
9786
+ var message = JSCompiler_object_inline_digest_2447.msg;
9787
+ var componentStack = JSCompiler_object_inline_digest_2447.stck;
9788
+ var componentStack$jscomp$0 =
9789
+ JSCompiler_object_inline_digest_2447.cstck;
9795
9790
  }
9796
- JSCompiler_object_inline_message_2445 = message;
9797
- JSCompiler_object_inline_digest_2446 = JSCompiler_temp;
9798
- JSCompiler_object_inline_stack_2447 = instance;
9799
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2448 =
9800
- componentStack;
9801
- JSCompiler_object_inline_componentStack_2448 =
9802
- JSCompiler_object_inline_message_2445
9803
- ? Error(JSCompiler_object_inline_message_2445)
9804
- : Error(
9805
- "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9806
- );
9807
- JSCompiler_object_inline_componentStack_2448.stack =
9808
- JSCompiler_object_inline_stack_2447 || "";
9809
- JSCompiler_object_inline_componentStack_2448.digest =
9810
- JSCompiler_object_inline_digest_2446;
9811
- JSCompiler_object_inline_digest_2446 =
9812
- void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9813
- JSCompiler_object_inline_stack_2447 = {
9814
- value: JSCompiler_object_inline_componentStack_2448,
9791
+ JSCompiler_object_inline_message_2446 = message;
9792
+ JSCompiler_object_inline_digest_2447 = mode;
9793
+ JSCompiler_object_inline_stack_2448 = componentStack;
9794
+ JSCompiler_object_inline_componentStack_2449 =
9795
+ componentStack$jscomp$0;
9796
+ mode = JSCompiler_object_inline_message_2446;
9797
+ componentStack = JSCompiler_object_inline_componentStack_2449;
9798
+ JSCompiler_object_inline_componentStack_2449 = mode
9799
+ ? Error(mode)
9800
+ : Error(
9801
+ "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9802
+ );
9803
+ JSCompiler_object_inline_componentStack_2449.stack =
9804
+ JSCompiler_object_inline_stack_2448 || "";
9805
+ JSCompiler_object_inline_componentStack_2449.digest =
9806
+ JSCompiler_object_inline_digest_2447;
9807
+ JSCompiler_object_inline_digest_2447 =
9808
+ void 0 === componentStack ? null : componentStack;
9809
+ JSCompiler_object_inline_stack_2448 = {
9810
+ value: JSCompiler_object_inline_componentStack_2449,
9815
9811
  source: null,
9816
- stack: JSCompiler_object_inline_digest_2446
9812
+ stack: JSCompiler_object_inline_digest_2447
9817
9813
  };
9818
- "string" === typeof JSCompiler_object_inline_digest_2446 &&
9814
+ "string" === typeof JSCompiler_object_inline_digest_2447 &&
9819
9815
  CapturedStacks.set(
9820
- JSCompiler_object_inline_componentStack_2448,
9821
- JSCompiler_object_inline_stack_2447
9816
+ JSCompiler_object_inline_componentStack_2449,
9817
+ JSCompiler_object_inline_stack_2448
9822
9818
  );
9823
- queueHydrationError(JSCompiler_object_inline_stack_2447);
9819
+ queueHydrationError(JSCompiler_object_inline_stack_2448);
9824
9820
  workInProgress = retrySuspenseComponentWithoutHydrating(
9825
9821
  current,
9826
9822
  workInProgress,
@@ -9834,44 +9830,46 @@
9834
9830
  renderLanes,
9835
9831
  !1
9836
9832
  ),
9837
- (JSCompiler_object_inline_digest_2446 =
9833
+ (JSCompiler_object_inline_digest_2447 =
9838
9834
  0 !== (renderLanes & current.childLanes)),
9839
- didReceiveUpdate || JSCompiler_object_inline_digest_2446)
9835
+ didReceiveUpdate || JSCompiler_object_inline_digest_2447)
9840
9836
  ) {
9841
- JSCompiler_object_inline_digest_2446 = workInProgressRoot;
9837
+ JSCompiler_object_inline_digest_2447 = workInProgressRoot;
9842
9838
  if (
9843
- null !== JSCompiler_object_inline_digest_2446 &&
9844
- ((JSCompiler_object_inline_stack_2447 = renderLanes & -renderLanes),
9845
- (JSCompiler_object_inline_stack_2447 =
9846
- 0 !== (JSCompiler_object_inline_stack_2447 & 42)
9839
+ null !== JSCompiler_object_inline_digest_2447 &&
9840
+ ((JSCompiler_object_inline_stack_2448 = renderLanes & -renderLanes),
9841
+ (JSCompiler_object_inline_stack_2448 =
9842
+ 0 !== (JSCompiler_object_inline_stack_2448 & 42)
9847
9843
  ? 1
9848
9844
  : getBumpedLaneForHydrationByLane(
9849
- JSCompiler_object_inline_stack_2447
9845
+ JSCompiler_object_inline_stack_2448
9850
9846
  )),
9851
- (JSCompiler_object_inline_stack_2447 =
9847
+ (JSCompiler_object_inline_stack_2448 =
9852
9848
  0 !==
9853
- (JSCompiler_object_inline_stack_2447 &
9854
- (JSCompiler_object_inline_digest_2446.suspendedLanes |
9849
+ (JSCompiler_object_inline_stack_2448 &
9850
+ (JSCompiler_object_inline_digest_2447.suspendedLanes |
9855
9851
  renderLanes))
9856
9852
  ? 0
9857
- : JSCompiler_object_inline_stack_2447),
9858
- 0 !== JSCompiler_object_inline_stack_2447 &&
9859
- JSCompiler_object_inline_stack_2447 !== prevState.retryLane)
9853
+ : JSCompiler_object_inline_stack_2448),
9854
+ 0 !== JSCompiler_object_inline_stack_2448 &&
9855
+ JSCompiler_object_inline_stack_2448 !==
9856
+ JSCompiler_object_inline_message_2446.retryLane)
9860
9857
  )
9861
9858
  throw (
9862
- ((prevState.retryLane = JSCompiler_object_inline_stack_2447),
9859
+ ((JSCompiler_object_inline_message_2446.retryLane =
9860
+ JSCompiler_object_inline_stack_2448),
9863
9861
  enqueueConcurrentRenderForLane(
9864
9862
  current,
9865
- JSCompiler_object_inline_stack_2447
9863
+ JSCompiler_object_inline_stack_2448
9866
9864
  ),
9867
9865
  scheduleUpdateOnFiber(
9868
- JSCompiler_object_inline_digest_2446,
9866
+ JSCompiler_object_inline_digest_2447,
9869
9867
  current,
9870
- JSCompiler_object_inline_stack_2447
9868
+ JSCompiler_object_inline_stack_2448
9871
9869
  ),
9872
9870
  SelectiveHydrationException)
9873
9871
  );
9874
- JSCompiler_object_inline_message_2445.data ===
9872
+ JSCompiler_object_inline_componentStack_2449.data ===
9875
9873
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9876
9874
  workInProgress = retrySuspenseComponentWithoutHydrating(
9877
9875
  current,
@@ -9879,14 +9877,14 @@
9879
9877
  renderLanes
9880
9878
  );
9881
9879
  } else
9882
- JSCompiler_object_inline_message_2445.data ===
9880
+ JSCompiler_object_inline_componentStack_2449.data ===
9883
9881
  SUSPENSE_PENDING_START_DATA
9884
9882
  ? ((workInProgress.flags |= 192),
9885
9883
  (workInProgress.child = current.child),
9886
9884
  (workInProgress = null))
9887
- : ((current = prevState.treeContext),
9885
+ : ((current = JSCompiler_object_inline_message_2446.treeContext),
9888
9886
  (nextHydratableInstance = getNextHydratable(
9889
- JSCompiler_object_inline_message_2445.nextSibling
9887
+ JSCompiler_object_inline_componentStack_2449.nextSibling
9890
9888
  )),
9891
9889
  (hydrationParentFiber = workInProgress),
9892
9890
  (isHydrating = !0),
@@ -9904,95 +9902,94 @@
9904
9902
  (treeContextProvider = workInProgress)),
9905
9903
  (workInProgress = mountSuspensePrimaryChildren(
9906
9904
  workInProgress,
9907
- JSCompiler_object_inline_stack_2447.children
9905
+ JSCompiler_object_inline_stack_2448.children
9908
9906
  )),
9909
9907
  (workInProgress.flags |= 4096));
9910
9908
  return workInProgress;
9911
9909
  }
9912
- if (JSCompiler_object_inline_componentStack_2448)
9910
+ if (showFallback)
9913
9911
  return (
9914
9912
  reuseSuspenseHandlerOnStack(workInProgress),
9915
- (JSCompiler_object_inline_componentStack_2448 =
9916
- JSCompiler_object_inline_stack_2447.fallback),
9917
- (JSCompiler_object_inline_message_2445 = workInProgress.mode),
9918
- (JSCompiler_temp = current.child),
9919
- (instance = JSCompiler_temp.sibling),
9920
- (JSCompiler_object_inline_stack_2447 = createWorkInProgress(
9921
- JSCompiler_temp,
9913
+ (JSCompiler_object_inline_componentStack_2449 =
9914
+ JSCompiler_object_inline_stack_2448.fallback),
9915
+ (mode = workInProgress.mode),
9916
+ (componentStack = current.child),
9917
+ (componentStack$jscomp$0 = componentStack.sibling),
9918
+ (JSCompiler_object_inline_stack_2448 = createWorkInProgress(
9919
+ componentStack,
9922
9920
  {
9923
9921
  mode: "hidden",
9924
- children: JSCompiler_object_inline_stack_2447.children
9922
+ children: JSCompiler_object_inline_stack_2448.children
9925
9923
  }
9926
9924
  )),
9927
- (JSCompiler_object_inline_stack_2447.subtreeFlags =
9928
- JSCompiler_temp.subtreeFlags & 65011712),
9929
- null !== instance
9930
- ? (JSCompiler_object_inline_componentStack_2448 =
9925
+ (JSCompiler_object_inline_stack_2448.subtreeFlags =
9926
+ componentStack.subtreeFlags & 65011712),
9927
+ null !== componentStack$jscomp$0
9928
+ ? (JSCompiler_object_inline_componentStack_2449 =
9931
9929
  createWorkInProgress(
9932
- instance,
9933
- JSCompiler_object_inline_componentStack_2448
9930
+ componentStack$jscomp$0,
9931
+ JSCompiler_object_inline_componentStack_2449
9934
9932
  ))
9935
- : ((JSCompiler_object_inline_componentStack_2448 =
9933
+ : ((JSCompiler_object_inline_componentStack_2449 =
9936
9934
  createFiberFromFragment(
9937
- JSCompiler_object_inline_componentStack_2448,
9938
- JSCompiler_object_inline_message_2445,
9935
+ JSCompiler_object_inline_componentStack_2449,
9936
+ mode,
9939
9937
  renderLanes,
9940
9938
  null
9941
9939
  )),
9942
- (JSCompiler_object_inline_componentStack_2448.flags |= 2)),
9943
- (JSCompiler_object_inline_componentStack_2448.return =
9940
+ (JSCompiler_object_inline_componentStack_2449.flags |= 2)),
9941
+ (JSCompiler_object_inline_componentStack_2449.return =
9944
9942
  workInProgress),
9945
- (JSCompiler_object_inline_stack_2447.return = workInProgress),
9946
- (JSCompiler_object_inline_stack_2447.sibling =
9947
- JSCompiler_object_inline_componentStack_2448),
9948
- (workInProgress.child = JSCompiler_object_inline_stack_2447),
9949
- (JSCompiler_object_inline_stack_2447 =
9950
- JSCompiler_object_inline_componentStack_2448),
9951
- (JSCompiler_object_inline_componentStack_2448 = workInProgress.child),
9952
- (JSCompiler_object_inline_message_2445 = current.child.memoizedState),
9953
- null === JSCompiler_object_inline_message_2445
9954
- ? (JSCompiler_object_inline_message_2445 =
9955
- mountSuspenseOffscreenState(renderLanes))
9956
- : ((JSCompiler_temp =
9957
- JSCompiler_object_inline_message_2445.cachePool),
9958
- null !== JSCompiler_temp
9959
- ? ((instance = CacheContext._currentValue),
9960
- (JSCompiler_temp =
9961
- JSCompiler_temp.parent !== instance
9962
- ? { parent: instance, pool: instance }
9963
- : JSCompiler_temp))
9964
- : (JSCompiler_temp = getSuspendedCache()),
9965
- (JSCompiler_object_inline_message_2445 = {
9966
- baseLanes:
9967
- JSCompiler_object_inline_message_2445.baseLanes | renderLanes,
9968
- cachePool: JSCompiler_temp
9943
+ (JSCompiler_object_inline_stack_2448.return = workInProgress),
9944
+ (JSCompiler_object_inline_stack_2448.sibling =
9945
+ JSCompiler_object_inline_componentStack_2449),
9946
+ (workInProgress.child = JSCompiler_object_inline_stack_2448),
9947
+ (JSCompiler_object_inline_stack_2448 =
9948
+ JSCompiler_object_inline_componentStack_2449),
9949
+ (JSCompiler_object_inline_componentStack_2449 = workInProgress.child),
9950
+ (mode = current.child.memoizedState),
9951
+ null === mode
9952
+ ? (mode = mountSuspenseOffscreenState(renderLanes))
9953
+ : ((componentStack = mode.cachePool),
9954
+ null !== componentStack
9955
+ ? ((componentStack$jscomp$0 = CacheContext._currentValue),
9956
+ (componentStack =
9957
+ componentStack.parent !== componentStack$jscomp$0
9958
+ ? {
9959
+ parent: componentStack$jscomp$0,
9960
+ pool: componentStack$jscomp$0
9961
+ }
9962
+ : componentStack))
9963
+ : (componentStack = getSuspendedCache()),
9964
+ (mode = {
9965
+ baseLanes: mode.baseLanes | renderLanes,
9966
+ cachePool: componentStack
9969
9967
  })),
9970
- (JSCompiler_object_inline_componentStack_2448.memoizedState =
9971
- JSCompiler_object_inline_message_2445),
9972
- (JSCompiler_object_inline_componentStack_2448.childLanes =
9968
+ (JSCompiler_object_inline_componentStack_2449.memoizedState = mode),
9969
+ (JSCompiler_object_inline_componentStack_2449.childLanes =
9973
9970
  getRemainingWorkInPrimaryTree(
9974
9971
  current,
9975
- JSCompiler_object_inline_digest_2446,
9972
+ JSCompiler_object_inline_digest_2447,
9976
9973
  renderLanes
9977
9974
  )),
9978
9975
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9979
- JSCompiler_object_inline_stack_2447
9976
+ JSCompiler_object_inline_stack_2448
9980
9977
  );
9981
9978
  pushPrimaryTreeSuspenseHandler(workInProgress);
9982
9979
  renderLanes = current.child;
9983
9980
  current = renderLanes.sibling;
9984
9981
  renderLanes = createWorkInProgress(renderLanes, {
9985
9982
  mode: "visible",
9986
- children: JSCompiler_object_inline_stack_2447.children
9983
+ children: JSCompiler_object_inline_stack_2448.children
9987
9984
  });
9988
9985
  renderLanes.return = workInProgress;
9989
9986
  renderLanes.sibling = null;
9990
9987
  null !== current &&
9991
- ((JSCompiler_object_inline_digest_2446 = workInProgress.deletions),
9992
- null === JSCompiler_object_inline_digest_2446
9988
+ ((JSCompiler_object_inline_digest_2447 = workInProgress.deletions),
9989
+ null === JSCompiler_object_inline_digest_2447
9993
9990
  ? ((workInProgress.deletions = [current]),
9994
9991
  (workInProgress.flags |= 16))
9995
- : JSCompiler_object_inline_digest_2446.push(current));
9992
+ : JSCompiler_object_inline_digest_2447.push(current));
9996
9993
  workInProgress.child = renderLanes;
9997
9994
  workInProgress.memoizedState = null;
9998
9995
  return renderLanes;
@@ -10389,10 +10386,14 @@
10389
10386
  if (stateNode) break;
10390
10387
  else return null;
10391
10388
  case 22:
10392
- case 23:
10393
10389
  return (
10394
10390
  (workInProgress.lanes = 0),
10395
- updateOffscreenComponent(current, workInProgress, renderLanes)
10391
+ updateOffscreenComponent(
10392
+ current,
10393
+ workInProgress,
10394
+ renderLanes,
10395
+ workInProgress.pendingProps
10396
+ )
10396
10397
  );
10397
10398
  case 24:
10398
10399
  pushProvider(
@@ -11026,7 +11027,12 @@
11026
11027
  workInProgress
11027
11028
  );
11028
11029
  case 22:
11029
- return updateOffscreenComponent(current, workInProgress, renderLanes);
11030
+ return updateOffscreenComponent(
11031
+ current,
11032
+ workInProgress,
11033
+ renderLanes,
11034
+ workInProgress.pendingProps
11035
+ );
11030
11036
  case 24:
11031
11037
  return (
11032
11038
  prepareToReadContext(workInProgress),
@@ -12321,12 +12327,7 @@
12321
12327
  commitStartTime
12322
12328
  );
12323
12329
  "function" === typeof onCommit &&
12324
- onCommit(
12325
- finishedWork.memoizedProps.id,
12326
- current,
12327
- effectDuration,
12328
- commitStartTime
12329
- );
12330
+ onCommit(id, current, effectDuration, commitStartTime);
12330
12331
  }
12331
12332
  function commitProfilerPostCommitImpl(
12332
12333
  finishedWork,
@@ -19525,55 +19526,45 @@
19525
19526
  }
19526
19527
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
19527
19528
  var node = suspenseInstance,
19528
- possiblePreambleContribution = 0,
19529
19529
  depth = 0;
19530
19530
  do {
19531
19531
  var nextNode = node.nextSibling;
19532
19532
  parentInstance.removeChild(node);
19533
19533
  if (nextNode && 8 === nextNode.nodeType)
19534
19534
  if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
19535
- if (
19536
- 0 < possiblePreambleContribution &&
19537
- 8 > possiblePreambleContribution
19538
- ) {
19539
- node = possiblePreambleContribution;
19540
- var ownerDocument = parentInstance.ownerDocument;
19541
- node & PREAMBLE_CONTRIBUTION_HTML &&
19542
- releaseSingletonInstance(ownerDocument.documentElement);
19543
- node & PREAMBLE_CONTRIBUTION_BODY &&
19544
- releaseSingletonInstance(ownerDocument.body);
19545
- if (node & PREAMBLE_CONTRIBUTION_HEAD)
19546
- for (
19547
- node = ownerDocument.head,
19548
- releaseSingletonInstance(node),
19549
- ownerDocument = node.firstChild;
19550
- ownerDocument;
19551
-
19552
- ) {
19553
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
19554
- nodeName = ownerDocument.nodeName;
19555
- ownerDocument[internalHoistableMarker] ||
19556
- "SCRIPT" === nodeName ||
19557
- "STYLE" === nodeName ||
19558
- ("LINK" === nodeName &&
19559
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
19560
- node.removeChild(ownerDocument);
19561
- ownerDocument = nextNode$jscomp$0;
19562
- }
19563
- }
19564
19535
  if (0 === depth) {
19565
19536
  parentInstance.removeChild(nextNode);
19566
19537
  retryIfBlockedOn(suspenseInstance);
19567
19538
  return;
19568
19539
  }
19569
19540
  depth--;
19570
- } else
19541
+ } else if (
19571
19542
  node === SUSPENSE_START_DATA ||
19572
19543
  node === SUSPENSE_PENDING_START_DATA ||
19573
19544
  node === SUSPENSE_FALLBACK_START_DATA
19574
- ? depth++
19575
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
19576
- else possiblePreambleContribution = 0;
19545
+ )
19546
+ depth++;
19547
+ else if (node === PREAMBLE_CONTRIBUTION_HTML)
19548
+ releaseSingletonInstance(
19549
+ parentInstance.ownerDocument.documentElement
19550
+ );
19551
+ else if (node === PREAMBLE_CONTRIBUTION_HEAD) {
19552
+ node = parentInstance.ownerDocument.head;
19553
+ releaseSingletonInstance(node);
19554
+ for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
19555
+ var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
19556
+ nodeName = node$jscomp$0.nodeName;
19557
+ node$jscomp$0[internalHoistableMarker] ||
19558
+ "SCRIPT" === nodeName ||
19559
+ "STYLE" === nodeName ||
19560
+ ("LINK" === nodeName &&
19561
+ "stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
19562
+ node.removeChild(node$jscomp$0);
19563
+ node$jscomp$0 = nextNode$jscomp$0;
19564
+ }
19565
+ } else
19566
+ node === PREAMBLE_CONTRIBUTION_BODY &&
19567
+ releaseSingletonInstance(parentInstance.ownerDocument.body);
19577
19568
  node = nextNode;
19578
19569
  } while (node);
19579
19570
  retryIfBlockedOn(suspenseInstance);
@@ -24502,9 +24493,9 @@
24502
24493
  SUSPENSE_END_DATA = "/$",
24503
24494
  SUSPENSE_PENDING_START_DATA = "$?",
24504
24495
  SUSPENSE_FALLBACK_START_DATA = "$!",
24505
- PREAMBLE_CONTRIBUTION_HTML = 1,
24506
- PREAMBLE_CONTRIBUTION_BODY = 2,
24507
- PREAMBLE_CONTRIBUTION_HEAD = 4,
24496
+ PREAMBLE_CONTRIBUTION_HTML = "html",
24497
+ PREAMBLE_CONTRIBUTION_BODY = "body",
24498
+ PREAMBLE_CONTRIBUTION_HEAD = "head",
24508
24499
  FORM_STATE_IS_MATCHING = "F!",
24509
24500
  FORM_STATE_IS_NOT_MATCHING = "F",
24510
24501
  DOCUMENT_READY_STATE_COMPLETE = "complete",
@@ -24948,11 +24939,11 @@
24948
24939
  };
24949
24940
  (function () {
24950
24941
  var isomorphicReactPackageVersion = React.version;
24951
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
24942
+ if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
24952
24943
  throw Error(
24953
24944
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24954
24945
  (isomorphicReactPackageVersion +
24955
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
24946
+ "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
24956
24947
  );
24957
24948
  })();
24958
24949
  ("function" === typeof Map &&
@@ -24989,10 +24980,10 @@
24989
24980
  !(function () {
24990
24981
  var internals = {
24991
24982
  bundleType: 1,
24992
- version: "19.2.0-canary-3fbfb9ba-20250409",
24983
+ version: "19.2.0-canary-1d6c8168-20250411",
24993
24984
  rendererPackageName: "react-dom",
24994
24985
  currentDispatcherRef: ReactSharedInternals,
24995
- reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
24986
+ reconcilerVersion: "19.2.0-canary-1d6c8168-20250411"
24996
24987
  };
24997
24988
  internals.overrideHookState = overrideHookState;
24998
24989
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25136,7 +25127,7 @@
25136
25127
  listenToAllSupportedEvents(container);
25137
25128
  return new ReactDOMHydrationRoot(initialChildren);
25138
25129
  };
25139
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
25130
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
25140
25131
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25141
25132
  "function" ===
25142
25133
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&