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.
@@ -3990,53 +3990,52 @@
3990
3990
  updatedFamilies,
3991
3991
  staleFamilies
3992
3992
  ) {
3993
- var alternate = fiber.alternate,
3994
- child = fiber.child,
3995
- sibling = fiber.sibling,
3996
- tag = fiber.tag,
3997
- type = fiber.type,
3998
- candidateType = null;
3999
- switch (tag) {
4000
- case 0:
4001
- case 15:
4002
- case 1:
4003
- candidateType = type;
4004
- break;
4005
- case 11:
4006
- candidateType = type.render;
4007
- }
4008
- if (null === resolveFamily)
4009
- throw Error("Expected resolveFamily to be set during hot reload.");
4010
- var needsRender = !1;
4011
- type = !1;
4012
- null !== candidateType &&
4013
- ((candidateType = resolveFamily(candidateType)),
4014
- void 0 !== candidateType &&
4015
- (staleFamilies.has(candidateType)
4016
- ? (type = !0)
4017
- : updatedFamilies.has(candidateType) &&
4018
- (1 === tag ? (type = !0) : (needsRender = !0))));
4019
- null !== failedBoundaries &&
4020
- (failedBoundaries.has(fiber) ||
4021
- (null !== alternate && failedBoundaries.has(alternate))) &&
4022
- (type = !0);
4023
- type && (fiber._debugNeedsRemount = !0);
4024
- if (type || needsRender)
4025
- (alternate = enqueueConcurrentRenderForLane(fiber, 2)),
4026
- null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);
4027
- null === child ||
4028
- type ||
4029
- scheduleFibersWithFamiliesRecursively(
4030
- child,
4031
- updatedFamilies,
4032
- staleFamilies
4033
- );
4034
- null !== sibling &&
4035
- scheduleFibersWithFamiliesRecursively(
4036
- sibling,
4037
- updatedFamilies,
4038
- staleFamilies
4039
- );
3993
+ do {
3994
+ var _fiber = fiber,
3995
+ alternate = _fiber.alternate,
3996
+ child = _fiber.child,
3997
+ sibling = _fiber.sibling,
3998
+ tag = _fiber.tag;
3999
+ _fiber = _fiber.type;
4000
+ var candidateType = null;
4001
+ switch (tag) {
4002
+ case 0:
4003
+ case 15:
4004
+ case 1:
4005
+ candidateType = _fiber;
4006
+ break;
4007
+ case 11:
4008
+ candidateType = _fiber.render;
4009
+ }
4010
+ if (null === resolveFamily)
4011
+ throw Error("Expected resolveFamily to be set during hot reload.");
4012
+ var needsRender = !1;
4013
+ _fiber = !1;
4014
+ null !== candidateType &&
4015
+ ((candidateType = resolveFamily(candidateType)),
4016
+ void 0 !== candidateType &&
4017
+ (staleFamilies.has(candidateType)
4018
+ ? (_fiber = !0)
4019
+ : updatedFamilies.has(candidateType) &&
4020
+ (1 === tag ? (_fiber = !0) : (needsRender = !0))));
4021
+ null !== failedBoundaries &&
4022
+ (failedBoundaries.has(fiber) ||
4023
+ (null !== alternate && failedBoundaries.has(alternate))) &&
4024
+ (_fiber = !0);
4025
+ _fiber && (fiber._debugNeedsRemount = !0);
4026
+ if (_fiber || needsRender)
4027
+ (alternate = enqueueConcurrentRenderForLane(fiber, 2)),
4028
+ null !== alternate && scheduleUpdateOnFiber(alternate, fiber, 2);
4029
+ null === child ||
4030
+ _fiber ||
4031
+ scheduleFibersWithFamiliesRecursively(
4032
+ child,
4033
+ updatedFamilies,
4034
+ staleFamilies
4035
+ );
4036
+ if (null === sibling) break;
4037
+ fiber = sibling;
4038
+ } while (1);
4040
4039
  }
4041
4040
  function FiberNode(tag, pendingProps, key, mode) {
4042
4041
  this.tag = tag;
@@ -5107,6 +5106,24 @@
5107
5106
  )),
5108
5107
  thenable.then(noop$1, noop$1),
5109
5108
  (thenable = index));
