react-dom 19.2.0-canary-b9cfa0d3-20250505 → 19.2.0-canary-7a2c7045-20250506

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.
@@ -1576,14 +1576,11 @@
1576
1576
  ("checkbox" === type || "radio" === type)
1577
1577
  );
1578
1578
  }
1579
- function trackValueOnNode(node) {
1580
- var valueField = isCheckable(node) ? "checked" : "value",
1581
- descriptor = Object.getOwnPropertyDescriptor(
1582
- node.constructor.prototype,
1583
- valueField
1584
- );
1585
- checkFormFieldValueStringCoercion(node[valueField]);
1586
- var currentValue = "" + node[valueField];
1579
+ function trackValueOnNode(node, valueField, currentValue) {
1580
+ var descriptor = Object.getOwnPropertyDescriptor(
1581
+ node.constructor.prototype,
1582
+ valueField
1583
+ );
1587
1584
  if (
1588
1585
  !node.hasOwnProperty(valueField) &&
1589
1586
  "undefined" !== typeof descriptor &&
@@ -1622,7 +1619,14 @@
1622
1619
  }
1623
1620
  }
1624
1621
  function track(node) {
1625
- node._valueTracker || (node._valueTracker = trackValueOnNode(node));
1622
+ if (!node._valueTracker) {
1623
+ var valueField = isCheckable(node) ? "checked" : "value";
1624
+ node._valueTracker = trackValueOnNode(
1625
+ node,
1626
+ valueField,
1627
+ "" + node[valueField]
1628
+ );
1629
+ }
1626
1630
  }
1627
1631
  function updateValueIfChanged(node) {
1628
1632
  if (!node) return !1;
@@ -1745,8 +1749,10 @@
1745
1749
  ("submit" !== type && "reset" !== type) ||
1746
1750
  (void 0 !== value && null !== value)
1747
1751
  )
1748
- )
1752
+ ) {
1753
+ track(element);
1749
1754
  return;
1755
+ }
1750
1756
  defaultValue =
1751
1757
  null != defaultValue ? "" + getToStringValue(defaultValue) : "";
1752
1758
  value = null != value ? "" + getToStringValue(value) : defaultValue;
@@ -1765,6 +1771,7 @@
1765
1771
  "symbol" !== typeof name &&
1766
1772
  "boolean" !== typeof name &&
1767
1773
  (checkAttributeStringCoercion(name, "name"), (element.name = name));
1774
+ track(element);
1768
1775
  }
1769
1776
  function setDefaultValue(node, type, value) {
1770
1777
  ("number" === type && getActiveElement(node.ownerDocument) === node) ||
@@ -1908,6 +1915,7 @@
1908
1915
  "" !== children &&
1909
1916
  null !== children &&
1910
1917
  (element.value = children);
1918
+ track(element);
1911
1919
  }
1912
1920
  function findNotableNode(node, indent) {
1913
1921
  return void 0 === node.serverProps &&
@@ -3785,24 +3793,6 @@
3785
3793
  topLevelEventsToReactNames.set(domEventName, reactName);
3786
3794
  registerTwoPhaseEvent(reactName, [domEventName]);
3787
3795
  }
3788
- function createCapturedValueAtFiber(value, source) {
3789
- if ("object" === typeof value && null !== value) {
3790
- var existing = CapturedStacks.get(value);
3791
- if (void 0 !== existing) return existing;
3792
- source = {
3793
- value: value,
3794
- source: source,
3795
- stack: getStackByFiberInDevAndProd(source)
3796
- };
3797
- CapturedStacks.set(value, source);
3798
- return source;
3799
- }
3800
- return {
3801
- value: value,
3802
- source: source,
3803
- stack: getStackByFiberInDevAndProd(source)
3804
- };
3805
- }
3806
3796
  function finishQueueingConcurrentUpdates() {
3807
3797
  for (
3808
3798
  var endIndex = concurrentQueuesIndex,
@@ -4336,6 +4326,24 @@
4336
4326
  };
4337
4327
  return mode;
4338
4328
  }
