react-dom 19.2.0-canary-f1e70b5e-20250811 → 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.
@@ -8934,6 +8934,14 @@
8934
8934
  ) {
8935
8935
  var nextChildren = nextProps.children,
8936
8936
  prevState = null !== current ? current.memoizedState : null;
8937
+ null === current &&
8938
+ null === workInProgress.stateNode &&
8939
+ (workInProgress.stateNode = {
8940
+ _visibility: OffscreenVisible,
8941
+ _pendingMarkers: null,
8942
+ _retryCache: null,
8943
+ _transitions: null
8944
+ });
8937
8945
  if ("hidden" === nextProps.mode) {
8938
8946
  if (0 !== (workInProgress.flags & 128)) {
8939
8947
  nextProps =
@@ -8990,6 +8998,17 @@
8990
8998
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
8991
8999
  return workInProgress.child;
8992
9000
  }
9001
+ function bailoutOffscreenComponent(current, workInProgress) {
9002
+ (null !== current && 22 === current.tag) ||
9003
+ null !== workInProgress.stateNode ||
9004
+ (workInProgress.stateNode = {
9005
+ _visibility: OffscreenVisible,
9006
+ _pendingMarkers: null,
9007
+ _retryCache: null,
9008
+ _transitions: null
9009
+ });
9010
+ return workInProgress.sibling;
9011
+ }
8993
9012
  function deferHiddenOffscreenComponent(
8994
9013
  current,
8995
9014
  workInProgress,
@@ -9051,6 +9070,135 @@
9051
9070
  workInProgress.memoizedState = null;
9052
9071
  return current;
9053
9072
  }
9073
+ function updateActivityComponent(current, workInProgress, renderLanes) {
9074
+ var nextProps = workInProgress.pendingProps,
9075
+ didSuspend = 0 !== (workInProgress.flags & 128);
9076
+ workInProgress.flags &= -129;
9077
+ if (null === current) {
9078
+ if (isHydrating) {
9079
+ if ("hidden" === nextProps.mode)
9080
+ return (
9081
+ (current = mountActivityChildren(workInProgress, nextProps)),
9082
+ (workInProgress.lanes = 536870912),
9083
+ bailoutOffscreenComponent(null, current)
9084
+ );
9085
+ pushDehydratedActivitySuspenseHandler(workInProgress);
9086
+ if ((current = nextHydratableInstance)) {
9087
+ if (
9088
+ ((renderLanes = canHydrateHydrationBoundary(
9089
+ current,
9090
+ rootOrSingletonContext
9091
+ )),
9092
+ (renderLanes =
9093
+ null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA
9094
+ ? renderLanes
9095
+ : null),
9096
+ null !== renderLanes)
9097
+ ) {
9098
+ var activityState = {
9099
+ dehydrated: renderLanes,
9100
+ treeContext: getSuspendedTreeContext(),
9101
+ retryLane: 536870912,
9102
+ hydrationErrors: null
9103
+ };
9104
+ workInProgress.memoizedState = activityState;
9105
+ activityState = createFiberFromDehydratedFragment(renderLanes);
9106
+ activityState.return = workInProgress;
9107
+ workInProgress.child = activityState;
9108
+ hydrationParentFiber = workInProgress;
9109
+ nextHydratableInstance = null;
9110
+ }
9111
+ } else renderLanes = null;
9112
+ if (null === renderLanes)
9113
+ throw (
9114
+ (warnNonHydratedInstance(workInProgress, current),
9115
+ throwOnHydrationMismatch(workInProgress))
9116
+ );
9117
+ workInProgress.lanes = 536870912;
9118
+ return null;
9119
+ }
9120
+ return mountActivityChildren(workInProgress, nextProps);
9121
+ }
9122
+ activityState = current.memoizedState;
9123
+ if (null !== activityState) {
9124
+ var activityInstance = activityState.dehydrated;
9125
+ pushDehydratedActivitySuspenseHandler(workInProgress);
9126
+ if (didSuspend)
9127
+ if (workInProgress.flags & 256)
9128
+ (workInProgress.flags &= -257),
9129
+ (workInProgress = retryActivityComponentWithoutHydrating(
9130
+ current,
9131
+ workInProgress,
9132
+ renderLanes
9133
+ ));
9134
+ else if (null !== workInProgress.memoizedState)
9135
+ (workInProgress.child = current.child),
9136
+ (workInProgress.flags |= 128),
9137
+ (workInProgress = null);
9138
+ else
9139
+ throw Error(
9140
+ "Client rendering an Activity suspended it again. This is a bug in React."
9141
+ );
9142
+ else if (
9143
+ (warnIfHydrating(),
9144
+ didReceiveUpdate ||
9145
+ propagateParentContextChanges(
9146
+ current,
9147
+ workInProgress,
9148
+ renderLanes,
9149
+ !1
9150
+ ),
9151
+ (didSuspend = 0 !== (renderLanes & current.childLanes)),
9152
+ didReceiveUpdate || didSuspend)
9153
+ ) {
9154
+ nextProps = workInProgressRoot;
9155
+ if (
9156
+ null !== nextProps &&
9157
+ ((activityInstance = getBumpedLaneForHydration(
9158
+ nextProps,
9159
+ renderLanes
9160
+ )),
9161
+ 0 !== activityInstance &&
9162
+ activityInstance !== activityState.retryLane)
9163
+ )
9164
+ throw (
9165
+ ((activityState.retryLane = activityInstance),
9166
+ enqueueConcurrentRenderForLane(current, activityInstance),
9167
+ scheduleUpdateOnFiber(nextProps, current, activityInstance),
9168
+ SelectiveHydrationException)
9169
+ );
9170
+ renderDidSuspendDelayIfPossible();
9171
+ workInProgress = retryActivityComponentWithoutHydrating(
9172
+ current,
9173
+ workInProgress,
9174
+ renderLanes
9175
+ );
9176
+ } else
9177
+ (current = activityState.treeContext),
9178
+ (nextHydratableInstance = getNextHydratable(
9179
+ activityInstance.nextSibling
9180
+ )),
9181
+ (hydrationParentFiber = workInProgress),
9182
+ (isHydrating = !0),
9183
+ (hydrationErrors = null),
9184
+ (didSuspendOrErrorDEV = !1),
9185
+ (hydrationDiffRootDEV = null),
9186
+ (rootOrSingletonContext = !1),
9187
+ null !== current &&
9188
+ restoreSuspendedTreeContext(workInProgress, current),
9189
+ (workInProgress = mountActivityChildren(workInProgress, nextProps)),
9190
+ (workInProgress.flags |= 4096);
9191
+ return workInProgress;
9192
+ }
9193
+ current = createWorkInProgress(current.child, {
9194
+ mode: nextProps.mode,
9195
+ children: nextProps.children
9196
+ });
9197
+ current.ref = workInProgress.ref;
9198
+ workInProgress.child = current;
9199
+ current.return = workInProgress;
9200
+ return current;
9201
+ }
9054
9202
  function markRef(current, workInProgress) {
9055
9203
  var ref = workInProgress.ref;
9056
9204
  if (null === ref)
@@ -9755,24 +9903,24 @@
9755
9903
  return current;
9756
9904
  }
9757
9905
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9758
- var JSCompiler_object_inline_digest_2557;
9759
- var JSCompiler_object_inline_stack_2558 = workInProgress.pendingProps;
9906
+ var JSCompiler_object_inline_digest_2537;
9907
+ var JSCompiler_object_inline_stack_2538 = workInProgress.pendingProps;
9760
9908
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9761
- var JSCompiler_object_inline_message_2556 = !1;
9909
+ var JSCompiler_object_inline_message_2536 = !1;
9762
9910
  var didSuspend = 0 !== (workInProgress.flags & 128);
9763
- (JSCompiler_object_inline_digest_2557 = didSuspend) ||
9764
- (JSCompiler_object_inline_digest_2557 =
9911
+ (JSCompiler_object_inline_digest_2537 = didSuspend) ||
9912
+ (JSCompiler_object_inline_digest_2537 =
9765
9913
  null !== current && null === current.memoizedState
9766
9914
  ? !1
9767
9915
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9768
- JSCompiler_object_inline_digest_2557 &&
9769
- ((JSCompiler_object_inline_message_2556 = !0),
9916
+ JSCompiler_object_inline_digest_2537 &&
9917
+ ((JSCompiler_object_inline_message_2536 = !0),
9770
9918
  (workInProgress.flags &= -129));
9771
- JSCompiler_object_inline_digest_2557 = 0 !== (workInProgress.flags & 32);
9919
+ JSCompiler_object_inline_digest_2537 = 0 !== (workInProgress.flags & 32);
9772
9920
  workInProgress.flags &= -33;
9773
9921
  if (null === current) {
9774
9922
  if (isHydrating) {
9775
- JSCompiler_object_inline_message_2556
9923
+ JSCompiler_object_inline_message_2536
9776
9924
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9777
9925
  : reuseSuspenseHandlerOnStack(workInProgress);
9778
9926
  (current = nextHydratableInstance)
@@ -9785,18 +9933,18 @@
9785
9933
  ? renderLanes
9786
9934
  : null),
9787
9935
  null !== renderLanes &&
9788
- ((JSCompiler_object_inline_digest_2557 = {
9936
+ ((JSCompiler_object_inline_digest_2537 = {
9789
9937
  dehydrated: renderLanes,
9790
9938
  treeContext: getSuspendedTreeContext(),
9791
9939
  retryLane: 536870912,
9792
9940
  hydrationErrors: null
9793
9941
  }),
9794
9942
  (workInProgress.memoizedState =
9795
- JSCompiler_object_inline_digest_2557),
9796
- (JSCompiler_object_inline_digest_2557 =
9943
+ JSCompiler_object_inline_digest_2537),
9944
+ (JSCompiler_object_inline_digest_2537 =
9797
9945
  createFiberFromDehydratedFragment(renderLanes)),
9798
- (JSCompiler_object_inline_digest_2557.return = workInProgress),
9799
- (workInProgress.child = JSCompiler_object_inline_digest_2557),
9946
+ (JSCompiler_object_inline_digest_2537.return = workInProgress),
9947
+ (workInProgress.child = JSCompiler_object_inline_digest_2537),
9800
9948
  (hydrationParentFiber = workInProgress),
9801
9949
  (nextHydratableInstance = null)))
9802
9950
  : (renderLanes = null);
@@ -9810,36 +9958,40 @@
9810
9958
  : (workInProgress.lanes = 536870912);
9811
9959
  return null;
9812
9960
  }
9813
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2558.children;
9814
- JSCompiler_object_inline_stack_2558 =
9815
- JSCompiler_object_inline_stack_2558.fallback;
9816
- if (JSCompiler_object_inline_message_2556) {
9961
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2538.children;
9962
+ JSCompiler_object_inline_stack_2538 =
9963
+ JSCompiler_object_inline_stack_2538.fallback;
9964
+ if (JSCompiler_object_inline_message_2536) {
9817
9965
  reuseSuspenseHandlerOnStack(workInProgress);
9818
9966
  var mode = workInProgress.mode;
9819
9967
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9820
9968
  { mode: "hidden", children: nextPrimaryChildren },
9821
9969
  mode
9822
9970
  );
9823
- JSCompiler_object_inline_stack_2558 = createFiberFromFragment(
9824
- JSCompiler_object_inline_stack_2558,
9971
+ JSCompiler_object_inline_stack_2538 = createFiberFromFragment(
9972
+ JSCompiler_object_inline_stack_2538,
9825
9973
  mode,
9826
9974
  renderLanes,
9827
9975
  null
9828
9976
  );
9829
9977
  nextPrimaryChildren.return = workInProgress;
9830
- JSCompiler_object_inline_stack_2558.return = workInProgress;
9831
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2558;
9978
+ JSCompiler_object_inline_stack_2538.return = workInProgress;
9979
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2538;
9832
9980
  workInProgress.child = nextPrimaryChildren;
9833
- nextPrimaryChildren = workInProgress.child;
9834
- nextPrimaryChildren.memoizedState =
9981
+ JSCompiler_object_inline_stack_2538 = workInProgress.child;
9982
+ JSCompiler_object_inline_stack_2538.memoizedState =
9835
9983
  mountSuspenseOffscreenState(renderLanes);
9836
- nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9837
- current,
9838
- JSCompiler_object_inline_digest_2557,
9839
- renderLanes
9840
- );
9984
+ JSCompiler_object_inline_stack_2538.childLanes =
9985
+ getRemainingWorkInPrimaryTree(
9986
+ current,
9987
+ JSCompiler_object_inline_digest_2537,
9988
+ renderLanes
9989
+ );
9841
9990
  workInProgress.memoizedState = SUSPENDED_MARKER;
9842
- return JSCompiler_object_inline_stack_2558;
9991
+ return bailoutOffscreenComponent(
9992
+ null,
9993
+ JSCompiler_object_inline_stack_2538
9994
+ );
9843
9995
  }
9844
9996
  pushPrimaryTreeSuspenseHandler(workInProgress);
9845
9997
  return mountSuspensePrimaryChildren(
@@ -9849,8 +10001,8 @@
9849
10001
  }
9850
10002
  var prevState = current.memoizedState;
9851
10003
  if (null !== prevState) {
9852
- var JSCompiler_object_inline_componentStack_2559 = prevState.dehydrated;
9853
- if (null !== JSCompiler_object_inline_componentStack_2559) {
10004
+ var JSCompiler_object_inline_componentStack_2539 = prevState.dehydrated;
10005
+ if (null !== JSCompiler_object_inline_componentStack_2539) {
9854
10006
  if (didSuspend)
9855
10007
  workInProgress.flags & 256
9856
10008
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9867,13 +10019,13 @@
9867
10019
  (workInProgress = null))
9868
10020
  : (reuseSuspenseHandlerOnStack(workInProgress),
9869
10021
  (nextPrimaryChildren =
9870
- JSCompiler_object_inline_stack_2558.fallback),
10022
+ JSCompiler_object_inline_stack_2538.fallback),
9871
10023
  (mode = workInProgress.mode),
9872
- (JSCompiler_object_inline_stack_2558 =
10024
+ (JSCompiler_object_inline_stack_2538 =
9873
10025
  mountWorkInProgressOffscreenFiber(
9874
10026
  {
9875
10027
  mode: "visible",
9876
- children: JSCompiler_object_inline_stack_2558.children
10028
+ children: JSCompiler_object_inline_stack_2538.children
9877
10029
  },
9878
10030
  mode
9879
10031
  )),
@@ -9884,71 +10036,74 @@
9884
10036
  null
9885
10037
  )),
9886
10038
  (nextPrimaryChildren.flags |= 2),
9887
- (JSCompiler_object_inline_stack_2558.return = workInProgress),
10039
+ (JSCompiler_object_inline_stack_2538.return = workInProgress),
9888
10040
  (nextPrimaryChildren.return = workInProgress),
9889
- (JSCompiler_object_inline_stack_2558.sibling =
10041
+ (JSCompiler_object_inline_stack_2538.sibling =
9890
10042
  nextPrimaryChildren),
9891
- (workInProgress.child = JSCompiler_object_inline_stack_2558),
10043
+ (workInProgress.child = JSCompiler_object_inline_stack_2538),
9892
10044
  reconcileChildFibers(
9893
10045
  workInProgress,
9894
10046
  current.child,
9895
10047
  null,
9896
10048
  renderLanes
9897
10049
  ),
9898
- (JSCompiler_object_inline_stack_2558 = workInProgress.child),
9899
- (JSCompiler_object_inline_stack_2558.memoizedState =
10050
+ (JSCompiler_object_inline_stack_2538 = workInProgress.child),
10051
+ (JSCompiler_object_inline_stack_2538.memoizedState =
9900
10052
  mountSuspenseOffscreenState(renderLanes)),
9901
- (JSCompiler_object_inline_stack_2558.childLanes =
10053
+ (JSCompiler_object_inline_stack_2538.childLanes =
9902
10054
  getRemainingWorkInPrimaryTree(
9903
10055
  current,
9904
- JSCompiler_object_inline_digest_2557,
10056
+ JSCompiler_object_inline_digest_2537,
9905
10057
  renderLanes
9906
10058
  )),
9907
10059
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9908
- (workInProgress = nextPrimaryChildren));
10060
+ (workInProgress = bailoutOffscreenComponent(
10061
+ null,
10062
+ JSCompiler_object_inline_stack_2538
10063
+ )));
9909
10064
  else if (
9910
10065
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9911
10066
  warnIfHydrating(),
9912
10067
  isSuspenseInstanceFallback(
9913
- JSCompiler_object_inline_componentStack_2559
10068
+ JSCompiler_object_inline_componentStack_2539
9914
10069
  ))
9915
10070
  ) {
9916
- JSCompiler_object_inline_digest_2557 =
9917
- JSCompiler_object_inline_componentStack_2559.nextSibling &&
9918
- JSCompiler_object_inline_componentStack_2559.nextSibling.dataset;
9919
- if (JSCompiler_object_inline_digest_2557) {
9920
- nextPrimaryChildren = JSCompiler_object_inline_digest_2557.dgst;
9921
- var message = JSCompiler_object_inline_digest_2557.msg;
9922
- mode = JSCompiler_object_inline_digest_2557.stck;
9923
- var componentStack = JSCompiler_object_inline_digest_2557.cstck;
10071
+ JSCompiler_object_inline_digest_2537 =
10072
+ JSCompiler_object_inline_componentStack_2539.nextSibling &&
10073
+ JSCompiler_object_inline_componentStack_2539.nextSibling.dataset;
10074
+ if (JSCompiler_object_inline_digest_2537) {
10075
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2537.dgst;
10076
+ var message = JSCompiler_object_inline_digest_2537.msg;
10077
+ mode = JSCompiler_object_inline_digest_2537.stck;
10078
+ var componentStack = JSCompiler_object_inline_digest_2537.cstck;
9924
10079
  }
9925
- JSCompiler_object_inline_message_2556 = message;
9926
- JSCompiler_object_inline_digest_2557 = nextPrimaryChildren;
9927
- JSCompiler_object_inline_stack_2558 = mode;
9928
- JSCompiler_object_inline_componentStack_2559 = componentStack;
9929
- nextPrimaryChildren = JSCompiler_object_inline_message_2556;
9930
- mode = JSCompiler_object_inline_componentStack_2559;
10080
+ JSCompiler_object_inline_message_2536 = message;
10081
+ JSCompiler_object_inline_digest_2537 = nextPrimaryChildren;
10082
+ JSCompiler_object_inline_stack_2538 = mode;
10083
+ JSCompiler_object_inline_componentStack_2539 = componentStack;
10084
+ nextPrimaryChildren = JSCompiler_object_inline_message_2536;
10085
+ mode = JSCompiler_object_inline_componentStack_2539;
9931
10086
  nextPrimaryChildren = nextPrimaryChildren
9932
10087
  ? Error(nextPrimaryChildren)
9933
10088
  : Error(
9934
10089
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9935
10090
  );
9936
10091
  nextPrimaryChildren.stack =
9937
- JSCompiler_object_inline_stack_2558 || "";
9938
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2557;
9939
- JSCompiler_object_inline_digest_2557 =
10092
+ JSCompiler_object_inline_stack_2538 || "";
10093
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2537;
10094
+ JSCompiler_object_inline_digest_2537 =
9940
10095
  void 0 === mode ? null : mode;
9941
- JSCompiler_object_inline_stack_2558 = {
10096
+ JSCompiler_object_inline_stack_2538 = {
9942
10097
  value: nextPrimaryChildren,
9943
10098
  source: null,
9944
- stack: JSCompiler_object_inline_digest_2557
10099
+ stack: JSCompiler_object_inline_digest_2537
9945
10100
  };
9946
- "string" === typeof JSCompiler_object_inline_digest_2557 &&
10101
+ "string" === typeof JSCompiler_object_inline_digest_2537 &&
9947
10102
  CapturedStacks.set(
9948
10103
  nextPrimaryChildren,
9949
- JSCompiler_object_inline_stack_2558
10104
+ JSCompiler_object_inline_stack_2538
9950
10105
  );
9951
- queueHydrationError(JSCompiler_object_inline_stack_2558);
10106
+ queueHydrationError(JSCompiler_object_inline_stack_2538);
9952
10107
  workInProgress = retrySuspenseComponentWithoutHydrating(
9953
10108
  current,
9954
10109
  workInProgress,
@@ -9962,35 +10117,35 @@
9962
10117
  renderLanes,
9963
10118
  !1
9964
10119
  ),
9965
- (JSCompiler_object_inline_digest_2557 =
10120
+ (JSCompiler_object_inline_digest_2537 =
9966
10121
  0 !== (renderLanes & current.childLanes)),
9967
- didReceiveUpdate || JSCompiler_object_inline_digest_2557)
10122
+ didReceiveUpdate || JSCompiler_object_inline_digest_2537)
9968
10123
  ) {
9969
- JSCompiler_object_inline_digest_2557 = workInProgressRoot;
10124
+ JSCompiler_object_inline_digest_2537 = workInProgressRoot;
9970
10125
  if (
9971
- null !== JSCompiler_object_inline_digest_2557 &&
9972
- ((JSCompiler_object_inline_stack_2558 = getBumpedLaneForHydration(
9973
- JSCompiler_object_inline_digest_2557,
10126
+ null !== JSCompiler_object_inline_digest_2537 &&
10127
+ ((JSCompiler_object_inline_stack_2538 = getBumpedLaneForHydration(
10128
+ JSCompiler_object_inline_digest_2537,
9974
10129
  renderLanes
9975
10130
  )),
9976
- 0 !== JSCompiler_object_inline_stack_2558 &&
9977
- JSCompiler_object_inline_stack_2558 !== prevState.retryLane)
10131
+ 0 !== JSCompiler_object_inline_stack_2538 &&
10132
+ JSCompiler_object_inline_stack_2538 !== prevState.retryLane)
9978
10133
  )
9979
10134
  throw (
9980
- ((prevState.retryLane = JSCompiler_object_inline_stack_2558),
10135
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2538),
9981
10136
  enqueueConcurrentRenderForLane(
9982
10137
  current,
9983
- JSCompiler_object_inline_stack_2558
10138
+ JSCompiler_object_inline_stack_2538
9984
10139
  ),
9985
10140
  scheduleUpdateOnFiber(
9986
- JSCompiler_object_inline_digest_2557,
10141
+ JSCompiler_object_inline_digest_2537,
9987
10142
  current,
9988
- JSCompiler_object_inline_stack_2558
10143
+ JSCompiler_object_inline_stack_2538
9989
10144
  ),
9990
10145
  SelectiveHydrationException)
9991
10146
  );
9992
10147
  isSuspenseInstancePending(
9993
- JSCompiler_object_inline_componentStack_2559
10148
+ JSCompiler_object_inline_componentStack_2539
9994
10149
  ) || renderDidSuspendDelayIfPossible();
9995
10150
  workInProgress = retrySuspenseComponentWithoutHydrating(
9996
10151
  current,
@@ -9999,14 +10154,14 @@
9999
10154
  );
10000
10155
  } else
10001
10156
  isSuspenseInstancePending(
10002
- JSCompiler_object_inline_componentStack_2559
10157
+ JSCompiler_object_inline_componentStack_2539
10003
10158
  )
10004
10159
  ? ((workInProgress.flags |= 192),
10005
10160
  (workInProgress.child = current.child),
10006
10161
  (workInProgress = null))
10007
10162
  : ((current = prevState.treeContext),
10008
10163
  (nextHydratableInstance = getNextHydratable(
10009
- JSCompiler_object_inline_componentStack_2559.nextSibling
10164
+ JSCompiler_object_inline_componentStack_2539.nextSibling
10010
10165
  )),
10011
10166
  (hydrationParentFiber = workInProgress),
10012
10167
  (isHydrating = !0),
@@ -10018,32 +10173,32 @@
10018
10173
  restoreSuspendedTreeContext(workInProgress, current),
10019
10174
  (workInProgress = mountSuspensePrimaryChildren(
10020
10175
  workInProgress,
10021
- JSCompiler_object_inline_stack_2558.children
10176
+ JSCompiler_object_inline_stack_2538.children
10022
10177
  )),
10023
10178
  (workInProgress.flags |= 4096));
10024
10179
  return workInProgress;
10025
10180
  }
10026
10181
  }
10027
- if (JSCompiler_object_inline_message_2556)
10182
+ if (JSCompiler_object_inline_message_2536)
10028
10183
  return (
10029
10184
  reuseSuspenseHandlerOnStack(workInProgress),
10030
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2558.fallback),
10185
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2538.fallback),
10031
10186
  (mode = workInProgress.mode),
10032
10187
  (componentStack = current.child),
10033
- (JSCompiler_object_inline_componentStack_2559 =
10188
+ (JSCompiler_object_inline_componentStack_2539 =
10034
10189
  componentStack.sibling),
10035
- (JSCompiler_object_inline_stack_2558 = createWorkInProgress(
10190
+ (JSCompiler_object_inline_stack_2538 = createWorkInProgress(
10036
10191
  componentStack,
10037
10192
  {
10038
10193
  mode: "hidden",
10039
- children: JSCompiler_object_inline_stack_2558.children
10194
+ children: JSCompiler_object_inline_stack_2538.children
10040
10195
  }
10041
10196
  )),
10042
- (JSCompiler_object_inline_stack_2558.subtreeFlags =
10197
+ (JSCompiler_object_inline_stack_2538.subtreeFlags =
10043
10198
  componentStack.subtreeFlags & 65011712),
10044
- null !== JSCompiler_object_inline_componentStack_2559
10199
+ null !== JSCompiler_object_inline_componentStack_2539
10045
10200
  ? (nextPrimaryChildren = createWorkInProgress(
10046
- JSCompiler_object_inline_componentStack_2559,
10201
+ JSCompiler_object_inline_componentStack_2539,
10047
10202
  nextPrimaryChildren
10048
10203
  ))
10049
10204
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10054,55 +10209,55 @@
10054
10209
  )),
10055
10210
  (nextPrimaryChildren.flags |= 2)),
10056
10211
  (nextPrimaryChildren.return = workInProgress),
10057
- (JSCompiler_object_inline_stack_2558.return = workInProgress),
10058
- (JSCompiler_object_inline_stack_2558.sibling = nextPrimaryChildren),
10059
- (workInProgress.child = JSCompiler_object_inline_stack_2558),
10060
- (JSCompiler_object_inline_stack_2558 = nextPrimaryChildren),
10061
- (nextPrimaryChildren = workInProgress.child),
10062
- (mode = current.child.memoizedState),
10063
- null === mode
10064
- ? (mode = mountSuspenseOffscreenState(renderLanes))
10065
- : ((componentStack = mode.cachePool),
10066
- null !== componentStack
10067
- ? ((JSCompiler_object_inline_componentStack_2559 =
10068
- CacheContext._currentValue),
10069
- (componentStack =
10070
- componentStack.parent !==
10071
- JSCompiler_object_inline_componentStack_2559
10072
- ? {
10073
- parent: JSCompiler_object_inline_componentStack_2559,
10074
- pool: JSCompiler_object_inline_componentStack_2559
10075
- }
10076
- : componentStack))
10077
- : (componentStack = getSuspendedCache()),
10078
- (mode = {
10079
- baseLanes: mode.baseLanes | renderLanes,
10080
- cachePool: componentStack
10212
+ (JSCompiler_object_inline_stack_2538.return = workInProgress),
10213
+ (JSCompiler_object_inline_stack_2538.sibling = nextPrimaryChildren),
10214
+ (workInProgress.child = JSCompiler_object_inline_stack_2538),
10215
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2538),
10216
+ (JSCompiler_object_inline_stack_2538 = workInProgress.child),
10217
+ (nextPrimaryChildren = current.child.memoizedState),
10218
+ null === nextPrimaryChildren
10219
+ ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
10220
+ : ((mode = nextPrimaryChildren.cachePool),
10221
+ null !== mode
10222
+ ? ((componentStack = CacheContext._currentValue),
10223
+ (mode =
10224
+ mode.parent !== componentStack
10225
+ ? { parent: componentStack, pool: componentStack }
10226
+ : mode))
10227
+ : (mode = getSuspendedCache()),
10228
+ (nextPrimaryChildren = {
10229
+ baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
10230
+ cachePool: mode
10081
10231
  })),
10082
- (nextPrimaryChildren.memoizedState = mode),
10083
- (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10084
- current,
10085
- JSCompiler_object_inline_digest_2557,
10086
- renderLanes
10087
- )),
10232
+ (JSCompiler_object_inline_stack_2538.memoizedState =
10233
+ nextPrimaryChildren),
10234
+ (JSCompiler_object_inline_stack_2538.childLanes =
10235
+ getRemainingWorkInPrimaryTree(
10236
+ current,
10237
+ JSCompiler_object_inline_digest_2537,
10238
+ renderLanes
10239
+ )),
10088
10240
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10089
- JSCompiler_object_inline_stack_2558
10241
+ bailoutOffscreenComponent(
10242
+ current.child,
10243
+ JSCompiler_object_inline_stack_2538
10244
+ )
10090
10245
  );
10091
10246
  pushPrimaryTreeSuspenseHandler(workInProgress);
10092
10247
  renderLanes = current.child;
10093
10248
  current = renderLanes.sibling;
10094
10249
  renderLanes = createWorkInProgress(renderLanes, {
10095
10250
  mode: "visible",
10096
- children: JSCompiler_object_inline_stack_2558.children
10251
+ children: JSCompiler_object_inline_stack_2538.children
10097
10252
  });
10098
10253
  renderLanes.return = workInProgress;
10099
10254
  renderLanes.sibling = null;
10100
10255
  null !== current &&
10101
- ((JSCompiler_object_inline_digest_2557 = workInProgress.deletions),
10102
- null === JSCompiler_object_inline_digest_2557
10256
+ ((JSCompiler_object_inline_digest_2537 = workInProgress.deletions),
10257
+ null === JSCompiler_object_inline_digest_2537
10103
10258
  ? ((workInProgress.deletions = [current]),
10104
10259
  (workInProgress.flags |= 16))
10105
- : JSCompiler_object_inline_digest_2557.push(current));
10260
+ : JSCompiler_object_inline_digest_2537.push(current));
10106
10261
  workInProgress.child = renderLanes;
10107
10262
  workInProgress.memoizedState = null;
10108
10263
  return renderLanes;
@@ -10118,12 +10273,6 @@
10118
10273
  function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {
10119
10274
  offscreenProps = createFiber(22, offscreenProps, null, mode);
10120
10275
  offscreenProps.lanes = 0;
10121
- offscreenProps.stateNode = {
10122
- _visibility: OffscreenVisible,
10123
- _pendingMarkers: null,
10124
- _retryCache: null,
10125
- _transitions: null
10126
- };
10127
10276
  return offscreenProps;
10128
10277
  }
10129
10278
  function retrySuspenseComponentWithoutHydrating(
@@ -11163,136 +11312,7 @@
11163
11312
  renderLanes
11164
11313
  );
11165
11314
  case 31:
11166
- prevSibling = workInProgress.pendingProps;
11167
- nextState = 0 !== (workInProgress.flags & 128);
11168
- workInProgress.flags &= -129;
11169
- if (null === current)
11170
- if (isHydrating) {
11171
- if ("hidden" === prevSibling.mode)
11172
- mountActivityChildren(workInProgress, prevSibling);
11173
- else if (
11174
- (pushDehydratedActivitySuspenseHandler(workInProgress),
11175
- (renderLanes = nextHydratableInstance)
11176
- ? ((current = canHydrateHydrationBoundary(
11177
- renderLanes,
11178
- rootOrSingletonContext
11179
- )),
11180
- (current =
11181
- null !== current && current.data === ACTIVITY_START_DATA
11182
- ? current
11183
- : null),
11184
- null !== current &&
11185
- ((returnFiber = {
11186
- dehydrated: current,
11187
- treeContext: getSuspendedTreeContext(),
11188
- retryLane: 536870912,
11189
- hydrationErrors: null
11190
- }),
11191
- (workInProgress.memoizedState = returnFiber),
11192
- (returnFiber =
11193
- createFiberFromDehydratedFragment(current)),
11194
- (returnFiber.return = workInProgress),
11195
- (workInProgress.child = returnFiber),
11196
- (hydrationParentFiber = workInProgress),
11197
- (nextHydratableInstance = null)))
11198
- : (current = null),
11199
- null === current)
11200
- )
11201
- throw (
11202
- (warnNonHydratedInstance(workInProgress, renderLanes),
11203
- throwOnHydrationMismatch(workInProgress))
11204
- );
11205
- workInProgress.lanes = 536870912;
11206
- workInProgress = null;
11207
- } else
11208
- workInProgress = mountActivityChildren(
11209
- workInProgress,
11210
- prevSibling
11211
- );
11212
- else if (
11213
- ((returnFiber = current.memoizedState), null !== returnFiber)
11214
- )
11215
- if (
11216
- ((prevState = returnFiber.dehydrated),
11217
- pushDehydratedActivitySuspenseHandler(workInProgress),
11218
- nextState)
11219
- )
11220
- if (workInProgress.flags & 256)
11221
- (workInProgress.flags &= -257),
11222
- (workInProgress = retryActivityComponentWithoutHydrating(
11223
- current,
11224
- workInProgress,
11225
- renderLanes
11226
- ));
11227
- else if (null !== workInProgress.memoizedState)
11228
- (workInProgress.child = current.child),
11229
- (workInProgress.flags |= 128),
11230
- (workInProgress = null);
11231
- else
11232
- throw Error(
11233
- "Client rendering an Activity suspended it again. This is a bug in React."
11234
- );
11235
- else if (
11236
- (warnIfHydrating(),
11237
- didReceiveUpdate ||
11238
- propagateParentContextChanges(
11239
- current,
11240
- workInProgress,
11241
- renderLanes,
11242
- !1
11243
- ),
11244
- (nextState = 0 !== (renderLanes & current.childLanes)),
11245
- didReceiveUpdate || nextState)
11246
- ) {
11247
- prevSibling = workInProgressRoot;
11248
- if (
11249
- null !== prevSibling &&
11250
- ((prevState = getBumpedLaneForHydration(
11251
- prevSibling,
11252
- renderLanes
11253
- )),
11254
- 0 !== prevState && prevState !== returnFiber.retryLane)
11255
- )
11256
- throw (
11257
- ((returnFiber.retryLane = prevState),
11258
- enqueueConcurrentRenderForLane(current, prevState),
11259
- scheduleUpdateOnFiber(prevSibling, current, prevState),
11260
- SelectiveHydrationException)
11261
- );
11262
- renderDidSuspendDelayIfPossible();
11263
- workInProgress = retryActivityComponentWithoutHydrating(
11264
- current,
11265
- workInProgress,
11266
- renderLanes
11267
- );
11268
- } else
11269
- (renderLanes = returnFiber.treeContext),
11270
- (nextHydratableInstance = getNextHydratable(
11271
- prevState.nextSibling
11272
- )),
11273
- (hydrationParentFiber = workInProgress),
11274
- (isHydrating = !0),
11275
- (hydrationErrors = null),
11276
- (didSuspendOrErrorDEV = !1),
11277
- (hydrationDiffRootDEV = null),
11278
- (rootOrSingletonContext = !1),
11279
- null !== renderLanes &&
11280
- restoreSuspendedTreeContext(workInProgress, renderLanes),
11281
- (workInProgress = mountActivityChildren(
11282
- workInProgress,
11283
- prevSibling
11284
- )),
11285
- (workInProgress.flags |= 4096);
11286
- else
11287
- (renderLanes = createWorkInProgress(current.child, {
11288
- mode: prevSibling.mode,
11289
- children: prevSibling.children
11290
- })),
11291
- (renderLanes.ref = workInProgress.ref),
11292
- (workInProgress.child = renderLanes),
11293
- (renderLanes.return = workInProgress),
11294
- (workInProgress = renderLanes);
11295
- return workInProgress;
11315
+ return updateActivityComponent(current, workInProgress, renderLanes);
11296
11316
  case 22:
11297
11317
  return updateOffscreenComponent(
11298
11318
  current,
@@ -25588,11 +25608,11 @@
25588
25608
  };
25589
25609
  (function () {
25590
25610
  var isomorphicReactPackageVersion = React.version;
25591
- if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion)
25611
+ if ("19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion)
25592
25612
  throw Error(
25593
25613
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25594
25614
  (isomorphicReactPackageVersion +
25595
- "\n - react-dom: 19.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch")
25615
+ "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch")
25596
25616
  );
25597
25617
  })();
25598
25618
  ("function" === typeof Map &&
@@ -25629,10 +25649,10 @@
25629
25649
  !(function () {
25630
25650
  var internals = {
25631
25651
  bundleType: 1,
25632
- version: "19.2.0-canary-f1e70b5e-20250811",
25652
+ version: "19.2.0-canary-ac7820a9-20250811",
25633
25653
  rendererPackageName: "react-dom",
25634
25654
  currentDispatcherRef: ReactSharedInternals,
25635
- reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811"
25655
+ reconcilerVersion: "19.2.0-canary-ac7820a9-20250811"
25636
25656
  };
25637
25657
  internals.overrideHookState = overrideHookState;
25638
25658
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26100,7 +26120,7 @@
26100
26120
  exports.useFormStatus = function () {
26101
26121
  return resolveDispatcher().useHostTransitionStatus();
26102
26122
  };
26103
- exports.version = "19.2.0-canary-f1e70b5e-20250811";
26123
+ exports.version = "19.2.0-canary-ac7820a9-20250811";
26104
26124
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
26105
26125
  "function" ===
26106
26126
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&