5109
+ if (void 0 === thenable._debugInfo) {
5110
+ thenableState = performance.now();
5111
+ trackedThenables = thenable.displayName;
5112
+ var ioInfo = {
5113
+ name:
5114
+ "string" === typeof trackedThenables ? trackedThenables : "Promise",
5115
+ start: thenableState,
5116
+ end: thenableState,
5117
+ value: thenable
5118
+ };
5119
+ thenable._debugInfo = [{ awaited: ioInfo }];
5120
+ "fulfilled" !== thenable.status &&
5121
+ "rejected" !== thenable.status &&
5122
+ ((thenableState = function () {
5123
+ ioInfo.end = performance.now();
5124
+ }),
5125
+ thenable.then(thenableState, thenableState));
5126
+ }
5110
5127
  switch (thenable.status) {
5111
5128
  case "fulfilled":
5112
5129
  return thenable.value;
@@ -8917,6 +8934,14 @@
8917
8934
  ) {
8918
8935
  var nextChildren = nextProps.children,
8919
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
+ });
8920
8945
  if ("hidden" === nextProps.mode) {
8921
8946
  if (0 !== (workInProgress.flags & 128)) {
8922
8947
  nextProps =
@@ -8973,6 +8998,17 @@
8973
8998
  reconcileChildren(current, workInProgress, nextChildren, renderLanes);
8974
8999
  return workInProgress.child;
8975
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
+ }
8976
9012
  function deferHiddenOffscreenComponent(
8977
9013
  current,
8978
9014
  workInProgress,
@@ -9034,6 +9070,135 @@
9034
9070
  workInProgress.memoizedState = null;
9035
9071
  return current;
9036
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
+ }
9037
9202
  function markRef(current, workInProgress) {
9038
9203
  var ref = workInProgress.ref;
9039
9204
  if (null === ref)
@@ -9738,24 +9903,24 @@
9738
9903
  return current;
9739
9904
  }
9740
9905
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9741
- var JSCompiler_object_inline_digest_2557;
9742
- var JSCompiler_object_inline_stack_2558 = workInProgress.pendingProps;
9906
+ var JSCompiler_object_inline_digest_2537;
9907
+ var JSCompiler_object_inline_stack_2538 = workInProgress.pendingProps;
9743
9908
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9744
- var JSCompiler_object_inline_message_2556 = !1;
9909
+ var JSCompiler_object_inline_message_2536 = !1;
9745
9910
  var didSuspend = 0 !== (workInProgress.flags & 128);
9746
- (JSCompiler_object_inline_digest_2557 = didSuspend) ||
9747
- (JSCompiler_object_inline_digest_2557 =
9911
+ (JSCompiler_object_inline_digest_2537 = didSuspend) ||
9912
+ (JSCompiler_object_inline_digest_2537 =
9748
9913
  null !== current && null === current.memoizedState
9749
9914
  ? !1
9750
9915
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9751
- JSCompiler_object_inline_digest_2557 &&
9752
- ((JSCompiler_object_inline_message_2556 = !0),
9916
+ JSCompiler_object_inline_digest_2537 &&
9917
+ ((JSCompiler_object_inline_message_2536 = !0),
9753
9918
  (workInProgress.flags &= -129));
9754
- JSCompiler_object_inline_digest_2557 = 0 !== (workInProgress.flags & 32);
9919
+ JSCompiler_object_inline_digest_2537 = 0 !== (workInProgress.flags & 32);
9755
9920
  workInProgress.flags &= -33;
9756
9921
  if (null === current) {
9757
9922
  if (isHydrating) {
9758
- JSCompiler_object_inline_message_2556
9923
+ JSCompiler_object_inline_message_2536
9759
9924
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9760
9925
  : reuseSuspenseHandlerOnStack(workInProgress);
9761
9926
  (current = nextHydratableInstance)
@@ -9768,18 +9933,18 @@
9768
9933
  ? renderLanes
9769
9934
  : null),
9770
9935
  null !== renderLanes &&
9771
- ((JSCompiler_object_inline_digest_2557 = {
9936
+ ((JSCompiler_object_inline_digest_2537 = {
9772
9937
  dehydrated: renderLanes,
9773
9938
  treeContext: getSuspendedTreeContext(),
9774
9939
  retryLane: 536870912,
9775
9940
  hydrationErrors: null
9776
9941
  }),
9777
9942
  (workInProgress.memoizedState =
9778
- JSCompiler_object_inline_digest_2557),
9779
- (JSCompiler_object_inline_digest_2557 =
9943
+ JSCompiler_object_inline_digest_2537),
9944
+ (JSCompiler_object_inline_digest_2537 =
9780
9945
  createFiberFromDehydratedFragment(renderLanes)),
9781
- (JSCompiler_object_inline_digest_2557.return = workInProgress),
9782
- (workInProgress.child = JSCompiler_object_inline_digest_2557),
9946
+ (JSCompiler_object_inline_digest_2537.return = workInProgress),
9947
+ (workInProgress.child = JSCompiler_object_inline_digest_2537),
9783
9948
  (hydrationParentFiber = workInProgress),
9784
9949
  (nextHydratableInstance = null)))
9785
9950
  : (renderLanes = null);
@@ -9793,36 +9958,40 @@
9793
9958
  : (workInProgress.lanes = 536870912);
9794
9959
  return null;
9795
9960
  }
9796
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2558.children;
9797
- JSCompiler_object_inline_stack_2558 =
9798
- JSCompiler_object_inline_stack_2558.fallback;
9799
- 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) {
9800
9965
  reuseSuspenseHandlerOnStack(workInProgress);
9801
9966
  var mode = workInProgress.mode;
9802
9967
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9803
9968
  { mode: "hidden", children: nextPrimaryChildren },
9804
9969
  mode
9805
9970
  );
9806
- JSCompiler_object_inline_stack_2558 = createFiberFromFragment(
9807
- JSCompiler_object_inline_stack_2558,
9971
+ JSCompiler_object_inline_stack_2538 = createFiberFromFragment(
9972
+ JSCompiler_object_inline_stack_2538,
9808
9973
  mode,
9809
9974
  renderLanes,
9810
9975
  null
9811
9976
  );
9812
9977
  nextPrimaryChildren.return = workInProgress;
9813
- JSCompiler_object_inline_stack_2558.return = workInProgress;
9814
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2558;
9978
+ JSCompiler_object_inline_stack_2538.return = workInProgress;
9979
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2538;
9815
9980
  workInProgress.child = nextPrimaryChildren;
9816
- nextPrimaryChildren = workInProgress.child;
9817
- nextPrimaryChildren.memoizedState =
9981
+ JSCompiler_object_inline_stack_2538 = workInProgress.child;
9982
+ JSCompiler_object_inline_stack_2538.memoizedState =
9818
9983
  mountSuspenseOffscreenState(renderLanes);
9819
- nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9820
- current,
9821
- JSCompiler_object_inline_digest_2557,
9822
- renderLanes
9823
- );
9984
+ JSCompiler_object_inline_stack_2538.childLanes =
9985
+ getRemainingWorkInPrimaryTree(
9986
+ current,
9987
+ JSCompiler_object_inline_digest_2537,
9988
+ renderLanes
9989
+ );
9824
9990
  workInProgress.memoizedState = SUSPENDED_MARKER;
9825
- return JSCompiler_object_inline_stack_2558;
9991
+ return bailoutOffscreenComponent(
9992
+ null,
9993
+ JSCompiler_object_inline_stack_2538
9994
+ );
9826
9995
  }
9827
9996
  pushPrimaryTreeSuspenseHandler(workInProgress);
9828
9997
  return mountSuspensePrimaryChildren(
@@ -9832,8 +10001,8 @@
9832
10001
  }
9833
10002
  var prevState = current.memoizedState;
9834
10003
  if (null !== prevState) {
9835
- var JSCompiler_object_inline_componentStack_2559 = prevState.dehydrated;
9836
- if (null !== JSCompiler_object_inline_componentStack_2559) {
10004
+ var JSCompiler_object_inline_componentStack_2539 = prevState.dehydrated;
10005
+ if (null !== JSCompiler_object_inline_componentStack_2539) {
9837
10006
  if (didSuspend)
9838
10007
  workInProgress.flags & 256
9839
10008
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9850,13 +10019,13 @@
9850
10019
  (workInProgress = null))
9851
10020
  : (reuseSuspenseHandlerOnStack(workInProgress),
9852
10021
  (nextPrimaryChildren =
9853
- JSCompiler_object_inline_stack_2558.fallback),
10022
+ JSCompiler_object_inline_stack_2538.fallback),
9854
10023
  (mode = workInProgress.mode),
9855
- (JSCompiler_object_inline_stack_2558 =
10024
+ (JSCompiler_object_inline_stack_2538 =
9856
10025
  mountWorkInProgressOffscreenFiber(
9857
10026
  {
9858
10027
  mode: "visible",
9859
- children: JSCompiler_object_inline_stack_2558.children
10028
+ children: JSCompiler_object_inline_stack_2538.children
9860
10029
  },
9861
10030
  mode
9862
10031
  )),
@@ -9867,71 +10036,74 @@
9867
10036
  null
9868
10037
  )),
9869
10038
  (nextPrimaryChildren.flags |= 2),
9870
- (JSCompiler_object_inline_stack_2558.return = workInProgress),
10039
+ (JSCompiler_object_inline_stack_2538.return = workInProgress),
9871
10040
  (nextPrimaryChildren.return = workInProgress),
9872
- (JSCompiler_object_inline_stack_2558.sibling =
10041
+ (JSCompiler_object_inline_stack_2538.sibling =
9873
10042
  nextPrimaryChildren),
9874
- (workInProgress.child = JSCompiler_object_inline_stack_2558),
10043
+ (workInProgress.child = JSCompiler_object_inline_stack_2538),
9875
10044
  reconcileChildFibers(
9876
10045
  workInProgress,
9877
10046
  current.child,
9878
10047
  null,
9879
10048
  renderLanes
9880
10049
  ),
9881
- (JSCompiler_object_inline_stack_2558 = workInProgress.child),
9882
- (JSCompiler_object_inline_stack_2558.memoizedState =
10050
+ (JSCompiler_object_inline_stack_2538 = workInProgress.child),
10051
+ (JSCompiler_object_inline_stack_2538.memoizedState =
9883
10052
  mountSuspenseOffscreenState(renderLanes)),
9884
- (JSCompiler_object_inline_stack_2558.childLanes =
10053
+ (JSCompiler_object_inline_stack_2538.childLanes =
9885
10054
  getRemainingWorkInPrimaryTree(
9886
10055
  current,
9887
- JSCompiler_object_inline_digest_2557,
10056
+ JSCompiler_object_inline_digest_2537,
9888
10057
  renderLanes
9889
10058
  )),
9890
10059
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9891
- (workInProgress = nextPrimaryChildren));
10060
+ (workInProgress = bailoutOffscreenComponent(
10061
+ null,
10062
+ JSCompiler_object_inline_stack_2538
10063
+ )));
9892
10064
  else if (
9893
10065
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9894
10066
  warnIfHydrating(),
9895
10067
  isSuspenseInstanceFallback(
9896
- JSCompiler_object_inline_componentStack_2559
10068
+ JSCompiler_object_inline_componentStack_2539
9897
10069
  ))
9898
10070
  ) {
9899
- JSCompiler_object_inline_digest_2557 =
9900
- JSCompiler_object_inline_componentStack_2559.nextSibling &&
9901
- JSCompiler_object_inline_componentStack_2559.nextSibling.dataset;
9902
- if (JSCompiler_object_inline_digest_2557) {
9903
- nextPrimaryChildren = JSCompiler_object_inline_digest_2557.dgst;
9904
- var message = JSCompiler_object_inline_digest_2557.msg;
9905
- mode = JSCompiler_object_inline_digest_2557.stck;
9906
- 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;
9907
10079
  }
9908
- JSCompiler_object_inline_message_2556 = message;
9909
- JSCompiler_object_inline_digest_2557 = nextPrimaryChildren;
9910
- JSCompiler_object_inline_stack_2558 = mode;
9911
- JSCompiler_object_inline_componentStack_2559 = componentStack;
9912
- nextPrimaryChildren = JSCompiler_object_inline_message_2556;
9913
- 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;
9914
10086
  nextPrimaryChildren = nextPrimaryChildren
9915
10087
  ? Error(nextPrimaryChildren)
9916
10088
  : Error(
9917
10089
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9918
10090
  );
9919
10091
  nextPrimaryChildren.stack =
9920
- JSCompiler_object_inline_stack_2558 || "";
9921
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2557;
9922
- 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 =
9923
10095
  void 0 === mode ? null : mode;
9924
- JSCompiler_object_inline_stack_2558 = {
10096
+ JSCompiler_object_inline_stack_2538 = {
9925
10097
  value: nextPrimaryChildren,
9926
10098
  source: null,
9927
- stack: JSCompiler_object_inline_digest_2557
10099
+ stack: JSCompiler_object_inline_digest_2537
9928
10100
  };
9929
- "string" === typeof JSCompiler_object_inline_digest_2557 &&
10101
+ "string" === typeof JSCompiler_object_inline_digest_2537 &&
9930
10102
  CapturedStacks.set(
9931
10103
  nextPrimaryChildren,
9932
- JSCompiler_object_inline_stack_2558
10104
+ JSCompiler_object_inline_stack_2538
9933
10105
  );
9934
- queueHydrationError(JSCompiler_object_inline_stack_2558);
10106
+ queueHydrationError(JSCompiler_object_inline_stack_2538);
9935
10107
  workInProgress = retrySuspenseComponentWithoutHydrating(
9936
10108
  current,
9937
10109
  workInProgress,
@@ -9945,35 +10117,35 @@
9945
10117
  renderLanes,
9946
10118
  !1
9947
10119
  ),
9948
- (JSCompiler_object_inline_digest_2557 =
10120
+ (JSCompiler_object_inline_digest_2537 =
9949
10121
  0 !== (renderLanes & current.childLanes)),
9950
- didReceiveUpdate || JSCompiler_object_inline_digest_2557)
10122
+ didReceiveUpdate || JSCompiler_object_inline_digest_2537)
9951
10123
  ) {
9952
- JSCompiler_object_inline_digest_2557 = workInProgressRoot;
10124
+ JSCompiler_object_inline_digest_2537 = workInProgressRoot;
9953
10125
  if (
9954
- null !== JSCompiler_object_inline_digest_2557 &&
9955
- ((JSCompiler_object_inline_stack_2558 = getBumpedLaneForHydration(
9956
- 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,
9957
10129
  renderLanes
9958
10130
  )),
9959
- 0 !== JSCompiler_object_inline_stack_2558 &&
9960
- JSCompiler_object_inline_stack_2558 !== prevState.retryLane)
10131
+ 0 !== JSCompiler_object_inline_stack_2538 &&
10132
+ JSCompiler_object_inline_stack_2538 !== prevState.retryLane)
9961
10133
  )
9962
10134
  throw (
9963
- ((prevState.retryLane = JSCompiler_object_inline_stack_2558),
10135
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2538),
9964
10136
  enqueueConcurrentRenderForLane(
9965
10137
  current,
9966
- JSCompiler_object_inline_stack_2558
10138
+ JSCompiler_object_inline_stack_2538
9967
10139
  ),
9968
10140
  scheduleUpdateOnFiber(
9969
- JSCompiler_object_inline_digest_2557,
10141
+ JSCompiler_object_inline_digest_2537,
9970
10142
  current,
9971
- JSCompiler_object_inline_stack_2558
10143
+ JSCompiler_object_inline_stack_2538
9972
10144
  ),
9973
10145
  SelectiveHydrationException)
9974
10146
  );
9975
10147
  isSuspenseInstancePending(
9976
- JSCompiler_object_inline_componentStack_2559
10148
+ JSCompiler_object_inline_componentStack_2539
9977
10149
  ) || renderDidSuspendDelayIfPossible();
9978
10150
  workInProgress = retrySuspenseComponentWithoutHydrating(
9979
10151
  current,
@@ -9982,14 +10154,14 @@
9982
10154
  );
9983
10155
  } else
9984
10156
  isSuspenseInstancePending(
9985
- JSCompiler_object_inline_componentStack_2559
10157
+ JSCompiler_object_inline_componentStack_2539
9986
10158
  )
9987
10159
  ? ((workInProgress.flags |= 192),
9988
10160
  (workInProgress.child = current.child),
9989
10161
  (workInProgress = null))
9990
10162
  : ((current = prevState.treeContext),
9991
10163
  (nextHydratableInstance = getNextHydratable(
9992
- JSCompiler_object_inline_componentStack_2559.nextSibling
10164
+ JSCompiler_object_inline_componentStack_2539.nextSibling
9993
10165
  )),
9994
10166
  (hydrationParentFiber = workInProgress),
9995
10167
  (isHydrating = !0),
@@ -10001,32 +10173,32 @@
10001
10173
  restoreSuspendedTreeContext(workInProgress, current),
10002
10174
  (workInProgress = mountSuspensePrimaryChildren(
10003
10175
  workInProgress,
10004
- JSCompiler_object_inline_stack_2558.children
10176
+ JSCompiler_object_inline_stack_2538.children
10005
10177
  )),
10006
10178
  (workInProgress.flags |= 4096));
10007
10179
  return workInProgress;
10008
10180
  }
10009
10181
  }
10010
- if (JSCompiler_object_inline_message_2556)
10182
+ if (JSCompiler_object_inline_message_2536)
10011
10183
  return (
10012
10184
  reuseSuspenseHandlerOnStack(workInProgress),
10013
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2558.fallback),
10185
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2538.fallback),
10014
10186
  (mode = workInProgress.mode),