4329
+ function createCapturedValueAtFiber(value, source) {
4330
+ if ("object" === typeof value && null !== value) {
4331
+ var existing = CapturedStacks.get(value);
4332
+ if (void 0 !== existing) return existing;
4333
+ source = {
4334
+ value: value,
4335
+ source: source,
4336
+ stack: getStackByFiberInDevAndProd(source)
4337
+ };
4338
+ CapturedStacks.set(value, source);
4339
+ return source;
4340
+ }
4341
+ return {
4342
+ value: value,
4343
+ source: source,
4344
+ stack: getStackByFiberInDevAndProd(source)
4345
+ };
4346
+ }
4339
4347
  function pushTreeFork(workInProgress, totalChildren) {
4340
4348
  warnIfNotHydrating();
4341
4349
  forkStack[forkStackIndex++] = treeForkCount;
@@ -4537,7 +4545,6 @@
4537
4545
  props.name,
4538
4546
  !0
4539
4547
  );
4540
- track(didHydrate);
4541
4548
  break;
4542
4549
  case "option":
4543
4550
  validateOptionProps(didHydrate, props);
@@ -4556,8 +4563,7 @@
4556
4563
  props.value,
4557
4564
  props.defaultValue,
4558
4565
  props.children
4559
- ),
4560
- track(didHydrate);
4566
+ );
4561
4567
  }
4562
4568
  type = props.children;
4563
4569
  ("string" !== typeof type &&
@@ -9679,24 +9685,24 @@
9679
9685
  return current;
9680
9686
  }
9681
9687
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9682
- var JSCompiler_object_inline_digest_2527;
9683
- var JSCompiler_object_inline_stack_2528 = workInProgress.pendingProps;
9688
+ var JSCompiler_object_inline_digest_2539;
9689
+ var JSCompiler_object_inline_stack_2540 = workInProgress.pendingProps;
9684
9690
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9685
- var JSCompiler_object_inline_message_2526 = !1;
9691
+ var JSCompiler_object_inline_message_2538 = !1;
9686
9692
  var didSuspend = 0 !== (workInProgress.flags & 128);
