react-dom 19.2.0-canary-3958d5d8-20250807 → 19.2.0-canary-ac7820a9-20250811

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.
@@ -3982,53 +3982,52 @@
3982
3982
  updatedFamilies,
3983
3983
  staleFamilies
3984
3984
  ) {
3985
- var alternate = fiber.alternate,
3986
- child = fiber.child,
3987
- sibling = fiber.sibling,
3988
- tag = fiber.tag,
3989
- type = fiber.type,
3990
- candidateType = null;
3991
- switch (tag) {
3992
- case 0:
3993
- case 15:
3994
- case 1:
3995
- candidateType = type;
3996
- break;
3997
- case 11:
3998
- candidateType = type.render;
3999
- }
4000
- if (null === resolveFamily)
4001
- throw Error("Expected resolveFamily to be set during hot reload.");
4002
- var needsRender = !1;
4003
- type = !1;
4004
- null !== candidateType &&
4005
- ((candidateType = resolveFamily(candidateType)),
4006
- void 0 !== candidateType &&
4007
- (staleFamilies.has(candidateType)
4008
- ? (type = !0)
4009
- : updatedFamilies.has(candidateType) &&
4010
- (1 === tag ? (type = !0) : (needsRender = !0))));
4011
- null !== failedBoundaries &&
4012
- (failedBoundaries.has(fiber) ||
4013
- (null !== alternate && failedBoundaries.has(alternate))) &&
4014
- (type = !0);
4015
- type && (fiber._debugNeedsRemount = !0);
4016
- if (type || needsRender)
4017
- (alternate = enqueueConcurrentRenderForLane(fiber, 2)),
4018
- null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);
4019
- null === child ||
4020
- type ||
4021
- scheduleFibersWithFamiliesRecursively(
4022
- child,
4023
- updatedFamilies,
4024
- staleFamilies
4025
- );
4026
- null !== sibling &&
4027
- scheduleFibersWithFamiliesRecursively(
4028
- sibling,
4029
- updatedFamilies,
4030
- staleFamilies
4031
- );
3985
+ do {
3986
+ var _fiber = fiber,
3987
+ alternate = _fiber.alternate,
3988
+ child = _fiber.child,
3989
+ sibling = _fiber.sibling,
3990
+ tag = _fiber.tag;
3991
+ _fiber = _fiber.type;
3992
+ var candidateType = null;
3993
+ switch (tag) {
3994
+ case 0:
3995
+ case 15:
3996
+ case 1:
3997
+ candidateType = _fiber;
3998
+ break;
3999
+ case 11:
4000
+ candidateType = _fiber.render;
4001
+ }
4002
+ if (null === resolveFamily)
4003
+ throw Error("Expected resolveFamily to be set during hot reload.");
4004
+ var needsRender = !1;
4005
+ _fiber = !1;
4006
+ null !== candidateType &&
4007
+ ((candidateType = resolveFamily(candidateType)),
4008
+ void 0 !== candidateType &&
4009
+ (staleFamilies.has(candidateType)
4010
+ ? (_fiber = !0)
4011
+ : updatedFamilies.has(candidateType) &&
4012
+ (1 === tag ? (_fiber = !0) : (needsRender = !0))));
4013
+ null !== failedBoundaries &&
4014
+ (failedBoundaries.has(fiber) ||
4015
+ (null !== alternate && failedBoundaries.has(alternate))) &&
4016
+ (_fiber = !0);
4017
+ _fiber && (fiber._debugNeedsRemount = !0);
4018
+ if (_fiber || needsRender)
4019
+ (alternate = enqueueConcurrentRenderForLane(fiber, 2)),
4020
+ null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);
4021
+ null === child ||
4022
+ _fiber ||
4023
+ scheduleFibersWithFamiliesRecursively(
4024
+ child,
4025
+ updatedFamilies,
4026
+ staleFamilies
4027
+ );
4028
+ if (null === sibling) break;
4029
+ fiber = sibling;
4030
+ } while (1);
4032
4031
  }
4033
4032
  function FiberNode(tag, pendingProps, key, mode) {
4034
4033
  this.tag = tag;
@@ -5099,6 +5098,24 @@
5099
5098
  )),
5100
5099
  thenable.then(noop$1, noop$1),
5101
5100
  (thenable = index));