10015
10187
  (componentStack = current.child),
10016
- (JSCompiler_object_inline_componentStack_2559 =
10188
+ (JSCompiler_object_inline_componentStack_2539 =
10017
10189
  componentStack.sibling),
10018
- (JSCompiler_object_inline_stack_2558 = createWorkInProgress(
10190
+ (JSCompiler_object_inline_stack_2538 = createWorkInProgress(
10019
10191
  componentStack,
10020
10192
  {
10021
10193
  mode: "hidden",
10022
- children: JSCompiler_object_inline_stack_2558.children
10194
+ children: JSCompiler_object_inline_stack_2538.children
10023
10195
  }
10024
10196
  )),
10025
- (JSCompiler_object_inline_stack_2558.subtreeFlags =
10197
+ (JSCompiler_object_inline_stack_2538.subtreeFlags =
10026
10198
  componentStack.subtreeFlags & 65011712),
10027
- null !== JSCompiler_object_inline_componentStack_2559
10199
+ null !== JSCompiler_object_inline_componentStack_2539
10028
10200
  ? (nextPrimaryChildren = createWorkInProgress(
10029
- JSCompiler_object_inline_componentStack_2559,
10201
+ JSCompiler_object_inline_componentStack_2539,
10030
10202
  nextPrimaryChildren
10031
10203
  ))
10032
10204
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10037,55 +10209,55 @@
10037
10209
  )),
10038
10210
  (nextPrimaryChildren.flags |= 2)),
10039
10211
  (nextPrimaryChildren.return = workInProgress),
10040
- (JSCompiler_object_inline_stack_2558.return = workInProgress),
10041
- (JSCompiler_object_inline_stack_2558.sibling = nextPrimaryChildren),
10042
- (workInProgress.child = JSCompiler_object_inline_stack_2558),
10043
- (JSCompiler_object_inline_stack_2558 = nextPrimaryChildren),
10044
- (nextPrimaryChildren = workInProgress.child),
10045
- (mode = current.child.memoizedState),
10046
- null === mode
10047
- ? (mode = mountSuspenseOffscreenState(renderLanes))
10048
- : ((componentStack = mode.cachePool),
10049
- null !== componentStack
10050
- ? ((JSCompiler_object_inline_componentStack_2559 =
10051
- CacheContext._currentValue),
10052
- (componentStack =
10053
- componentStack.parent !==
10054
- JSCompiler_object_inline_componentStack_2559
10055
- ? {
10056
- parent: JSCompiler_object_inline_componentStack_2559,
10057
- pool: JSCompiler_object_inline_componentStack_2559
10058
- }
10059
- : componentStack))
10060
- : (componentStack = getSuspendedCache()),
10061
- (mode = {
10062
- baseLanes: mode.baseLanes | renderLanes,
10063
- 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
10064
10231
  })),
10065
- (nextPrimaryChildren.memoizedState = mode),
10066
- (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10067
- current,
10068
- JSCompiler_object_inline_digest_2557,
10069
- renderLanes
10070
- )),
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
+ )),
10071
10240
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10072
- JSCompiler_object_inline_stack_2558
10241
+ bailoutOffscreenComponent(
10242
+ current.child,
10243
+ JSCompiler_object_inline_stack_2538
10244
+ )
10073
10245
  );