9687
- (JSCompiler_object_inline_digest_2527 = didSuspend) ||
9688
- (JSCompiler_object_inline_digest_2527 =
9693
+ (JSCompiler_object_inline_digest_2539 = didSuspend) ||
9694
+ (JSCompiler_object_inline_digest_2539 =
9689
9695
  null !== current && null === current.memoizedState
9690
9696
  ? !1
9691
9697
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9692
- JSCompiler_object_inline_digest_2527 &&
9693
- ((JSCompiler_object_inline_message_2526 = !0),
9698
+ JSCompiler_object_inline_digest_2539 &&
9699
+ ((JSCompiler_object_inline_message_2538 = !0),
9694
9700
  (workInProgress.flags &= -129));
9695
- JSCompiler_object_inline_digest_2527 = 0 !== (workInProgress.flags & 32);
9701
+ JSCompiler_object_inline_digest_2539 = 0 !== (workInProgress.flags & 32);
9696
9702
  workInProgress.flags &= -33;
9697
9703
  if (null === current) {
9698
9704
  if (isHydrating) {
9699
- JSCompiler_object_inline_message_2526
9705
+ JSCompiler_object_inline_message_2538
9700
9706
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9701
9707
  : reuseSuspenseHandlerOnStack(workInProgress);
9702
9708
  (current = nextHydratableInstance)
@@ -9709,18 +9715,18 @@
9709
9715
  ? renderLanes
9710
9716
  : null),
9711
9717
  null !== renderLanes &&
9712
- ((JSCompiler_object_inline_digest_2527 = {
9718
+ ((JSCompiler_object_inline_digest_2539 = {
9713
9719
  dehydrated: renderLanes,
9714
9720
  treeContext: getSuspendedTreeContext(),
9715
9721
  retryLane: 536870912,
9716
9722
  hydrationErrors: null
9717
9723
  }),
9718
9724
  (workInProgress.memoizedState =
9719
- JSCompiler_object_inline_digest_2527),
9720
- (JSCompiler_object_inline_digest_2527 =
9725
+ JSCompiler_object_inline_digest_2539),
9726
+ (JSCompiler_object_inline_digest_2539 =
9721
9727
  createFiberFromDehydratedFragment(renderLanes)),
9722
- (JSCompiler_object_inline_digest_2527.return = workInProgress),
9723
- (workInProgress.child = JSCompiler_object_inline_digest_2527),
9728
+ (JSCompiler_object_inline_digest_2539.return = workInProgress),
9729
+ (workInProgress.child = JSCompiler_object_inline_digest_2539),
9724
9730
  (hydrationParentFiber = workInProgress),
9725
9731
  (nextHydratableInstance = null)))
9726
9732
  : (renderLanes = null);
@@ -9734,36 +9740,36 @@
9734
9740
  : (workInProgress.lanes = 536870912);
9735
9741
  return null;
9736
9742
  }
9737
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2528.children;
9738
- JSCompiler_object_inline_stack_2528 =
9739
- JSCompiler_object_inline_stack_2528.fallback;
9740
- if (JSCompiler_object_inline_message_2526) {
9743
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2540.children;
9744
+ JSCompiler_object_inline_stack_2540 =
9745
+ JSCompiler_object_inline_stack_2540.fallback;
9746
+ if (JSCompiler_object_inline_message_2538) {
9741
9747
  reuseSuspenseHandlerOnStack(workInProgress);
9742
9748
  var mode = workInProgress.mode;
9743
9749
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9744
9750
  { mode: "hidden", children: nextPrimaryChildren },
9745
9751
  mode
9746
9752
  );
9747
- JSCompiler_object_inline_stack_2528 = createFiberFromFragment(
9748
- JSCompiler_object_inline_stack_2528,
9753
+ JSCompiler_object_inline_stack_2540 = createFiberFromFragment(
9754
+ JSCompiler_object_inline_stack_2540,
9749
9755
  mode,
9750
9756
  renderLanes,
9751
9757
  null
9752
9758
  );
9753
9759
  nextPrimaryChildren.return = workInProgress;
9754
- JSCompiler_object_inline_stack_2528.return = workInProgress;
9755
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2528;
9760
+ JSCompiler_object_inline_stack_2540.return = workInProgress;
9761
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2540;
9756
9762
  workInProgress.child = nextPrimaryChildren;
9757
9763
  nextPrimaryChildren = workInProgress.child;
9758
9764
  nextPrimaryChildren.memoizedState =
9759
9765
  mountSuspenseOffscreenState(renderLanes);
9760
9766
  nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9761
9767
  current,
9762
- JSCompiler_object_inline_digest_2527,
9768
+ JSCompiler_object_inline_digest_2539,
9763
9769
  renderLanes
9764
9770
  );
9765
9771
  workInProgress.memoizedState = SUSPENDED_MARKER;
9766
- return JSCompiler_object_inline_stack_2528;
9772
+ return JSCompiler_object_inline_stack_2540;
9767
9773
  }
9768
9774
  pushPrimaryTreeSuspenseHandler(workInProgress);
9769
9775
  return mountSuspensePrimaryChildren(
@@ -9773,8 +9779,8 @@
9773
9779
  }
9774
9780
  var prevState = current.memoizedState;
9775
9781
  if (null !== prevState) {
9776
- var JSCompiler_object_inline_componentStack_2529 = prevState.dehydrated;
9777
- if (null !== JSCompiler_object_inline_componentStack_2529) {
9782
+ var JSCompiler_object_inline_componentStack_2541 = prevState.dehydrated;
9783
+ if (null !== JSCompiler_object_inline_componentStack_2541) {
9778
9784
  if (didSuspend)
9779
9785
  workInProgress.flags & 256
9780
9786
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9791,13 +9797,13 @@
9791
9797
  (workInProgress = null))
9792
9798
  : (reuseSuspenseHandlerOnStack(workInProgress),
9793
9799
  (nextPrimaryChildren =
9794
- JSCompiler_object_inline_stack_2528.fallback),
9800
+ JSCompiler_object_inline_stack_2540.fallback),
9795
9801
  (mode = workInProgress.mode),
9796
- (JSCompiler_object_inline_stack_2528 =
9802
+ (JSCompiler_object_inline_stack_2540 =
9797
9803
  mountWorkInProgressOffscreenFiber(
9798
9804
  {
9799
9805
  mode: "visible",
9800
- children: JSCompiler_object_inline_stack_2528.children
9806
+ children: JSCompiler_object_inline_stack_2540.children
9801
9807
  },
9802
9808
  mode
9803
9809
  )),
@@ -9808,24 +9814,24 @@
9808
9814
  null
9809
9815
  )),
9810
9816
  (nextPrimaryChildren.flags |= 2),
9811
- (JSCompiler_object_inline_stack_2528.return = workInProgress),
9817
+ (JSCompiler_object_inline_stack_2540.return = workInProgress),
9812
9818
  (nextPrimaryChildren.return = workInProgress),
9813
- (JSCompiler_object_inline_stack_2528.sibling =
9819
+ (JSCompiler_object_inline_stack_2540.sibling =
9814
9820
  nextPrimaryChildren),
9815
- (workInProgress.child = JSCompiler_object_inline_stack_2528),
9821
+ (workInProgress.child = JSCompiler_object_inline_stack_2540),
9816
9822
  reconcileChildFibers(
9817
9823
  workInProgress,
9818
9824
  current.child,
9819
9825
  null,
9820
9826
  renderLanes
9821
9827
  ),
9822
- (JSCompiler_object_inline_stack_2528 = workInProgress.child),
9823
- (JSCompiler_object_inline_stack_2528.memoizedState =
9828
+ (JSCompiler_object_inline_stack_2540 = workInProgress.child),
9829
+ (JSCompiler_object_inline_stack_2540.memoizedState =
9824
9830
  mountSuspenseOffscreenState(renderLanes)),
9825
- (JSCompiler_object_inline_stack_2528.childLanes =
9831
+ (JSCompiler_object_inline_stack_2540.childLanes =
9826
9832
  getRemainingWorkInPrimaryTree(
9827
9833
  current,
9828
- JSCompiler_object_inline_digest_2527,
9834
+ JSCompiler_object_inline_digest_2539,
9829
9835
  renderLanes
9830
9836
  )),
9831
9837
  (workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -9834,45 +9840,45 @@
9834
9840
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9835
9841
  warnIfHydrating(),
9836
9842
  isSuspenseInstanceFallback(
9837
- JSCompiler_object_inline_componentStack_2529
9843
+ JSCompiler_object_inline_componentStack_2541
9838
9844
  ))
9839
9845
  ) {
9840
- JSCompiler_object_inline_digest_2527 =
9841
- JSCompiler_object_inline_componentStack_2529.nextSibling &&
9842
- JSCompiler_object_inline_componentStack_2529.nextSibling.dataset;
9843
- if (JSCompiler_object_inline_digest_2527) {
9844
- nextPrimaryChildren = JSCompiler_object_inline_digest_2527.dgst;
9845
- var message = JSCompiler_object_inline_digest_2527.msg;
9846
- mode = JSCompiler_object_inline_digest_2527.stck;
9847
- var componentStack = JSCompiler_object_inline_digest_2527.cstck;
9846
+ JSCompiler_object_inline_digest_2539 =
9847
+ JSCompiler_object_inline_componentStack_2541.nextSibling &&
9848
+ JSCompiler_object_inline_componentStack_2541.nextSibling.dataset;
9849
+ if (JSCompiler_object_inline_digest_2539) {
9850
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2539.dgst;
9851
+ var message = JSCompiler_object_inline_digest_2539.msg;
9852
+ mode = JSCompiler_object_inline_digest_2539.stck;
9853
+ var componentStack = JSCompiler_object_inline_digest_2539.cstck;
9848
9854
  }
9849
- JSCompiler_object_inline_message_2526 = message;
9850
- JSCompiler_object_inline_digest_2527 = nextPrimaryChildren;
9851
- JSCompiler_object_inline_stack_2528 = mode;
9852
- JSCompiler_object_inline_componentStack_2529 = componentStack;
9853
- nextPrimaryChildren = JSCompiler_object_inline_message_2526;
9854
- mode = JSCompiler_object_inline_componentStack_2529;
9855
+ JSCompiler_object_inline_message_2538 = message;
9856
+ JSCompiler_object_inline_digest_2539 = nextPrimaryChildren;
9857
+ JSCompiler_object_inline_stack_2540 = mode;
9858
+ JSCompiler_object_inline_componentStack_2541 = componentStack;
9859
+ nextPrimaryChildren = JSCompiler_object_inline_message_2538;
9860
+ mode = JSCompiler_object_inline_componentStack_2541;
9855
9861
  nextPrimaryChildren = nextPrimaryChildren
9856
9862
  ? Error(nextPrimaryChildren)
9857
9863
  : Error(
9858
9864
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9859
9865
  );
9860
9866
  nextPrimaryChildren.stack =
9861
- JSCompiler_object_inline_stack_2528 || "";
9862
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2527;
9863
- JSCompiler_object_inline_digest_2527 =
9867
+ JSCompiler_object_inline_stack_2540 || "";
9868
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2539;
9869
+ JSCompiler_object_inline_digest_2539 =
9864
9870
  void 0 === mode ? null : mode;
9865
- JSCompiler_object_inline_stack_2528 = {
9871
+ JSCompiler_object_inline_stack_2540 = {
9866
9872
  value: nextPrimaryChildren,
9867
9873
  source: null,
9868
- stack: JSCompiler_object_inline_digest_2527
9874
+ stack: JSCompiler_object_inline_digest_2539
9869
9875
  };
9870
- "string" === typeof JSCompiler_object_inline_digest_2527 &&
9876
+ "string" === typeof JSCompiler_object_inline_digest_2539 &&
9871
9877
  CapturedStacks.set(
9872
9878
  nextPrimaryChildren,
9873
- JSCompiler_object_inline_stack_2528
9879
+ JSCompiler_object_inline_stack_2540
9874
9880
  );
9875
- queueHydrationError(JSCompiler_object_inline_stack_2528);
9881
+ queueHydrationError(JSCompiler_object_inline_stack_2540);
9876
9882
  workInProgress = retrySuspenseComponentWithoutHydrating(
9877
9883
  current,
9878
9884
  workInProgress,
@@ -9886,35 +9892,35 @@
9886
9892
  renderLanes,
9887
9893
  !1
9888
9894
  ),
9889
- (JSCompiler_object_inline_digest_2527 =
9895
+ (JSCompiler_object_inline_digest_2539 =
9890
9896
  0 !== (renderLanes & current.childLanes)),
9891
- didReceiveUpdate || JSCompiler_object_inline_digest_2527)
9897
+ didReceiveUpdate || JSCompiler_object_inline_digest_2539)
9892
9898
  ) {
9893
- JSCompiler_object_inline_digest_2527 = workInProgressRoot;
9899
+ JSCompiler_object_inline_digest_2539 = workInProgressRoot;
9894
9900
  if (
9895
- null !== JSCompiler_object_inline_digest_2527 &&
9896
- ((JSCompiler_object_inline_stack_2528 = getBumpedLaneForHydration(
9897
- JSCompiler_object_inline_digest_2527,
9901
+ null !== JSCompiler_object_inline_digest_2539 &&
9902
+ ((JSCompiler_object_inline_stack_2540 = getBumpedLaneForHydration(
9903
+ JSCompiler_object_inline_digest_2539,
9898
9904
  renderLanes
9899
9905
  )),
9900
- 0 !== JSCompiler_object_inline_stack_2528 &&
9901
- JSCompiler_object_inline_stack_2528 !== prevState.retryLane)
9906
+ 0 !== JSCompiler_object_inline_stack_2540 &&
9907
+ JSCompiler_object_inline_stack_2540 !== prevState.retryLane)
9902
9908
  )
9903
9909
  throw (
9904
- ((prevState.retryLane = JSCompiler_object_inline_stack_2528),
9910
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2540),
9905
9911
  enqueueConcurrentRenderForLane(
9906
9912
  current,
9907
- JSCompiler_object_inline_stack_2528
9913
+ JSCompiler_object_inline_stack_2540
9908
9914
  ),
9909
9915
  scheduleUpdateOnFiber(
9910
- JSCompiler_object_inline_digest_2527,
9916
+ JSCompiler_object_inline_digest_2539,
9911
9917
  current,
9912
- JSCompiler_object_inline_stack_2528
9918
+ JSCompiler_object_inline_stack_2540
9913
9919
  ),
9914
9920
  SelectiveHydrationException)
9915
9921
  );
9916
9922
  isSuspenseInstancePending(
9917
- JSCompiler_object_inline_componentStack_2529
9923
+ JSCompiler_object_inline_componentStack_2541
9918
9924
  ) || renderDidSuspendDelayIfPossible();
9919
9925
  workInProgress = retrySuspenseComponentWithoutHydrating(
9920
9926
  current,
@@ -9923,14 +9929,14 @@
9923
9929
  );
9924
9930
  } else
9925
9931
  isSuspenseInstancePending(
9926
- JSCompiler_object_inline_componentStack_2529
9932
+ JSCompiler_object_inline_componentStack_2541
9927
9933
  )
9928
9934
  ? ((workInProgress.flags |= 192),
9929
9935
  (workInProgress.child = current.child),
9930
9936
  (workInProgress = null))
9931
9937
  : ((current = prevState.treeContext),
9932
9938
  (nextHydratableInstance = getNextHydratable(
9933
- JSCompiler_object_inline_componentStack_2529.nextSibling
9939
+ JSCompiler_object_inline_componentStack_2541.nextSibling
9934
9940
  )),
9935
9941
  (hydrationParentFiber = workInProgress),
9936
9942
  (isHydrating = !0),
@@ -9942,32 +9948,32 @@
9942
9948
  restoreSuspendedTreeContext(workInProgress, current),
9943
9949
  (workInProgress = mountSuspensePrimaryChildren(
9944
9950
  workInProgress,
9945
- JSCompiler_object_inline_stack_2528.children
9951
+ JSCompiler_object_inline_stack_2540.children
9946
9952
  )),
9947
9953
  (workInProgress.flags |= 4096));
9948
9954
  return workInProgress;
9949
9955
  }
9950
9956
  }
9951
- if (JSCompiler_object_inline_message_2526)
9957
+ if (JSCompiler_object_inline_message_2538)
9952
9958
  return (
9953
9959
  reuseSuspenseHandlerOnStack(workInProgress),
9954
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2528.fallback),
9960
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2540.fallback),
9955
9961
  (mode = workInProgress.mode),
9956
9962
  (componentStack = current.child),
9957
- (JSCompiler_object_inline_componentStack_2529 =
9963
+ (JSCompiler_object_inline_componentStack_2541 =
9958
9964
  componentStack.sibling),
9959
- (JSCompiler_object_inline_stack_2528 = createWorkInProgress(
9965
+ (JSCompiler_object_inline_stack_2540 = createWorkInProgress(
9960
9966
  componentStack,
9961
9967
  {
9962
9968
  mode: "hidden",
9963
- children: JSCompiler_object_inline_stack_2528.children
9969
+ children: JSCompiler_object_inline_stack_2540.children
9964
9970
  }
9965
9971
  )),
9966
- (JSCompiler_object_inline_stack_2528.subtreeFlags =
9972
+ (JSCompiler_object_inline_stack_2540.subtreeFlags =
9967
9973
  componentStack.subtreeFlags & 65011712),
9968
- null !== JSCompiler_object_inline_componentStack_2529
9974
+ null !== JSCompiler_object_inline_componentStack_2541
9969
9975
  ? (nextPrimaryChildren = createWorkInProgress(
9970
- JSCompiler_object_inline_componentStack_2529,
9976
+ JSCompiler_object_inline_componentStack_2541,
9971
9977
  nextPrimaryChildren
9972
9978
  ))
9973
9979
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -9978,24 +9984,24 @@
9978
9984
  )),
9979
9985
  (nextPrimaryChildren.flags |= 2)),
9980
9986
  (nextPrimaryChildren.return = workInProgress),
9981
- (JSCompiler_object_inline_stack_2528.return = workInProgress),
9982
- (JSCompiler_object_inline_stack_2528.sibling = nextPrimaryChildren),
9983
- (workInProgress.child = JSCompiler_object_inline_stack_2528),
9984
- (JSCompiler_object_inline_stack_2528 = nextPrimaryChildren),
9987
+ (JSCompiler_object_inline_stack_2540.return = workInProgress),
9988
+ (JSCompiler_object_inline_stack_2540.sibling = nextPrimaryChildren),
9989
+ (workInProgress.child = JSCompiler_object_inline_stack_2540),
9990
+ (JSCompiler_object_inline_stack_2540 = nextPrimaryChildren),
9985
9991
  (nextPrimaryChildren = workInProgress.child),
9986
9992
  (mode = current.child.memoizedState),
9987
9993
  null === mode
9988
9994
  ? (mode = mountSuspenseOffscreenState(renderLanes))
9989
9995
  : ((componentStack = mode.cachePool),
9990
9996
  null !== componentStack
9991
- ? ((JSCompiler_object_inline_componentStack_2529 =
9997
+ ? ((JSCompiler_object_inline_componentStack_2541 =
9992
9998
  CacheContext._currentValue),
9993
9999
  (componentStack =
9994
10000
  componentStack.parent !==
9995
- JSCompiler_object_inline_componentStack_2529
10001
+ JSCompiler_object_inline_componentStack_2541
9996
10002
  ? {
9997
- parent: JSCompiler_object_inline_componentStack_2529,
9998
- pool: JSCompiler_object_inline_componentStack_2529
10003
+ parent: JSCompiler_object_inline_componentStack_2541,
10004
+ pool: JSCompiler_object_inline_componentStack_2541
9999
10005
  }
10000
10006
  : componentStack))
10001
10007
  : (componentStack = getSuspendedCache()),
@@ -10006,27 +10012,27 @@
10006
10012
  (nextPrimaryChildren.memoizedState = mode),
10007
10013
  (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10008
10014
  current,
10009
- JSCompiler_object_inline_digest_2527,
10015
+ JSCompiler_object_inline_digest_2539,
10010
10016
  renderLanes
10011
10017
  )),
10012
10018
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10013
- JSCompiler_object_inline_stack_2528
10019
+ JSCompiler_object_inline_stack_2540
10014
10020
  );
10015
10021
  pushPrimaryTreeSuspenseHandler(workInProgress);
10016
10022
  renderLanes = current.child;
10017
10023
  current = renderLanes.sibling;
10018
10024
  renderLanes = createWorkInProgress(renderLanes, {
10019
10025
  mode: "visible",
10020
- children: JSCompiler_object_inline_stack_2528.children
10026
+ children: JSCompiler_object_inline_stack_2540.children
10021
10027
  });
10022
10028
  renderLanes.return = workInProgress;
10023
10029
  renderLanes.sibling = null;
10024
10030
  null !== current &&
10025
- ((JSCompiler_object_inline_digest_2527 = workInProgress.deletions),
10026
- null === JSCompiler_object_inline_digest_2527
10031
+ ((JSCompiler_object_inline_digest_2539 = workInProgress.deletions),
10032
+ null === JSCompiler_object_inline_digest_2539
10027
10033
  ? ((workInProgress.deletions = [current]),
10028
10034
  (workInProgress.flags |= 16))
10029
- : JSCompiler_object_inline_digest_2527.push(current));
10035
+ : JSCompiler_object_inline_digest_2539.push(current));
10030
10036
  workInProgress.child = renderLanes;
10031
10037
  workInProgress.memoizedState = null;
10032
10038
  return renderLanes;
@@ -13031,7 +13037,29 @@
13031
13037
  case 26:
13032
13038
  case 5:
13033
13039
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
13034
- null === current && flags & 4 && commitHostMount(finishedWork);
13040
+ if (null === current)
13041
+ if (flags & 4) commitHostMount(finishedWork);
13042
+ else if (flags & 64) {
13043
+ finishedRoot = finishedWork.type;
13044
+ current = finishedWork.memoizedProps;
13045
+ prevProps = finishedWork.stateNode;
13046
+ try {
13047
+ runWithFiberInDEV(
13048
+ finishedWork,
13049
+ commitHydratedInstance,
13050
+ prevProps,
13051
+ finishedRoot,
13052
+ current,
13053
+ finishedWork
13054
+ );
13055
+ } catch (error) {
13056
+ captureCommitPhaseError(
13057
+ finishedWork,
13058
+ finishedWork.return,
13059
+ error
13060
+ );
13061
+ }
13062
+ }
13035
13063
  flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
13036
13064
  break;
13037
13065
  case 12:
@@ -18280,7 +18308,6 @@
18280
18308
  hasSrcSet,
18281
18309
  !1
18282
18310
  );
18283
- track(domElement);
18284
18311
  return;
18285
18312
  case "select":
18286
18313
  checkControlledValueProps("select", props);
@@ -18355,7 +18382,6 @@
18355
18382
  }
18356
18383
  validateTextareaProps(domElement, props);
18357
18384
  initTextarea(domElement, hasSrc, hasSrcSet, propKey);
18358
- track(domElement);
18359
18385
  return;
18360
18386
  case "option":
18361
18387
  validateOptionProps(domElement, props);
@@ -19790,6 +19816,7 @@
19790
19816
  : newProps.srcSet && (domElement.srcset = newProps.srcSet);
19791
19817
  }
19792
19818
  }
19819
+ function commitHydratedInstance() {}
19793
19820
  function commitUpdate(domElement, type, oldProps, newProps) {
19794
19821
  updateProperties(domElement, type, oldProps, newProps);
19795
19822
  domElement[internalPropsKey] = newProps;
@@ -23028,8 +23055,22 @@
23028
23055
  " "
23029
23056
  );
23030
23057
  simpleEventPluginEvents.push("scrollEnd");
23031
- var CapturedStacks = new WeakMap(),
23032
- OffscreenVisible = 1,
23058
+ var lastResetTime = 0;
23059
+ if (
23060
+ "object" === typeof performance &&
23061
+ "function" === typeof performance.now
23062
+ ) {
23063
+ var localPerformance = performance;
23064
+ var getCurrentTime = function () {
23065
+ return localPerformance.now();
23066
+ };
23067
+ } else {
23068
+ var localDate = Date;
23069
+ getCurrentTime = function () {
23070
+ return localDate.now();
23071
+ };
23072
+ }
23073
+ var OffscreenVisible = 1,
23033
23074
  OffscreenPassiveEffectsConnected = 2,
23034
23075
  concurrentQueues = [],
23035
23076
  concurrentQueuesIndex = 0,
@@ -23053,7 +23094,8 @@
23053
23094
  } catch (e$3) {
23054
23095
  hasBadMapPolyfill = !0;
23055
23096
  }
23056
- var forkStack = [],
23097
+ var CapturedStacks = new WeakMap(),
23098
+ forkStack = [],
23057
23099
  forkStackIndex = 0,
23058
23100
  treeForkProvider = null,
23059
23101
  treeForkCount = 0,
@@ -23072,22 +23114,7 @@
23072
23114
  HydrationMismatchException = Error(
23073
23115
  "Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
23074
23116
  ),
23075
- lastResetTime = 0;
23076
- if (
23077
- "object" === typeof performance &&
23078
- "function" === typeof performance.now
23079
- ) {
23080
- var localPerformance = performance;
23081
- var getCurrentTime = function () {
23082
- return localPerformance.now();
23083
- };
23084
- } else {
23085
- var localDate = Date;
23086
- getCurrentTime = function () {
23087
- return localDate.now();
23088
- };
23089
- }
23090
- var valueCursor = createCursor(null);
23117
+ valueCursor = createCursor(null);
23091
23118
  var rendererCursorDEV = createCursor(null);
23092
23119
  var rendererSigil = {};
23093
23120
  var currentlyRenderingFiber$1 = null,
@@ -25343,11 +25370,11 @@
25343
25370
  };
25344
25371
  (function () {
25345
25372
  var isomorphicReactPackageVersion = React.version;
25346
- if ("19.2.0-canary-b9cfa0d3-20250505" !== isomorphicReactPackageVersion)
25373
+ if ("19.2.0-canary-7a2c7045-20250506" !== isomorphicReactPackageVersion)
25347
25374
  throw Error(
25348
25375
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25349
25376
  (isomorphicReactPackageVersion +
25350
- "\n - react-dom: 19.2.0-canary-b9cfa0d3-20250505\nLearn more: https://react.dev/warnings/version-mismatch")
25377
+ "\n - react-dom: 19.2.0-canary-7a2c7045-20250506\nLearn more: https://react.dev/warnings/version-mismatch")
25351
25378
  );
25352
25379
  })();
25353
25380
  ("function" === typeof Map &&
@@ -25384,10 +25411,10 @@
25384
25411
  !(function () {
25385
25412
  var internals = {
25386
25413
  bundleType: 1,
25387
- version: "19.2.0-canary-b9cfa0d3-20250505",
25414
+ version: "19.2.0-canary-7a2c7045-20250506",
25388
25415
  rendererPackageName: "react-dom",
25389
25416
  currentDispatcherRef: ReactSharedInternals,
25390
- reconcilerVersion: "19.2.0-canary-b9cfa0d3-20250505"
25417
+ reconcilerVersion: "19.2.0-canary-7a2c7045-20250506"
25391
25418
  };
25392
25419
  internals.overrideHookState = overrideHookState;
25393
25420
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25531,7 +25558,7 @@
25531
25558
  listenToAllSupportedEvents(container);
25532
25559
  return new ReactDOMHydrationRoot(initialChildren);
25533
25560
  };
25534
- exports.version = "19.2.0-canary-b9cfa0d3-20250505";
25561
+ exports.version = "19.2.0-canary-7a2c7045-20250506";
25535
25562
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25536
25563
  "function" ===
25537
25564
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&