5101
+ if (void 0 === thenable._debugInfo) {
5102
+ thenableState = performance.now();
5103
+ trackedThenables = thenable.displayName;
5104
+ var ioInfo = {
5105
+ name:
5106
+ "string" === typeof trackedThenables ? trackedThenables : "Promise",
5107
+ start: thenableState,
5108
+ end: thenableState,
5109
+ value: thenable
5110
+ };
5111
+ thenable._debugInfo = [{ awaited: ioInfo }];
5112
+ "fulfilled" !== thenable.status &&
5113
+ "rejected" !== thenable.status &&
5114
+ ((thenableState = function () {
5115
+ ioInfo.end = performance.now();
5116
+ }),
5117
+ thenable.then(thenableState, thenableState));
5118
+ }
5102
5119
  switch (thenable.status) {
5103
5120
  case "fulfilled":
5104
5121
  return thenable.value;
@@ -8909,6 +8926,14 @@
8909
8926
  ) {
8910
8927
  var nextChildren = nextProps.children,
8911
8928
  prevState = null !== current ? current.memoizedState : null;
8929
+ null === current &&
8930
+ null === workInProgress.stateNode &&
8931
+ (workInProgress.stateNode = {
8932
+ _visibility: OffscreenVisible,
8933
+ _pendingMarkers: null,
8934
+ _retryCache: null,
8935
+ _transitions: null
8936
+ });
8912
8937
  if ("hidden" === nextProps.mode) {
8913
8938
  if (0 !== (workInProgress.flags & 128)) {
8914
8939
  nextProps =
@@ -8965,6 +8990,17 @@
8965
8990
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
8966
8991
  return workInProgress.child;
8967
8992
  }
8993
+ function bailoutOffscreenComponent(current, workInProgress) {
8994
+ (null !== current && 22 === current.tag) ||
8995
+ null !== workInProgress.stateNode ||
8996
+ (workInProgress.stateNode = {
8997
+ _visibility: OffscreenVisible,
8998
+ _pendingMarkers: null,
8999
+ _retryCache: null,
9000
+ _transitions: null
9001
+ });
9002
+ return workInProgress.sibling;
9003
+ }
8968
9004
  function deferHiddenOffscreenComponent(
8969
9005
  current,
8970
9006
  workInProgress,
@@ -9026,6 +9062,135 @@
9026
9062
  workInProgress.memoizedState = null;
9027
9063
  return current;
9028
9064
  }
9065
+ function updateActivityComponent(current, workInProgress, renderLanes) {
9066
+ var nextProps = workInProgress.pendingProps,
9067
+ didSuspend = 0 !== (workInProgress.flags & 128);
9068
+ workInProgress.flags &= -129;
9069
+ if (null === current) {
9070
+ if (isHydrating) {
9071
+ if ("hidden" === nextProps.mode)
9072
+ return (
9073
+ (current = mountActivityChildren(workInProgress, nextProps)),
9074
+ (workInProgress.lanes = 536870912),
9075
+ bailoutOffscreenComponent(null, current)
9076
+ );
9077
+ pushDehydratedActivitySuspenseHandler(workInProgress);
9078
+ if ((current = nextHydratableInstance)) {
9079
+ if (
9080
+ ((renderLanes = canHydrateHydrationBoundary(
9081
+ current,
9082
+ rootOrSingletonContext
9083
+ )),
9084
+ (renderLanes =
9085
+ null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA
9086
+ ? renderLanes
9087
+ : null),
9088
+ null !== renderLanes)
9089
+ ) {
9090
+ var activityState = {
9091
+ dehydrated: renderLanes,
9092
+ treeContext: getSuspendedTreeContext(),
9093
+ retryLane: 536870912,
9094
+ hydrationErrors: null
9095
+ };
9096
+ workInProgress.memoizedState = activityState;
9097
+ activityState = createFiberFromDehydratedFragment(renderLanes);
9098
+ activityState.return = workInProgress;
9099
+ workInProgress.child = activityState;
9100
+ hydrationParentFiber = workInProgress;
9101
+ nextHydratableInstance = null;
9102
+ }
9103
+ } else renderLanes = null;
9104
+ if (null === renderLanes)
9105
+ throw (
9106
+ (warnNonHydratedInstance(workInProgress, current),
9107
+ throwOnHydrationMismatch(workInProgress))
9108
+ );
9109
+ workInProgress.lanes = 536870912;
9110
+ return null;
9111
+ }
9112
+ return mountActivityChildren(workInProgress, nextProps);
9113
+ }
9114
+ activityState = current.memoizedState;
9115
+ if (null !== activityState) {
9116
+ var activityInstance = activityState.dehydrated;
9117
+ pushDehydratedActivitySuspenseHandler(workInProgress);
9118
+ if (didSuspend)
9119
+ if (workInProgress.flags & 256)
9120
+ (workInProgress.flags &= -257),
9121
+ (workInProgress = retryActivityComponentWithoutHydrating(
9122
+ current,
9123
+ workInProgress,
9124
+ renderLanes
9125
+ ));
9126
+ else if (null !== workInProgress.memoizedState)
9127
+ (workInProgress.child = current.child),
9128
+ (workInProgress.flags |= 128),
9129
+ (workInProgress = null);
9130
+ else
9131
+ throw Error(
9132
+ "Client rendering an Activity suspended it again. This is a bug in React."
9133
+ );
9134
+ else if (
9135
+ (warnIfHydrating(),
9136
+ didReceiveUpdate ||
9137
+ propagateParentContextChanges(
9138
+ current,
9139
+ workInProgress,
9140
+ renderLanes,
9141
+ !1
9142
+ ),
9143
+ (didSuspend = 0 !== (renderLanes & current.childLanes)),
9144
+ didReceiveUpdate || didSuspend)
9145
+ ) {
9146
+ nextProps = workInProgressRoot;
9147
+ if (
9148
+ null !== nextProps &&
9149
+ ((activityInstance = getBumpedLaneForHydration(
9150
+ nextProps,
9151
+ renderLanes
9152
+ )),
9153
+ 0 !== activityInstance &&
9154
+ activityInstance !== activityState.retryLane)
9155
+ )
9156
+ throw (
9157
+ ((activityState.retryLane = activityInstance),
9158
+ enqueueConcurrentRenderForLane(current, activityInstance),
9159
+ scheduleUpdateOnFiber(nextProps, current, activityInstance),
9160
+ SelectiveHydrationException)
9161
+ );
9162
+ renderDidSuspendDelayIfPossible();
9163
+ workInProgress = retryActivityComponentWithoutHydrating(
9164
+ current,
9165
+ workInProgress,
9166
+ renderLanes
9167
+ );
9168
+ } else
9169
+ (current = activityState.treeContext),
9170
+ (nextHydratableInstance = getNextHydratable(
9171
+ activityInstance.nextSibling
9172
+ )),
9173
+ (hydrationParentFiber = workInProgress),
9174
+ (isHydrating = !0),
9175
+ (hydrationErrors = null),
9176
+ (didSuspendOrErrorDEV = !1),
9177
+ (hydrationDiffRootDEV = null),
9178
+ (rootOrSingletonContext = !1),
9179
+ null !== current &&
9180
+ restoreSuspendedTreeContext(workInProgress, current),
9181
+ (workInProgress = mountActivityChildren(workInProgress, nextProps)),
9182
+ (workInProgress.flags |= 4096);
9183
+ return workInProgress;
9184
+ }
9185
+ current = createWorkInProgress(current.child, {
9186
+ mode: nextProps.mode,
9187
+ children: nextProps.children
9188
+ });
9189
+ current.ref = workInProgress.ref;
9190
+ workInProgress.child = current;
9191
+ current.return = workInProgress;
9192
+ return current;
9193
+ }
9029
9194
  function markRef(current, workInProgress) {
9030
9195
  var ref = workInProgress.ref;
9031
9196
  if (null === ref)
@@ -9730,24 +9895,24 @@
9730
9895
  return current;
9731
9896
  }
9732
9897
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9733
- var JSCompiler_object_inline_digest_2552;
9734
- var JSCompiler_object_inline_stack_2553 = workInProgress.pendingProps;
9898
+ var JSCompiler_object_inline_digest_2532;
9899
+ var JSCompiler_object_inline_stack_2533 = workInProgress.pendingProps;
9735
9900
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9736
- var JSCompiler_object_inline_message_2551 = !1;
9901
+ var JSCompiler_object_inline_message_2531 = !1;
9737
9902
  var didSuspend = 0 !== (workInProgress.flags & 128);
9738
- (JSCompiler_object_inline_digest_2552 = didSuspend) ||
9739
- (JSCompiler_object_inline_digest_2552 =
9903
+ (JSCompiler_object_inline_digest_2532 = didSuspend) ||
9904
+ (JSCompiler_object_inline_digest_2532 =
9740
9905
  null !== current && null === current.memoizedState
9741
9906
  ? !1
9742
9907
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9743
- JSCompiler_object_inline_digest_2552 &&
9744
- ((JSCompiler_object_inline_message_2551 = !0),
9908
+ JSCompiler_object_inline_digest_2532 &&
9909
+ ((JSCompiler_object_inline_message_2531 = !0),
9745
9910
  (workInProgress.flags &= -129));
9746
- JSCompiler_object_inline_digest_2552 = 0 !== (workInProgress.flags & 32);
9911
+ JSCompiler_object_inline_digest_2532 = 0 !== (workInProgress.flags & 32);
9747
9912
  workInProgress.flags &= -33;
9748
9913
  if (null === current) {
9749
9914
  if (isHydrating) {
9750
- JSCompiler_object_inline_message_2551
9915
+ JSCompiler_object_inline_message_2531
9751
9916
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9752
9917
  : reuseSuspenseHandlerOnStack(workInProgress);
9753
9918
  (current = nextHydratableInstance)
@@ -9760,18 +9925,18 @@
9760
9925
  ? renderLanes
9761
9926
  : null),
9762
9927
  null !== renderLanes &&
9763
- ((JSCompiler_object_inline_digest_2552 = {
9928
+ ((JSCompiler_object_inline_digest_2532 = {
9764
9929
  dehydrated: renderLanes,
9765
9930
  treeContext: getSuspendedTreeContext(),
9766
9931
  retryLane: 536870912,
9767
9932
  hydrationErrors: null
9768
9933
  }),
9769
9934
  (workInProgress.memoizedState =
9770
- JSCompiler_object_inline_digest_2552),
9771
- (JSCompiler_object_inline_digest_2552 =
9935
+ JSCompiler_object_inline_digest_2532),
9936
+ (JSCompiler_object_inline_digest_2532 =
9772
9937
  createFiberFromDehydratedFragment(renderLanes)),
9773
- (JSCompiler_object_inline_digest_2552.return = workInProgress),
9774
- (workInProgress.child = JSCompiler_object_inline_digest_2552),
9938
+ (JSCompiler_object_inline_digest_2532.return = workInProgress),
9939
+ (workInProgress.child = JSCompiler_object_inline_digest_2532),
9775
9940
  (hydrationParentFiber = workInProgress),
9776
9941
  (nextHydratableInstance = null)))
9777
9942
  : (renderLanes = null);
@@ -9785,36 +9950,40 @@
9785
9950
  : (workInProgress.lanes = 536870912);
9786
9951
  return null;
9787
9952
  }
9788
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2553.children;
9789
- JSCompiler_object_inline_stack_2553 =
9790
- JSCompiler_object_inline_stack_2553.fallback;
9791
- if (JSCompiler_object_inline_message_2551) {
9953
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2533.children;
9954
+ JSCompiler_object_inline_stack_2533 =
9955
+ JSCompiler_object_inline_stack_2533.fallback;
9956
+ if (JSCompiler_object_inline_message_2531) {
9792
9957
  reuseSuspenseHandlerOnStack(workInProgress);
9793
9958
  var mode = workInProgress.mode;
9794
9959
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9795
9960
  { mode: "hidden", children: nextPrimaryChildren },
9796
9961
  mode
9797
9962
  );
9798
- JSCompiler_object_inline_stack_2553 = createFiberFromFragment(
9799
- JSCompiler_object_inline_stack_2553,
9963
+ JSCompiler_object_inline_stack_2533 = createFiberFromFragment(
9964
+ JSCompiler_object_inline_stack_2533,
9800
9965
  mode,
9801
9966
  renderLanes,
9802
9967
  null
9803
9968
  );
9804
9969
  nextPrimaryChildren.return = workInProgress;
9805
- JSCompiler_object_inline_stack_2553.return = workInProgress;
9806
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2553;
9970
+ JSCompiler_object_inline_stack_2533.return = workInProgress;
9971
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2533;
9807
9972
  workInProgress.child = nextPrimaryChildren;
9808
- nextPrimaryChildren = workInProgress.child;
9809
- nextPrimaryChildren.memoizedState =
9973
+ JSCompiler_object_inline_stack_2533 = workInProgress.child;
9974
+ JSCompiler_object_inline_stack_2533.memoizedState =
9810
9975
  mountSuspenseOffscreenState(renderLanes);
9811
- nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9812
- current,
9813
- JSCompiler_object_inline_digest_2552,
9814
- renderLanes
9815
- );
9976
+ JSCompiler_object_inline_stack_2533.childLanes =
9977
+ getRemainingWorkInPrimaryTree(
9978
+ current,
9979
+ JSCompiler_object_inline_digest_2532,
9980
+ renderLanes
9981
+ );
9816
9982
  workInProgress.memoizedState = SUSPENDED_MARKER;
9817
- return JSCompiler_object_inline_stack_2553;
9983
+ return bailoutOffscreenComponent(
9984
+ null,
9985
+ JSCompiler_object_inline_stack_2533
9986
+ );
9818
9987
  }
9819
9988
  pushPrimaryTreeSuspenseHandler(workInProgress);
9820
9989
  return mountSuspensePrimaryChildren(
@@ -9824,8 +9993,8 @@
9824
9993
  }
9825
9994
  var prevState = current.memoizedState;
9826
9995
  if (null !== prevState) {
9827
- var JSCompiler_object_inline_componentStack_2554 = prevState.dehydrated;
9828
- if (null !== JSCompiler_object_inline_componentStack_2554) {
9996
+ var JSCompiler_object_inline_componentStack_2534 = prevState.dehydrated;
9997
+ if (null !== JSCompiler_object_inline_componentStack_2534) {
9829
9998
  if (didSuspend)
9830
9999
  workInProgress.flags & 256
9831
10000
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9842,13 +10011,13 @@
9842
10011
  (workInProgress = null))
9843
10012
  : (reuseSuspenseHandlerOnStack(workInProgress),
9844
10013
  (nextPrimaryChildren =
9845
- JSCompiler_object_inline_stack_2553.fallback),
10014
+ JSCompiler_object_inline_stack_2533.fallback),
9846
10015
  (mode = workInProgress.mode),
9847
- (JSCompiler_object_inline_stack_2553 =
10016
+ (JSCompiler_object_inline_stack_2533 =
9848
10017
  mountWorkInProgressOffscreenFiber(
9849
10018
  {
9850
10019
  mode: "visible",
9851
- children: JSCompiler_object_inline_stack_2553.children
10020
+ children: JSCompiler_object_inline_stack_2533.children
9852
10021
  },
9853
10022
  mode
9854
10023
  )),
@@ -9859,71 +10028,74 @@
9859
10028
  null
9860
10029
  )),
9861
10030
  (nextPrimaryChildren.flags |= 2),
9862
- (JSCompiler_object_inline_stack_2553.return = workInProgress),
10031
+ (JSCompiler_object_inline_stack_2533.return = workInProgress),
9863
10032
  (nextPrimaryChildren.return = workInProgress),
9864
- (JSCompiler_object_inline_stack_2553.sibling =
10033
+ (JSCompiler_object_inline_stack_2533.sibling =
9865
10034
  nextPrimaryChildren),
9866
- (workInProgress.child = JSCompiler_object_inline_stack_2553),
10035
+ (workInProgress.child = JSCompiler_object_inline_stack_2533),
9867
10036
  reconcileChildFibers(
9868
10037
  workInProgress,
9869
10038
  current.child,
9870
10039
  null,
9871
10040
  renderLanes
9872
10041
  ),
9873
- (JSCompiler_object_inline_stack_2553 = workInProgress.child),
9874
- (JSCompiler_object_inline_stack_2553.memoizedState =
10042
+ (JSCompiler_object_inline_stack_2533 = workInProgress.child),
10043
+ (JSCompiler_object_inline_stack_2533.memoizedState =
9875
10044
  mountSuspenseOffscreenState(renderLanes)),
9876
- (JSCompiler_object_inline_stack_2553.childLanes =
10045
+ (JSCompiler_object_inline_stack_2533.childLanes =
9877
10046
  getRemainingWorkInPrimaryTree(
9878
10047
  current,
9879
- JSCompiler_object_inline_digest_2552,
10048
+ JSCompiler_object_inline_digest_2532,
9880
10049
  renderLanes
9881
10050
  )),
9882
10051
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9883
- (workInProgress = nextPrimaryChildren));
10052
+ (workInProgress = bailoutOffscreenComponent(
10053
+ null,
10054
+ JSCompiler_object_inline_stack_2533
10055
+ )));
9884
10056
  else if (
9885
10057
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9886
10058
  warnIfHydrating(),
9887
10059
  isSuspenseInstanceFallback(
9888
- JSCompiler_object_inline_componentStack_2554
10060
+ JSCompiler_object_inline_componentStack_2534
9889
10061
  ))
9890
10062
  ) {
9891
- JSCompiler_object_inline_digest_2552 =
9892
- JSCompiler_object_inline_componentStack_2554.nextSibling &&
9893
- JSCompiler_object_inline_componentStack_2554.nextSibling.dataset;
9894
- if (JSCompiler_object_inline_digest_2552) {
9895
- nextPrimaryChildren = JSCompiler_object_inline_digest_2552.dgst;
9896
- var message = JSCompiler_object_inline_digest_2552.msg;
9897
- mode = JSCompiler_object_inline_digest_2552.stck;
9898
- var componentStack = JSCompiler_object_inline_digest_2552.cstck;
10063
+ JSCompiler_object_inline_digest_2532 =
10064
+ JSCompiler_object_inline_componentStack_2534.nextSibling &&
10065
+ JSCompiler_object_inline_componentStack_2534.nextSibling.dataset;
10066
+ if (JSCompiler_object_inline_digest_2532) {
10067
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2532.dgst;
10068
+ var message = JSCompiler_object_inline_digest_2532.msg;
10069
+ mode = JSCompiler_object_inline_digest_2532.stck;
10070
+ var componentStack = JSCompiler_object_inline_digest_2532.cstck;
9899
10071
  }
9900
- JSCompiler_object_inline_message_2551 = message;
9901
- JSCompiler_object_inline_digest_2552 = nextPrimaryChildren;
9902
- JSCompiler_object_inline_stack_2553 = mode;
9903
- JSCompiler_object_inline_componentStack_2554 = componentStack;
9904
- nextPrimaryChildren = JSCompiler_object_inline_message_2551;
9905
- mode = JSCompiler_object_inline_componentStack_2554;
10072
+ JSCompiler_object_inline_message_2531 = message;
10073
+ JSCompiler_object_inline_digest_2532 = nextPrimaryChildren;
10074
+ JSCompiler_object_inline_stack_2533 = mode;
10075
+ JSCompiler_object_inline_componentStack_2534 = componentStack;
10076
+ nextPrimaryChildren = JSCompiler_object_inline_message_2531;
10077
+ mode = JSCompiler_object_inline_componentStack_2534;
9906
10078
  nextPrimaryChildren = nextPrimaryChildren
9907
10079
  ? Error(nextPrimaryChildren)
9908
10080
  : Error(
9909
10081
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9910
10082
  );
9911
10083
  nextPrimaryChildren.stack =
9912
- JSCompiler_object_inline_stack_2553 || "";
9913
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2552;
9914
- JSCompiler_object_inline_digest_2552 =
10084
+ JSCompiler_object_inline_stack_2533 || "";
10085
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2532;
10086
+ JSCompiler_object_inline_digest_2532 =
9915
10087
  void 0 === mode ? null : mode;
9916
- JSCompiler_object_inline_stack_2553 = {
10088
+ JSCompiler_object_inline_stack_2533 = {
9917
10089
  value: nextPrimaryChildren,
9918
10090
  source: null,
9919
- stack: JSCompiler_object_inline_digest_2552
10091
+ stack: JSCompiler_object_inline_digest_2532
9920
10092
  };
9921
- "string" === typeof JSCompiler_object_inline_digest_2552 &&
10093
+ "string" === typeof JSCompiler_object_inline_digest_2532 &&
9922
10094
  CapturedStacks.set(
9923
10095
  nextPrimaryChildren,
9924
- JSCompiler_object_inline_stack_2553
10096
+ JSCompiler_object_inline_stack_2533
9925
10097
  );
9926
- queueHydrationError(JSCompiler_object_inline_stack_2553);
10098
+ queueHydrationError(JSCompiler_object_inline_stack_2533);
9927
10099
  workInProgress = retrySuspenseComponentWithoutHydrating(
9928
10100
  current,
9929
10101
  workInProgress,
@@ -9937,35 +10109,35 @@
9937
10109
  renderLanes,
9938
10110
  !1
9939
10111
  ),
9940
- (JSCompiler_object_inline_digest_2552 =
10112
+ (JSCompiler_object_inline_digest_2532 =
9941
10113
  0 !== (renderLanes & current.childLanes)),
9942
- didReceiveUpdate || JSCompiler_object_inline_digest_2552)
10114
+ didReceiveUpdate || JSCompiler_object_inline_digest_2532)
9943
10115
  ) {
9944
- JSCompiler_object_inline_digest_2552 = workInProgressRoot;
10116
+ JSCompiler_object_inline_digest_2532 = workInProgressRoot;
9945
10117
  if (
9946
- null !== JSCompiler_object_inline_digest_2552 &&
9947
- ((JSCompiler_object_inline_stack_2553 = getBumpedLaneForHydration(
9948
- JSCompiler_object_inline_digest_2552,
10118
+ null !== JSCompiler_object_inline_digest_2532 &&
10119
+ ((JSCompiler_object_inline_stack_2533 = getBumpedLaneForHydration(
10120
+ JSCompiler_object_inline_digest_2532,
9949
10121
  renderLanes
9950
10122
  )),
9951
- 0 !== JSCompiler_object_inline_stack_2553 &&
9952
- JSCompiler_object_inline_stack_2553 !== prevState.retryLane)
10123
+ 0 !== JSCompiler_object_inline_stack_2533 &&
10124
+ JSCompiler_object_inline_stack_2533 !== prevState.retryLane)
9953
10125
  )
9954
10126
  throw (
9955
- ((prevState.retryLane = JSCompiler_object_inline_stack_2553),
10127
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2533),
9956
10128
  enqueueConcurrentRenderForLane(
9957
10129
  current,
9958
- JSCompiler_object_inline_stack_2553
10130
+ JSCompiler_object_inline_stack_2533
9959
10131
  ),
9960
10132
  scheduleUpdateOnFiber(
9961
- JSCompiler_object_inline_digest_2552,
10133
+ JSCompiler_object_inline_digest_2532,
9962
10134
  current,
9963
- JSCompiler_object_inline_stack_2553
10135
+ JSCompiler_object_inline_stack_2533
9964
10136
  ),
9965
10137
  SelectiveHydrationException)
9966
10138
  );
9967
10139
  isSuspenseInstancePending(
9968
- JSCompiler_object_inline_componentStack_2554
10140
+ JSCompiler_object_inline_componentStack_2534
9969
10141
  ) || renderDidSuspendDelayIfPossible();
9970
10142
  workInProgress = retrySuspenseComponentWithoutHydrating(
9971
10143
  current,
@@ -9974,14 +10146,14 @@
9974
10146
  );
9975
10147
  } else
9976
10148
  isSuspenseInstancePending(
9977
- JSCompiler_object_inline_componentStack_2554
10149
+ JSCompiler_object_inline_componentStack_2534
9978
10150
  )
9979
10151
  ? ((workInProgress.flags |= 192),
9980
10152
  (workInProgress.child = current.child),
9981
10153
  (workInProgress = null))
9982
10154
  : ((current = prevState.treeContext),
9983
10155
  (nextHydratableInstance = getNextHydratable(
9984
- JSCompiler_object_inline_componentStack_2554.nextSibling
10156
+ JSCompiler_object_inline_componentStack_2534.nextSibling
9985
10157
  )),
9986
10158
  (hydrationParentFiber = workInProgress),
9987
10159
  (isHydrating = !0),
@@ -9993,32 +10165,32 @@
9993
10165
  restoreSuspendedTreeContext(workInProgress, current),
9994
10166
  (workInProgress = mountSuspensePrimaryChildren(
9995
10167
  workInProgress,
9996
- JSCompiler_object_inline_stack_2553.children
10168
+ JSCompiler_object_inline_stack_2533.children
9997
10169
  )),
9998
10170
  (workInProgress.flags |= 4096));
9999
10171
  return workInProgress;
10000
10172
  }
10001
10173
  }
10002
- if (JSCompiler_object_inline_message_2551)
10174
+ if (JSCompiler_object_inline_message_2531)
10003
10175
  return (
10004
10176
  reuseSuspenseHandlerOnStack(workInProgress),
10005
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2553.fallback),
10177
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2533.fallback),
10006
10178
  (mode = workInProgress.mode),
10007
10179
  (componentStack = current.child),
10008
- (JSCompiler_object_inline_componentStack_2554 =
10180
+ (JSCompiler_object_inline_componentStack_2534 =
10009
10181
  componentStack.sibling),
10010
- (JSCompiler_object_inline_stack_2553 = createWorkInProgress(
10182
+ (JSCompiler_object_inline_stack_2533 = createWorkInProgress(
10011
10183
  componentStack,
10012
10184
  {
10013
10185
  mode: "hidden",
10014
- children: JSCompiler_object_inline_stack_2553.children
10186
+ children: JSCompiler_object_inline_stack_2533.children
10015
10187
  }
10016
10188
  )),
10017
- (JSCompiler_object_inline_stack_2553.subtreeFlags =
10189
+ (JSCompiler_object_inline_stack_2533.subtreeFlags =
10018
10190
  componentStack.subtreeFlags & 65011712),
10019
- null !== JSCompiler_object_inline_componentStack_2554
10191
+ null !== JSCompiler_object_inline_componentStack_2534
10020
10192
  ? (nextPrimaryChildren = createWorkInProgress(
10021
- JSCompiler_object_inline_componentStack_2554,
10193
+ JSCompiler_object_inline_componentStack_2534,
10022
10194
  nextPrimaryChildren
10023
10195
  ))
10024
10196
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10029,55 +10201,55 @@
10029
10201
  )),
10030
10202
  (nextPrimaryChildren.flags |= 2)),
10031
10203
  (nextPrimaryChildren.return = workInProgress),
10032
- (JSCompiler_object_inline_stack_2553.return = workInProgress),
10033
- (JSCompiler_object_inline_stack_2553.sibling = nextPrimaryChildren),
10034
- (workInProgress.child = JSCompiler_object_inline_stack_2553),
10035
- (JSCompiler_object_inline_stack_2553 = nextPrimaryChildren),
10036
- (nextPrimaryChildren = workInProgress.child),
10037
- (mode = current.child.memoizedState),
10038
- null === mode
10039
- ? (mode = mountSuspenseOffscreenState(renderLanes))
10040
- : ((componentStack = mode.cachePool),
10041
- null !== componentStack
10042
- ? ((JSCompiler_object_inline_componentStack_2554 =
10043
- CacheContext._currentValue),
10044
- (componentStack =
10045
- componentStack.parent !==
10046
- JSCompiler_object_inline_componentStack_2554
10047
- ? {
10048
- parent: JSCompiler_object_inline_componentStack_2554,
10049
- pool: JSCompiler_object_inline_componentStack_2554
10050
- }
10051
- : componentStack))
10052
- : (componentStack = getSuspendedCache()),
10053
- (mode = {
10054
- baseLanes: mode.baseLanes | renderLanes,
10055
- cachePool: componentStack
10204
+ (JSCompiler_object_inline_stack_2533.return = workInProgress),
10205
+ (JSCompiler_object_inline_stack_2533.sibling = nextPrimaryChildren),
10206
+ (workInProgress.child = JSCompiler_object_inline_stack_2533),
10207
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2533),
10208
+ (JSCompiler_object_inline_stack_2533 = workInProgress.child),
10209
+ (nextPrimaryChildren = current.child.memoizedState),
10210
+ null === nextPrimaryChildren
10211
+ ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
10212
+ : ((mode = nextPrimaryChildren.cachePool),
10213
+ null !== mode
10214
+ ? ((componentStack = CacheContext._currentValue),
10215
+ (mode =
10216
+ mode.parent !== componentStack
10217
+ ? { parent: componentStack, pool: componentStack }
10218
+ : mode))
10219
+ : (mode = getSuspendedCache()),
10220
+ (nextPrimaryChildren = {
10221
+ baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
10222
+ cachePool: mode
10056
10223
  })),
10057
- (nextPrimaryChildren.memoizedState = mode),
10058
- (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10059
- current,
10060
- JSCompiler_object_inline_digest_2552,
10061
- renderLanes
10062
- )),
10224
+ (JSCompiler_object_inline_stack_2533.memoizedState =
10225
+ nextPrimaryChildren),
10226
+ (JSCompiler_object_inline_stack_2533.childLanes =
10227
+ getRemainingWorkInPrimaryTree(
10228
+ current,
10229
+ JSCompiler_object_inline_digest_2532,
10230
+ renderLanes
10231
+ )),
10063
10232
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10064
- JSCompiler_object_inline_stack_2553
10233
+ bailoutOffscreenComponent(
10234
+ current.child,
10235
+ JSCompiler_object_inline_stack_2533
10236
+ )
10065
10237
  );
10066
10238
  pushPrimaryTreeSuspenseHandler(workInProgress);
10067
10239
  renderLanes = current.child;
10068
10240
  current = renderLanes.sibling;
10069
10241
  renderLanes = createWorkInProgress(renderLanes, {
10070
10242
  mode: "visible",
10071
- children: JSCompiler_object_inline_stack_2553.children
10243
+ children: JSCompiler_object_inline_stack_2533.children
10072
10244
  });
10073
10245
  renderLanes.return = workInProgress;
10074
10246
  renderLanes.sibling = null;
10075
10247
  null !== current &&
10076
- ((JSCompiler_object_inline_digest_2552 = workInProgress.deletions),
10077
- null === JSCompiler_object_inline_digest_2552
10248
+ ((JSCompiler_object_inline_digest_2532 = workInProgress.deletions),
10249
+ null === JSCompiler_object_inline_digest_2532
10078
10250
  ? ((workInProgress.deletions = [current]),
10079
10251
  (workInProgress.flags |= 16))
10080
- : JSCompiler_object_inline_digest_2552.push(current));
10252
+ : JSCompiler_object_inline_digest_2532.push(current));
10081
10253
  workInProgress.child = renderLanes;
10082
10254
  workInProgress.memoizedState = null;
10083
10255
  return renderLanes;
@@ -10093,12 +10265,6 @@
10093
10265
  function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {
10094
10266
  offscreenProps = createFiber(22, offscreenProps, null, mode);
10095
10267
  offscreenProps.lanes = 0;
10096
- offscreenProps.stateNode = {
10097
- _visibility: OffscreenVisible,
10098
- _pendingMarkers: null,
10099
- _retryCache: null,
10100
- _transitions: null
10101
- };
10102
10268
  return offscreenProps;
10103
10269
  }
10104
10270
  function retrySuspenseComponentWithoutHydrating(
@@ -11138,136 +11304,7 @@
11138
11304
  renderLanes
11139
11305
  );
11140
11306
  case 31:
11141
- prevSibling = workInProgress.pendingProps;
11142
- nextState = 0 !== (workInProgress.flags & 128);
11143
- workInProgress.flags &= -129;
11144
- if (null === current)
11145
- if (isHydrating) {
11146
- if ("hidden" === prevSibling.mode)
11147
- mountActivityChildren(workInProgress, prevSibling);
11148
- else if (
11149
- (pushDehydratedActivitySuspenseHandler(workInProgress),
11150
- (renderLanes = nextHydratableInstance)
11151
- ? ((current = canHydrateHydrationBoundary(
11152
- renderLanes,
11153
- rootOrSingletonContext
11154
- )),
11155
- (current =
11156
- null !== current && current.data === ACTIVITY_START_DATA
11157
- ? current
11158
- : null),
11159
- null !== current &&
11160
- ((returnFiber = {
11161
- dehydrated: current,
11162
- treeContext: getSuspendedTreeContext(),
11163
- retryLane: 536870912,
11164
- hydrationErrors: null
11165
- }),
11166
- (workInProgress.memoizedState = returnFiber),
11167
- (returnFiber =
11168
- createFiberFromDehydratedFragment(current)),
11169
- (returnFiber.return = workInProgress),
11170
- (workInProgress.child = returnFiber),
11171
- (hydrationParentFiber = workInProgress),
11172
- (nextHydratableInstance = null)))
11173
- : (current = null),
11174
- null === current)
11175
- )
11176
- throw (
11177
- (warnNonHydratedInstance(workInProgress, renderLanes),
11178
- throwOnHydrationMismatch(workInProgress))
11179
- );
11180
- workInProgress.lanes = 536870912;
11181
- workInProgress = null;
11182
- } else
11183
- workInProgress = mountActivityChildren(
11184
- workInProgress,
11185
- prevSibling
11186
- );
11187
- else if (
11188
- ((returnFiber = current.memoizedState), null !== returnFiber)
11189
- )
11190
- if (
11191
- ((prevState = returnFiber.dehydrated),
11192
- pushDehydratedActivitySuspenseHandler(workInProgress),
11193
- nextState)
11194
- )
11195
- if (workInProgress.flags & 256)
11196
- (workInProgress.flags &= -257),
11197
- (workInProgress = retryActivityComponentWithoutHydrating(
11198
- current,
11199
- workInProgress,
11200
- renderLanes
11201
- ));
11202
- else if (null !== workInProgress.memoizedState)
11203
- (workInProgress.child = current.child),
11204
- (workInProgress.flags |= 128),
11205
- (workInProgress = null);
11206
- else
11207
- throw Error(
11208
- "Client rendering an Activity suspended it again. This is a bug in React."
11209
- );
11210
- else if (
11211
- (warnIfHydrating(),
11212
- didReceiveUpdate ||
11213
- propagateParentContextChanges(
11214
- current,
11215
- workInProgress,
11216
- renderLanes,
11217
- !1
11218
- ),
11219
- (nextState = 0 !== (renderLanes & current.childLanes)),
11220
- didReceiveUpdate || nextState)
11221
- ) {
11222
- prevSibling = workInProgressRoot;
11223
- if (
11224
- null !== prevSibling &&
11225
- ((prevState = getBumpedLaneForHydration(
11226
- prevSibling,
11227
- renderLanes
11228
- )),
11229
- 0 !== prevState && prevState !== returnFiber.retryLane)
11230
- )
11231
- throw (
11232
- ((returnFiber.retryLane = prevState),
11233
- enqueueConcurrentRenderForLane(current, prevState),
11234
- scheduleUpdateOnFiber(prevSibling, current, prevState),
11235
- SelectiveHydrationException)
11236
- );
11237
- renderDidSuspendDelayIfPossible();
11238
- workInProgress = retryActivityComponentWithoutHydrating(
11239
- current,
11240
- workInProgress,
11241
- renderLanes
11242
- );
11243
- } else
11244
- (renderLanes = returnFiber.treeContext),
11245
- (nextHydratableInstance = getNextHydratable(
11246
- prevState.nextSibling
11247
- )),
11248
- (hydrationParentFiber = workInProgress),
11249
- (isHydrating = !0),
11250
- (hydrationErrors = null),
11251
- (didSuspendOrErrorDEV = !1),
11252
- (hydrationDiffRootDEV = null),
11253
- (rootOrSingletonContext = !1),
11254
- null !== renderLanes &&
11255
- restoreSuspendedTreeContext(workInProgress, renderLanes),
11256
- (workInProgress = mountActivityChildren(
11257
- workInProgress,
11258
- prevSibling
11259
- )),
11260
- (workInProgress.flags |= 4096);
11261
- else
11262
- (renderLanes = createWorkInProgress(current.child, {
11263
- mode: prevSibling.mode,
11264
- children: prevSibling.children
11265
- })),
11266
- (renderLanes.ref = workInProgress.ref),
11267
- (workInProgress.child = renderLanes),
11268
- (renderLanes.return = workInProgress),
11269
- (workInProgress = renderLanes);
11270
- return workInProgress;
11307
+ return updateActivityComponent(current, workInProgress, renderLanes);
11271
11308
  case 22:
11272
11309
  return updateOffscreenComponent(
11273
11310
  current,
@@ -25519,11 +25556,11 @@
25519
25556
  };
25520
25557
  (function () {
25521
25558
  var isomorphicReactPackageVersion = React.version;
25522
- if ("19.2.0-canary-3958d5d8-20250807" !== isomorphicReactPackageVersion)
25559
+ if ("19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion)
25523
25560
  throw Error(
25524
25561
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25525
25562
  (isomorphicReactPackageVersion +
25526
- "\n - react-dom: 19.2.0-canary-3958d5d8-20250807\nLearn more: https://react.dev/warnings/version-mismatch")
25563
+ "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch")
25527
25564
  );
25528
25565
  })();
25529
25566
  ("function" === typeof Map &&
@@ -25560,10 +25597,10 @@
25560
25597
  !(function () {
25561
25598
  var internals = {
25562
25599
  bundleType: 1,
25563
- version: "19.2.0-canary-3958d5d8-20250807",
25600
+ version: "19.2.0-canary-ac7820a9-20250811",
25564
25601
  rendererPackageName: "react-dom",
25565
25602
  currentDispatcherRef: ReactSharedInternals,
25566
- reconcilerVersion: "19.2.0-canary-3958d5d8-20250807"
25603
+ reconcilerVersion: "19.2.0-canary-ac7820a9-20250811"
25567
25604
  };
25568
25605
  internals.overrideHookState = overrideHookState;
25569
25606
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25701,7 +25738,7 @@
25701
25738
  listenToAllSupportedEvents(container);
25702
25739
  return new ReactDOMHydrationRoot(initialChildren);
25703
25740
  };
25704
- exports.version = "19.2.0-canary-3958d5d8-20250807";
25741
+ exports.version = "19.2.0-canary-ac7820a9-20250811";
25705
25742
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25706
25743
  "function" ===
25707
25744
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&