10074
10246
  pushPrimaryTreeSuspenseHandler(workInProgress);
10075
10247
  renderLanes = current.child;
10076
10248
  current = renderLanes.sibling;
10077
10249
  renderLanes = createWorkInProgress(renderLanes, {
10078
10250
  mode: "visible",
10079
- children: JSCompiler_object_inline_stack_2558.children
10251
+ children: JSCompiler_object_inline_stack_2538.children
10080
10252
  });
10081
10253
  renderLanes.return = workInProgress;
10082
10254
  renderLanes.sibling = null;
10083
10255
  null !== current &&
10084
- ((JSCompiler_object_inline_digest_2557 = workInProgress.deletions),
10085
- null === JSCompiler_object_inline_digest_2557
10256
+ ((JSCompiler_object_inline_digest_2537 = workInProgress.deletions),
10257
+ null === JSCompiler_object_inline_digest_2537
10086
10258
  ? ((workInProgress.deletions = [current]),
10087
10259
  (workInProgress.flags |= 16))
10088
- : JSCompiler_object_inline_digest_2557.push(current));
10260
+ : JSCompiler_object_inline_digest_2537.push(current));
10089
10261
  workInProgress.child = renderLanes;
10090
10262
  workInProgress.memoizedState = null;
10091
10263
  return renderLanes;
@@ -10101,12 +10273,6 @@
10101
10273
  function mountWorkInProgressOffscreenFiber(offscreenProps, mode) {
10102
10274
  offscreenProps = createFiber(22, offscreenProps, null, mode);
10103
10275
  offscreenProps.lanes = 0;
10104
- offscreenProps.stateNode = {
10105
- _visibility: OffscreenVisible,
10106
- _pendingMarkers: null,
10107
- _retryCache: null,
10108
- _transitions: null
10109
- };
10110
10276
  return offscreenProps;
10111
10277
  }
10112
10278
  function retrySuspenseComponentWithoutHydrating(
@@ -11146,136 +11312,7 @@
11146
11312
  renderLanes
11147
11313
  );
11148
11314
  case 31:
11149
- prevSibling = workInProgress.pendingProps;
11150
- nextState = 0 !== (workInProgress.flags & 128);
11151
- workInProgress.flags &= -129;
11152
- if (null === current)
11153
- if (isHydrating) {
11154
- if ("hidden" === prevSibling.mode)
11155
- mountActivityChildren(workInProgress, prevSibling);
11156
- else if (
11157
- (pushDehydratedActivitySuspenseHandler(workInProgress),
11158
- (renderLanes = nextHydratableInstance)
11159
- ? ((current = canHydrateHydrationBoundary(
11160
- renderLanes,
11161
- rootOrSingletonContext
11162
- )),
11163
- (current =
11164
- null !== current && current.data === ACTIVITY_START_DATA
11165
- ? current
11166
- : null),
11167
- null !== current &&
11168
- ((returnFiber = {
11169
- dehydrated: current,
11170
- treeContext: getSuspendedTreeContext(),
11171
- retryLane: 536870912,
11172
- hydrationErrors: null
11173
- }),
11174
- (workInProgress.memoizedState = returnFiber),
11175
- (returnFiber =
11176
- createFiberFromDehydratedFragment(current)),
11177
- (returnFiber.return = workInProgress),
11178
- (workInProgress.child = returnFiber),
11179
- (hydrationParentFiber = workInProgress),
11180
- (nextHydratableInstance = null)))
11181
- : (current = null),
11182
- null === current)
11183
- )
11184
- throw (
11185
- (warnNonHydratedInstance(workInProgress, renderLanes),
11186
- throwOnHydrationMismatch(workInProgress))
11187
- );
11188
- workInProgress.lanes = 536870912;
11189
- workInProgress = null;
11190
- } else
11191
- workInProgress = mountActivityChildren(
11192
- workInProgress,
11193
- prevSibling
11194
- );
11195
- else if (
11196
- ((returnFiber = current.memoizedState), null !== returnFiber)
11197
- )
11198
- if (
11199
- ((prevState = returnFiber.dehydrated),
11200
- pushDehydratedActivitySuspenseHandler(workInProgress),
11201
- nextState)
11202
- )
11203
- if (workInProgress.flags & 256)
11204
- (workInProgress.flags &= -257),
11205
- (workInProgress = retryActivityComponentWithoutHydrating(
11206
- current,
11207
- workInProgress,
11208
- renderLanes
11209
- ));
11210
- else if (null !== workInProgress.memoizedState)
11211
- (workInProgress.child = current.child),
11212
- (workInProgress.flags |= 128),
11213
- (workInProgress = null);
11214
- else
11215
- throw Error(
11216
- "Client rendering an Activity suspended it again. This is a bug in React."
11217
- );
11218
- else if (
11219
- (warnIfHydrating(),
11220
- didReceiveUpdate ||
11221
- propagateParentContextChanges(
11222
- current,
11223
- workInProgress,
11224
- renderLanes,
11225
- !1
11226
- ),
11227
- (nextState = 0 !== (renderLanes & current.childLanes)),
11228
- didReceiveUpdate || nextState)
11229
- ) {
11230
- prevSibling = workInProgressRoot;
11231
- if (
11232
- null !== prevSibling &&
11233
- ((prevState = getBumpedLaneForHydration(
11234
- prevSibling,
11235
- renderLanes
11236
- )),
11237
- 0 !== prevState && prevState !== returnFiber.retryLane)
11238
- )
11239
- throw (
11240
- ((returnFiber.retryLane = prevState),
11241
- enqueueConcurrentRenderForLane(current, prevState),
11242
- scheduleUpdateOnFiber(prevSibling, current, prevState),
11243
- SelectiveHydrationException)
11244
- );
11245
- renderDidSuspendDelayIfPossible();
11246
- workInProgress = retryActivityComponentWithoutHydrating(
11247
- current,
11248
- workInProgress,
11249
- renderLanes
11250
- );
11251
- } else
11252
- (renderLanes = returnFiber.treeContext),
11253
- (nextHydratableInstance = getNextHydratable(
11254
- prevState.nextSibling
11255
- )),
11256
- (hydrationParentFiber = workInProgress),
11257
- (isHydrating = !0),
11258
- (hydrationErrors = null),
11259
- (didSuspendOrErrorDEV = !1),
11260
- (hydrationDiffRootDEV = null),
11261
- (rootOrSingletonContext = !1),
11262
- null !== renderLanes &&
11263
- restoreSuspendedTreeContext(workInProgress, renderLanes),
11264
- (workInProgress = mountActivityChildren(
11265
- workInProgress,
11266
- prevSibling
11267
- )),
11268
- (workInProgress.flags |= 4096);
11269
- else
11270
- (renderLanes = createWorkInProgress(current.child, {
11271
- mode: prevSibling.mode,
11272
- children: prevSibling.children
11273
- })),
11274
- (renderLanes.ref = workInProgress.ref),
11275
- (workInProgress.child = renderLanes),
11276
- (renderLanes.return = workInProgress),
11277
- (workInProgress = renderLanes);
11278
- return workInProgress;
11315
+ return updateActivityComponent(current, workInProgress, renderLanes);
11279
11316
  case 22:
11280
11317
  return updateOffscreenComponent(
11281
11318
  current,
@@ -25571,11 +25608,11 @@
25571
25608
  };
25572
25609
  (function () {
25573
25610
  var isomorphicReactPackageVersion = React.version;
25574
- if ("19.2.0-canary-3958d5d8-20250807" !== isomorphicReactPackageVersion)
25611
+ if ("19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion)
25575
25612
  throw Error(
25576
25613
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25577
25614
  (isomorphicReactPackageVersion +
25578
- "\n - react-dom: 19.2.0-canary-3958d5d8-20250807\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")
25579
25616
  );
25580
25617
  })();
25581
25618
  ("function" === typeof Map &&
@@ -25612,10 +25649,10 @@
25612
25649
  !(function () {
25613
25650
  var internals = {
25614
25651
  bundleType: 1,
25615
- version: "19.2.0-canary-3958d5d8-20250807",
25652
+ version: "19.2.0-canary-ac7820a9-20250811",
25616
25653
  rendererPackageName: "react-dom",
25617
25654
  currentDispatcherRef: ReactSharedInternals,
25618
- reconcilerVersion: "19.2.0-canary-3958d5d8-20250807"
25655
+ reconcilerVersion: "19.2.0-canary-ac7820a9-20250811"
25619
25656
  };
25620
25657
  internals.overrideHookState = overrideHookState;
25621
25658
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26083,7 +26120,7 @@
26083
26120
  exports.useFormStatus = function () {
26084
26121
  return resolveDispatcher().useHostTransitionStatus();
26085
26122
  };
26086
- exports.version = "19.2.0-canary-3958d5d8-20250807";
26123
+ exports.version = "19.2.0-canary-ac7820a9-20250811";
26087
26124
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
26088
26125
  "function" ===
26089
26126
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&